(Particular integral (hoping that's what P.I. means) is )
General Solution required
The complimentary function is a solution of the equation and is given by if the roots of the auxiliary equation are repeated roots. Hence:
Particular integral is given as:
Differentiation twice gives:
Plug these into the original equation, and compare coefficients of on the RHS and LHS. Solve for A.
After that, you will have a solution:
Also when I teach 2nd order DEs I assume the complementary function has all the arbitrary constants and the particular integral is constant free. You need to solve for A from the DE as given by Mush above... When you substitute and solve you find A = 1/2
With that out of the way, you want the general solution which is a combination of the the complementary function and the particular integral. The the complementary function is the solution of the homogeneous equation. IE
So you have a linear 2nd order de. The standard way to solve these is to make an exponential trial solution of
When we substitute and simplify we get
Since we can derive the auxiliary equation
When there are two equal root of the Auxiliary Equation the complementary function takes the form
So the general solution is
What you are dealing with here is a linear non-homogeneous 2nd order differential equation with constant coefficients.
The standard form of these equations is:
It is 2nd order because the highest order of derivative involved is 2. It's linear because there are no products or powers of dependent variables. And it non-homogeneous because .
Now, the superposition principle says that if 2 functions are solutions to a linear differential equation, then the sum of these functions is also a solution.
The first solution we find is called the complimentary function. We find this solution be solving the equation:
This is called the auxiliary equation. P, Q and R are the coefficients from the LHS of the equation. When we solve form lambda, 3 things can happen.
1) If there are 2 distinct solutions, then the complimentary function is of the form .
C1 and C2 are arbitrary constants.
2) The there is only only 1 repeated solution to the auxiliary equation then the complimentary function is of the form . This is the scenario we face.
3) If there are only complex roots, then the solution gets a bit more complicated than the scope of this problem, so we'll just ignore that for now.
So now you have one solution, .
So the superposition principle tells us that the final solution is a sum of and some other function.
That other function is called the particular integral. We usually determine what particular integral to use depending on what functions make up on the right hand side.
In your case, the particular integral is . The thing is that there is an arbitrary constant involved here. We already have 2 arbitrary constants from our complimentary function, so we can't have another one! There can only be as many arbitrary constants in the solution to an ODE as the order of the ODE. The ODE is 2nd order, so we can only have 2 arbitrary constants. In other words, we have to find out what A is. To do this, we find the 1st and 2nd derivative of and plug it into the original ODE. We can then solve for A, and we find that A is in fact . Hence
Now we can finally USE the superposition principle to put together a full solution: