Solveeit Logo

Question

Question: Differentiate the given expression \({{\left( \log x \right)}^{x}}+{{x}^{\log x}}\) with respect to ...

Differentiate the given expression (logx)x+xlogx{{\left( \log x \right)}^{x}}+{{x}^{\log x}} with respect to xx.

Explanation

Solution

Hint: Just go on differentiating the both terms separately as it is given with respect to xx and the variable in question is xx, you can directly differentiate by basic properties d(a+b)=da+dbd\left( a+b \right)=da+db . By this differentiate each term and then add them to get the final answer. Assume each term as a different variable and apply log to find the differentiation of that term significantly.

Complete step-by-step answer:

Given expression in the question for which we need differentiation
(logx)x+xlogx{{\left( \log x \right)}^{x}}+{{x}^{\log x}}
We separate both the terms from the given expression above:
Let us assume that the term (logx)x{{\left( \log x \right)}^{x}} represented by “a”
Let us assume that the second term xlogx{{x}^{\log x}} represented by “b”
Let us assume the total given expression represented by y''y''
So, now we get that from above assumption we say:
y=(logx)x+xlogx=a+b y=a+b \begin{aligned} & y={{\left( \log x \right)}^{x}}+{{x}^{\log x}}=a+b \\\ & y=a+b \\\ \end{aligned}
By differentiating with respect to xx on both sides, we get
dydx=dadx+dbdx..........(i)\dfrac{dy}{dx}=\dfrac{da}{dx}+\dfrac{db}{dx}..........\left( i \right)
From our first assumption we say that the value of “a” is:
a=(logx)xa={{\left( \log x \right)}^{x}}
By applying the logarithm on both sides above, we get:
loga=xlog(logx)\log a=x\log \left( \log x \right)
Differentiating on both sides with respect to xx on both sides, we get:
1adadx=log(logx)+xlogx(1x)\dfrac{1}{a}\dfrac{da}{dx}=\log \left( \log x \right)+\dfrac{x}{\log x}\left( \dfrac{1}{x} \right)
We use the formulas: ddx(logx)=1x;d(uv)=udv+vdu\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x};d\left( uv \right)=udv+vdu
From above, we get:
dadx=a(log(logx)+1logx)..........(ii)\dfrac{da}{dx}=a\left( \log \left( \log x \right)+\dfrac{1}{\log x} \right)..........\left( ii \right)
We know
b=xlogxb={{x}^{\log x}}
By applying logarithm on both sides of equation, we get:
logb=(logx)2\log b={{\left( \log x \right)}^{2}} . We know ddxx2=2x\dfrac{d}{dx}{{x}^{2}}=2x
By differentiating with respect to xx on both sides, we get:
1bdbdx=2logxx\dfrac{1}{b}\dfrac{db}{dx}=\dfrac{2\log x}{x}
By above we can say that value of the term dbdx=2blogxx.........(iii)\dfrac{db}{dx}=2b\dfrac{\log x}{x}.........\left( iii \right)
By equation (i) of differential, we get the value of dydx:\dfrac{dy}{dx}:
dydx=dadx+dbdx\dfrac{dy}{dx}=\dfrac{da}{dx}+\dfrac{db}{dx}
By substituting equation (ii) and equation (iii) above, we get
dydx=a(log(logx)+1logx)+2blogxx\dfrac{dy}{dx}=a\left( \log \left( \log x \right)+\dfrac{1}{\log x} \right)+2b\dfrac{\log x}{x}
By substituting a, b values back into equation, we solve it to:
dydx=(logx)x(log(logx)+1logx)+2xlogxlogxx\dfrac{dy}{dx}={{\left( \log x \right)}^{x}}\left( \log \left( \log x \right)+\dfrac{1}{\log x} \right)+\dfrac{2{{x}^{\log x}}\log x}{x}
Therefore, this is the final expression.

Note: i) While applying log to a, don’t forget to write log(logx)\log \left( \log x \right) some may confuse and write logx\log x . But log should come twice.
(iI) In second term logb\log b is directly (logx)2{{\left( \log x \right)}^{2}} you may write (logx)(logx)\left( \log x \right)\left( \log x \right) for clarity.