Skip to main content

Differential Equations MCQ: Which of the following is true for y(x) that…

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
Which of the following is true for y(x) that satisfies the differential equation dydx=xy−1+x−y;y(0)=0\frac{{dy}}{{dx}} = \mathrm{ }xy\mathrm{ }-\mathrm{ }1\mathrm{ } + \mathrm{ }x\mathrm{ }-\mathrm{ }y;\mathrm{ }y\mathrm{ }\left( 0 \right)\mathrm{ } = 0
View answer and explanation
Correct option: A
y(1)=e−12−1y\mathrm{ }\left( 1 \right)\mathrm{ } = {e^{ - \frac{1}{2}}} - 1
Option A (y(1)=e−12−1y\mathrm{ }\left( 1 \right)\mathrm{ } = {e^{ - \frac{1}{2}}} - 1) is correct because it is the solution to the differential equation with the given initial condition.
Solution approach
  1. Correct Answer + Core Reason: y(1)=e−12−1y\mathrm{ }\left( 1 \right)\mathrm{ } = {e^{ - \frac{1}{2}}} - 1. The solution is found by solving the separable differential equation and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Given the differential equation dydx=xy−1+x−y\frac{{dy}}{{dx}} = xy\mathrm{ }-\mathrm{ }1\mathrm{ } + \mathrm{ }x\mathrm{ }-\mathrm{ }y and y(0)=0y\mathrm{ }\left( 0 \right)\mathrm{ } = 0.

    Step 2: Rewrite the equation: dydx=x(y+1)−(y+1)=(x−1)(y+1)\frac{{dy}}{{dx}} = x(y + 1) - (y + 1) = (x - 1)(y + 1).

    Step 3: Separate the variables: dyy+1=(x−1)dx\frac{{dy}}{{y + 1}} = (x - 1)dx.

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

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

    Step 6: The solution is ln⁡∣y+1∣=x22−x\ln |y + 1| = \frac{{x^2}}{2} - x.

    Step 7: Solve for y: y+1=ex22−x⇒y=ex22−x−1y + 1 = e^{\frac{{x^2}}{2} - x} \Rightarrow y = e^{\frac{{x^2}}{2} - x} - 1.

    Step 8: Find y(1): y(1)=e122−1−1=e−12−1y(1) = e^{\frac{{1^2}}{2} - 1} - 1 = e^{-\frac{1}{2}} - 1.

    Why other options are wrong:
    - Option B: y(1)=e12−e−12y\mathrm{ }\left( 1 \right)\mathrm{ } = {e^{\frac{1}{2}}} - {e^{ - \frac{1}{2}}} is incorrect because it is not the correct solution to the differential equation with the given initial condition.
    - Option C: y (1) =1 is incorrect because it is not the correct solution to the differential equation with the given initial condition.
    - Option D: y(1)=e12−1y\mathrm{ }\left( 1 \right)\mathrm{ } = {e^{\frac{1}{2}}} - 1 is incorrect because it is not the correct solution to the differential equation with the given initial condition.

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

    Memory Aids:
    - Remember to separate variables before integrating.
    - Don't forget the constant of integration.

    Quick Tips:
    - Always apply the initial condition to find the constant of integration.
    - Check your solution by differentiating it and comparing it to the original differential equation.

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.