How can I apply the chain rule correctly to functions?

In summary, the chain rule can be used to simplify a derivative of a function of two variables. The rule states that the derivative of a function of two variables is the sum of the derivatives of the function of each variable.
  • #1
scook116
5
0
I'm randomly having trouble applying the chain rule to functions (well, 1 function in particular), I was hoping someone could quickly walk me through this simple problem as I don't know where I've gone wrong. I've tried U substitution, chain/product rule, factoring answer...but I just can't see it

I'm trying to get View attachment 2119 from View attachment 2118
 

Attachments

  • 7.png
    7.png
    1.3 KB · Views: 63
  • 7(1).png
    7(1).png
    1.3 KB · Views: 59
Physics news on Phys.org
  • #2
Okay, we are given:

\(\displaystyle \frac{dy}{dt}=\frac{6hu_0}{L}\left(\left(\frac{x}{L} \right)^2+\frac{x}{L} \right)\)

In order to obtain the result you cite via differentiation, it appears that we must assume:

\(\displaystyle x=t\,\therefore\,\frac{dx}{dt}=1\)

Now, the constant in front of the expression involving $x$ will simply be carried through:

\(\displaystyle \frac{d}{dt}\left(\frac{dy}{dt} \right)=\frac{6hu_0}{L} \frac{d}{dt}\left(\left(\frac{x}{L} \right)^2+\frac{x}{L} \right)\)

Now, can you differentiate term by term on the right, applying the power and chain rules?
 
  • #3
I'm stuck on how the first expression has the numerator and denominator squared tho.
 
  • #4
Ah, I did not notice $u_0$ being squared. Can you provide the original problem in its entirety?
 
  • #5
Surely,
View attachment 2120 gives us the shape of the flight path, but say nothing about the speed of the airliner on that path. Begin by making the unrealistic assumption that horizontal speed is constant during the descent; that is dx/dt=u0 use the chain rule int he form dy/dt=(dy/dx)(dx/dt) to show that vertical velocity of the airliner is View attachment 2121

then use the chain rule to show that the vertical acceleration d2y/dt2 of the airliner along the flight path is View attachment 2122
 

Attachments

  • 7(2).png
    7(2).png
    1.2 KB · Views: 61
  • 7.png
    7.png
    1.3 KB · Views: 58
  • 7(1).png
    7(1).png
    1.3 KB · Views: 51
Last edited:
  • #6
scook116 said:
Surely, View attachment 2120

also, dx/dt=u0 and dy/dt=(dy/dx)(dx/dt). So sorry >.<

No worries...it just helps to have these details. So, let's begin with:

\(\displaystyle y=\left(\frac{x}{L} \right)^2\left(\frac{2hx}{L}+3h \right)\)

Differentiating with respect to $t$, we obtain:

\(\displaystyle \frac{dy}{dt}=2\left(\frac{x}{L} \right)\left(\frac{1}{L}\frac{dx}{dt} \right)\left(\frac{2hx}{L}+3h \right)+\left(\frac{x}{L} \right)^2\left(\frac{2h}{L}\frac{dx}{dt} \right)\)

Now factoring, we may write (using \(\displaystyle u_0=\frac{dx}{dt}\)):

\(\displaystyle \frac{dy}{dt}=\frac{2hu_0}{L}\left(\frac{x}{L} \left(\frac{2x}{L}+3 \right)+ \left(\frac{x}{L} \right)^2 \right)\)

\(\displaystyle \frac{dy}{dt}=\frac{6hu_0}{L}\left(\left(\frac{x}{L} \right)^2+\left(\frac{x}{L} \right) \right)\)

So, I do agree with the first derivative you posted. Now differentiate again, observing that \(\displaystyle u_0=\frac{dx}{dt}\) is a constant:

\(\displaystyle \frac{d}{dt}\left(\frac{dy}{dt} \right)=\frac{6hu_0}{L} \frac{d}{dt}\left(\left(\frac{x}{L} \right)^2+\frac{x}{L} \right)\)

When you apply the rules of differentiation, you will get the result you cited. Can you give it a try seeing how I derived the first derivative?
 
  • #7
I end up multiplying out many different expressions with what seems to be too crazy to be part of the solution. I am not sure if I'm picking U and V properly, and I think that might be throwing me in a loop. I end up with multiple expressions, one having 18hu0x^2/L and it just doesn't seem like the right path. :eek:

