Skip to main content

Differential Equations MCQ: If y=y(x) is the solution of the differential…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If y=y(x)y=y(x) is the solution of the differential equation dydx+2y=sin⁡(2x),y(0)=34,\frac{d y}{d x}+2 y=\sin (2 x), y(0)=\frac{3}{4}, then y(π8)y\left(\frac{\pi}{8}\right) is equal to:
View answer and explanation
Correct option: B
e−π/4{e}^{-\pi / 4}
The correct answer is B (e−π/4{e}^{-\pi / 4}) because it is the value of y(π/8) obtained by solving the given differential equation with the initial condition y(0) = 3/4.
Solution approach
  1. Correct Answer + Core Reason: e−π/4{e}^{-\pi / 4}. The solution is found by solving the linear differential equation and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Identify the differential equation as a first-order linear differential equation.\nThe given equation is dydx+2y=sin⁡(2x)\frac{{dy}}{{dx}} + 2y = \sin(2x), which is in the form dydx+P(x)y=Q(x)\frac{{dy}}{{dx}} + P(x)y = Q(x), where P(x)=2P(x) = 2 and Q(x)=sin⁡(2x)Q(x) = \sin(2x).

    Step 2: Find the integrating factor (I.F).\nThe integrating factor is given by I.F.=e∫P(x)dx=e∫2dx=e2xI.F. = e^{\int P(x) dx} = e^{\int 2 dx} = e^{2x}.

    Step 3: Multiply the differential equation by the integrating factor.
    e2xdydx+2e2xy=e2xsin⁡(2x)e^{2x} \frac{{dy}}{{dx}} + 2e^{2x} y = e^{2x} \sin(2x)\nThis can be written as ddx(ye2x)=e2xsin⁡(2x)\frac{{d}}{{dx}}(y e^{2x}) = e^{2x} \sin(2x).

    Step 4: Integrate both sides with respect to x.
    ∫ddx(ye2x)dx=∫e2xsin⁡(2x)dx\int \frac{{d}}{{dx}}(y e^{2x}) dx = \int e^{2x} \sin(2x) dx
    ye2x=∫e2xsin⁡(2x)dxy e^{2x} = \int e^{2x} \sin(2x) dx\nTo evaluate the integral ∫e2xsin⁡(2x)dx\int e^{2x} \sin(2x) dx, we can use integration by parts twice.\nLet I=∫e2xsin⁡(2x)dxI = \int e^{2x} \sin(2x) dx
    I=e2x∫sin⁡(2x)dx−∫(ddxe2x)(∫sin⁡(2x)dx)dxI = e^{2x} \int \sin(2x) dx - \int (\frac{{d}}{{dx}} e^{2x}) (\int \sin(2x) dx) dx
    I=e2x(−12cos⁡(2x))−∫2e2x(−12cos⁡(2x))dxI = e^{2x} (-\frac{{1}}{{2}} \cos(2x)) - \int 2e^{2x} (-\frac{{1}}{{2}} \cos(2x)) dx
    I=−12e2xcos⁡(2x)+∫e2xcos⁡(2x)dxI = -\frac{{1}}{{2}} e^{2x} \cos(2x) + \int e^{2x} \cos(2x) dx
    I=−12e2xcos⁡(2x)+e2x∫cos⁡(2x)dx−∫(ddxe2x)(∫cos⁡(2x)dx)dxI = -\frac{{1}}{{2}} e^{2x} \cos(2x) + e^{2x} \int \cos(2x) dx - \int (\frac{{d}}{{dx}} e^{2x}) (\int \cos(2x) dx) dx
    I=−12e2xcos⁡(2x)+e2x(12sin⁡(2x))−∫2e2x(12sin⁡(2x))dxI = -\frac{{1}}{{2}} e^{2x} \cos(2x) + e^{2x} (\frac{{1}}{{2}} \sin(2x)) - \int 2e^{2x} (\frac{{1}}{{2}} \sin(2x)) dx
    I=−12e2xcos⁡(2x)+12e2xsin⁡(2x)−II = -\frac{{1}}{{2}} e^{2x} \cos(2x) + \frac{{1}}{{2}} e^{2x} \sin(2x) - I
    2I=12e2x(sin⁡(2x)−cos⁡(2x))2I = \frac{{1}}{{2}} e^{2x} (\sin(2x) - \cos(2x))
    I=14e2x(sin⁡(2x)−cos⁡(2x))+CI = \frac{{1}}{{4}} e^{2x} (\sin(2x) - \cos(2x)) + C\nTherefore, ye2x=14e2x(sin⁡(2x)−cos⁡(2x))+Cy e^{2x} = \frac{{1}}{{4}} e^{2x} (\sin(2x) - \cos(2x)) + C
    y=14(sin⁡(2x)−cos⁡(2x))+Ce−2xy = \frac{{1}}{{4}} (\sin(2x) - \cos(2x)) + C e^{-2x}

    Step 5: Apply the initial condition y(0) = 3/4.
    34=14(sin⁡(0)−cos⁡(0))+Ce0\frac{{3}}{{4}} = \frac{{1}}{{4}} (\sin(0) - \cos(0)) + C e^{0}
    34=14(0−1)+C\frac{{3}}{{4}} = \frac{{1}}{{4}} (0 - 1) + C
    C=34+14=1C = \frac{{3}}{{4}} + \frac{{1}}{{4}} = 1\nSo, y=14(sin⁡(2x)−cos⁡(2x))+e−2xy = \frac{{1}}{{4}} (\sin(2x) - \cos(2x)) + e^{-2x}

    Step 6: Find y(π/8).
    y(π8)=14(sin⁡(π4)−cos⁡(π4))+e−2(π8)y(\frac{{\pi}}{{8}}) = \frac{{1}}{{4}} (\sin(\frac{{\pi}}{{4}}) - \cos(\frac{{\pi}}{{4}})) + e^{-2(\frac{{\pi}}{{8}})}
    y(π8)=14(22−22)+e−π4y(\frac{{\pi}}{{8}}) = \frac{{1}}{{4}} (\frac{{\sqrt{{2}}}}{{2}} - \frac{{\sqrt{{2}}}}{{2}}) + e^{-\frac{{\pi}}{{4}}}
    y(π8)=0+e−π4=e−π4y(\frac{{\pi}}{{8}}) = 0 + e^{-\frac{{\pi}}{{4}}} = e^{-\frac{{\pi}}{{4}}}

    Why other options are wrong:
    - **Option A (e−π/8{e}^{-\pi / 8}): This is incorrect because the value of x is not correctly substituted or the differential equation is not solved correctly.
    -
    Option C (eπ/4e^{\pi / 4}): This is incorrect because there is a sign error in the exponent.
    -
    Option D (eπ/8e^{\pi / 8}): This is incorrect because the value of x is not correctly substituted or there is a sign error in the exponent.

    Key Concepts:
    - First-order linear differential equations
    - Integrating factor
    - Integration by parts
    - Applying initial conditions

    Memory Aids:**
    - Remember the formula for the integrating factor: I.F.=e∫P(x)dxI.F. = e^{\int P(x) dx}

    Quick Tips:
    - Always check your integration by parts.
    - Be careful with signs when applying 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.