Skip to content
Exercise 5.4 · Q1

Q.Find dydx\frac{dy}{dx} in the following: exsin⁡x\frac{e^x}{\sin x}

Punjab PsebTextbookSubjective· 2mImportance★★★★★
31% · 86/281 Questions
✓ Free question

We differentiate y=exsin⁡xy = \frac{e^x}{\sin x} using the quotient rule (or rewrite as excsc⁡xe^x \csc x and use the product rule). The derivative is dydx=ex(sin⁡x−cos⁡x)sin⁡2x\frac{dy}{dx} = \frac{e^x (\sin x - \cos x)}{\sin^2 x}, which simplifies to ex(csc⁡x−cot⁡xcsc⁡x)e^x (\csc x - \cot x \csc x).

The problem asks for dydx\frac{dy}{dx} of y=exsin⁡xy = \frac{e^x}{\sin x}. This is a straightforward derivative of a quotient of two functions: exe^x in the numerator and sin⁡x\sin x in the denominator. The natural tool here is the quotient rule, but we could also rewrite the function as ex⋅csc⁡xe^x \cdot \csc x and use the product rule — both lead to the same result.

Let’s work through it step by step.

  1. Identify the functions.

    Let u=exu = e^x and v=sin⁡xv = \sin x. Then y=uvy = \frac{u}{v}.

  2. Recall the quotient rule.

    For y=uvy = \frac{u}{v},

dydx=vdudx−udvdxv2.\frac{dy}{dx} = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2}.

This formula comes from the limit definition of the derivative, but the intuition is: the rate of change of a ratio depends on how fast the top and bottom change relative to each other.

  1. Compute the derivatives.

    • dudx=ddxex=ex\frac{du}{dx} = \frac{d}{dx} e^x = e^x (the exponential function is its own derivative).
    • dvdx=ddxsin⁡x=cos⁡x\frac{dv}{dx} = \frac{d}{dx} \sin x = \cos x.
  2. Plug into the quotient rule.

dydx=(sin⁡x)(ex)−(ex)(cos⁡x)(sin⁡x)2.\frac{dy}{dx} = \frac{(\sin x)(e^x) - (e^x)(\cos x)}{(\sin x)^2}.

  1. Simplify the numerator. Factor out exe^x:

dydx=ex(sin⁡x−cos⁡x)sin⁡2x.\frac{dy}{dx} = \frac{e^x (\sin x - \cos x)}{\sin^2 x}.

This is a perfectly acceptable final form. However, we can also write it in terms of cosecant and cotangent if desired:

dydx=ex(1sin⁡x−cos⁡xsin⁡2x)=ex(csc⁡x−cot⁡xcsc⁡x).\frac{dy}{dx} = e^x \left( \frac{1}{\sin x} - \frac{\cos x}{\sin^2 x} \right) = e^x (\csc x - \cot x \csc x).

Tip

If you prefer the product rule, rewrite y=ex⋅csc⁡xy = e^x \cdot \csc x. Then dydx=excsc⁡x+ex(−csc⁡xcot⁡x)=excsc⁡x(1−cot⁡x)\frac{dy}{dx} = e^x \csc x + e^x (-\csc x \cot x) = e^x \csc x (1 - \cot x), which is equivalent after simplification.

Watch out

A common mistake is to misplace the minus sign in the quotient rule. Remember: it’s “bottom times derivative of top minus top times derivative of bottom,” not the other way around. Also, don’t forget to square the denominator.

✓Final answer

The derivative is dydx=ex(sin⁡x−cos⁡x)sin⁡2x\frac{dy}{dx} = \frac{e^x (\sin x - \cos x)}{\sin^2 x}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.