Mathematica Asked by xaxa on February 28, 2021
I’m just starting to use Mathematica and can’t wrap my head around the task I have at hand. It comes from field-theory.
(Sorry I had to insert formulas as images instead of proper LaTex as it would complain I have some unformatted code)
I have a function which depends on other functions of coordinates and their first derivatives
This is my setup:
The end goal is to calculate the difference
up to first order in $u$, so terms denoted by $left{ldotsright}_k$ is my answer.
If I was to do it manually, this would be my plan:
Note that LHS in (2) is a function of $x’$ — I need to expand it in $x$ with the help of (1). Only terms up to the first order in $u$ are necessary! So after this expansion I expect LHS to contain $A_i'(x)$ and a combination of derivatives $partial A’_i/partial x’^k$ multiplied by $u$ with $Y^i_k$
Then I need to calculate all the derivatives $partial A’_i/ partial x’^k$ taking into account result from the previous step and expanding derivatives by $x’$ in terms of $x$ according to (1). Here, again, I only need to keep the first order in $u$
Next, I would put all this mess into the LHS of (3), where I would need to use Taylor expansion of $L$ to calculate the difference.
How can I automate this kind of calculations with Mathematica?
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP