What exactly means (∂^2/∂x ∂y) ?

  • Context: Undergrad 
  • Thread starter Thread starter U.Renko
  • Start date Start date
  • Tags Tags
    Means
Click For Summary
SUMMARY

The discussion centers on the interpretation and application of the mixed second partial derivative, denoted as \(\frac{\partial^2 f}{\partial x \partial y}\). This derivative represents the rate of change of the first partial derivative with respect to one variable while treating the other variable as constant. The conversation highlights the utility of mixed partial derivatives in Taylor series expansions for functions of multiple variables, specifically emphasizing the roles of the gradient and Hessian. The confusion arises from the transition between first and second derivatives, which necessitates a clear understanding of treating variables as constants during differentiation.

PREREQUISITES
  • Understanding of partial derivatives in multivariable calculus
  • Familiarity with Taylor series expansions
  • Knowledge of gradient and Hessian matrices
  • Basic proficiency in mathematical notation and functions of multiple variables
NEXT STEPS
  • Study the concept of Taylor series for functions of multiple variables
  • Learn about the gradient and Hessian in multivariable calculus
  • Explore applications of mixed partial derivatives in optimization problems
  • Practice calculating mixed partial derivatives using various functions
USEFUL FOR

Students studying multivariable calculus, mathematicians, and anyone interested in understanding the applications of partial derivatives in mathematical analysis and optimization.

U.Renko
Messages
56
Reaction score
1
what exactly means (∂^2/∂x ∂y) ??

Not sure if I should post it here or in the homework section.
feel free to move the topic if necessary.


Due to some personal reasons I'm not attending college this semester. So I'm studying using the just books, which is kinda good but I have no one to ask questions (in person that is).

So I'm sorry if I make some trivial questions and all.


Anyways:

This is something that has been bothering me.
what exactly is \frac{\partial^2 f }{\partial x \partial y} and what is it application.

what I don`t understand is:
when taking the first partial derivative you treat y as a constant and x as a variable.
then why is it that you do the opposite when taking the 2nd derivative?

What exactly does it represent?
 
Physics news on Phys.org


U.Renko said:
This is something that has been bothering me.
what exactly is \frac{\partial^2 f }{\partial x \partial y} and what is it application.

what I don`t understand is:
when taking the first partial derivative you treat y as a constant and x as a variable.
then why is it that you do the opposite when taking the 2nd derivative?

What exactly does it represent?
First off, like many definitions in mathematics, the definition exists because it happens to be useful. If it wasn't useful we wouldn't use it.

So what is it useful for? Think of a Taylor series expansion of some function of a single variable,

f(x) = f(x_0)<br /> + (x-x_0)\,\left.\frac{df(x)}{dx}\right|_{x=x_0}<br /> + \frac 1 {2!} (x-x_0)^2 \, \left. \frac{d^2f(x)}{dx^2} \right|_{x=x_0}<br /> + \cdots

How to generalize this to a function of multiple variables? The answer lies in these partial derivatives:

f(\vec x) = f(\vec x_0)<br /> + (\vec x-\vec x_0)^T \left.\nabla f(\vec x) \right|_{x=x_0}<br /> + \frac 1 {2!} (\vec x-\vec x_0)^T \left.\boldsymbol H(\vec x)\right|_{x=x_0}<br /> (\vec x-\vec x_0)<br /> + \cdots

where \nabla f(\vec x) is the gradient of f(x) with respect to x and \boldsymbol H(\vec x) is the Hessian of f(x) with respect to x. The elements of the gradient are the first partial derivatives while the elements of the Hessian are the second partials.
 


U.Renko said:
This is something that has been bothering me.
what exactly is \frac{\partial^2 f }{\partial x \partial y} and what is it application.
In words, this symbol is the partial derivative with respect to x of the partial derivative with respect to y.

Here f would be a function of x and y.

Example: f(x, y) = x2 + 3xy
\frac{\partial f}{\partial y} = 3x
\frac{\partial}{\partial x}\left(\frac{\partial f}{\partial y}\right) = 3
U.Renko said:
what I don`t understand is:
when taking the first partial derivative you treat y as a constant and x as a variable.
then why is it that you do the opposite when taking the 2nd derivative?
When you're working with partial derivatives, the phrase "first partial derivative" doesn't make much sense, because you haven't said which variable you are differentiating with respect to.

For a function of two variables, there are two first partials: the partial with respect to x, \frac{\partial f}{\partial x} or fx, and the partial with respect to y, \frac{\partial f}{\partial y} or fy. There are four second partials, which are obtained by differentiating each of the two first partials with respect to either x or y.
U.Renko said:
What exactly does it represent?

A first partial represents the rate of change of the function value relative to change in the x or y direction.

A second partial represents the rate of change of the value of one of the first partials relative to change in the x or y direction.
 


You need to draw some pictures Renko. Tell you what, I bet you could create a demonstration for the Wolfram demonstration project for this. Take the function:

f(x,y)=3xy^2+y^3x+4x^3y+2y

Plot it nice in Mathematica. Now compute the partial with respect to x but do more than that. On the plot, draw a line at the point (x,y) which has the slope of:

\frac{\partial f}{\partial x}

Encapsulate this in a Manipulate function so as you slide the slider across the function for a constant y, this line, say yellow, move across the function surface showing what the partial with respct to x is at a particular point x. Now go a step further and compute the rate at which the slope of thay yellow line changes as you vary y. That's the mixed-partial:

\frac{\partial}{\partial y} \left(\frac{\partial f}{\partial x}\right)

Yeah, make a slider for that one too:

So as you change the y-slider, that is as you move the value of y, the rate at which that yellow line is moving up or down with change according to the value of the mixed partial.

Be a nice project for you and sides, you get your name published for all the world to see.
 
Last edited:


Mark44 said:
A second partial represents the rate of change of the value of one of the first partials relative to change in the x or y direction.


Of Course!
Now I understand why I was confused.

I was thinking in 3 dimensions when dealing with the functon and its partial derivatives.
But for some reason I was thinking in 2 dimensions when dealing with its second partial derivatives.

thinking now, it seems kinda obvious that a function of 2 variables HAS to have four partial derivatives.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 53 ·
2
Replies
53
Views
6K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K