
If $y = {\left( {\sin x} \right)^x} + {x^x}$, then what is the value of $\dfrac{{dy}}{{dx}}$?
Answer
566.7k+ views
Hint: In this question we are given an equation which is to be differentiated. The equation is a complex equation. Such equations are solved by taking log on both sides. First, divide the RHS of the given equation into two parts. Then, solve both the equations individually by taking log on both sides. Simplify the equations and then differentiate.
Formula used: 1) $\log \left( {{a^b}} \right) = b\log a$
2) Product rule- $\dfrac{{d(uv)}}{{dx}} = u\dfrac{{d(v)}}{{dx}} + v\dfrac{{d(u)}}{{dx}}$
Complete step-by-step answer:
We are given- $y = {\left( {\sin x} \right)^x} + {x^x}$.
The type of questions which have ${\left( {{\text{function}}} \right)^{{\text{function}}}}$ are solved by taking log on both sides. But first we divide the RHS in to two parts as follows-
$u = {\left( {\sin x} \right)^x}$ and $v = {x^x}$
This gives us the equation-
$ \Rightarrow y = u + v$
Differentiating both the sides,
$ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{du}}{{dx}} + \dfrac{{dv}}{{dx}}$ ….. (1)
Solving part 1,
$ \Rightarrow u = {\left( {\sin x} \right)^x}$
Taking log both sides,
$ \Rightarrow \log u = \log {\left( {\sin x} \right)^x}$
Using property- $\log \left( {{a^b}} \right) = b\log a$
$ \Rightarrow \log u = x\log \left( {\sin x} \right)$
Differentiating both the sides with respect to x,
$ \Rightarrow \dfrac{{d(\log u)}}{{dx}} = \dfrac{{d[x\log (\sin x)]}}{{dx}}$
Simplify using product rule on RHS,
$ \Rightarrow \dfrac{1}{u}\dfrac{{du}}{{dx}} = x\dfrac{{d[\log (\sin x)]}}{{dx}} + \log (\sin x)\dfrac{{d(x)}}{{dx}}$
Using chain rule,
$ \Rightarrow \dfrac{1}{u}\dfrac{{du}}{{dx}} = \dfrac{{x(\cos x)}}{{\sin x}} + \log (\sin x)$
Shifting and putting $u = {\left( {\sin x} \right)^x}$
$ \Rightarrow \dfrac{{du}}{{dx}} = {\left( {\sin x} \right)^x}[x\cot x + \log (\sin x)]$ …… (2)
Solving part 2,
$ \Rightarrow v = {x^x}$
Taking log both the sides,
$ \Rightarrow \log v = \log \left( {{x^x}} \right)$
Using property- $\log \left( {{a^b}} \right) = b\log a$
$ \Rightarrow \log v = x\log x$
Differentiating both the sides with respect to x,
$ \Rightarrow \dfrac{{d(\log v)}}{{dx}} = \dfrac{{d(x\log x)}}{{dx}}$
Simplify using product rule,
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = x\dfrac{{d(\log x)}}{{dx}} + \log x\dfrac{{d(x)}}{{dx}}$
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = \dfrac{x}{x} + \log x$
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = 1 + \log x$
Shifting and putting $v = {x^x}$,
$ \Rightarrow \dfrac{{dv}}{{dx}} = {x^x}(1 + \log x)$ ….. (3)
Putting (2) and (3) in (1),
$ \Rightarrow \dfrac{{dy}}{{dx}} = {\left( {\sin x} \right)^x}[x\cot x + \log (\sin x)] + {x^x}(1 + \log x)$
Hence, this is the required answer.
Note: 1) It must be kept in mind that the given equation has to be divided into two parts before taking log. Otherwise, the resultant answer will not be the same. This is because $\log \left( {m + n} \right) \ne \log m + \log n$.
2) While differentiating $\log \left( {\sin x} \right)$, chain rule is used. It is used to differentiate composite functions. At first, a function is assumed as $x$, then it is differentiated. After the first differentiation, the function which was assumed as $x$ is differentiated. It goes on till the equation has been completely differentiated.
Formula used: 1) $\log \left( {{a^b}} \right) = b\log a$
2) Product rule- $\dfrac{{d(uv)}}{{dx}} = u\dfrac{{d(v)}}{{dx}} + v\dfrac{{d(u)}}{{dx}}$
Complete step-by-step answer:
We are given- $y = {\left( {\sin x} \right)^x} + {x^x}$.
The type of questions which have ${\left( {{\text{function}}} \right)^{{\text{function}}}}$ are solved by taking log on both sides. But first we divide the RHS in to two parts as follows-
$u = {\left( {\sin x} \right)^x}$ and $v = {x^x}$
This gives us the equation-
$ \Rightarrow y = u + v$
Differentiating both the sides,
$ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{du}}{{dx}} + \dfrac{{dv}}{{dx}}$ ….. (1)
Solving part 1,
$ \Rightarrow u = {\left( {\sin x} \right)^x}$
Taking log both sides,
$ \Rightarrow \log u = \log {\left( {\sin x} \right)^x}$
Using property- $\log \left( {{a^b}} \right) = b\log a$
$ \Rightarrow \log u = x\log \left( {\sin x} \right)$
Differentiating both the sides with respect to x,
$ \Rightarrow \dfrac{{d(\log u)}}{{dx}} = \dfrac{{d[x\log (\sin x)]}}{{dx}}$
Simplify using product rule on RHS,
$ \Rightarrow \dfrac{1}{u}\dfrac{{du}}{{dx}} = x\dfrac{{d[\log (\sin x)]}}{{dx}} + \log (\sin x)\dfrac{{d(x)}}{{dx}}$
Using chain rule,
$ \Rightarrow \dfrac{1}{u}\dfrac{{du}}{{dx}} = \dfrac{{x(\cos x)}}{{\sin x}} + \log (\sin x)$
Shifting and putting $u = {\left( {\sin x} \right)^x}$
$ \Rightarrow \dfrac{{du}}{{dx}} = {\left( {\sin x} \right)^x}[x\cot x + \log (\sin x)]$ …… (2)
Solving part 2,
$ \Rightarrow v = {x^x}$
Taking log both the sides,
$ \Rightarrow \log v = \log \left( {{x^x}} \right)$
Using property- $\log \left( {{a^b}} \right) = b\log a$
$ \Rightarrow \log v = x\log x$
Differentiating both the sides with respect to x,
$ \Rightarrow \dfrac{{d(\log v)}}{{dx}} = \dfrac{{d(x\log x)}}{{dx}}$
Simplify using product rule,
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = x\dfrac{{d(\log x)}}{{dx}} + \log x\dfrac{{d(x)}}{{dx}}$
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = \dfrac{x}{x} + \log x$
$ \Rightarrow \dfrac{1}{v}\dfrac{{dv}}{{dx}} = 1 + \log x$
Shifting and putting $v = {x^x}$,
$ \Rightarrow \dfrac{{dv}}{{dx}} = {x^x}(1 + \log x)$ ….. (3)
Putting (2) and (3) in (1),
$ \Rightarrow \dfrac{{dy}}{{dx}} = {\left( {\sin x} \right)^x}[x\cot x + \log (\sin x)] + {x^x}(1 + \log x)$
Hence, this is the required answer.
Note: 1) It must be kept in mind that the given equation has to be divided into two parts before taking log. Otherwise, the resultant answer will not be the same. This is because $\log \left( {m + n} \right) \ne \log m + \log n$.
2) While differentiating $\log \left( {\sin x} \right)$, chain rule is used. It is used to differentiate composite functions. At first, a function is assumed as $x$, then it is differentiated. After the first differentiation, the function which was assumed as $x$ is differentiated. It goes on till the equation has been completely differentiated.
Recently Updated Pages
Why are manures considered better than fertilizers class 11 biology CBSE

Find the coordinates of the midpoint of the line segment class 11 maths CBSE

Distinguish between static friction limiting friction class 11 physics CBSE

The Chairman of the constituent Assembly was A Jawaharlal class 11 social science CBSE

The first National Commission on Labour NCL submitted class 11 social science CBSE

Number of all subshell of n + l 7 is A 4 B 5 C 6 D class 11 chemistry CBSE

Trending doubts
What is meant by exothermic and endothermic reactions class 11 chemistry CBSE

10 examples of friction in our daily life

One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

What are Quantum numbers Explain the quantum number class 11 chemistry CBSE

