How to Differentiate y=x^x by First Principles?

  • MHB
  • Thread starter jiasyuen
  • Start date
  • Tags
    Principle
In summary: In mathematics, the natural logarithm (ln) is the natural analog of the logarithm (log). It is a logarithmic function that maps positive real numbers to negative real numbers, and is denoted by the symbol ln.
  • #1
jiasyuen
25
0
Anyone know how to differentiate \(\displaystyle y=x^x\) by first principles?
 
Physics news on Phys.org
  • #2
That requires using the definition of the derivative:

$$f'(a)=\lim_{{x}\to{a}}\frac{f(x)-f(a)}{x-a}$$
 
Last edited:
  • #3
I know this. But can you show me the solution? Thanks.
 
  • #4
Are you trying to compute the derivative on a given point, or the general formula? I am saying this because the latter is quite tricky.
 
  • #5
Yea. Because I can't find the answer by using first principles.
The question also states that to simplify ur solution, assume x is integer and the function lie on first quadrant only (means no complex number here).
 
  • #6
We can use either definitions:

$$f'(a)=\lim_{{x}\to{a}}\frac{x^x-a^a}{x-a}$$
or
$$f'(x)=\lim_{{h}\to{0}}\frac{(x+h)^{x+h}-x^x}{h}$$

The rest is just simplifying...what is the actual question, exactly? (Wondering)
 
  • #7
Differentiate \(\displaystyle y=x^x\) by using first principles. Assume x is integer and the function lie on first quadrant only.

Can you show the whole solution to me? Thanks.
 
  • #8
$$f'(x)=\lim_{{h}\to{0}}\frac{(x+h)^{x+h}-x^x}{h}$$
$$=\lim_{{h}\to{0}}\frac{(x+h)^{x+h}-(x+h)^x+(x+h)^x-x^x}{h}$$
$$=\lim_{{h}\to{0}}\frac{(x+h)^x\left[(x+h)^h-1\right]}{h}+\lim_{{h}\to{0}}\frac{(x+h)^x-x^x}{h}$$
$$=x^x\ln\left({x}\right)+\lim_{{h}\to{0}}\frac{((x+h)-x)\left[x^{x-1}+x^{x-2}\cdot x+...+x\cdot x^{x-2}+x^{x-1}\right]}{h}$$

Can you finish this?
 
Last edited:
  • #9
The last step seems complicated to me. How to simplify it?
How the ln(x) comes from?
 
  • #10
Notice that $(x+h)-x=h$, so how can you simply the fraction? Also, each term in the larger parenthesis simplifies to $x^{x-1}$, so we have $x$ terms of $x^{x-1}$.

It is known that $\lim_{{h}\to{0}}\frac{x^h-1}{h}=\ln\left({x}\right)$.
 
  • #11
So the final answer is \(\displaystyle x^x(\ln x+1)\)?
 
  • #12
Yes, that is correct! (Cool)
 
  • #13
How to prove that \(\displaystyle \lim_{{h}\to{0}}\frac{x^h-1}{h}=\ln\left({x}\right)\)
 
  • #14
How to prove it by not using L'Hopital rule ?
 
  • #15
Hi jiasyuen,

This is also not an easy limit to evaluate. Although it is tempting to use L'Hopital's rule or invoke the definition of the derivative, that is circular logic.

I am now unable to come up with a proof off the top of my head, and so if anyone has any ideas, feel free to comment.
 
Last edited:
  • #16
Here's a different approach:
$$x^x = e^{\ln x^x} = e^{x\ln x}$$
Apply the chain rule followed by the product rule to get the derivative:
$$\d {} x \left({x^x}\right) = \d {} x \left(e^{x\ln x}\right) = e^{x\ln x}\cdot \d {} x(x\ln x) = e^{x\ln x}\cdot \left(1\cdot \ln x + x \cdot \frac 1 x\right) = x^x(\ln x + 1)$$
 
  • #17
Can anyone show it ? Thanks.
 
  • #18
jiasyuen said:
Can anyone show it ? Thanks.
How is the natural logarithm defined in your course?
 

FAQ: How to Differentiate y=x^x by First Principles?

How do you solve y=x^x by first principles?

Solving y=x^x by first principles involves using the basic definition of exponents and logarithms to simplify the equation and find the value of x. This process can be lengthy and requires a good understanding of mathematical concepts such as logarithmic and exponential functions.

What are first principles in mathematics?

First principles, also known as first concepts or fundamental principles, refer to the basic and most essential elements or concepts upon which a theory or system is built. In mathematics, first principles involve using the most basic definitions and principles to derive more complex equations or proofs.

What is the basic definition of exponents?

The basic definition of exponents states that the exponent of a number represents how many times that number is multiplied by itself. For example, in the expression 2^3, the exponent 3 indicates that the number 2 is multiplied by itself 3 times, resulting in 8.

How do you use logarithmic functions to solve y=x^x by first principles?

To solve y=x^x by first principles, logarithmic functions are used to simplify the equation by converting it into a form that can be solved more easily. This involves taking the logarithm of both sides of the equation and using logarithmic properties to manipulate the equation into a form that can be solved for x.

Why is solving y=x^x by first principles important?

Solving y=x^x by first principles is important because it helps to develop a deeper understanding of mathematical concepts and principles. It also allows for the solving of more complex equations and problems that cannot be solved using basic methods. Moreover, solving equations by first principles can serve as a foundation for solving more advanced problems in fields such as physics, engineering, and economics.

Similar threads

Replies
49
Views
4K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
15
Views
16K
Replies
9
Views
2K
Replies
4
Views
1K
Replies
4
Views
1K
Replies
8
Views
2K
Back
Top