MathorynMathematical Formula Database

Differential Equations

Second-Order Linear ODE: Repeated Root

When the characteristic equation has a double root, the second independent solution is xerxxe^{rx}. This case is used for critically damped systems, which return to equilibrium as fast as possible without oscillating.

ar2+br+c=0 with r1=r2=r ⇒ y=(C1+C2x)erxar^2+br+c=0\ \text{with}\ r_1=r_2=r\ \Rightarrow\ y=(C_1+C_2x)e^{rx}
LaTeXar^2+br+c=0\ \text{with}\ r_1=r_2=r\ \Rightarrow\ y=(C_1+C_2x)e^{rx}

Variables

rr
double root of the characteristic equation
C1, C2C_1,\ C_2
constants from initial conditions

Example

Solve y′′−4y′+4y=0y''-4y'+4y=0, y(0)=1y(0)=1, y′(0)=3y'(0)=3.

  1. r2−4r+4=(r−2)2r^2-4r+4=(r-2)^2, so r=2r=2.
  2. C1=1C_1=1; y′(0)=2C1+C2=3y'(0)=2C_1+C_2=3 gives C2=1C_2=1.
  3. y=(1+x)e2xy=(1+x)e^{2x}, y(1)=2e2y(1)=2e^2.

Answer: y(1)≈14.7781y(1)\approx14.7781.

Related formulas