Partial Differentiation Help with Chain Rule

In summary: Most of the theorems are quite trivial, but you're supposed to prove them rigorously, and that takes some practice.In summary, the conversation discusses the definition of acceleration in a two-dimensional velocity field and the use of the chain rule to evaluate it. There are some confusions about notation and the steps needed to apply the chain rule, but the main concept is that acceleration is found by taking the partial derivatives of the velocity components with respect to time.
  • #1
Saladsamurai
3,020
7
In fluid mechanics velocity is given in the form

[tex]\textbf{V}=u\textbf{i}+v\textbf{j}+w\textbf{k}[/tex]

Homework Statement



A two-dimensional velocity field is given by

[tex]\textbf{V}=(x^2-y^2+x)\textbf{i}+(-2xy-y)\textbf{j}[/tex]

At [itex](x_o,y_o)[/itex] compute the accelerations [itex]a_x\text{ and }a_y[/itex]

I am having trouble with the books definition of [itex]a_x\text{ and }a_y[/itex]

Now I can see that the w term is zero. They define ax to be

[tex]a_x=\frac{\partial{u}}{\partial{t}}=u\frac{\partial{u}}{\partial{x}}+v\frac{\partial{u}}{\partial{y}}[/tex]

I know that the chain rule has been used to arrive at this, but I seem to be getting lost along the way. So I am attempting to do it out here. So when we say

[itex]\frac{\partial{u}}{\partial{t}}[/itex] we are really saying

[tex]\frac{\partial{}}{\partial{t}}[u(x(t),y(t),z(t))][/tex]

right?

I am just confused as to how to evaluate this :blushing:
 
Physics news on Phys.org
  • #2
That is a bit strange, seeing as u is only a function of one variable, t. I don't see why the partial symbol is being used, as it is thus equivalent to the normal derivative du/dt. Since u(t) = u(x(t), y(t), z(t)) is a map from R into R, we have:
[tex]\frac{du}{dt} = \frac{\partial u}{\partial x}\frac{dx}{dt} + \frac{\partial u}{\partial y}\frac{dy}{dt} + \frac{\partial u}{\partial z}\frac{dz}{dt}[/tex]
by the chain rule.
Now I can see that the w term is zero. They define ax to be
[tex]a_x=\frac{\partial{u}}{\partial{t}}=u\frac{\partia l{u}}{\partial{x}}+v\frac{\partial{u}}{\partial{y} }[/tex]
I do not see any way in which they can justify v being part of the partial derivative of u with respect to time.
 
Last edited:
  • #3
I do not see any way in which they can justify v being part of the partial derivative of u with respect to time.

I guess I should have stated that u,v,w are ALL functions of x,y,z,t (or can be)

So u could be a function of x, y, & z each of which are functions of time...I can see where this is going, but I do not know how to get there. Unfortunately there are some "gaps" in my fundamental knowledge of calculus. They are mostly notational in nature.

I know that

[tex]\frac{\partial{}}{\partial{t}}[u(x(t),y(t),z(t))][/tex]



[tex]=\frac{\partial{u}}{\partial{x}}*\frac{\partial{x}}{\partial{t}}+\frac{\partial{u}}{\partial{y}}*\frac{\partial{y}}{\partial{t}}+\frac{\partial{u}}{\partial{z}}*\frac{\partial{z}}{\partial{t}}[/tex]

but I am not sure how to get from that first line to the next.

Seriously, I am just confused by the commas. :rofl:
 
  • #4
Saladsamurai said:
I guess I should have stated that u,v,w are ALL functions of x,y,z,t (or can be)

So u could be a function of x, y, & z each of which are functions of time...I can see where this is going, but I do not know how to get there. Unfortunately there are some "gaps" in my fundamental knowledge of calculus. They are mostly notational in nature.

I know that

[tex]\frac{\partial{}}{\partial{t}}[u(x(t),y(t),z(t))][/tex]



[tex]=\frac{\partial{u}}{\partial{x}}*\frac{\partial{x}}{\partial{t}}+\frac{\partial{u}}{\partial{y}}*\frac{\partial{y}}{\partial{t}}+\frac{\partial{u}}{\partial{z}}*\frac{\partial{z}}{\partial{t}}[/tex]

but I am not sure how to get from that first line to the next.

Seriously, I am just confused by the commas. :rofl:

Oh, never mind. they're using the fact that
[tex]u(t) = \frac{dx}{dt}[/tex]
and
[tex]v(t) = \frac{dy}{dt}[/tex]
which goes right into the chain rule we already posted.
 
