Question Details

Solution of dy/dx – y = 1 y(0) = 1 is given by

Options

A

xy = -eˣ

B

xy = -e⁻ˣ

C

xy = -1

D

xy = 2eˣ - 1

Correct Answer :

xy = 2eˣ - 1

Solution :

The given first-order linear differential equation is:
d y d x y = 1
with the initial condition:
y ( 0 ) = 1

Step 1: Separate the variables
We can rewrite the differential equation by moving the term y to the right-hand side:
d y d x = y + 1
Now, divide both sides by (y+1) and multiply by dx to separate the variables y and x:
1 y + 1 d y = d x

Step 2: Integrate both sides
Integrate both sides of the equation with respect to their respective variables:
1 y + 1 d y = d x
Integrating, we get:
ln | y + 1 | = x + C
where C is the constant of integration.

Step 3: Solve for y
Exponentiate both sides to eliminate the natural logarithm:
| y + 1 | = e x + C
Using exponent rules, this can be written as:
y + 1 = A e x
where A=±eC is a new constant.
So, the general solution is:
y = A e x 1

Step 4: Apply the initial condition to find A
We are given that y(0)=1. Substitute x=0 and y=1 into our solution:
1 = A e 0 1
Since e0=1:
1 = A 1
Solving for A:
A = 2

Conclusion
Substituting A=2 back into the equation yields the particular solution:
y = 2 e x 1
Which corresponds to the option:
y = 2 e x 1

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Mock Tests

View All
  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics

  • JEE
  • intermediate
  • 3 hours
  • chemical engineering, mathematics, physics