Deriving w.r.t. Tensor components

118 views
Skip to first unread message

TLa

unread,
Apr 12, 2021, 9:10:41 AM4/12/21
to xAct Tensor Computer Algebra
Hello everyone,

I'd like to know if there is a way of deriving an expression with respect to tensor
components.
More specifically, lets say I defined a Tensor T on a pre-defined manifold M as:
DefTensor[T[a,b],M]

Then I would like to do e.g.:
d/dT[c,d] (T[a,b]) = delta[a,-c]*delta[b,-d]

where delta indicates the Kronecker-delta. Is there any function in xAct for that matter?

Best,
Armin

Thomas Bäckdahl

unread,
Apr 12, 2021, 10:32:44 AM4/12/21
to xa...@googlegroups.com
Hi!

The very short answer is that this is probably not implemented, and I don't see exactly what it would mean in general.

For your particular example, one could try
IndexCoefficient[T[a, b], T[c, d]]
but this is not really computing derivatives.

To actually compute derivatives with respect to a tensor field, one can use VarD.
However, it is only meant for scalar expressions differentiated with respect to tensor fields in the sense of variational derivatives bu
performing integration by parts.

Regards
Thomas
--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xact/e51a8c68-73fe-4823-8d0c-43fc7a34ce66n%40googlegroups.com.

TLa

unread,
Apr 13, 2021, 12:47:09 PM4/13/21
to xAct Tensor Computer Algebra
Hello Thomas

Thank you very much for your answer! 
I will have a look and try around using VarD.

Best,
Armin

Reply all
Reply to author
Forward
0 new messages