Partial Derivatives Homework: Find Sum of Second Partials

wilcofan3
Messages
27
Reaction score
0

Homework Statement



Let u= (x^2 + y^2 + z^2)^\frac {-1} {2}


Find \frac {\partial^2 u} {\partial x^2} + \frac {\partial^2 u} {\partial y^2} + \frac {\partial^2 u} {\partial z^2}

Homework Equations


The Attempt at a Solution



\frac {\partial^2 u} {\partial x^2} = -(x^2 + y^2 +z^2)^\frac {-3} {2} + 3x^2(x^2 + y^2 + z^2)^\frac {-5} {2}

\frac {\partial^2 u} {\partial y^2} = -(x^2 + y^2 +z^2)^\frac {-3} {2} + 3y^2(x^2 + y^2 + z^2)^\frac {-5} {2}

\frac {\partial^2 u} {\partial z^2} = -(x^2 + y^2 +z^2)^\frac {-3} {2} + 3z^2(x^2 + y^2 + z^2)^\frac {-5} {2}

So I think all the partials are right, but I feel like I'm getting a crazy answer when I add them together.

3x^2 + 3y^2 + 3z^2(x^2 + y^2 + z^2)^\frac {-5} {2} -3(x^2 + y^2 + z^2)^\frac {-3} {2}

Is this right?
 
Physics news on Phys.org
Why do you think that's crazy? It looks correct to me. But you can express the answer in a much simpler form.
 
here's the MATLAB quick code for the first step - finding d^2/dx^2:

>> syms u; syms y; syms z;
>> u = 1/sqrt(x^2+y^2+z^2)

u =

1/(x^2+y^2+z^2)^(1/2)


>> diff(u,x)

ans =

-1/(x^2+y^2+z^2)^(3/2)*x


>> diff(ans,x)

ans =

3/(x^2+y^2+z^2)^(5/2)*x^2-1/(x^2+y^2+z^2)^(3/2)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top