Which exponential solves the ODE?
Trial function: y = erx
Adjust r until the two sides of the differential equation agree. What happens to the point on the characteristic polynomial when the curves overlap?
One parameter connects the two graphs
The upper graph compares the left and right sides of the selected equation after substituting y = erx. The lower graph shows the characteristic polynomial p(r); its marked point follows the r slider.
Find both values of r: Start with y″ = y, then try y″ = 3y′ − 2y. A solution must satisfy the equation for every x, not just at a single point.
Why do the roots select exponential solutions?
Differentiating y = erx gives y′ = rerx and y″ = r²erx. For a constant-coefficient homogeneous equation,
ay″ + by′ + cy = (ar² + br + c)erx = p(r)erx.
Since erx is never zero, the trial function satisfies the equation for every x exactly when p(r) = 0. This is the characteristic equation. The equation chooses the allowed values of r; initial conditions choose the coefficients in a combination of independent solutions.
The display samples −1 ≤ x ≤ 1. The “Matches for every x” result follows from the exact polynomial test, rather than a visual match at a few plotted points.