For example, if I input something like
b'[t_] = a[t];
a'[t_] = -Sin[b[t]];
a''[t]
it outputs just a''[t].
Is there a way to get Mathematica to always simplify any derivatives of a and b to expressions only involving a and b (with no derivatives), so that whenever I type in something like a''[t] it outputs -Cos[b[t]]a[t]?
:=instead of=? – AccidentalFourierTransform Feb 08 '21 at 00:42Clearyour variables? – AccidentalFourierTransform Feb 08 '21 at 00:44a[t_] := -Sin[f[t]];a''[t]– cvgmt Feb 08 '21 at 00:59a''[t]requiresa[t]to be defined. Since onlya'[t]is defined, you would need to entera''[t]asD[a'[t], t]– Bob Hanlon Feb 08 '21 at 02:23