Question
Question: Differentiate with respect to x. \[y = \dfrac{1}{{\sin x}} + {e^x} + 2\]...
Differentiate with respect to x.
y=sinx1+ex+2
Solution
Hint : For this type of problem having different functions. We first write them as in addition or subtraction if possible and then apply respective formulas of differentiation on each to get the required solution.
Quotient rule of differentiation: dxd(BA)=B2B.dxd(A)−Adxd(B) , dxd(sinx)=cosx,dxd(ex)=exanddxd(constant)=0
Complete step by step solution:
y=sinx1+ex+2
Differentiating above with respect to x
dxdy=dxd(sinx1+ex+2)
⇒dxdy=dxd(sinx1)+dxd(ex)+dxd(2)
Applying, quotient rule on first term of right hand side of the above equation to find differentiation.
⇒dxdy=sin2xsinxdxd(1)−1dxd(sinx)+dxd(ex)+dxd(2)
dxdy=sin2xsinx(0)−cosx+ex+0 ⇒dxdy=−sin2xcosx+ex ⇒dxdy=−sinx1.sinxcosx+ex ⇒dxdy=−cosecx.cotx+ex
Hence, from above we see that differentiation of y=sinx1+ex+2 w.r.t. x is −cosecx.cotx+ex .
So, the correct answer is “−cosecx.cotx+ex”.
Note : For a given problem we can also find its answer in another way. In this we first write sinx1 as cosecx and then the right hand side of the given problem becomes the sum of three independent functions. After differentiating them individually we can find the derivative of the given problem.