Solveeit Logo

Question

Question: Differentiate the given function with respect to x. \[\cos (a\cos x + b\sin x)\] for some constant...

Differentiate the given function with respect to x.
cos(acosx+bsinx)\cos (a\cos x + b\sin x) for some constants and a and b.

Explanation

Solution

Here we simply apply chain rule of differentiation and differentiate the function. We will find the differentiation of the term inside the bracket separately and then use it in chain rule.

  • Chain rule which will be used within the differentiation is given as ddx[f(g(x))]=f(g(x)).g(x)\dfrac{d}{{dx}}\left[ {f(g(x))} \right] = f'(g(x)).g'(x) where ff'denotes differentiation of function f with respect to x and gg'denotes differentiation of function g with respect to x.
  • ddxsinx=cosx,ddxcosx=sinx\dfrac{d}{{dx}}\sin x = \cos x,\dfrac{d}{{dx}}\cos x = - \sin x

Complete step-by-step answer:
We have the function as cos(acosx+bsinx)\cos (a\cos x + b\sin x)
Differentiation of the function will be written as
ddxcos(acosx+bsinx)\dfrac{d}{{dx}}\cos (a\cos x + b\sin x) … (1)
which is of the form ddx[f(g(x))]\dfrac{d}{{dx}}\left[ {f(g(x))} \right]
Here we apply the chain rule of differentiation to solve the differentiation. Chain rule gives us
ddx[f(g(x))]=f(g(x)).g(x)\dfrac{d}{{dx}}\left[ {f(g(x))} \right] = f'(g(x)).g'(x)
Here, f(g(x))=cos(acosx+bsinx),g(x)=(acosx+bsinx)f(g(x)) = \cos (a\cos x + b\sin x),g(x) = (a\cos x + b\sin x)
f(x)=df(x)dx=dcos(g(x))dx=sin(g(x))f'(x) = \dfrac{{df(x)}}{{dx}} = \dfrac{{d\cos (g(x))}}{{dx}} = - \sin (g(x)) and g(x)=dg(x)dx=d(acosx+bsinx)dx=asinx+bcosxg'(x) = \dfrac{{dg(x)}}{{dx}} = \dfrac{{d(a\cos x + b\sin x)}}{{dx}} = - a\sin x + b\cos x
Substituting the values in the equation
ddx[cos(acosx+bsinx]=sin(g(x))×(asinx+bcosx)\Rightarrow \dfrac{d}{{dx}}\left[ {\cos (a\cos x + b\sin x} \right] = - \sin (g(x)) \times ( - a\sin x + b\cos x)
Substitute the value of g(x)=acosx+bsinxg(x) = a\cos x + b\sin x.
ddx[cos(acosx+bsinx]=sin(acosx+bsinx)×(asinx+bcosx)\Rightarrow \dfrac{d}{{dx}}\left[ {\cos (a\cos x + b\sin x} \right] = - \sin (a\cos x + b\sin x) \times ( - a\sin x + b\cos x)
Simplifying the equation we get
ddx[cos(acosx+bsinx]=(asinxbcosx).sin(acosx+bsinx)\Rightarrow \dfrac{d}{{dx}}\left[ {\cos (a\cos x + b\sin x} \right] = (a\sin x - b\cos x).\sin (a\cos x + b\sin x)
So, the differentiation of cos(acosx+bsinx)\cos (a\cos x + b\sin x) is (asinxbcosx).sin(acosx+bsinx)(a\sin x - b\cos x).\sin (a\cos x + b\sin x).

Note: Students are very likely to make mistake in the applying of chain rule to the question as they might take differentiation of f(g(x))f(g(x)) and try to write differentiation of the term within the bracket along and then again multiply with differentiation of g(x)g(x) which is wrong, when we are finding differentiation of f(g(x))f(g(x)) we don’t consider the term inside the bracket, we just differentiate the function that is outside and then we take differentiation of g(x)g(x) separately and multiply it with the differentiation of f(g(x))f(g(x)).
Students should keep in mind that a and b are constants and should not apply product rule within the bracket.
Also, it is recommended not to directly apply chain rule, first find differentiation of the terms within and then do substitution in the chain rule.