Find a general solution. Check your answer by substitution.
a)
(3-1)
b)
(3-2)
The quadratic formula is necessary for these solutions:
Plugging into the quadratic formula:

This shows us that the roots of the equation are:

Therefore, the general equation is:
(3-3)
We need to first find the first and second derivatives of equation (3-3):


Plugging into equation (3-1), we find:
(3-4)
Continuing to solve:
(3-5)
This shows that the general equation is correct, since everything cancels out to 0.
Plugging into the quadratic formula:

The roots are, therefore:

Therefore, the general solution to (3-2) is:
(3-6)
We must first find the first and second derivatives of equation (3-6):


Plugging into equation (3-2):

![{\displaystyle \displaystyle +4[-2(c_{1}\cos(\pi x)+c_{2}\sin(\pi x))e^{-2x}+(-c_{1}\pi \sin(\pi x)+c_{2}\pi \cos(\pi x))e^{-2x}]+(\pi ^{2}+4)(c_{1}\cos(\pi x)e^{-2x}+c_{2}\sin(\pi x)e^{-2x})=0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/96c3ef55f4401bff01abf000c66644c4f7c1bca8)
Finally, plugging (3-6) and it's first and second derivatives into equation (3-2), we find:



Since this equals 0, we know that the general equation (3-6) is correct.