What is the Derivative of xlnx and Why is it 1 + lnx?

AI Thread Summary
The derivative of the function xlnx is determined using the product rule, resulting in the expression 1 + ln x. The discussion highlights the confusion around applying the derivative rules correctly, particularly with the function x^x, which is expressed as e^(xlnx) for easier differentiation. Participants clarify that the derivative of x^x involves the chain rule and results in x^x(1 + ln x). The conversation emphasizes understanding the underlying principles rather than just memorizing rules, making it clear that recognizing the relationship between exponential and logarithmic forms simplifies differentiation. Overall, the thread reinforces the importance of grasping calculus concepts for accurate problem-solving.
Shay10825
Messages
337
Reaction score
0
Hi everyone!

(d/dx) [xlnx]

Why is the answer 1+lnx and not 1??

~Thanks
 
Physics news on Phys.org
Do you know the product rule ?
 
\frac{d\ln x}{dx} = \frac{1}{x}, in case you didn't know.
 
f'(x) = x * (1/x) + ln x * 1 = 1 + ln x
d(uv) = vdu + udv
 
Wow I'm really stupid! I don't know how I did not see that. Thanks :smile:
 
At first I did:
x(1/x) which gave me 1 but why does this not work:

xlnx
ln (x^x)
[x(x^x-1)]/(x^x) ?

I know the second way is not how you would usually do it but why does it not work??
 
What you've just written is very confusing, do you mind trying to make it a bit more clear?
 
I'm sorry.

http://img108.exs.cx/my.php?loc=img108&image=equation8ag.png
 
Shay10825 said:
At first I did:
x(1/x) which gave me 1 but why does this not work:

xlnx
ln (x^x)
[x(x^x-1)]/(x^x) ?

I know the second way is not how you would usually do it but why does it not work??

\frac{d}{dx}(x^n) = nx^{n-1} only works when n is a constant. Can you see your error now ?
 
  • #10
the derivative of x^x is not x( x^x - 1). It's x^x((ln(x) + 1))
 
Last edited:
  • #11
Yeah I see my error. Thanks.
 
  • #12
courtrigrad said:
the derivative of x^x is not x( x^x - 1). It's x^x((ln(x) + 1))

Is there a rule for this or something?
 
  • #13
x^x(ln(x) +1 )

f(x) = a^x then f'(x) = a^x(ln(a))
 
  • #14
Thanks :smile:
 
  • #15
Shay10825 said:
Is there a rule for this or something?

You don't need a rule.

x^x = e^{x\ln x}. Can you see how to differentiate it now ?

The other less direct but "easier to see" way is to use implicit differentiation.

I once "just used" the derivative of x^x in exam and got docked a couple of points spoiling an otherwise perfect score. The teacher refused to believe I just did it in my head. :-p
 
  • #16
Curious3141 said:
You don't need a rule.

x^x = e^{x\ln x}. Can you see how to differentiate it now ?

The other less direct but "easier to see" way is to use implicit differentiation.

I once "just used" the derivative of x^x in exam and got docked a couple of points spoiling an otherwise perfect score. The teacher refused to believe I just did it in my head. :-p

I'm sorry but you just lost me. How did you get x^x = e^{x\ln x}?
 
  • #17
Shay10825 said:
I'm sorry but you just lost me. How did you get x^x = e^{x\ln x}?

x^x = (e^{\ln x})^x = e^{x\ln x}

That's actually the easy part. :biggrin:
 
  • #18
Curious3141 said:
x^x = (e^{\ln x})^x = e^{x\ln x}

:confused: Do you have to memorize this or something?
 
  • #19
Shay10825 said:
:confused: Do you have to memorize this or something?

No, isn't it obvious ? I'm just using a = e^{\ln a} and {(a^b)}^c = a^{bc}
 
  • #20
x^x = (e^{\ln x})^x = e^{x\ln x} there is also a rule which states this. But as Curious said, its pretty obvious.
 
  • #21
Ok I see it now. I never knew a = e^{\ln a}. My teacher just gave us a bunch or rules to memorize. Is there a way I can do these kind of problems without the rules? or do I have to memorize them?
 
  • #22
How does changing it into e^xlnx make it easier?
 
  • #23
Yapper said:
How does changing it into e^xlnx make it easier?

Because it is easy to differentiate a form e^{f(x)}

\frac{d}{dx}(e^{f(x)}) = f'(x)e^{f(x)}

Now use that to find the differential of x^x.
 
Last edited:
  • #24
but f(prime) of x is the derivative orignal equation xlnx so how does that help?
 
  • #25
Yapper said:
but f(prime) of x is the derivative orignal equation xlnx so how does that help?

y = x^x = e^{x\ln x}

Let f(x) = x\ln x

f'(x) = 1 + \ln x

\frac{dy}{dx} = f'(x)e^{f(x)} = (1 + \ln x)e^{x\ln x} = x^x(1 + \ln x)

Happy ? :smile:
 
Back
Top