Last edited:
  • #5
I was actually being serious about the whole "being confused by the commas" thing.

How do we actually "operate on" [itex][u(x(t),y(t),z(t))][/itex] ? That is, what are the mechanical steps to get from

[tex]\frac{\partial{}}{\partial{t}}[u(x(t),y(t),z(t))][/tex]

to

[tex]=\frac{\partial{u}}{\partial{x}}*\frac{\partial{x} }{\partial{t}}+\frac{\partial{u}}{\partial{y}}*\frac{\partial{y}}{\partial{t}}+\frac{\partial{u}}{\partial{z}}*\frac{\partial{z}}{\partial{t}}[/tex]
 
  • #6
There are no intermediate steps. That is the chain rule.

I like to write the single-variable version of it in the form

[tex](f\circ g)'(x)=f'(g(x))g'(x)[/tex]

and the many-variables version of it in the form

[tex](f\circ g)^i{}_{,j}(x)=f^i{}_{,k}(g(x))g^k{}_{,j}(x)[/tex]

because this form is fairly easy to remember. Repeated indices are summed over (Einstein's summation convention), and a ",j" denotes partial derivation with respect to variable number j. For example, [itex]g^k{}_{,j}(x)[/itex] is the partial derivative with respect to the jth variable of the kth component of the function g.

In your case, [itex]g:\mathbb R\rightarrow\mathbb R^3,\ f:\mathbb R^3\rightarrow\mathbb R[/itex], so the above reduces to

[tex](f\circ g)'(x)=f_{,k}(g(x))g^k'(x)[/tex]
 
Last edited:
  • #7
Wow. Engineers really get the short end of the stick when it comes to thoroughness in their maths. I have been thinking about reteaching myself Calculus from a more 'Pure' standpoint.

Do you have any suggestions on a good textbook for someone who already knows how to 'do' calculus problems (for the most part) but really wants to understand the 'hows and whys' of it all?
 
  • #8
Theorems like the chain rule are proved in all the standard textbooks. I'm sure you can find recommendations in the science book forum. (The books I studied are in Swedish, so you probably wouldn't like them). If you want a book that's just about definitions and theorems, I can recommend "Principles of mathematical analysis" by Walter Rudin. I should warn you though. It's a pretty difficult subject.
 
  • #9
Saladsamurai said:
Wow. Engineers really get the short end of the stick when it comes to thoroughness in their maths. I have been thinking about reteaching myself Calculus from a more 'Pure' standpoint.

Do you have any suggestions on a good textbook for someone who already knows how to 'do' calculus problems (for the most part) but really wants to understand the 'hows and whys' of it all?

The commas are just there to denote a map from R into R3.
Spivak's "Calculus on Manifolds" is the definitive text on the topic. It is concise and easily followable by anyone who has taken single-variable analysis and has exposure to multivariable calculus. The proofs are either left on exercises The following two theorems are proven in the chapter on differentiation and can be used to differentiate any function using the chain rule (the notation is Euler's notation, [itex]D_if^j[/itex] refers to the partial derivative with respect to the ith variable of the jth component of f):
This theorem allows you to find the derivative of vector-valued functions in matrix form.
Theorem: If [itex]f:R^n\rightarrow R^m[/itex] is differentiable at a, then [itex]D_jf^i(a)[/itex] exists for [itex]1\leq i\leq m, 1\leq j\leq n[/itex] and f'(a) is the [itex]m\times n[/itex] matrix [itex](D_jf^i(a))[/itex].
This theorem is the multivariable chain rule.
Theorem:If [itex]g_1,\cdots,g_m:R^n\rightarrow R[/itex] are continuously differentiable at a, and [itex]f:R^m\rightarrow R[/itex] is differentiable at [itex](g_1(a),\cdots,g_m(a))[/itex], then [itex]F:R^n\rightarrow R[/itex] defined by [itex]F(x) = f(g_1(x),\cdots,g_m(x))[/itex] is also differentiable at a and
[tex]D_iF(a) = \sum_{j=1}^m D_jf(g_1(a),\cdots,g_m(a)) D_ig_j(a).[/tex]

Spivak makes the proofs of these theorems very easy by using very good definitions and leading the reader in the right directions with the exercises so that the reader can usually prove the theorem themselves without Spivak's proof. Ie., Stokes's Theorem, a crown jewel of vector calculus, simply falls out of the definitions by rote algebra.
 
Last edited:
  • #10
