#Why do I have to use both quotient and chain rule for this problem?

170 messages · Page 1 of 1 (latest)

golden roverBOT
left elbow
#

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)$

pearl knotBOT
#

Daddy_314

left elbow
#

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$

pearl knotBOT
#

Daddy_314

left elbow
#

Now the reason you are lost

#

Is because they didnt call this inverse function $y^{-1}(x)$ but they called it $x(y)$

pearl knotBOT
#

Daddy_314

left elbow
#

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

pearl knotBOT
#

Daddy_314

left elbow
#

No one cares if you call it $x(y)$ or $y^{-1}(x)$

pearl knotBOT
#

Daddy_314

strong flame
#

Or is it that if we were to find the derivative of y i'd only need to use the quotient rule?

left elbow
#

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

pearl knotBOT
#

Daddy_314

left elbow
#

We use the fact that by definition,

$f(g(x)) = x$ for all x

pearl knotBOT
#

Daddy_314

left elbow
#

Therefore differentiating both sides of this equality

#

$g'(x) \times f'(g(x)) = 1$

pearl knotBOT
#

Daddy_314

left elbow
#

Since f'(x) = 2x for all x

Then
$g'(x) \times 2 \sqrt{x} = 1$
And $g'(x) = \frac{1}{2 \sqrt{x}}$

pearl knotBOT
#

Daddy_314

left elbow
#

We have found the derivative of the inverse function !

#

Their notation is truly horrible

#

Because they wrote:

#

dy/dx = 1/(dx/dy)

left elbow
#

This is why there's a dx/dy = 1/(dy/dx))

strong flame
#

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

left elbow
#

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)$

pearl knotBOT
#

Daddy_314

left elbow
#

Or any other function

#

Whose derivative is known

strong flame
#

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

strong flame
left elbow
#

The inverse function theorem

#

Is based on the chain rule

#

Exactly

strong flame
#

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

left elbow
#

Be careful,

#

And this is exactly the problem

#

With their notation

strong flame
left elbow
#

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)

left elbow
#

As the inverse of f cannot be explicitly expressed

#

We work with it "implicitly"

strong flame
#

Hmm, that's very strange. I doubt my professor would do something like this on purpose.

left elbow
#

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

strong flame
#

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

left elbow
#

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

strong flame
#

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

left elbow
#

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

strong flame
#

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

left elbow
#

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

strong flame
#

Okay cool, thanks for that

#

Is f(x) the normal function and g(x) its inverse?

left elbow
#

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

strong flame
#

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?

left elbow
#

Yes

#

And if you cant explicitly find the inverse

#

You fall into a similar case

#

As this exercise

strong flame
#

Then I just take derivative of f(x), 1/(dy/dx) and use both chain and quotient rule?

left elbow
#

Please dont use dy/dx

strong flame
#

Oops, 1/f'(x) then

#

Why not 1/(dy/dx) though? Or is that too complicated to explain now?

strong flame
left elbow
#

Yes

strong flame
#

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

left elbow
#

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$

pearl knotBOT
#

Daddy_314

left elbow
#

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

strong flame
#

but wouldn't that mean it is 1? The answer is supposed to be 0

left elbow
#

What is 1?

#

What's $[\frac{x^{n+1}}{n+1}]^1_0$

pearl knotBOT
#

Daddy_314

left elbow
#

Definitely not 1, the result depends on n

strong flame
strong flame
left elbow
#

You didnt evaluate

#

The lower and upper bounds

#

Of the inequality

#

Before taking the limit

strong flame
left elbow
#

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

strong flame
#

Ah like that, I see.

#

It's more clear now, thanks

left elbow
#

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