How Do You Differentiate y = x^(ln x)?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
11 replies · 3K views
iRaid
Messages
558
Reaction score
8

Homework Statement


Find dy/dx.
[itex]y=x^{lnx}[/itex]

Homework Equations


The Attempt at a Solution


[itex]ln y= ln x^{ln x}[/itex]
[itex]ln y= (ln x)(ln x)[/itex]

Taking the derivative now:

[itex]\frac{1}{y}y'= (\frac{1}{x})(\frac{1}{x})[/itex]
[itex]\frac{1}{y}y'= (\frac{1}{x})^2[/itex]

Multiply by y:

[itex]y'= (\frac{x^{lnx}}{x^2})[/itex]

But it's not the right answer :?
 
Physics news on Phys.org
iRaid said:

Homework Statement


Find dy/dx.
[itex]y=x^{lnx}[/itex]


Homework Equations





The Attempt at a Solution


[itex]ln y= ln x^{ln x}[/itex]
[itex]ln y= (ln x)(ln x)[/itex]

Taking the derivative now:

[itex]\frac{1}{y}y'= (\frac{1}{x})(\frac{1}{x})[/itex]
Are you trying to say that d/dx(fg) = f'g'?
iRaid said:
[itex]\frac{1}{y}y'= (\frac{1}{x})^2[/itex]

Multiply by y:

[itex]y'= (\frac{x^{lnx}}{x^2})[/itex]

But it's not the right answer :?
 
I'll give you a hint for the way I would solve this problem. Use the chain rule!
 
Mark44 said:
Are you trying to say that d/dx(fg) = f'g'?

Wow forget the basics and you completely screw up lmao..

So then I get:

[itex]y'=(\frac{lnx}{x}+\frac{lnx}{x})(y)[/itex]
[itex]y'=(\frac{2lnx}{x})(x^{lnx})[/itex]
[itex]y'=\frac{2x^{lnx}lnx}{x}[/itex]
 
McAfee said:
I'll give you a hint for the way I would solve this problem. Use the chain rule!

Too bad the chain rule doesn't work here.
 
iRaid said:
Too bad the chain rule doesn't work here.

anything is possible

zDzwZ.jpg
 
McAfee said:
anything is possible

zDzwZ.jpg

Not the answer the book gives..
 
iRaid said:
Not the answer the book gives..

Yeah. I know. It is a different way of solving the problem, but the answer is still right.
 
Just to add: there are two serious mistakes one could make in differentiating
[itex]f(x)^{g(x)}[/itex]:

1) Treat g(x) as if it were a constant- [itex]g(x)f(x)^{g(x)- 1}[/itex]
2) Treat f(x) as if it were a constant- [itex]f(x)^{g(x)}ln(g(x))[/itex]

The peculiar thing is that the correct derivative is the sum of those two "mistakes".
 
iRaid said:

Homework Statement


Find dy/dx.
[itex]y=x^{lnx}[/itex]

My preferred way to do this:

[itex]y={(e^{\ln x})}^{\ln x} = e^{(\ln x)^2}[/itex]

Differentiate with Chain Rule,

[itex]y' = e^{(\ln x)^2}(\frac{2\ln x}{x}) = \frac{2x^{\ln x}}{x}[/itex]