Solve the following differential equation:
Differential Equations · Question 110 of 154
Solve the following differential equation: dy/dx+2y=6e^x
Question 1103 marksEasy
Solution:
Key idea: A first-order linear equation can be written as , where and are functions of only. Its integrating factor is . Multiplying the equation by the IF turns the left side into , so the solution is , where is the arbitrary constant.
Step 1 — Identify and .
The equation is already in standard form, with and .
Step 2 — Find the integrating factor.
We integrate with respect to to get .
Step 3 — Multiply by the IF and integrate.
The left side becomes , so we integrate .
The exponents add: .
Since , the integral is plus the constant.
Step 4 — Make the subject.
We divide every term by .
Therefore, the general solution is .
