Skip to main content

Differential Equations MCQ: The solution of the differential equation e^ - x(y…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of the differential equation e−x(y+1)dy+(cos⁡2x−sin⁡2x)ydx=0{e^{ - x}}\left( {y + 1} \right)dy + \left( {{{\cos }^2}x - \sin 2x} \right)y\mathrm{ }dx = 0 subjected to the condition that y=1y = 1 when x=0x = 0 is
View answer and explanation
Correct option: A
y+log⁡y+excos⁡2x=2y + \log y + {e^x}{\cos ^2}x = 2
Option A (y+log⁡y+excos⁡2x=2y + \log y + {e^x}{\cos ^2}x = 2) is correct because it is the solution of the given differential equation that satisfies the given initial condition.
Solution approach
  1. Correct Answer + Core Reason: y+log⁡y+excos⁡2x=2y + \log y + {e^x}{\cos ^2}x = 2. This is the solution obtained by integrating and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Given differential equation: e−x(y+1)dy+(cos⁡2x−sin⁡2x)ydx=0{e^{ - x}}\left( {y + 1} \right)dy + \left( {{{\cos }^2}x - \sin 2x} \right)y\mathrm{ }dx = 0.

    Step 2: Rewrite the equation: (1+1y)dy=−ex(cos⁡2x−sin⁡2x)dx\left( {1 + \frac{1}{y}} \right)dy = - {e^x}\left( {{{\cos }^2}x - \sin 2x} \right)dx.

    Step 3: Integrate both sides: ∫(1+1y)dy=−∫ex(cos⁡2x−sin⁡2x)dx\int \left( {1 + \frac{1}{y}} \right)dy = - \int {e^x}\left( {{{\cos }^2}x - \sin 2x} \right)dx.

    Step 4: Integrate the left side: y+log⁡yy + \log y.

    Step 5: Integrate the right side: ∫ex(sin⁡2x−cos⁡2x)dx=−excos⁡2x+c\int {e^x}(\sin 2x - {\cos ^2}x) dx = -{e^x}{\cos ^2}x + c.

    Step 6: So, y+log⁡y=−excos⁡2x+cy + \log y = - {e^x}{\cos ^2}x + c.

    Step 7: Apply the initial condition y=1y = 1 when x=0x = 0: 1+log⁡1=−e0cos⁡20+c1 + \log 1 = - {e^0}{\cos ^2}0 + c.

    Step 8: 1+0=−1+c1 + 0 = - 1 + c.

    Step 9: c=2c = 2.

    Step 10: The solution is y+log⁡y=−excos⁡2x+2y + \log y = - {e^x}{\cos ^2}x + 2, or y+log⁡y+excos⁡2x=2y + \log y + {e^x}{\cos ^2}x = 2.

    Why other options are wrong:
    - Option B: log⁡(y+1)+excos⁡2x=1\log \left( {y + 1} \right) + {e^x}{\cos ^2}x = 1 This is incorrect because the integration and application of the initial condition are wrong.
    - Option C: y+log⁡y=excos⁡2xy + \log y = {e^x}{\cos ^2}x This is incorrect because the constant is missing.
    - Option D: (y+1)+excos⁡2x=2\left( {y + 1} \right) + {e^x}{\cos ^2}x = 2 This is incorrect because the integration is wrong.

    Key Concepts:
    - Differential Equations
    - Separation of Variables
    - Integration
    - Initial Conditions

    Memory Aids:
    - Remember to apply the initial condition to find the constant of integration.

    Quick Tips:
    - Always separate variables before integrating.
    - Don't forget to apply the initial condition to find the constant of integration.

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.