#Why do I have to use both quotient and chain rule for this problem?
170 messages · Page 1 of 1 (latest)
y(x) is a function of x
y(x) = ln(x) + e^x
So if you compute the derivative of y wrt x, you would write dy/dx
In this problem they are not asking you for the derivative of y
They are asking you for the derivative of
$y^{-1}(x)$
Daddy_314
Which is the inverse function of y
So if for example we had
$y = x^2$ for x positive
$y^{-1}(x) = \sqrt{x}$ is the inverse function of $y$
Daddy_314
Now the reason you are lost
Is because they didnt call this inverse function $y^{-1}(x)$ but they called it $x(y)$
Daddy_314
The reason they do this is because if
$y = x^2$ for example, then
$x = \sqrt{y}$ for x positive,
This means we can express x as a function of y but this is just a way to trick you and make you sad
Daddy_314
No one cares if you call it $x(y)$ or $y^{-1}(x)$
Daddy_314
Ah I see, but like I still don't really get why I need to use the chain rule for that case?
Or is it that if we were to find the derivative of y i'd only need to use the quotient rule?
Yes
We get there now
Heres the magical trick:
When we want to find inverse function derivatives
We use the chain rule
Let me give you an example
If $y(x) = x^2$
And $g(x) = y^{-1}(x) = \sqrt{x}$
Imagine we want to find the derivative of g
Daddy_314
We use the fact that by definition,
$f(g(x)) = x$ for all x
Daddy_314
Daddy_314
Since f'(x) = 2x for all x
Then
$g'(x) \times 2 \sqrt{x} = 1$
And $g'(x) = \frac{1}{2 \sqrt{x}}$
Daddy_314
We have found the derivative of the inverse function !
Their notation is truly horrible
Because they wrote:
dy/dx = 1/(dx/dy)
When in reality, they mean this
This is why there's a dx/dy = 1/(dy/dx))
But this seems so much more complex than just taking the derivative of y^-1 = sqrt(x)
Although, it may not always be possible to find the inverse so easily
Well
This was just an illustration
Both square root and x squared have easy derivatives
But sometimes things are much harder
This method is so powerful it allows you to compute derivatives of
$arccos(x)$
Daddy_314
Yeah, I see. This is just the inverse function theorem right? I am still trying to wrap my head around it, because this example is quite easy I am not too sure if I really understand it or just this example
But in general, how should I proceed to solve derivatives of inverse functions? Because, as you said, it is not always easy to find the inverse
Yeah, so if I have a function f(x), and I want to find the derivative of its inverse. Should I use 1/f'(x) (i.e. 1/(dy/dx))?
Because, that makses sense, but after that I'm stuck
Could you elaborate a bit on that?
I think they are being
Dishonest
In your solution
They are expressing the derivative of the inverse function not in terms of the independent variable, but in terms of the inverse function itself
Here's how:
Let
f(x) = ln(x) + e^x
And g(x) its inverse
g'(x) * (f'(g(x)) = 1
With:
f' = 1/x + e^x
f'(g(x)) = 1/g + e^g
g'(x) * (1/g + e^g) = 1
g'(x) = 1/(1/g(x) + e^g(x))
This means the derivative of g has been expressed implicitly using the function g
This is what they wrote at first
When they wrote
Dx/dy = ... = x/(1+x e^x)
The x is not a variable, its a function !
g' is dx/dy
and g is x(y)
Which makes your remark here very nice
As the inverse of f cannot be explicitly expressed
We work with it "implicitly"
Hmm, that's very strange. I doubt my professor would do something like this on purpose.
Its not on purpose
Nor not on purpose
Its something that isnt clear in their solution
And that I am making clear for you
x is not a variable
Its a function in what they wrote
This means dx/dy = x/(1+x e^x)
Is not what you think it is
Because x is a function
Is g'(x) * f'(g(x)) = 1, something I should always be doing for the inverse function theorem though? Because then I get g'(x) = 1/f'(g(x)), which is what the definition of the inverse function theorem states as well
This is the real meaning behind their notation
g' was expressed in terms of g(x)
This was not the case for f' which we did not express in terms of f
But in terms of x
Okay, but just in general, when it comes to finding the derivative of an inverse function, how should I tackle that?
Because now i'm feeling more cluelesss than before lol
Its normal to feel clueless after learning the truth
They were trying to make it seem like it was something else
I dont like the dy/dx and dx/dy notation
Because it doesnt mean what you think it means
Just to clarify
Again
They want you to express the second derivative of the function x(y)
In terms of the function x(y)
Not in terms of y
Yeah, but I am not talking about the exercise anymore. Just in general, if I need to determine the derivative of the inverse function, how should I do it? Because now I am not too sure I understand how to tackle a problem like that
I only use the chain rule in the form I showed you
And I have a fulfilling life
Pick one form of the theorem that you can master
Namely,
(f(g(x))' = g'(x) f'(g(x))
This is the one formula to learn
All the other ones you can put in the garbage
It probably doesnt matter
You can choose f and g
If g is inverse of f
f is inversr of g
The only problems are domains of definition
But
In practice, you can choose f and g as you want
If you wanna find the derivative of the inverse function
Its a bit more clever to use f(g(x))
And take the derivative
But if I get a function f(x), I need to find its inverse (g(x)), and then I can make the composition and differentiate it?
To get the derivative of the inverse?
Yes
And if you cant explicitly find the inverse
You fall into a similar case
As this exercise
Then I just take derivative of f(x), 1/(dy/dx) and use both chain and quotient rule?
Please dont use dy/dx
Oops, 1/f'(x) then
Why not 1/(dy/dx) though? Or is that too complicated to explain now?
Could you maybe help me with a different problem as well?
Yes
Cool. How do I tackle a problem like this?
Like, I know it is bounded, so it must eventually be really small. But I am not really sure how to express it
And I need the first one for the others
f is continuous so indeed it is bounded on the compact [0;1]
We may then write
|f(x)| <= M for all x in [0;1]
You could write it equivalently like:
$ a \leq f(x) \leq b$ for all x in $[0;1]$
This reveals that for all x in [0;1]
$a x^n \leq x^n f(x) \leq b x^n$
Daddy_314
What happens when you integrate those three functions
The leftmost and rightmost functions can be easily integrated
And then you can apply the squeeze theorem
Just antiderivative power rule right?
but wouldn't that mean it is 1? The answer is supposed to be 0
Daddy_314
Definitely not 1, the result depends on n
Wait, we're evaluating it at x = 1 and x = 0 correct?
As x is between 0 and 1, the denominator will get really big regardless (n -> infinity) so it will end up 0?
You didnt evaluate
The lower and upper bounds
Of the inequality
Before taking the limit
Won't it just end up being 1^(n+1)/(n+1) - 0^(n+1) / (n+1) = 1^(n+1)/(n+1) = 1/(n+1)?
Yes
So a/(n+1) <= integral(x^n f) on 0,1 <= b/(n+1)
And taking the limit here as n goes to infinity
U get
By the squeeze theorem
(= the limit sandwich theorem)
That the middle term goes to zero
We used the fact that
The integral from a to b
Preserves inequalities
(This is why we integrated the three functions)
From 0 to 1
P(x) < f < Q(x)
Implies integral P < integral f < integral Q
We just took P(x) = ax^n
And q = b x^n
So u can mention this
To get all the points