| Line 63: |
Line 63: |
| | Not all separable equations are this obviously separable; sometimes much manipulation is needed to get it into a separable form. | | Not all separable equations are this obviously separable; sometimes much manipulation is needed to get it into a separable form. |
| | ===Second-Order Equations=== | | ===Second-Order Equations=== |
| | + | |
| | + | A second order equation is an equation which contains a <math>y'' \ </math> term, but no higher derivatives. We will consider only ''linear'' equations for now: this means that the coefficients of the derivatives of ''y'' do not contain terms in ''x'' or ''y''. |
| | + | |
| | + | First we consider the homogeneous case. When we solved <math>y'+ay=0 \ </math>, we found that <math>y=e^{-ax} \ </math> was a solution. Note that <math>-a=t \ </math> is a root of the equation <math>t+a=0 \ </math>. Therefore, it makes sense to suppose that solutions of the equation <math>y''+ay'+by=0 \ </math> may be found with <math>y=e^{r_1x}, y=e^{r_2x} \ </math>, where <math>t=r_1, r_2 \ </math> are roots of the equation <math>t^2+at+b=0 \ </math>. Let ''r'' represent a specific root (either the first or second), and observe: |
| | + | |
| | + | <math>y=e^{rx}, y' = r e^{rx}, y''=r^2 e^{rx}</math> |
| | + | |
| | + | <math>y''+ay'+b=r^2e^{rx}+are^{rx}+be^{rx}= e^{rx} (r^2+ar+b)= e^{rx}(0) = 0 \ </math> |
| | + | |
| | + | as desired. Hence we have found two possible solutions. An interesting thing happens if we consider linear combinations of these two solutions: |
| | + | |
| | + | <math>u=py_1+qy_2=pe^{r_1x}+qe^{r_2x} \ </math> |
| | + | |
| | + | Taking all the relevant derivatives, we have |
| | + | |
| | + | <math>u'' = r_1^2pe^{r_1x}+r_2^2qe^{r_2x}, u' = r_1pe^{r_1x}+qr_2e^{r_2x}, u=pe^{r_1x}+qe^{r_2x} \ </math> |
| | + | |
| | + | and examining the behavior of ''u'' in the RHS of the differential equation |
| | + | |
| | + | <math>u'' + au' + bu = r_1^2pe^{r_1x}+r_2^2qe^{r_2x} + ar_1pe^{r_1x}+aqr_2e^{r_2x} + bpe^{r_1x}+bqe^{r_2x} =pe^{r_1x}(r_1^2+ar_1+b) + qe^{r_2x}(r_2^2 +ar_2+b) = pe^{r_1x}(0) + qe^{r_2x}(0) = 0+0 = 0 \ </math> |
| | + | |
| | + | reveals ''u'' is also a solution. |
| | | | |
| | ==Non-homogeneous Equations== | | ==Non-homogeneous Equations== |