Skip to main content

Differential Equations MCQ: The solution of the differential equation (d^2…

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
The solution of the differential equation d2ydx2=exsin⁡x\frac{d^2 y}{d x^2}=e^x\sin x when y1(π4)=0,y(π2)=0y_1\left(\frac{\pi}{4}\right)=0, y\left(\frac{\pi}{2}\right)=0 is
View answer and explanation
Correct option: D
y=(1/2)exsin⁡(x−π/2)y=(1 / 2) e^x \sin (x-\pi / 2)
The correct answer is D (y=(1/2)exsin⁡(x−π/2)y=(1 / 2) e^x \sin (x-\pi / 2)) because it satisfies the given differential equation and the initial conditions y1(π4)=0,y(π2)=0y_1(\frac{\pi}{4})=0, y(\frac{\pi}{2})=0.
Solution approach
  1. Correct Answer + Core Reason: y=(1/2)exsin⁡(x−π/2)y=(1 / 2) e^x \sin (x-\pi / 2). The solution satisfies the differential equation and the initial conditions.

    Step-by-Step Solution:

    Step 1: Integrate the given differential equation d2ydx2=exsin⁡x\frac{{d^2y}}{{dx^2}} = e^x \sin x once.
    ∫d2ydx2dx=∫exsin⁡xdx\int \frac{{d^2y}}{{dx^2}} dx = \int e^x \sin x dx
    dydx=ex(sin⁡x−cos⁡x)2+C1\frac{{dy}}{{dx}} = \frac{{e^x (\sin x - \cos x)}}{{2}} + C_1

    Step 2: Apply the initial condition y′(π4)=0y'(\frac{\pi}{4}) = 0.
    0=eπ4(sin⁡π4−cos⁡π4)2+C10 = \frac{{e^{\frac{\pi}{4}} (\sin \frac{\pi}{4} - \cos \frac{\pi}{4})}}{{2}} + C_1 => 0=eπ4(22−22)2+C10 = \frac{{e^{\frac{\pi}{4}} (\frac{{\sqrt{2}}}{{2}} - \frac{{\sqrt{2}}}{{2}})}}{{2}} + C_1 => C1=0C_1 = 0\nSo, dydx=ex(sin⁡x−cos⁡x)2\frac{{dy}}{{dx}} = \frac{{e^x (\sin x - \cos x)}}{{2}}

    Step 3: Integrate again.
    ∫dydxdx=∫ex(sin⁡x−cos⁡x)2dx\int \frac{{dy}}{{dx}} dx = \int \frac{{e^x (\sin x - \cos x)}}{{2}} dx
    y=12∫ex(sin⁡x−cos⁡x)dx=12ex(−cos⁡x)+C2=−12excos⁡x+C2y = \frac{{1}}{{2}} \int e^x (\sin x - \cos x) dx = \frac{{1}}{{2}} e^x (-\cos x) + C_2 = -\frac{{1}}{{2}} e^x \cos x + C_2

    Step 4: Apply the initial condition y(π2)=0y(\frac{\pi}{2}) = 0.
    0=−12eπ2cos⁡π2+C20 = -\frac{{1}}{{2}} e^{\frac{\pi}{2}} \cos \frac{\pi}{2} + C_2 => 0=−12eπ2(0)+C20 = -\frac{{1}}{{2}} e^{\frac{\pi}{2}} (0) + C_2 => C2=0C_2 = 0\nSo, y=−12excos⁡xy = -\frac{{1}}{{2}} e^x \cos x

    Step 5: Rewrite the solution using trigonometric identities.
    y=12ex(−cos⁡x)=12exsin⁡(x−π2)y = \frac{{1}}{{2}} e^x (-\cos x) = \frac{{1}}{{2}} e^x \sin (x - \frac{{\pi}}{{2}})

    Why other options are wrong:
    - Option A: y=exsin⁡(x−π/4)+x+π2y=e^x \sin (x-\pi / 4)+x+\frac{\pi}{2} does not satisfy the given differential equation.
    - Option B: y=(1/2)exsin⁡(x+π/2)y=(1 / 2) e^x \sin (x+\pi / 2) does not satisfy the given initial conditions.
    - Option C: y=(1/2)exsin⁡(x−π/2)y=(1 / \sqrt{2}) e^x \sin (x-\pi / 2) does not satisfy the given differential equation.

    Key Concepts:
    - Second-order Differential Equations
    - Integration
    - Initial Conditions
    - Integration by parts

    Memory Aids:
    - Remember the integration by parts formula: ∫udv=uv−∫vdu\int u dv = uv - \int v du.

    Quick Tips:
    - Always check your solution by differentiating twice and comparing with the original differential equation.
    - Be careful with integration constants and initial conditions.

More Questions from Differential Equations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.