Linked Questions
12 questions linked to/from Is it possible to do vector calculus in Mathematica?
0 votes
1 answer
241 views
How can I take the divergence of a symbolic vector? [duplicate]
I would like to compute expressions that have the following form: $$\left(\partial_{p_1} - \partial_{p_2}\right)^2 \left(\partial_{p_1} - \partial_{p_2}\right)^2 \frac{(p_1-p_2)\cdot(p_3-p_4)}{p_1^...
2 votes
0 answers
81 views
Abstract Vectors [duplicate]
Is there a way to deal with abstract vectors in the following sense: Say I have a function f[y]. Now I want to evaluate ...
77 votes
6 answers
21k views
Can Mathematica do symbolic linear algebra?
For instance, is there some way I can say "let A and B be arbitrary real $m\times n$ and $k\times m$ matrices, Simplify[Transpose[Transpose[A].Transpose[B]]]" and ...
14 votes
3 answers
3k views
How to manipulate gauge theory in Mathematica?
I want to know if there is a way of typing into Mathematica an expression like the following, $$\epsilon^{\mu \nu \lambda} f^{abc} A^a_\mu A^b_\nu A^c_\lambda + g\epsilon^{\mu \nu \lambda} A^a_\mu \...
7 votes
6 answers
3k views
A matrix-vector cross product
I want to do a cross product involving a vector of Pauli matrices $\vec \sigma = \left( {{\sigma _1},{\sigma _2},{\sigma _3}} \right)$; for example, $\vec \sigma \times \left( {1,2,3} \right)$. <...
-1 votes
2 answers
2k views
How to simplify expressions containing derivatives
Is there a way to reverse the application of derivative rules in order to simplify expressions including derivatives? e.g. in Mathematica code: Want to go from ...
2 votes
1 answer
722 views
Curl expression does not evaluate [closed]
I am using Mathematica 8 on OS X. I am trying to compute the cylindrical curl of a symbolic vector following Mathematica documentation. ...
4 votes
1 answer
548 views
Using Vector Operations In Mathematica
I would like to calculate $$ \mathbf T = (\mathbf B \bullet \nabla) \mathbf B$$ Where nabla (the upside down triangle) is the grad operator $(\partial/\partial x,\partial/\partial y,\partial/\...
0 votes
1 answer
255 views
Curl and other functions of functions
Where can one find the source code of the Mathematica function Curl? Alternatively, how can one define a function the argument of which is restricted to be a 3D vector function of three variables ...
9 votes
0 answers
233 views
Symbolically evaluating gradients/Hessians
I'm taking a machine learning course, which involves taking a lot of analytical gradients and Hessians. It would be ideal if I could perform these calculations in Mathematica. However, I am only aware ...
1 vote
1 answer
267 views
Differentiation of Vector Equation [closed]
Is it possible to get symbolic derivatives of equations with vectors as arguments without specifying every vector element explicitly. Something like ...
2 votes
0 answers
137 views
Defining my own set of orthogonal curvilinear coordinates
I want to use Vector Analysis functions (Grad, Div,Curl etc) with the following set of simple Toroidal coordinates $(r, \theta, \phi)$: $x = (R+r \cos\theta)\sin\phi$, $y = (R+r \cos\theta)\cos\phi$, $...