Science:Math Exam Resources/Courses/MATH101/April 2005/Question 01 (e)/Solution 1
To find the general solution for this problem, we need to find both the particular solution, , and homogeneous solution, .
The homogeneous solution satisfies
From part (d) of this exam we have its general solution
To find the particular solution, we look at the right hand side of the equation and notice that there is a term that is linear in (as opposed to quadratic, cubic, etc.). So we can assume a trial solution of and plug this into the differential equation to find the constants such that the original differential equation is satisfied.
By comparing the linear and constant terms on both sides of the equation, we can see that for the differential equation to be satisfied, we must satisfy and .
So the general solution to the differential equation is the sum of the homogeneous and particular solutions:
where are arbitrary constants.