Using the chain rule on a fraction?

In summary, to find dy/dx at x = 2, you can use the chain rule and quotient rule to find the derivatives of y = (1 + s)/(1 - s), s = t - 1/t, and t = sqrt(x). By plugging in the values for s, t, and x, you can find dy/dx to be 4/(2 - 2sqrt(2) + 1) or approximately 1.481.
  • #1
LilTaru
81
0

Homework Statement



Find dy/dx at x = 2.

y = (1 + s)/(1 - s); s = t - 1/t; t = sqrt(x)


Homework Equations



I know if f = f(g(x)), then f1(x) = f1(g(x)) * g1(x)

The Attempt at a Solution



I think I may need to combine the chain rule and quotient rule, but all of the separate equations makes it really hard to keep track of all the steps. I have no idea where to even begin! Please help!
 
Physics news on Phys.org
  • #2
The chain rule can also be denoted as [tex]\frac{dy}{dx}=\frac{dy}{du}.\frac{du}{dx}[/tex] given y=f(u) and u=f(x)

This can obviously be extended to 3 or more variables.
 
  • #3
I think that is the part that confuses me... would dy/dx in this case be:
dy/ds * ds/dt * dt/dx?
 
  • #4
Yep, it makes sense doesn't it?

If you look at them as being fractions, then of course [tex]\frac{dy}{dx}=\frac{dy}{ds}.\frac{ds}{dt}.\frac{dt}{dx}[/tex] since the ds and dt's cancel from the numerator and denominator leaving dy/dx.
The second reason why it should make sense is because since we have y=f(s), s=f(t), t=f(x) then we can only take derivatives as dy/ds, ds/dt, dt/dx respectively.
 
  • #5
Okay I think I may know what to do, but I am still a bit confused...

Would dy/ds * ds/dt * dt/dx be:

(1 - s)(s) - (1 + s)(-s)/(1 - s)2 * t + 1/t2 * 1/(2sqrt(x))

Since dy/ds = (1 - s)(s) - (1 + s)(-s)/(1 - s)2

ds/dt = t + 1/t2

and dt/dx = 1/(2sqrt(x))

Would I then just plug in for s, and t?
 
  • #6
dy/ds and ds/dt are both wrong. You need to go back and revise your derivatives since this problem will keep creeping up on you and you'll never make it through the course.
 
  • #7
Yeah that is the trouble I always have with these questions... how to differentiate it when it contains s and t... I was thinking of plugging in the values of s and t, but wouldn't that defeat the purpose of having them in the first place because I could just plug in the values and use the quotient rule?
 
  • #8
I tried again and got:

dy/ds = 2/(1 - s)2

ds/dt = 1 + 1/t2

dt/dx = 1/(2sqrt(x))

I don't know if I am still really confused on it, but this seemed more correct to me than my first try... Do I now plug in for s and t or am I still really off base?
 
  • #9
LilTaru said:
Yeah that is the trouble I always have with these questions... how to differentiate it when it contains s and t... I was thinking of plugging in the values of s and t, but wouldn't that defeat the purpose of having them in the first place because I could just plug in the values and use the quotient rule?
Yes you can do that, but trust me, you don't want to. It will become way too confusing and difficult to take the derivative of. Give it a shot if you want though, just to show yourself how ugly it will look and appreciate this approach much more :smile:

LilTaru said:
I tried again and got:

dy/ds = 2/(1 - s)2

ds/dt = 1 + 1/t2

dt/dx = 1/(2sqrt(x))

I don't know if I am still really confused on it, but this seemed more correct to me than my first try... Do I now plug in for s and t or am I still really off base?
Yes that's correct. Ok now since you're asked to find dy/dx at x=2, you know that since [tex]\frac{dt}{dx}=\frac{1}{2\sqrt{x}}[/tex] then t=... and then since you now know t, then s=...? etc.

Of course using the chain rule formula that we already spoke about.
 
  • #10
LilTaru said:
Yeah that is the trouble I always have with these questions... how to differentiate it when it contains s and t... I was thinking of plugging in the values of s and t, but wouldn't that defeat the purpose of having them in the first place because I could just plug in the values and use the quotient rule?
Yes you can do that, but trust me, you don't want to. It will become way too confusing and difficult to take the derivative of. Give it a shot if you want though, just to show yourself how ugly it will look and appreciate this approach much more :smile:

LilTaru said:
I tried again and got:

dy/ds = 2/(1 - s)2

ds/dt = 1 + 1/t2

dt/dx = 1/(2sqrt(x))

I don't know if I am still really confused on it, but this seemed more correct to me than my first try... Do I now plug in for s and t or am I still really off base?
Yes that's correct. Ok now since you're asked to find dy/dx at x=2, you know that since [tex]dt/dx=\frac{1}{2\sqrt{x}}[/tex] then dt/dx=... and then since you now know t, then ds/dt=...? etc.

Of course using the chain rule formula that we already spoke about.
 
  • #11
Okay so to clarify:

Then dt/dx = 1/(2sqrt(2)) = 1/2sqrt(2)

ds/dt = 1 + 1/(sqrt(2))2 = 3/2

dy/ds = 2/(1 - sqrt(2) + 1/sqrt(2))2 = 4/(2 - 2sqrt(2) + 1)

Then just multiply these together for the answer?
 
  • #12
Yes that's perfect! :smile:

Just as a little reminder, sometimes you can clear things up a bit, such as the [tex]\sqrt{2}-\frac{1}{\sqrt{2}}=\frac{1}{\sqrt{2}}[/tex] but it's nothing really that important here.

Good job by the way.
 
  • #13
Whew! Thank you so much! It really helps! Derivatives always get confusing when they start getting big and complicated! Your help was much appreciated!
 

FAQ: Using the chain rule on a fraction?

1. What is the chain rule?

The chain rule is a calculus rule used to find the derivative of a composite function. It allows us to calculate the rate of change of a function composed of two or more functions.

2. How do you use the chain rule on a fraction?

To use the chain rule on a fraction, you need to first identify the function within the fraction that has an inner function. Then, you can use the chain rule formula, which states that the derivative of the outer function multiplied by the derivative of the inner function.

3. Can you provide an example of using the chain rule on a fraction?

Sure, let's say we have the function f(x) = (x^2 + 5)^3. We can rewrite this as f(x) = (g(x))^3, where g(x) = (x^2 + 5). To find the derivative, we use the chain rule, which gives us f'(x) = 3(g(x))^2 * g'(x). In this case, g'(x) = 2x, so the final derivative is f'(x) = 6x(x^2 + 5)^2.

4. What if there are multiple fractions within a function? How do you apply the chain rule then?

If there are multiple fractions within a function, you can apply the chain rule to each fraction separately. Identify the inner function in each fraction and use the chain rule formula to find the derivative. Then, you can combine the derivatives using the appropriate algebraic operations.

5. When should I use the chain rule on a fraction?

You should use the chain rule on a fraction when the function contains a composite function, meaning it is composed of two or more functions. If the function is a simple polynomial or trigonometric function, the chain rule is not necessary.

Similar threads

Back
Top