Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Found an example in the docs after posting this... Solving Differential Equations

Found I found an example in the docs after posting this... asking: Solving Differential Equations

Applying to the example given in the question though:

var("x")
f = function("f")(x)
g = x * f
g.diff(x)

Output:

x*diff(f(x), x) + f(x)