Solve the differential equation:
Previous Year Questions · Question 3 of 25
Solve the differential equation: xdy/dx + y = 3x² - 2
Solution:
Key idea: A linear differential equation (with , functions of ) is solved with the integrating factor . The solution is .
Step 1 — Write the equation in standard form.
We divide every term by (taking ).
So and .
Step 2 — Find the integrating factor.
We integrate and raise to that power, taking .
Step 3 — Write and evaluate the solution.
We multiply by the integrating factor and integrate.
Step 4 — Make y the subject.
We divide both sides by .
Note: The left side of the given equation, , is already the derivative of . This is why the integrating factor turned out to be .
Therefore, the general solution is , where is an arbitrary constant.
