Skip to content
NCERT Exemplar · Q59

Q.If y=e−x(Acos⁡x+Bsin⁡x)y=e^{-x}(A\cos x+B\sin x), then yy is a solution of:
(A) d2ydx2+2dydx=0\frac{d^2y}{dx^2}+2\frac{dy}{dx}=0
(B) d2ydx2−2dydx+2y=0\frac{d^2y}{dx^2}-2\frac{dy}{dx}+2y=0
(C) d2ydx2+2dydx+2y=0\frac{d^2y}{dx^2}+2\frac{dy}{dx}+2y=0
(D) d2ydx2+2y=0\frac{d^2y}{dx^2}+2y=0

Yanam CbseMCQ· 1mImportance★★★★★est
81% · 179/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The given function y=e−x(Acos⁡x+Bsin⁡x)y = e^{-x}(A\cos x + B\sin x) is a linear combination of e−xcos⁡xe^{-x}\cos x and e−xsin⁡xe^{-x}\sin x, which are solutions of the second-order linear ODE with characteristic roots −1±i-1 \pm i. The corresponding differential equation is d2ydx2+2dydx+2y=0\frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 2y = 0, which is option (C).

The core idea here is verification of a solution — we are given a candidate function and need to check which differential equation it satisfies. Instead of solving each ODE from scratch, we can compute the derivatives of yy and substitute them into each option. But there's a more elegant way: recognise the form.

The function y=e−x(Acos⁡x+Bsin⁡x)y = e^{-x}(A\cos x + B\sin x) is the general solution of a second-order linear homogeneous ODE with constant coefficients. The characteristic equation for such an ODE is r2+pr+q=0r^2 + pr + q = 0, and the solution form eαx(C1cos⁡βx+C2sin⁡βx)e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x) corresponds to complex conjugate roots α±iβ\alpha \pm i\beta.

Here, α=−1\alpha = -1 and β=1\beta = 1. So the characteristic roots are −1±i-1 \pm i. The characteristic equation is therefore:

(r−(−1+i))(r−(−1−i))=0(r - (-1 + i))(r - (-1 - i)) = 0

which simplifies to:

(r+1−i)(r+1+i)=(r+1)2+1=r2+2r+2=0(r + 1 - i)(r + 1 + i) = (r+1)^2 + 1 = r^2 + 2r + 2 = 0

Thus the ODE is d2ydx2+2dydx+2y=0\frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 2y = 0.

Let's verify this by direct differentiation as well.

  1. First derivative:

    y=e−x(Acos⁡x+Bsin⁡x)y = e^{-x}(A\cos x + B\sin x)

    Using the product rule:

    dydx=−e−x(Acos⁡x+Bsin⁡x)+e−x(−Asin⁡x+Bcos⁡x)\frac{dy}{dx} = -e^{-x}(A\cos x + B\sin x) + e^{-x}(-A\sin x + B\cos x)

    Factor e−xe^{-x}:

    dydx=e−x[−Acos⁡x−Bsin⁡x−Asin⁡x+Bcos⁡x]\frac{dy}{dx} = e^{-x}\left[ -A\cos x - B\sin x - A\sin x + B\cos x \right]

    Group cos⁡x\cos x and sin⁡x\sin x terms:

    dydx=e−x[(−A+B)cos⁡x+(−B−A)sin⁡x]\frac{dy}{dx} = e^{-x}\left[ (-A + B)\cos x + (-B - A)\sin x \right]

  2. Second derivative:

    Differentiate dydx\frac{dy}{dx} again. Let P=−A+BP = -A + B and Q=−A−BQ = -A - B, so dydx=e−x(Pcos⁡x+Qsin⁡x)\frac{dy}{dx} = e^{-x}(P\cos x + Q\sin x).

    Then:

    d2ydx2=−e−x(Pcos⁡x+Qsin⁡x)+e−x(−Psin⁡x+Qcos⁡x)\frac{d^2y}{dx^2} = -e^{-x}(P\cos x + Q\sin x) + e^{-x}(-P\sin x + Q\cos x)

    =e−x[(−P+Q)cos⁡x+(−Q−P)sin⁡x]= e^{-x}\left[ (-P + Q)\cos x + (-Q - P)\sin x \right]

    Substitute back PP and QQ:

    −P+Q=−(−A+B)+(−A−B)=A−B−A−B=−2B-P + Q = -(-A+B) + (-A-B) = A - B - A - B = -2B

    −Q−P=−(−A−B)−(−A+B)=A+B+A−B=2A-Q - P = -(-A-B) - (-A+B) = A + B + A - B = 2A

    So d2ydx2=e−x(−2Bcos⁡x+2Asin⁡x)\frac{d^2y}{dx^2} = e^{-x}(-2B\cos x + 2A\sin x)

  3. Now check option (C): d2ydx2+2dydx+2y=0\frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 2y = 0

    Compute 2dydx=2e−x[(−A+B)cos⁡x+(−A−B)sin⁡x]2\frac{dy}{dx} = 2e^{-x}\left[ (-A + B)\cos x + (-A - B)\sin x \right]

    And 2y=2e−x(Acos⁡x+Bsin⁡x)2y = 2e^{-x}(A\cos x + B\sin x)

    Add them: …

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.