MathorynMathematical Formula Database

Differential Equations

Second-Order Linear ODE: Distinct Real Roots

A homogeneous linear equation with constant coefficients is solved by trying y=erxy=e^{rx}, which leads to the characteristic equation. When it has two distinct real roots, the general solution combines two exponentials. It is used for overdamped systems and many linear models.

ay′′+by′+cy=0,ar2+br+c=0,y=C1er1x+C2er2xay''+by'+cy=0,\quad ar^2+br+c=0,\quad y=C_1e^{r_1x}+C_2e^{r_2x}
LaTeXay''+by'+cy=0,\quad ar^2+br+c=0,\quad y=C_1e^{r_1x}+C_2e^{r_2x}

Variables

a, b, ca,\ b,\ c
constant coefficients, a ≠ 0
r1, r2r_1,\ r_2
distinct real roots of the characteristic equation
C1, C2C_1,\ C_2
constants from initial conditions

Example

Solve y′′−5y′+6y=0y''-5y'+6y=0, y(0)=1y(0)=1, y′(0)=0y'(0)=0.

  1. r2−5r+6=0r^2-5r+6=0 gives r=2,3r=2,3.
  2. C1+C2=1C_1+C_2=1, 2C1+3C2=02C_1+3C_2=0, so C1=3, C2=−2C_1=3,\ C_2=-2.
  3. y=3e2x−2e3xy=3e^{2x}-2e^{3x}; y(1)=3e2−2e3y(1)=3e^2-2e^3.

Answer: y(1)≈−18.0039y(1)\approx-18.0039.

Related formulas