Ordinary differential equations: Second-order linear ODEs with constant coefficients
Negative discriminant
Characteristic equation with negative discriminant We consider the homogeneous second-order linear differential equation with constant coefficients, written in the form The corresponding characteristic equation is
We restrict ourselves to the case where the discriminant is negative. Then there are, according to the quadratic formula, two complex roots, say The following two functions are solutions of the differential equation In fact, any solution can be written as a linear combination of these two "basic complex solutions".
You might feel more at ease when we do not work with complex solutions, but only with real numbers and real functions. This can be arranged by working with special combinations of the complex solutions. Suppose that the standard form of the complex number is equal to , then the complex number is equal to and The complex numbers and are conjugates of each other. Then: Here you have the first real solution to the differential equation. Another combination gives a second real solution A linear combination of these two real solutions gives the general solution with constants and . These constants are determined by boundary conditions.
The discriminant of the characteristic polynomial is equal to Thus, the root of the characteristic polynomial are complex and according to the abc-formula equal to In this case, the differential equation has the following general solution: with constants and .
Using the initial values we can define equations that and must satisfy. Substitution of and in the general solution gives For the usage of the second initial value we need the derivative of the general solution; this can be computed with the calculation rules for differentiating and the derivatives of trigonometric functions Substitution of and gives the equation So we must solve the following system of equations in the unknowns and : The solution of this system of equations is So the solution of the initial value problem is