Chain Rule and Partial Derivatives for Differentiable Functions

In summary, the equation z=f(u) can be solved for u by taking the derivative with respect to y and then solving for x.
  • #1
manenbu
103
0

Homework Statement



Prove that if
[tex]z(x,y)=e^y f(ye^{\frac{x^2}{2y^2}}) [/tex]
is differentiable, then
[tex] (x^2-y^2) \frac{\partial z}{\partial x} + xy\frac{\partial z}{\partial y} = xyz [/tex]

Homework Equations



Chain Rule.

The Attempt at a Solution


A similar question is solved like this:
Have this:
z(x,y) = f(x² - y²)

Prove this:
y(∂z/∂x) + x(∂z/∂y) = 0

I define
z = f(u)
then
u = x² - y²
∂z/∂x = ∂z/∂u ∂u/∂x = ∂z/∂u 2x
∂z/∂y = ∂z/∂u ∂u/∂y = ∂z/∂u -2y
adding it up:
y(∂z/∂x) + x(∂z/∂y) = y*∂z/∂u*2x - x*∂z/∂u*2y = 0

When I try the same for the mentioned problem, I run into problems and just can't get it right. I guess it's something with the multipilication in there - but can't figure it out.
What's the correct way?
 
Last edited:
Physics news on Phys.org
  • #2
So for example, to start off
[tex] \frac{\partial z}{\partial y} = \frac{\partial (e^y)}{\partial y} f(ye^{\frac{x^2}{2y^2}}) + e^y \frac{\partial f(ye^{\frac{x^2}{2y^2}})}{\partial y}[/tex]

Why don't you work through the two partial derivatives and let us know what you get?
 
  • #3
ok so we got:
[tex]\frac{\partial z}{\partial y} = \frac{\partial (e^y)}{\partial y} f(ye^{\frac{x^2}{2y^2}}) + e^y \frac{\partial f(ye^{\frac{x^2}{2y^2}})}{\partial y}[/tex]
for shortness:
[tex]f(ye^{\frac{x^2}{2y^2}}) = f(u) = f[/tex]
define:
[tex]u = ye^{\frac{x^2}{2y^2}}
[/tex]
let's do the derivative:
[tex]\frac{\partial z}{\partial y} = e^yf + e^y\frac{\partial f}{\partial u}\frac{\partial u}{\partial y}[/tex]
noticing that eyf is the same as z:
[tex]\frac{\partial z}{\partial y} = z + e^y\frac{\partial f}{\partial u}\frac{\partial u}{\partial y}[/tex]
and doing the derivative:
[tex]\frac{\partial z}{\partial y} = z + e^y\frac{\partial f}{\partial u}(e^{\frac{x^2}{2y^2}}+y\frac{x^2}{2}\frac{-2}{y^3}e^{\frac{x^2}{2y^2}})
[/tex]
let's make it look better:
[tex]\frac{\partial z}{\partial y} = z + e^y\frac{\partial f}{\partial u}(e^{\frac{x^2}{2y^2}}-\frac{x^2}{y^2}e^{\frac{x^2}{2y^2}}) = z + \frac{\partial f}{\partial u}e^{\frac{x^2}{2y^2}+y}(1-\frac{x^2}{y^2})
[/tex]
I'll make this substitution for readbility:
[tex]
\frac{\partial f}{\partial u}e^{\frac{x^2}{2y^2}+y} = a
[/tex]
so I end up with:
[tex]\frac{\partial z}{\partial y} = z + a(1-\frac{x^2}{y^2})[/tex]

doing for the other derivative now:
[tex]\frac{\partial z}{\partial x} = a\frac{x}{y}[/tex]
now the proof:
[tex] (x^2-y^2)a\frac{x}{y} + xy(z+a-a\frac{x^2}{y^2} = a\frac{x^3}{y}-axy+xya-a\frac{x^3}{y} + xyz = xyz[/tex]

Problem solved. Thanks a lot!
Was also using this for a bit of tex practice.
Looks so easy now.
 

FAQ: Chain Rule and Partial Derivatives for Differentiable Functions

What is the chain rule in calculus?

The chain rule is a mathematical rule that allows us 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 is the chain rule used in real-world applications?

The chain rule is used in various fields of science, such as physics, biology, and economics. For example, it is used to calculate the rate of change in a physical system, to model the growth of a population, and to determine optimal solutions in economic models.

What are partial derivatives?

Partial derivatives are a type of derivative in multivariable calculus. They measure the rate of change of a function with respect to one of its variables, while holding all other variables constant. This allows us to analyze the behavior of a function in multiple dimensions.

How are partial derivatives related to the chain rule?

The chain rule can be extended to partial derivatives in multivariable calculus. It states that the partial derivative of a composite function is equal to the partial derivative of the outer function multiplied by the partial derivative of the inner function.

How important is understanding the chain rule and partial derivatives in scientific research?

The chain rule and partial derivatives are essential tools in scientific research, particularly in fields such as physics, engineering, and economics. They allow us to analyze and model complex systems, making them valuable in solving real-world problems and advancing our understanding of the natural world.

Back
Top