I have OCD and focus on minute details especially when troubleshooting, I put myself into loops with almost every problem when I start thinking of the proper rules and methods.(Smoking)
 
  • #8
Let's concentrate on the expression:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 + \dfrac{x}{L}\right)$

Linearity of the derivative gives us:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 + \dfrac{x}{L}\right)$

$= \dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 \right) + \dfrac{d}{dt}\left(\dfrac{x}{L}\right)$

Applying the chain rule to the first term gives:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 \right) = 2\dfrac{x}{L} \cdot\dfrac{d}{dt}\left(\dfrac{x}{L}\right)$

At this point we have a common factor we can collect, so we have:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 + \dfrac{x}{L}\right)$

$= \left(2\dfrac{x}{L} + 1\right)\cdot \dfrac{d}{dt}\left(\dfrac{x}{L}\right)$

Assuming $L$ is a constant, we can bring a factor of $\dfrac{1}{L}$ out front:

$= \dfrac{1}{L}\left(2\dfrac{x}{L} + 1\right)\cdot\dfrac{dx}{dt}$

Since we are given that $\dfrac{dx}{dt} = u_0$, we arrive at:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 + \dfrac{x}{L}\right)$

$= \dfrac{u_0}{L}\left(2\dfrac{x}{L} + 1\right)$

and multiplying this by the constant factor:

$\dfrac{6hu_0}{L}$ gives us the "total answer":

$\dfrac{d^2y}{dt^2} = \dfrac{6hu_0^2}{L^2}\left(2\dfrac{x}{L} + 1\right)$
 
  • #9
Guys, I'm not sure why I haven't been able to see these types of things, I see it now clear as hell but only after you two have helped me. This seems to happen often with me in calc. for example here when you took out "x/L"
Deveno said:
At this point we have a common factor we can collect, so we have:

$\dfrac{d}{dt}\left(\left(\dfrac{x}{L}\right)^2 + \dfrac{x}{L}\right)$

$= \left(2\dfrac{x}{L} + 1\right)\cdot \dfrac{d}{dt}\left(\dfrac{x}{L}\right)$
I didnt see this at all.
Do you guys have ANY tips or tricks at all on how you do operations and or prioritize when doing calculus? I know all about 'go slow, don't miss anything'
 
  • #10
I didn't take out "x/L", I differentiated term-by-term, using the rule:

$(f + g)' = f' + g'$

Since we actually had $f = g^2$ using the chain rule gives us:

$(g^2 + g)' = 2g\cdot g' + g' = (2g + 1)g'$

(Here: $g(t) = \dfrac{x(t)}{L}$).

In general, when differentiating, it is often easier to separate sums first, before applying rules like the product rule or the chain rule, which tend to "expand" as you differentiate. Also, pulling out constant factors first, keeps what you are differentiating "as simple as possible".

"Combining like terms" often just takes a certain "knack" for recognizing "when is the right time to combine". Sometimes it's better to wait until later, sometimes it's better to do it as soon as you can, there's really no hard and fast rule.
 

Related to How can I apply the chain rule correctly to functions?

What is the chain rule?

The chain rule is a mathematical rule that allows us to differentiate composite functions. 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.

Why is the chain rule important?

The chain rule is important because it allows us to find the derivatives of more complex functions by breaking them down into simpler components. This is especially useful in physics and engineering, where many real-world problems can be modeled using composite functions.

How do I use the chain rule?

To use the chain rule, you first identify the outer function and the inner function. Then, you take the derivative of the outer function and multiply it by the derivative of the inner function. If the inner function is also a composite function, you can continue applying the chain rule until you reach the simplest function.

Can the chain rule be applied to any function?

No, the chain rule can only be applied to composite functions, where one function is nested inside another. It cannot be used for simple functions like polynomials or trigonometric functions.

Can the chain rule be extended to higher dimensions?

Yes, the chain rule can be extended to functions with multiple variables, known as multivariable functions. In this case, the chain rule becomes the multivariable chain rule, which involves finding partial derivatives instead of ordinary derivatives.

Similar threads

  • Calculus
Replies
5
Views
1K
Replies
1
Views
918
Replies
4
Views
1K
Replies
20
Views
3K
  • Differential Geometry
Replies
2
Views
614
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
913
Replies
3
Views
1K
Replies
15
Views
3K
  • Calculus
Replies
2
Views
2K
Back
Top