Question
Question: How do you differentiate \[y={{x}^{\sqrt{x}}}\]?...
How do you differentiate y=xx?
Solution
This question is from the topic of calculus. In solving this question, we will first put log base e (that is ln) to the both sides of the equation. After that, we will differentiate both sides of the equation. We will use the formula d(lnx)=(x1)dx and d(xn)=(nxn−1)dx for the further differentiation. After that, we will solve the further question and find the value of dxdy that will be our answer.
Complete step by step answer:
Let us solve this question.
In this question, we have asked to differentiate y=xx. Or, we can say that we have to find the value of dxdy using the equation y=xx.
The term which we have to solve is
y=xx
Now, putting ln(that is log base ‘e’ or we can say loge) to the both side of the equation, we get
⇒lny=lnxx
Now, using the formula of logarithms that is lnxa=alnx, we can write the above equation as
⇒lny=xlnx
Now, differentiating both side of equation, we can write
⇒d(lny)=d(xlnx)
Now, using the formula of product rule that is d(u.v)=vd(u)−ud(v), we can write the above equation as
⇒d(lny)=lnx⋅d(x)+x⋅d(lnx)
⇒d(lny)=lnx⋅dx21+x⋅d(lnx)
Now, using the formula of differentiation that is d(xn)=(nxn−1)dx, we can write
⇒d(lny)=lnx⋅21x21−1dx+x⋅d(lnx)
⇒d(lny)=lnx⋅21x−21dx+x⋅d(lnx)
Now, using the formula of differentiation that is d(lnx)=(x1)dx, we can write the above equation as
⇒(y1)dy=lnx⋅21x−21dx+x⋅(x1)dx
The above equation can also be written as
⇒(y1)dy=lnx⋅2x211dx+x⋅(x1)dx
⇒(y1)dy=lnx⋅(2x1)dx+x⋅(x1)dx
Now dividing ‘dx’ to both side of the equation, we can write
⇒(y1)dxdy=lnx⋅(2x1)+x⋅(x1)
The above equation can also be written as
⇒(y1)dxdy=lnx⋅(2x1)+x⋅(x⋅x1)
⇒(y1)dxdy=lnx⋅(2x1)+(x1)
The above equation can also be written as
⇒(y1)dxdy=2lnx(x1)+(x1)
Taking x1 as common in the right side of the equation, we can write
⇒(y1)dxdy=(x1)(2lnx+1)
⇒dxdy=y(x1)(2lnx+1)
Now, putting the value of y in the above equation, we can write
⇒dxdy=xx(x1)(2lnx+1)
⇒dxdy=xxx−21(2lnx+1)
Now, using the formula xaxb=xa+b, we can write
⇒dxdy=xx−21(2lnx+1)
Or, we can write the above equation as
⇒dxdy=x−21+x(2lnx+2)
⇒dxdy=21x−21+x(lnx+2)
Hence, we have done differentiation now. The differentiation is dxdy=21x−21+x(lnx+2)
Note:
We should have a better knowledge in the topic of pre-calculus for solving this type of question easily. We should the following formulas:
Product rule of differentiation: d(u.v)=vd(u)−ud(v)
Logarithm formula: lnxa=alnx
d(lnx)=(x1)dx
d(xn)=(nxn−1)dx
x=x21
x1=x−(21)
xaxb=xa+b