
Differentiate the function ${{\left( \sin x \right)}^{x}}$ with respect to x.
Answer
574.8k+ 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
Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

What are the major means of transport Explain each class 12 social science CBSE

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

Why cannot DNA pass through cell membranes class 12 biology CBSE

Differentiate between insitu conservation and exsitu class 12 biology CBSE

Draw a neat and well labeled diagram of TS of ovary class 12 biology CBSE

