Solveeit Logo

Question

Question: What is the derivative of \(y={{\pi }^{x}}+{{x}^{\pi }}?\)...

What is the derivative of y=πx+xπ?y={{\pi }^{x}}+{{x}^{\pi }}?

Explanation

Solution

We use the basic differentiation formulae to solve this sum. We split the above question into two parts. We differentiate the two parts separately and add the two answers. For the first part we apply ln function and differentiate using the differentiation of ln formula. For the second part, we differentiate using the basic power rule of differentiation.

Complete step by step answer:
In order to solve this question, let us split the given question y=πx+xπy={{\pi }^{x}}+{{x}^{\pi }} into two parts y1{{y}_{1}} and y2.{{y}_{2}}. Let y1=πx{{y}_{1}}={{\pi }^{x}} and y2=xπ,{{y}_{2}}={{x}^{\pi }}, and we need to differentiate the two equations separately. Let us consider the first equation,
y1=πx\Rightarrow {{y}_{1}}={{\pi }^{x}}
Let us apply ln on both sides now,
lny1=ln(πx)\Rightarrow \ln {{y}_{1}}=\ln \left( {{\pi }^{x}} \right)
We know that ln(ab)\ln \left( {{a}^{b}} \right) is equal to bln(a).b\ln \left( a \right). Using this for the right-hand side,
lny1=x.ln(π)\Rightarrow \ln {{y}_{1}}=x.\ln \left( \pi \right)
We know the differentiation of ln function can be given by ddx(lnx)=1x.\dfrac{d}{dx}\left( \ln x \right)=\dfrac{1}{x}. Differentiating both sides of the above equation using this,
1y1.dy1dx=dxdx.ln(π)\Rightarrow \dfrac{1}{{{y}_{1}}}.\dfrac{d{{y}_{1}}}{dx}=\dfrac{dx}{dx}.\ln \left( \pi \right)
This is simplified to,
1y1.dy1dx=1.ln(π)\Rightarrow \dfrac{1}{{{y}_{1}}}.\dfrac{d{{y}_{1}}}{dx}=1.\ln \left( \pi \right)
We multiply both sides of the above equation by y1{{y}_{1}} .
dy1dx=ln(π).y1\Rightarrow \dfrac{d{{y}_{1}}}{dx}=\ln \left( \pi \right).{{y}_{1}}
We know that y1=πx.{{y}_{1}}={{\pi }^{x}}. Substituting this in the above equation,
dy1dx=ln(π).πx(1)\Rightarrow \dfrac{d{{y}_{1}}}{dx}=\ln \left( \pi \right).{{\pi }^{x}}\ldots \ldots \left( 1 \right)
We shall now differentiate the second equation y2=xπ{{y}_{2}}={{x}^{\pi }} by using the power law given as ddx(xn)=nxn1.\dfrac{d}{dx}\left( {{x}^{n}} \right)=n{{x}^{n-1}}.
ddx(y2)=πxπ1(2)\Rightarrow \dfrac{d}{dx}\left( {{y}_{2}} \right)=\pi {{x}^{\pi -1}}\ldots \ldots \left( 2 \right)
Adding the above two equations, we get the final result.
dydx=ln(π).πx+πxπ1\Rightarrow \dfrac{dy}{dx}=\ln \left( \pi \right).{{\pi }^{x}}+\pi {{x}^{\pi -1}}
Hence, the derivative of y=πx+xπy={{\pi }^{x}}+{{x}^{\pi }} is ln(π).πx+πxπ1.\ln \left( \pi \right).{{\pi }^{x}}+\pi {{x}^{\pi -1}}.

Note: We need to know the basic differentiation formula in order to solve such questions. These form the basis for many mathematical problems. Students need to remember these formulas. We need to be careful while differentiating the ln function on the left-hand side for y1{{y}_{1}} such that we get the dy1dx\dfrac{d{{y}_{1}}}{dx} term too. Students tend to miss out on this term and need to be careful.