Question Details

The solution of dy/dx + y = e⁻ˣ, y (0) = 0 is

Options

A

y = eˣ(x – 1)

B

y = xe⁻ˣ

C

y = xe⁻ˣ + 1

D

y = (x + 1 )e⁻ˣ

Correct Answer :

y = xe⁻ˣ

Solution :

Correct Answer:
The correct option is y = xe-x.

Step-by-Step Explanation:

We are given the first-order linear differential equation:
d y d x + y = e - x with the initial condition y(0)=0.

Step 1: Identify the type of differential equation
A first-order linear differential equation is of the standard form:
d y d x + P ( x ) y = Q ( x ) Comparing this with our given equation, we have:
P(x)=1
Q(x)= e - x

Step 2: Find the Integrating Factor (I.F.)
The integrating factor is calculated using the formula:
I.F. = e P ( x ) d x Substituting P(x)=1:
I.F. = e 1 d x = e x

Step 3: Multiply the differential equation by the Integrating Factor
Multiplying both sides of the original differential equation by ex gives:
e x d y d x + e x y = e x e - x By the product rule of differentiation, the left-hand side can be written as the derivative of the product of y and the integrating factor:
d d x ( y e x ) = 1

Step 4: Integrate both sides with respect to x
Integrating both sides gives:
y e x = 1 d x y e x = x + C where C is the constant of integration.

Dividing both sides by ex (or multiplying by e-x), we get the general solution:
y = ( x + C ) e - x

Step 5: Apply the initial condition to find C
We are given that y(0)=0, which means when x=0, y=0.
Substituting these values into the general solution equation:
0 = ( 0 + C ) e 0 Since e0=1:
0 = C 1 C = 0

Step 6: Write the final particular solution
Substituting C=0 back into the general solution equation:
y = x e - x

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