Skip to main content

Differential Equations MCQ: If dydx = 1 + x + y + xy and y(- 1) = 0, then the…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If dydx=1+x+y+xy\frac{{dy}}{{dx}} = 1 + x + y + xy and y(−1)=0y\left( { - 1} \right) = 0, then the function yy is
View answer and explanation
Correct option: B
e(1+x)2/2−1{e^{{{\left( {1 + x} \right)}^2}/2}} - 1
Option B (e(1+x)2/2−1{e^{{{\left( {1 + x} \right)}^2}/2}} - 1) is correct because it satisfies the given differential equation and the initial condition y(-1) = 0.
Solution approach
  1. Correct Answer + Core Reason: e(1+x)2/2−1{e^{{{\left( {1 + x} \right)}^2}/2}} - 1. This solution is obtained by separating variables, integrating, and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Separate variables: dydx=(1+x)(1+y)⇒dy1+y=(1+x)dx\frac{{dy}}{{dx}} = (1 + x)(1 + y) \Rightarrow \frac{{dy}}{{1 + y}} = (1 + x)dx

    Step 2: Integrate both sides: ∫dy1+y=∫(1+x)dx⇒ln⁡∣1+y∣=x+x22+C\int \frac{{dy}}{{1 + y}} = \int (1 + x)dx \Rightarrow \ln|1 + y| = x + \frac{{x^2}}{2} + C

    Step 3: Apply the initial condition y(-1) = 0: ln⁡∣1+0∣=−1+(−1)22+C⇒0=−1+12+C⇒C=12\ln|1 + 0| = -1 + \frac{{(-1)^2}}{2} + C \Rightarrow 0 = -1 + \frac{1}{2} + C \Rightarrow C = \frac{1}{2}

    Step 4: Substitute C back into the equation: ln⁡∣1+y∣=x+x22+12=2x+x2+12=(x+1)22\ln|1 + y| = x + \frac{{x^2}}{2} + \frac{1}{2} = \frac{{2x + x^2 + 1}}{2} = \frac{{(x + 1)^2}}{2}

    Step 5: Solve for y: 1+y=e(x+1)22⇒y=e(x+1)22−11 + y = e^{\frac{{(x + 1)^2}}{2}} \Rightarrow y = e^{\frac{{(x + 1)^2}}{2}} - 1

    Why other options are wrong:
    - Option A: e(1−x)2/2{e^{{{\left( {1 - x} \right)}^2}/2}}. This does not satisfy the initial condition y(-1) = 0.
    - Option C: log⁡e(1+x)−1{\log _e}(1 + x) - 1. This does not satisfy the differential equation.
    - Option D: (1+x)(1 + x). This does not satisfy the differential equation.

    Key Concepts:
    - Separable differential equations
    - Integration
    - Initial value problem

    Memory Aids:
    - Remember to separate variables and integrate.

    Quick Tips:
    - Always 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.