Suppose I have a long algebraic expression, and in there somewhere I have derivatives of a function V[x,y,z]
.
I want to set
D[V[x,y,z], {x,2}] + D[V[x,y,z], {y,2}] + D[V[x,y,z], {z,2}]
to zero. How can I program this? I don't want to specify the function, I just want to set its Laplacian to zero.
Laplacian[V[x, y, z], {x, y, z}]
no need to do it explicitly. Mathematica known the Laplacian. To set equation, doLaplacian[V[x, y, z], {x, y, z}]==0
$\endgroup$Sin[x]
by zero in an expression. But it depends on the input looks like. Trying doingexpr /.Laplacian[V[x, y, z], {x, y, z}]->0
and see if that works. $\endgroup$