Skip to main content

Differential Equations MCQ: Let y=y(x) be the solution of the differential…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
Let y=y(x)y=y(x) be the solution of the differential equation dydx+2y=f(x)\frac{d y}{d x}+2 y=f(x), where f(x)={1,x∈[0,1]0, otherwise f(x)= \begin{cases}1, & x \in[0,1] \\ 0, & \text { otherwise }\end{cases} If y(0)=0y(0)=0, then y(32)y\left(\frac{3}{2}\right) is
View answer and explanation
Correct option: A
e2−12e3\frac{e^2-1}{2 e^3}
Option A ((e2-1)/(2e3)) is correct because solving the differential equation with the piecewise function and applying the initial condition yields y(3/2) = (e2-1)/(2e3).
Solution approach
  1. Correct Answer + Core Reason: e2−12e3\frac{{e^2-1}}{{2 e^3}}. Solving the differential equation with the piecewise function and applying the initial condition yields y(3/2) = (e2-1)/(2e3).

    Step-by-Step Solution:

    Step 1: For x∈[0,1]x \in [0, 1], the differential equation is dydx+2y=1\frac{{dy}}{{dx}} + 2y = 1.

    Step 2: Find the integrating factor (IF): IF=e∫2dx=e2xIF = e^{\int 2 dx} = e^{2x}

    Step 3: Multiply the equation by the IF: e2xdydx+2e2xy=e2xe^{2x} \frac{{dy}}{{dx}} + 2e^{2x}y = e^{2x}

    Step 4: Integrate both sides: ∫(e2xdydx+2e2xy)dx=∫e2xdx⇒ye2x=12e2x+C1\int (e^{2x} \frac{{dy}}{{dx}} + 2e^{2x}y) dx = \int e^{2x} dx \Rightarrow ye^{2x} = \frac{{1}}{{2}}e^{2x} + C_1

    Step 5: Apply the condition y(0) = 0: 0=12+C1⇒C1=−120 = \frac{{1}}{{2}} + C_1 \Rightarrow C_1 = -\frac{{1}}{{2}}

    Step 6: Solve for y: y=12−12e−2xy = \frac{{1}}{{2}} - \frac{{1}}{{2}}e^{-2x} for x∈[0,1]x \in [0, 1]

    Step 7: Evaluate y(1): y(1)=12−12e−2=e2−12e2y(1) = \frac{{1}}{{2}} - \frac{{1}}{{2}}e^{-2} = \frac{{e^2 - 1}}{{2e^2}}

    Step 8: For x>1x > 1, the differential equation is dydx+2y=0\frac{{dy}}{{dx}} + 2y = 0.

    Step 9: The general solution is y=C2e−2xy = C_2 e^{-2x}

    Step 10: Apply the condition y(1)=e2−12e2y(1) = \frac{{e^2 - 1}}{{2e^2}}: e2−12e2=C2e−2⇒C2=e2−12\frac{{e^2 - 1}}{{2e^2}} = C_2 e^{-2} \Rightarrow C_2 = \frac{{e^2 - 1}}{{2}}

    Step 11: Solve for y: y=e2−12e−2xy = \frac{{e^2 - 1}}{{2}} e^{-2x} for x>1x > 1

    Step 12: Evaluate y(3/2): y(32)=e2−12e−2(32)=e2−12e−3=e2−12e3y(\frac{{3}}{{2}}) = \frac{{e^2 - 1}}{{2}} e^{-2(\frac{{3}}{{2}})} = \frac{{e^2 - 1}}{{2}} e^{-3} = \frac{{e^2 - 1}}{{2e^3}}

    Final Answer: e2−12e3\frac{e^2-1}{2 e^3}

    Why other options are wrong:
    - Option B ((e2-1)/e3): This is incorrect because of an error in solving the differential equation or applying the initial/boundary conditions.
    - Option C (1/(2e)): This is incorrect because of an error in solving the differential equation or applying the initial/boundary conditions.
    - Option D ((e2+1)/(2e4)): This is incorrect because of an error in solving the differential equation or applying the initial/boundary conditions.

    Key Concepts:
    - Linear differential equations
    - Integrating factor
    - Piecewise functions

    Memory Aids:
    - Remember to handle piecewise functions by solving for each interval separately and applying boundary conditions.

    Quick Tips:
    - Always check your solution against the original differential equation and initial/boundary 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.