Partial Derivates using Chain Rule

Sheldinoh
Messages
25
Reaction score
0

Homework Statement



Find: ∂f/∂x
f(r,θ)=rsin^2(θ), x=rcosθ, y=rsinθ

The Attempt at a Solution


∂f/∂r=sin^2θ ∂r/∂x=-cosθ/x
∂f/∂θ=2*r*cosθ*sinθ ∂θ/∂x=-1/sqrt(1-(x^2)/(r^2)

∂f/∂x = -sin^2θcosθ/x^2 + -2*r*cosθ*sinθ/sqrt(1-(x^2)/(r^2)
∂f/∂x = -y-sqrt(x^2+y^2) / (x^2+y^2)^3/2

THE ANSWER IN THE BACK OF THE BOOK IS :
∂f/∂x = -xy^2 / (x^2+y^2)^3/2
 
Physics news on Phys.org
Sheldinoh said:

Homework Statement



Find: ∂f/∂x
f(r,θ)=rsin^2(θ), x=rcosθ, y=rsinθ

The Attempt at a Solution


∂f/∂r=sin^2θ ∂r/∂x=-cosθ/x
∂f/∂θ=2*r*cosθ*sinθ ∂θ/∂x=-1/sqrt(1-(x^2)/(r^2)
To find ∂r/∂x and ∂θ/∂x, it's helpful to have r as a function of x and y, and θ as a function of x and y.

r = sqrt(x2 + y2), θ = tan-1(y/x)

From the above, ∂r/∂x = x/sqrt(x2 + y2), and
∂θ/∂x = (-y/x2)/(1 + (y/x)2).

Your ∂θ/∂x looks wrong. Using the above I got the same answer as in the book.

Sheldinoh said:
∂f/∂x = -sin^2θcosθ/x^2 + -2*r*cosθ*sinθ/sqrt(1-(x^2)/(r^2)
∂f/∂x = -y-sqrt(x^2+y^2) / (x^2+y^2)^3/2

THE ANSWER IN THE BACK OF THE BOOK IS :
∂f/∂x = -xy^2 / (x^2+y^2)^3/2
To find ∂r/∂x and ∂θ/∂x, you need r as a function of x and y, and θ as a function of x and y.

r = sqrt(x2 + y2), θ = tan-1(y/x)
 
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