Derivative of a Quotient with Chain Rule: Finding dy/dx at a Specific Point

  • Thread starter Thread starter linuxux
  • Start date Start date
  • Tags Tags
    Derivative
linuxux
Messages
133
Reaction score
0

Homework Statement



If y=\frac{1-2u}{1+u} and u=\sqrt{x^2-7}, find \frac{dy}{dx} at x=4

Homework Equations



quotient and chain rule

The Attempt at a Solution



so if f=y then y^{'}=f^{'} then f^{'} = \left( \frac{f}{g}\right)^{'} = \frac{f^{'}g - fg^{'}}{g^2}

and if f=1-2u then f^{'} = -\left( x^2 -7\right)^\frac{-1}{2} 2x

and if g=1+u then g^{'} = x\left( x^2 -7\right)^\frac{-1}{2}

and g^2 = x^2 + 2\sqrt{x^2 -7}-6

and now with chain rule:

\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}=\left(\frac{-2\left(1+u\right)-\left(1-2u\right)}{\left(1+u\right)^{2}}\right)\left(x\left(x^{2}-7\right)^{\frac{-1}{2}}\right)

i think?
u in terms of x like this:

\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}=\left(\frac{-2\left(1+\sqrt{x^2-7}\right)-\left(1-2\sqrt{x^2-7}\right)}{\left(1+\sqrt{x^2-7}\right)^{2}}\right)\left(x\left(x^{2}-7\right)^{\frac{-1}{2}}\right)
 
Last edited:
Physics news on Phys.org
Try the chain rule:

dy/dx =dy/du(du/dx)

should be easy as that
 
your f ', g ' and g^2 look correct
 
You could also simply substitute u(x) back into the equation, though I would personally go with chain rule.
 
okay, hopefully i can simplify it somehow...
 
linuxux said:
okay, hopefully i can simplify it somehow...

Did you understand what was said? You appear to be completely ignoring it. YOU put the "chain rule" as one of the relevant equations. The chain rule is specifically to do problems like this without having to substitute one function into another. Use the chain rule, not that complicated formula for y(x) you have!
 
HallsofIvy said:
Did you understand what was said? You appear to be completely ignoring it. YOU put the "chain rule" as one of the relevant equations. The chain rule is specifically to do problems like this without having to substitute one function into another. Use the chain rule, not that complicated formula for y(x) you have!

Okay, i will try it again with the chain rule, i don't understand how the chain rule can be used since i can't see a function that's "in" another function? where is it? i actually made a mistake when i wrote chain rule, but since you say its easier i want to do it that way, i will search for a suitable example.

later that day...

ah, now i see, you don't substitute for u as i did, i also see the solution will be much cleaner, thanks!
 
Last edited:
All the mathematicians will probably hate this, but just think of d/dx as something that you want to "cancel" out. So the chain rule says that if you have h(g(f(x))), which you can repeat indefinitely, that you can take the derivative of dh/dx by incrementally "canceling" the derivatives, like so dh/dx = dh/dg*dg/df*df/dx.

So as an example, the say you have y = sin((x+1)^2), which has a form y = h(g(f(x))), where h is the trig function sin(stuff), g is the function inside of the trig function raised to some power (stuff)^2, and f is the function x+1. The solution would be
\frac{d(sinfunction)}{dg} * \frac{d(powerfunction)}{df} * \frac{d(finalfunction)}{dx}
which evaluates to cos((x+1)^2)*2(x^50+1)*50x^49.

You have a function in terms of u, which is also a function of x. So with the chain rule the equation
y(u) = \frac{1-2u}{1+u} where u(x) = \sqrt{x^2-7}

has the form of y(h) = \frac{1-2h(g(f(x)))}{1+h(g(f(x)))}
*remember there is a square root function in u's expression for x, which is a function in itself.

so dy/dx = dy(h)/dg(f)*dg(f)/df(x)*df(x)/dx.

Make sense?
 
Last edited:
Mindscrape said:
All the mathematicians will probably hate this, but just think of d/dx as something that you want to "cancel" out. So the chain rule says that if you have h(g(f(x))), which you can repeat indefinitely, that you can take the derivative of dh/dx by incrementally "canceling" the derivatives, like so dh/dx = dh/dg*dg/df*df/dx.

So as an example, the say you have y = sin((x+1)^2), which has a form y = h(g(f(x))), where h is the trig function sin(stuff), g is the function inside of the trig function raised to some power (stuff)^2, and f is the function x+1. The solution would be
\frac{d(sin_function)}{dg} * \frac{d(power_function)}{df} * \frac{d(final_function}{dx}
which evaluates to cos((x+1)^2)*2(x^50+1)*50x^49.

You have a function in terms of u, which is also a function of x. So with the chain rule the equation
y(u) = \frac{1-2u}{1+u} where u(x) = \sqrt{x^2-7}

has the form of y(g) = \frac{1-2g(f(x))}{1+g(f(x))}

so dy/dx = dy(g)/df(x)*df(x)/dx.

Make sense?

makes perfect sense.
 
  • #10
Catch my edit though, I forgot there was a square root function in the function for u(x).
 
  • #11
yeah i see the change there too.
 
  • #12
Yes, you seem to have caught the sqrt, so your new answer is right. I would put u in terms of x now though.
 
  • #13
is that what you mean when you say u in terms of x?
 
  • #14
Yeah, it's nice to have everything in terms of the variable you a taking the derivative with respect to. :)
 
Back
Top