Differentiate the function ${{\left( \sin x \right)}^{x}}$ with respect to x.
Answer
643.2k+ views
Hint: We need to find the value of $\dfrac{dy}{dx}$ where $y={{\left( \sin x \right)}^{x}}$. To make the equation more differentiable using different methods, we take logarithm on both sides of the equation to get $\log y=x\log \left( \sin x \right)$. Then we take differentiation on both sides. Using the formula of differentiation of $\log x$ and the chain rule we find the differentiation value. We replace the value of y in the final answer to get the solution of the problem.
Complete step-by-step solution
Let’s assume $y={{\left( \sin x \right)}^{x}}$. We need to differentiate y with respect to x. We are trying to find $\dfrac{dy}{dx}$.
First, we change the form of “y” taking logarithms on both sides.
So, $y={{\left( \sin x \right)}^{x}}\Rightarrow \log y=\log {{\left( \sin x \right)}^{x}}$.
We have a logarithmic operation ${{\log }_{a}}{{b}^{n}}=n{{\log }_{a}}b$. We apply that on $\log y=\log {{\left( \sin x \right)}^{x}}$.
$\begin{align}
& \log y=\log {{\left( \sin x \right)}^{x}} \\
& \Rightarrow \log y=x\log \left( \sin x \right) \\
\end{align}$.
Now we apply differentiation on the equation $\log y=x\log \left( \sin x \right)$.
$\dfrac{d}{dx}\left( \log y \right)=\dfrac{d}{dx}\left[ x\log \left( \sin x \right) \right]$.
Differentiation of $\log x$ is $\dfrac{1}{x}$. We also apply chain rule to find the right-side differentiation of the equation.
$\begin{align}
& \dfrac{d}{dx}\left( \log y \right)=\dfrac{d}{dx}\left[ x\log \left( \sin x \right) \right] \\
& \Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=\dfrac{x}{\sin x}\times \cos x+\log \left( \sin x \right) \\
& \Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=x\cot x+\log \left( \sin x \right) \\
\end{align}$.
We need to find the value of $\dfrac{dy}{dx}$. So, we multiply with y on both sides and get
$\begin{align}
& \dfrac{1}{y}\dfrac{dy}{dx}=x\cot x+\log \left( \sin x \right) \\
& \Rightarrow \dfrac{dy}{dx}=y\left[ x\cot x+\log \left( \sin x \right) \right] \\
\end{align}$.
We put the value of y in the equation.
$\begin{align}
& \dfrac{dy}{dx}=y\left[ x\cot x+\log \left( \sin x \right) \right] \\
& \Rightarrow \dfrac{dy}{dx}={{\left( \sin x \right)}^{x}}\left[ x\cot x+\log \left( \sin x \right) \right] \\
\end{align}$.
So, the differentiation of the given equation ${{\left( \sin x \right)}^{x}}$ with respect to x is $\dfrac{dy}{dx}={{\left( \sin x \right)}^{x}}\left[ x\cot x+\log \left( \sin x \right) \right]$.
Note: We need to remember that we could not have solved it using the differentiation of $y={{a}^{x}}$ form as in the formula value of a has to be constant. Here the value of a was variable as $a=\sin x$. So, we needed to change the form of the exponential into multiplication. That’s why we used the logarithm to find the simplified form.
Complete step-by-step solution
Let’s assume $y={{\left( \sin x \right)}^{x}}$. We need to differentiate y with respect to x. We are trying to find $\dfrac{dy}{dx}$.
First, we change the form of “y” taking logarithms on both sides.
So, $y={{\left( \sin x \right)}^{x}}\Rightarrow \log y=\log {{\left( \sin x \right)}^{x}}$.
We have a logarithmic operation ${{\log }_{a}}{{b}^{n}}=n{{\log }_{a}}b$. We apply that on $\log y=\log {{\left( \sin x \right)}^{x}}$.
$\begin{align}
& \log y=\log {{\left( \sin x \right)}^{x}} \\
& \Rightarrow \log y=x\log \left( \sin x \right) \\
\end{align}$.
Now we apply differentiation on the equation $\log y=x\log \left( \sin x \right)$.
$\dfrac{d}{dx}\left( \log y \right)=\dfrac{d}{dx}\left[ x\log \left( \sin x \right) \right]$.
Differentiation of $\log x$ is $\dfrac{1}{x}$. We also apply chain rule to find the right-side differentiation of the equation.
$\begin{align}
& \dfrac{d}{dx}\left( \log y \right)=\dfrac{d}{dx}\left[ x\log \left( \sin x \right) \right] \\
& \Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=\dfrac{x}{\sin x}\times \cos x+\log \left( \sin x \right) \\
& \Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=x\cot x+\log \left( \sin x \right) \\
\end{align}$.
We need to find the value of $\dfrac{dy}{dx}$. So, we multiply with y on both sides and get
$\begin{align}
& \dfrac{1}{y}\dfrac{dy}{dx}=x\cot x+\log \left( \sin x \right) \\
& \Rightarrow \dfrac{dy}{dx}=y\left[ x\cot x+\log \left( \sin x \right) \right] \\
\end{align}$.
We put the value of y in the equation.
$\begin{align}
& \dfrac{dy}{dx}=y\left[ x\cot x+\log \left( \sin x \right) \right] \\
& \Rightarrow \dfrac{dy}{dx}={{\left( \sin x \right)}^{x}}\left[ x\cot x+\log \left( \sin x \right) \right] \\
\end{align}$.
So, the differentiation of the given equation ${{\left( \sin x \right)}^{x}}$ with respect to x is $\dfrac{dy}{dx}={{\left( \sin x \right)}^{x}}\left[ x\cot x+\log \left( \sin x \right) \right]$.
Note: We need to remember that we could not have solved it using the differentiation of $y={{a}^{x}}$ form as in the formula value of a has to be constant. Here the value of a was variable as $a=\sin x$. So, we needed to change the form of the exponential into multiplication. That’s why we used the logarithm to find the simplified form.
Recently Updated Pages
What is BLO What is the full form of BLO class 8 social science CBSE

Explain the Treaty of Vienna of 1815 class 10 social science CBSE

10 examples of friction in our daily life

Draw a diagram of nephron and explain its structur class 11 biology CBSE

Write structures of the following compounds i 2 Chloro3methylpentane class 11 chemistry CBSE

A Paragraph on Pollution in about 100-150 Words

Trending doubts
Draw a labelled sketch of the human eye class 12 physics CBSE

Which are the Top 10 Largest Countries of the World?

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

What is the Full Form of PVC, PET, HDPE, LDPE, PP and PS ?

