Solveeit Logo

Question

Question: How do you differentiate \({{2}^{\sin \pi x}}\)?...

How do you differentiate 2sinπx{{2}^{\sin \pi x}}?

Explanation

Solution

Now to differentiate the function we will consider y=2sinπxy={{2}^{\sin \pi x}} . Now we will take log on both sides and use the property logabn=nlogab{{\log }_{a}}{{b}^{n}}=n{{\log }_{a}}b . Now we will solve the differentiation and substitute the value of y. Hence we have the differentiation of the given function.

Complete step-by-step answer:
Now since there is power in expression we will use the logarithm method to find the differentiation.
Now consider y=2sinπxy={{2}^{\sin \pi x}} .
Let us take logs on both sides of the expression.
Hence we have, lny=ln2sinπx\ln y=\ln {{2}^{\sin \pi x}}
Now we have the property of log which says logabn=nlogab{{\log }_{a}}{{b}^{n}}=n{{\log }_{a}}b . Hence we have,
lny=sinπx(ln2)\Rightarrow \ln y=\sin \pi x\left( \ln 2 \right)
Now differentiating the above equation we get,
1ydydx=(ln2)d(sinπx)dx\Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=\left( \ln 2 \right)\dfrac{d\left( \sin \pi x \right)}{dx}
Now we know that for composite functions we use chain rule of differentiation. According to chain rule we have differentiation of f(g(x))f\left( g\left( x \right) \right) is given by f(g(x)).g(x)f'\left( g\left( x \right) \right).g'\left( x \right)
Hence using this rule we have f(x)=sinxf\left( x \right)=\sin x and g(x)=πxg\left( x \right)=\pi x .
Now using chain rule we get,
d(sinπx)dx=(π)cosπx\Rightarrow \dfrac{d\left( \sin \pi x \right)}{dx}=\left( \pi \right)\cos \pi x
Now substituting this value we get,
1ydydx=(ln2)πcosx\Rightarrow \dfrac{1}{y}\dfrac{dy}{dx}=\left( \ln 2 \right)\pi \cos x
Now substituting the value of y we have,
12sinπxdydx=πln2cosx\Rightarrow \dfrac{1}{{{2}^{\sin \pi x}}}\dfrac{dy}{dx}=\pi \ln 2\cos x
Now taking 2sinπx{{2}^{\sin \pi x}} to RHS we get,
dydx=πln2(cosx)(2sinπx)\Rightarrow \dfrac{dy}{dx}=\pi \ln 2\left( \cos x \right)\left( {{2}^{\sin \pi x}} \right)
Hence we have the differentiation of the above equation is πln2(cosx)(2sinπx)\pi \ln 2\left( \cos x \right)\left( {{2}^{\sin \pi x}} \right) .

Note: Now note that can avoid using this method to solve the given problem by considering chain rule. Now we know that according to chain rule we have the differentiation of f(g(x))f\left( g\left( x \right) \right) as f(g(x))g(x)f'\left( g\left( x \right) \right)g'\left( x \right) . Now taking f(x)=axf\left( x \right)={{a}^{x}} and g(x)=sinxg\left( x \right)=\sin x and h(x)=πxh\left( x \right)=\pi x . Hence we will find the root of f(g(h(x)))f\left( g\left( h\left( x \right) \right) \right) . Hence the required differentiation will be f(g(h(x))).g(h(x)).h(x)f'\left( g\left( h\left( x \right) \right) \right).g'\left( h\left( x \right) \right).h'\left( x \right) . Also note while using the logarithm method we have variable y in LHS hence we will have to consider dydx\dfrac{dy}{dx} after differentiation, which again nothing but chain rule.