Warning: This site may not display properly on devices or windows with a small amount of screen width. While everthing is still accessible, be aware that sometimes parts will be hidden and require scrolling horizontally. It is recommended you view this in a larger window or in landscape mode
Skip to content

Second plus order ode formulas reference

Homogeneous Equations

Characteristic Equations

ay+by+cy=f(t)ORad2ydt2+bdydt+cy=f(t)f(t)=0

y=ert

the derivatives of ert are just constants times ert and the solution must have the property that its second derivative can be expressed as a linear combination of its first and zeroth derivatives.

ar2ert+brert+cert=0
ert(ar2+br+c)=0

There is no value you can substitute t for in ert to get 0, so we can divide both sides by ert

ar2+br+c=0

solve for the roots (rn) using any method (quadratic formula, factoring, etc...)

r1=b+b24ac2aAndr2=bb24ac2a

General Solutions to Characteristic Equations

  • Quadratics
  • 2 Real, Unique Roots
y(t)=c1er1t+c2er2t
  • double root
y(t)=c1ert+c2ertt
  • 2 Complex Roots
r=α±βi
y(t)=c1eαtcos(βt)+c2eαtsin(βt)
  • Cubic
  • 3 Real, Unique Roots
y(t)=c1er1t+c2er2t+c3er3t
  • 3 Real Roots, 1 Double Root
y(t)=c1er1t+c2ert+c3ertt
  • 1 Real Root, 2 Complex Roots
y(t)=c1ert+c2eαtcos(βt)+c3eαtsin(βt)
Cauchy-Euler Equations
at2y+bty+cy=0ORy+baty+cat2=0

assuming that t>0

y(t)=trdydt=rtr1d2ydt2=(r2r)tr2plugging into the original formula
at2(r2r)tr2+bt(r)tr1+ctr=0
at2(r2r)trt2+bt(r)trt+ctr=0$a(r2r)tr+b(r)tr+ctr=0
tr(ar2ar+br+c)=0ar2ar+br+c=0
ar2+(ba)r+c=0

General Solutions to Cauchy-Euler Equations

Real, unique roots

y(t)=c1tr1+c2tr2

Double root

y(t)=c1tr+c2trln(t)

imaginary roots

r=α±βi
y(t)=c1tαcos(βln(t))+c2tαsin(βln(t))

Non Homogeneous Equations

Particular, Homogeneous, and General Solutions

ay+by+cy=f(t)ORad2ydt2+bdydt+cy=f(t)
f(t)0

Homogeneous Solution

ay+by+cy=0yc(t)

Non Homogeneous Solution

ay+by+cy=f(t)yp(t)

General Solution

y(t)=yp(t)+yc(t)

Linear Equations (Constant Coefficients)

Undetermined Coefficients
ay+by+cy=Ctmert

where m is a nonnegative integer, use the form

yp(t)=ts(Amtm++A1t+A0)ert
  • s=0 if r is not a root of the associated auxiliary equation
  • s=1 if r is a simple root of the associated auxiliary equation
  • s=2 if r is a double root of the associated auxiliary equation

ay+by+cy={Ctmeαtcosβt or Ctmeαtsinβt

for β0, use the form

yp(t)=ts(Amtm++A1t+A0)eαtcosβt+ts(Bmtm++B1t+B0)eαtsinβt,
  • s=0 if α+βi is not a root of the associated auxiliary equation; and
  • s=1 if α+βi is a root of the associated auxiliary equation.

ay+by+cy=Pm(t)ert,

where Pm(t) is a polynomial of degree m, use the form

yp(t)=ts(Amtm++A1t+A0)ert;
  • s=0 if r is not a root of the associated auxiliary equation
  • s=1 if r is a simple root of the associated auxiliary equation
  • s=2 if r is a double root of the associated auxiliary equation

ay+by+cy=Pm(t)eαtcosβt+Qn(t)eαtsinβt,β0,

where Pm(t) is a polynomial of degree m and Qn(t) is a polynomial of degree n, use the form

yp(t)=ts(Aktk++A1t+A0)eαtcosβt+ts(Bktk++B1t+B0)eαtsinβt,

Where k is the larger value of m and n

  • s=0 if α+βi is not a root of the associated auxiliary equation
  • s=1 if α+βi is a root of the associated auxiliary equation
Variation of Parameters
y(t)=v1(t)y1(t)+v2(t)y2(t)

If y1 and y2 are two linearly independent solutions to the corresponding homogeneous equation, then a particular solution to the nonhomogeneous equation is

y(t)=v1(t)y1(t)+v2(t)y2(t)

where v1 and v2 are determined by the equations

v1y1+v2y2=0v1y1+v2y2=f(t)/a.

To solve

D=|y1y2y1y2|
D1=|0y2f(t)ay2|v1=D1Ddt
D2=|y10y1f(t)a|v2=D2Ddt
yp(t)=v1(t)y1(t)+v2(t)y2(t)

Initial Value

Take the n'th derivative, plug in values given for each, use system of equations to solve for constants.
usually the initial conditions will be a function of 0 to cancel things out

y(t)=c1er1t+c2er2ty(t)=r1c1er2t+r2c2er2t
y(0)=n
y(0)=m
n=c1er1(0)+c2er2(0)n=c1+c2
m=r1c1er2(0)+r2c2er2(0)m=r1c1+r2c2