Second derivative, chain rules and order of operations

Click For Summary

Discussion Overview

The discussion revolves around the application and interpretation of the chain rule for second derivatives in calculus, particularly in the context of physics and computer modeling. Participants explore the mathematical formulation of the chain rule, its implications, and potential errors in notation or interpretation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a formula for the second derivative using the chain rule and seeks validation or proof for their interpretation.
  • Another participant points out a potential error in the original formula, questioning the absence of 'y' in a specific term.
  • A participant clarifies their understanding of the notation used, indicating that they meant to express the derivative of the derivative correctly.
  • Further elaboration is provided on the relationship between derivatives with respect to different variables, demonstrating the application of the chain rule in a specific context.
  • There is a discussion about the validity of moving terms in and out of derivative operators, with one participant questioning the correctness of this manipulation.
  • A simplified expression of the relationship between derivatives is presented, suggesting a more straightforward interpretation of the chain rule.
  • Another participant reiterates the original formula and attempts to interpret a related equation from a graphics/computer modeling course, highlighting a potential misunderstanding in the placement of derivatives.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the original formula and the interpretation of the chain rule. There is no consensus on the validity of certain manipulations of derivatives, and multiple interpretations of the equations are presented.

Contextual Notes

Some participants express uncertainty regarding the notation and the implications of moving derivatives in and out of operators, indicating that assumptions about the relationships between variables may not be fully resolved.

Fady Megally
Messages
3
Reaction score
0
So the chain rule for second derivatives is $$ \frac {d^2 y} {d t^2} = \frac{d}{dx}(\frac {dy} {dx}) \cdot \frac {dx} {dt} \cdot \frac {dx} {dt} + \frac {dy} {dx} \cdot \frac {d^2 x} {d t^2} = \frac{d^2 y}{d x^2} \cdot (\frac {dx} {dt})^2 + \frac {dy} {dx} \cdot \frac {d^2 x} {d t^2}$$

Today I came across this equation in a graphics/computer modeling course
$$\ddot C = \frac {d\dot C} {dx} \cdot \dot x + \frac {dC} {dx} \cdot \ddot x$$

Now what i would infer from this is that
$$\frac {d} {dx}(\frac {dy} {dx}) \cdot \frac {dx} {dt} = \frac {d\dot y} { dx}$$

This sounds right but can someone point me to a rule or theorem that suggests that. or a proof maybe ?
 
Last edited:
Physics news on Phys.org
Fady Megally said:
So the chain rule for second derivatives is
The formula you typed has something wrong at least at the first term of RHS ( no y in it). Typo ? Please check it out.
 
  • Like
Likes   Reactions: topsquark
anuttarasammyak said:
The formula you typed has something wrong at least at the first term of RHS ( no y in it). Typo ? Please check it out.
I don't think so .. what i mean by $$\frac{d}{dx}(\frac {dy} {dx})$$ is $$\frac {d (\frac {dy} {dx})} {dx}$$

i think this is what you were pointing to ? sorry if i missed something else
 
Now I can find y there. thanks.
Say y=y(x) and x=x(t)
\frac{dy}{dt}=\frac{dy}{dx}\frac{dx}{dt}...(1) and so
\frac{d^2y}{dt^2}= \frac{d}{dt}[\frac{dy}{dx}]\frac{dx}{dt}+\frac{dy}{dx}\frac{d^2x}{dt^2}...(2)
= \frac{d}{dx}[\frac{dy}{dx}\frac{dx}{dt}]\frac{dx}{dt}+\frac{dy}{dx}\frac{d^2x}{dt^2}
= \frac{d^2y}{dx^2}(\frac{dx}{dt})^2+\frac{dy}{dx}\frac{d^2x}{dt^2}
as you wrote. From (1) replacing y with C
\frac{dC}{dt}=\frac{dC}{dx}\frac{dx}{dt}
and (2) is
\frac{d^2C}{dt^2}= \frac{d}{dt}[\frac{dC}{dx}]\frac{dx}{dt}+\frac{dC}{dx}\frac{d^2x}{dt^2}
= \frac{d}{dx}[\frac{dC}{dt}]\frac{dx}{dt}+\frac{dC}{dx}\frac{d^2x}{dt^2}
changing order of application of d/dx and d/dt to C in the first RHS term. Now we could follow the text.
 
  • Like
Likes   Reactions: SammyS and topsquark
anuttarasammyak said:
Now I can find y there. thanks.
Say y=y(x) and x=x(t)
\frac{dy}{dt}=\frac{dy}{dx}\frac{dx}{dt}...(1) and so
\frac{d^2y}{dt^2}= \frac{d}{dt}[\frac{dy}{dx}]\frac{dx}{dt}+\frac{dy}{dx}\frac{d^2x}{dt^2}...(2)
= \frac{d}{dx}[\frac{dy}{dx}\frac{dx}{dt}]\frac{dx}{dt}+\frac{dy}{dx}\frac{d^2x}{dt^2}
= \frac{d^2y}{dx^2}(\frac{dx}{dt})^2+\frac{dy}{dx}\frac{d^2x}{dt^2}
as you wrote. From (1) replacing y with C
\frac{dC}{dt}=\frac{dC}{dx}\frac{dx}{dt}
and (2) is
\frac{d^2C}{dt^2}= \frac{d}{dt}[\frac{dC}{dx}]\frac{dx}{dt}+\frac{dC}{dx}\frac{d^2x}{dt^2}
= \frac{d}{dx}[\frac{dC}{dt}]\frac{dx}{dt}+\frac{dC}{dx}\frac{d^2x}{dt^2}
changing order of application of d/dx and d/dt to C in the first RHS term. Now we could follow the text.
Thanks anuttarasammyak

So what you are saying that moving the dx/dt in and out of the d/dx() operator is valid ?? that's to say
$$\frac {d(\frac {dy} {dx})}{dx} \cdot \frac {dx} {dt} =\frac {d(\frac {dy} {dx}\cdot \frac {dx} {dt})}{dx}$$

??
 
Well, in simple
\frac{d}{dx}[\frac{dy}{dt}]=\frac{d}{dt}[\frac{dy}{dx}]
 
  • Like
Likes   Reactions: Fady Megally
Fady Megally said:
So the chain rule for second derivatives is $$ \frac {d^2 y} {d t^2} = \frac{d}{dx}(\frac {dy} {dx}) \cdot \frac {dx} {dt} \cdot \frac {dx} {dt} + \frac {dy} {dx} \cdot \frac {d^2 x} {d t^2} = \frac{d^2 y}{d x^2} \cdot (\frac {dx} {dt})^2 + \frac {dy} {dx} \cdot \frac {d^2 x} {d t^2}$$

Today I came across this equation in a graphics/computer modeling course
$$\ddot C = \frac {d\dot C} {dx} \cdot \dot x + \frac {dC} {dx} \cdot \ddot x$$

I would interpret that as <br /> \frac{d\dot C}{dx} = \frac{d}{dx}\frac{dC}{dt} = \frac{d}{dx} \left(\dot x\frac{dC}{dx}\right)<br /> = \dot x\frac{d^2C}{dx^2} + \frac{dC}{dx}\frac{\ddot x}{\dot x} which does not lead to a correct statement of the chain rule, whereas I'm sure what the author meant (and possibly actually wrote) is <br /> \dot{\frac{dC}{dx}} = \frac{d}{dt}\frac{dC}{dx} = \dot x \frac{d^2C}{dx^2}. Note the difference in the position of the dot: in the first it is over the C, and in the second it is over the entire \frac{dC}{dx}.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K