The solution of dy/dx + y = e⁻ˣ, y (0) = 0 is
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:
with the initial condition .
Step 1: Identify the type of differential equation
A first-order linear differential equation is of the standard form:
Comparing this with our given equation, we have:
Step 2: Find the Integrating Factor (I.F.)
The integrating factor is calculated using the formula:
Substituting :
Step 3: Multiply the differential equation by the Integrating Factor
Multiplying both sides of the original differential equation by gives:
By the product rule of differentiation, the left-hand side can be written as the derivative of the product of and the integrating factor:
Step 4: Integrate both sides with respect to x
Integrating both sides gives:
where is the constant of integration.
Dividing both sides by (or multiplying by ), we get the general solution:
Step 5: Apply the initial condition to find C
We are given that , which means when , .
Substituting these values into the general solution equation:
Since :
Step 6: Write the final particular solution
Substituting back into the general solution equation:
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Crey. Perfect for teachers and institutes.
Copyright © 2026 Crey. All Rights Reserved.