Partial Derivates using Chain Rule

In summary: Using this, ∂r/∂x = x/sqrt(x2 + y2), and ∂θ/∂x = (-y/x2)/(1 + (y/x)2).Plugging these values into the given equation for ∂f/∂x, you get ∂f/∂x = -xy^2/(x2 + y2)^3/2, which matches the answer in the book.
  • #1
Sheldinoh
25
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
  • #2
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)
 

FAQ: Partial Derivates using Chain Rule

What is the chain rule?

The chain rule is a mathematical concept used in calculus to find the derivative of a composite function. It states that the derivative of a composite function is equal to the derivative of the outer function multiplied by the derivative of the inner function.

How do you use the chain rule to find partial derivatives?

To use the chain rule for partial derivatives, you must first identify the outer function and the inner function. Then, take the partial derivative of the outer function with respect to the inner variable, and multiply it by the partial derivative of the inner function with respect to the outer variable.

What is the difference between the chain rule and the product rule?

The chain rule is used to find the derivative of a composite function, while the product rule is used to find the derivative of a product of two functions. The chain rule involves taking the derivative of the outer function and multiplying it by the derivative of the inner function, while the product rule involves adding the product of the first function and the derivative of the second function to the product of the second function and the derivative of the first function.

Can the chain rule be applied to functions with multiple variables?

Yes, the chain rule can be applied to functions with multiple variables. In this case, the derivative will be a partial derivative with respect to one of the variables while treating the other variables as constants.

How do you know when to use the chain rule in a calculus problem?

You should use the chain rule when the function involves nested functions or when the variable of interest is inside another function. For example, if the function is f(g(x)), you would use the chain rule to find the derivative of f with respect to x.

Back
Top