slider142 said:
The commas are just there to denote a map from R into R3.
Spivak's "Calculus on Manifolds" is the definitive text on the topic. It is concise and easily followable by anyone who has taken single-variable analysis and has exposure to multivariable calculus. The proofs are either left on exercises The following two theorems are proven in the chapter on differentiation and can be used to differentiate any function using the chain rule (the notation is Euler's notation, [itex]D_if^j[/itex] refers to the partial derivative with respect to the ith variable of the jth component of f):
This theorem allows you to find the derivative of vector-valued functions in matrix form.
Theorem: If [itex]f:R^n\rightarrow R^m[/itex] is differentiable at a, then [itex]D_jf^i(a)[/itex] exists for [itex]1\leq i\leq m, 1\leq j\leq n[/itex] and f'(a) is the [itex]m\times n[/itex] matrix [itex](D_jf^i(a))[/itex].
This theorem is the multivariable chain rule.
Theorem:If [itex]g_1,\cdots,g_m:R^n\rightarrow R[/itex] are continuously differentiable at a, and [itex]f:R^m\rightarrow R[/itex] is differentiable at [itex](g_1(a),\cdots,g_m(a))[/itex], then [itex]F:R^n\rightarrow R[/itex] defined by [itex]F(x) = f(g_1(x),\cdots,g_m(x))[/itex] is also differentiable at a and
[tex]D_iF(a) = \sum_{j=1}^m D_jf(g_1(a),\cdots,g_m(a)) D_ig_j(a).[/tex]

Spivak makes the proofs of these theorems very easy by using very good definitions and leading the reader in the right directions with the exercises so that the reader can usually prove the theorem themselves without Spivak's proof. Ie., Stokes's Theorem, a crown jewel of vector calculus, simply falls out of the definitions by rote algebra.

I have taken single-var & multi-var calculus, but no Analysis. What would you suggest? I don't even know what a Map is and I have never really used the R3 notations.
 
  • #11
In that case, you can use a "baby analysis" text to bridge the gap. That is, a text that aims to teach calculus with rigor, covering the properties of the real number field, limits, series, derivatives, and integrals with complete rigor and every important theorem either proven explicitly by the author or the student being guided to the proof by exercises. There is no analogical hand-waving, appeals to physical situations as a substitute for proof and no references to other texts for the proof (ie., this proof is too involved to be covered here...). while there are many texts that do this, there are a few that have become classics for every generation by being extremely well-written and actually enjoyable to read and do.
https://www.amazon.com/dp/0471588814/?tag=pfamazon01-20 are the most popular. Once you have picked up and read at least the first chapter of any of these, you will see why they're so popular. They're almost like having a highly knowledgeable friendly professor in the room with you.
In order to understand the aim of multivariable and vector calculus, you will have to have a good grounding in linear algebra, for which I recommend https://www.amazon.com/dp/0387982582/?tag=pfamazon01-20, supplemented by a matrix-based algebra text if you so choose, or a Schaum's Outline for numerical exercises. Axler's text is more modern algebra and geometry oriented than most numerically oriented matrix algebra texts, which is more important for the intuitive application to calculus, which, in vector form, pretty much tries to study nonlinear objects by reducing them to locally linear objects which we study with the well-established tools of linear algebra.
 
Last edited by a moderator:

What is partial differentiation?

Partial differentiation is a mathematical technique used to find the rate of change of a multivariable function with respect to a specific variable while keeping all other variables constant.

What is the chain rule in partial differentiation?

The chain rule in partial differentiation is a method for finding the derivative of a composite function. It states that the derivative of a composite function is equal to the product of the derivative of the outer function and the derivative of the inner function.

How do you apply the chain rule in partial differentiation?

To apply the chain rule in partial differentiation, you must first identify the outer and inner functions. Then, you take the derivative of the outer function and multiply it by the derivative of the inner function, which is found by using the partial differentiation technique.

Why is the chain rule important in partial differentiation?

The chain rule is important in partial differentiation because it allows us to find the derivative of complex functions with multiple variables. It is a fundamental tool in calculus and is used in many scientific and engineering applications.

Are there any tips for mastering partial differentiation and the chain rule?

Practice and repetition are key to mastering partial differentiation and the chain rule. It is also helpful to understand the concept of the chain rule and its applications rather than just memorizing the formula. Additionally, breaking down complex functions into simpler parts can make the process easier.

Similar threads

Replies
4
Views
648
  • Calculus and Beyond Homework Help
Replies
1
Views
584
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
868
  • Calculus and Beyond Homework Help
Replies
5
Views
991
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
17
Views
980
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Back
Top