Is there a way to combine derivatives that are a result from the product rule back together using Collect.
For example, I'd like to collect
x Dt[y,b] + y Dt[x,b]
back to
Dt[x y,b]
I can do this with a rule:
Rule = {x Dt[y,b] + y Dt[x,b] -> Dt[xy,b]};
x Dt[y,b] + y Dt[x,b]/.Rule
But this forces me to use a new variable: xy instead of the actual product of x and y. Moreover, I have many different rules to follow so typing all those out would be taxing. Has anyone else tried doing this and succeeded?
Rule
is a built-inProtected
symbol. You shouldn't/can't use it as a variable. $\endgroup$