|To solve a second-order ODE with constant coefficients:||,|
|divide by the highest-order coefficient:||,|
|and factor out the y||,|
The LHS is zero either if y=0, which isn't generally true as it's the dependent variable, or if the bracket expression is zero. Finding the roots of the bracket expression is entirely analogous to solving a polynomial equation of second order: The roots of the equation x2+px+q=0, which can be factorised as (x+x1)(x+x2)=0, are .
|In the same way, the roots of|
|The ODE becomes||,|
|or by renaming the constants,||,|
Although operators in general aren't commutative, the order in which the two operators (bracket terms) are applied to y does not matter in this case because they only differ in a constant factor, which doesn't affect differentiation. This is why this technique requires constant coefficients: If they were functions of x instead, the two operators would no longer commutate, and the analogy with polynomial equations would break down. Because the order in which the two operators are applied doesn't matter, we can split up the 2nd-order equation in two separable 1st-order ones:
|First operator:||,||and second operator:||.|
|and solve for y:||-||.|
|The general solution of the original ODE:|
|is any linear combination of the two:||,|
Note that k1,2 may be complex.
Linear ODE with constant coefficients of higher order can be solved following the same principle. The number of 1st-order ODEs to be solved is equal to the order of the original equation. The corresponding constants k1,2,3,... are found by finding the roots of the associated auxiliary polynomial.
Armed with that, we can return to solving Laplace's equation.