Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am trying to calculate the symbolic tensor product

$\langle \nabla f\otimes f,\nabla g\otimes g\rangle ^2+(\langle \nabla f\otimes g,\nabla f\otimes g\rangle +\langle \nabla g\otimes f,\nabla g\otimes f\rangle +\langle \nabla g\otimes f,\nabla g\otimes g\rangle ) \langle \nabla f\otimes f,\nabla g\otimes g\rangle +4 \langle \nabla f\otimes g,\nabla f\otimes g\rangle ^2-\langle \nabla f\otimes f,\nabla f\otimes g\rangle \langle \nabla f\otimes g,\nabla g\otimes g\rangle +8 \langle f\otimes g,g\otimes g\rangle \langle \nabla f\otimes \nabla g,\nabla f\otimes \nabla g\rangle +\langle \nabla f\otimes f,\nabla f\otimes f\rangle \langle \nabla g\otimes g,\nabla g\otimes g\rangle$

\[LeftAngleBracket]\[Del]f\[CircleTimes]f, \[Del]g\[CircleTimes]g\
\[RightAngleBracket]^2 + 
 4 \[LeftAngleBracket]\[Del]f\[CircleTimes]g, \[Del]f\[CircleTimes]g\
\[RightAngleBracket]^2 - \[LeftAngleBracket]\[Del]f\[CircleTimes]f, \
\[Del]f\[CircleTimes]g\[RightAngleBracket] \[LeftAngleBracket]\[Del]f\
\[CircleTimes]g, \[Del]g\[CircleTimes]g\[RightAngleBracket] + \
\[LeftAngleBracket]\[Del]f\[CircleTimes]f, \[Del]g\[CircleTimes]g\
\[RightAngleBracket] (\[LeftAngleBracket]\[Del]f\[CircleTimes]g, \
\[Del]f\[CircleTimes]g\[RightAngleBracket] + \
\[LeftAngleBracket]\[Del]g\[CircleTimes]f, \[Del]g\[CircleTimes]f\
\[RightAngleBracket] + \[LeftAngleBracket]\[Del]g\[CircleTimes]f, \
\[Del]g\[CircleTimes]g\[RightAngleBracket]) + \[LeftAngleBracket]\
\[Del]f\[CircleTimes]f, \[Del]f\[CircleTimes]f\[RightAngleBracket] \
\[LeftAngleBracket]\[Del]g\[CircleTimes]g, \[Del]g\[CircleTimes]g\
\[RightAngleBracket] + 
 8 \[LeftAngleBracket]\[Del]f\[CircleTimes]\[Del]g, \[Del]f\
\[CircleTimes]\[Del]g\[RightAngleBracket] \[LeftAngleBracket]f\
\[CircleTimes]g, g\[CircleTimes]g\[RightAngleBracket]

Is there any mathematica package to do this? Welcome to any help

share|improve this question
    
Take a look at related questions and then ask. See e.g. 42966 and 44035. –  Artes May 15 at 16:30
    
When I need to do some tensor calculcation I use inp.demokritos.gr/~sbonano/RGTC it is designed for general relativity but can handle basic tensor calculation. This one math.washington.edu/~lee/Ricci is often useful to. –  mattiav27 May 15 at 16:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.