Q.Solve the following differential equation:
This is a first-order linear ODE solved using the integrating factor method. The general solution is , where is an arbitrary constant.
The equation is a classic first-order linear differential equation. The key idea is that we can multiply both sides by a cleverly chosen function — the integrating factor — which turns the left-hand side into the derivative of a product. This lets us integrate directly.
Why does this work? Because the left side already looks like the derivative of plus something times . If we can make that "something" match the derivative of the multiplying factor, we get a perfect derivative. Here, the coefficient of is , so the integrating factor is .
Let’s walk through it step by step.
-
Identify the standard form.
The equation is already in the form , with and .
-
Compute the integrating factor.
The integrating factor is given by .
-
Multiply the entire equation by .
- Recognize the left side as a derivative. Notice that . So the equation becomes:
- Integrate both sides with respect to .
This gives:
where is the constant of integration.
- Solve for . Divide both sides by (which is never zero):
A common mistake is forgetting the constant of integration or incorrectly handling the condition . The condition simply means we exclude the constant solution (which corresponds to ), but the general formula still holds for all .
You can verify the solution quickly: if , then , and . It works.
The general solution is , where is an arbitrary constant (and to satisfy ).
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.