Question
Question: If \[y = \dfrac{{{e^{2x}}\cos x}}{{x\sin x}}\] , then \[\dfrac{{dy}}{{dx}}\] \[ = \] A) \[\dfrac{{...
If y=xsinxe2xcosx , then dxdy =
A) x2e2x[(2x−1)cotx−xcosec2x]
B) x2e2x[(2x+1)cotx−xcosec2x]
C) x2e2x[(2x−1)cotx+xcosec2x]
D) None of these
Solution
In this question, we have to differentiate the given function y=xsinxe2xcosx with respect to x. We will proceed with using the formula for differentiation for division of two numbers. Then we proceed step by step and solve to get the desired result. We will also use the trigonometric identity sin2x+cos2x=1 as required.
Formula used: We will use the formula for differentiation for division of two terms.
I.e. dxd(vu)=v2vdxd(u)−udxd(v)
And formula for differentiation for products of two terms.
I.e. dxd(uv)=vdxd(u)+udxd(v)
Complete step by step answer:
Consider the given question,
We are given y=xsinxe2xcosx, we have to find the value of dxdy
I.e. We have to differentiate with respect to x.
⇒dxdy=dxd(xsinxe2xcosx) --------(A)
Now, we use the formula for differentiation for division of two terms
dxd(vu)=v2vdxd(u)−udxd(v)
Compare equation (A) with the above formula, then
⇒dxdy=(xsinx)2xsinxdxd(e2xcosx)−(e2xcosx)dxd(xsinx) …………………(1)
Now we find the value of dxd(e2xcosx) and dxd(xsinx).
I.e. dxd(e2xcosx)=e2xdxd(cosx)+cosxdxd(e2x)
⇒dxd(e2xcosx)=e2x(−sinx)+cosx(2e2x)
On simplifying, we have
⇒dxd(e2xcosx)=e2x(2cosx−sinx) --(2)
And dxd(xsinx)=xdxd(sinx)+sinxdxd(x)
⇒dxd(xsinx)=xcosx+sinx --- (3)
Substituting the values from equation (2) and equation (3) in equation (1) we have,
⇒dxdy=(xsinx)2xsinxdxd(e2xcosx)−(e2xcosx)dxd(xsinx)
⇒dxdy=(xsinx)2xsinx(e2x(2cosx−sinx))−(e2xcosx)(sinx+xcosx)
On taking common e2x and simplifying , we have
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{e^{2x}}\left\\{ {2x\sin x\cos x - x{{\sin }^2}x - \sin x\cos x - x{{\cos }^2}x} \right\\}}}{{{{(x\sin x)}^2}}}
Again simplifying by taking common sinxcosx and x , we get
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{e^{2x}}\left\\{ {\sin x\cos x(2x - 1) - x({{\sin }^2}x + {{\cos }^2}x)} \right\\}}}{{{x^2}{{\sin }^2}x}}
We know that sin2x+cos2x=1thus, we have
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{e^{2x}}\left\\{ {\sin x\cos x(2x - 1) - x(1)} \right\\}}}{{{x^2}{{\sin }^2}x}}
Dividing the numerator and denominator by sin2xwe have ,
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{e^{2x}}\left\\{ {\dfrac{{\cos x}}{{\sin x}}(2x - 1) + x(\dfrac{1}{{{{\sin }^2}x}})} \right\\}}}{{{x^2}}}
We know that cotx=sinxcosx and cosec2x=sin2x1
\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{e^{2x}}\left\\{ {(2x - 1)\cot x + x{{\operatorname{cosec} }^2}x} \right\\}}}{{{x^2}}}
Hence, the option C is correct.
Note:
1. We must remember the formulas for differentiation. Some common formula for differentiation are :
dxd(sinx)=cosx
dxd(cosx)=−sinx
dxd(ex)=ex
dxd(x)=1
2. While differentiation of function of function, we differentiate each and write as a product. For example, we know that dxd(ex)=ex but when we have to differentiate e2x, we first differentiate e2xwith respect to x and then differentiate the power (i.e. 2x) to get the final differentiation .
i.e., dxd(e2x)=e2xdxd(2x)=2e2x.
3. Differentiation of constant terms is always zero. And when a constant term is present as
a product, we keep constant outside of differentiation .