Imagine you are trying to get an equation of motion (in my case, the Lagrangian of a coupled drives CE108 system).
In such a case, you need to symbolically define certain derivatives as themselves, not as their value (i.e. D[x] = x' instead of D[x] = 1).
Is there any way within Mathematica to derive completely symbolically?
Complicated Example:
f = x' + mx + 7y
SymbolicDerivative[f,x] = x'' + mx'
Edit regarding duplication: This question tries to find a way to partially derive a function symbolically continuously - meaning, derive x to x' and then x'' and then x''' and so forth rather than trying to derive a function and plug values in
D[x[t],t]returnsx'[t]as you need. Have a look into Help/WolframDocumentation/D. – Alexei Boulbitch Nov 22 '17 at 11:04VariationalDto get the variational derivative. Also worth to have a look atEulerEquations, which derives the Euler-Lagrange equations for you. – Thies Heidecke Nov 22 '17 at 13:38