I am a new user, and I am a bit puzzled while experimenting with Mathematica functions, their derivatives and derivatives of functions.
I have an expression such as:
x^(-4 - m[x])*(6*m[x] + x*(x^3*h1[x_]^4 + 6*x^3*h1[x_]^2*
Derivative[1][h1][x_] + 3*x^3*Derivative[1][h1][x_]^2 -
8*Derivative[1][m][x] + 6*x*Derivative[2][m][x] -
4*h1[x_]*(2*m[x] + 3*x*(-Derivative[1][m][x] +
x*Derivative[2][m][x]))))
and I try to simplify using:
/. -((2*m[x])/x^3) + (3*Derivative[1][m][x])/x^2 -
(3*Derivative[2][m][x])/x -> Derivative[2][h1][x]
But it seems impossible to replace the algebraic terms with the
function h1''[x]
.
Any suggestions? Thank you very much.
{}
button above the edit window. The edit window help button?
is also useful for learning how to format your questions and answers. You may also find this this meta Q&A helpful $\endgroup$Derivative[2][m][x] -> x * Derivative[2][h1][x] / 3 + ((2*m[x])/x^3) - (3*Derivative[1][m][x])/x^2
. I think there's a duplicate somewhere on site about substituting algebraic expressions, if someone can find it. $\endgroup$x_
s in your expression byx
s. Then a good idea might be to precisely explain, what term do you want to get rid off: there always exists a way for that. $\endgroup$