unfried.
Streak:0 days XP:0

Formula sheet

Differential equations

Solution methods by equation type, oscillators, systems and Laplace transforms.

40 entries in 9 units. Free to use and share.

Jump to a unit (9 units)

Unit 1 First-order models revisited

Equilibria of an autonomous equation

y
the solution
f
right side, depending on y alone
y∗
an equilibrium, a constant solution

Applies: Autonomous equations. On the phase line, f>0 means y rises and f<0 means it falls.

Careful: A zero slope at one moment doesn't make an equilibrium.

Taught in Autonomous equations and the phase line

Stability on the phase line

An equilibrium is stable if the arrows on both sides point toward it, unstable if both point away, and semi-stable if one points toward it and one away. If f and f′ are continuous, solutions never cross, so a first-order autonomous solution can't overshoot or oscillate.

Taught in Stability, and why solutions don't cross

Mixing tank

Q
amount of salt
cin
inflow concentration
rin,rout
flow rates in and out
V
volume in the tank
V0
starting volume
t
time

Applies: The tank is well stirred. With equal flows, τ=V/r⁠, like an RC circuit.

Taught in Mixing tanks

Better steps

k1=f(t,y) is the slope at the start; Heun's k2 is the slope where a trial Euler step lands.

MethodNext ySlopes per stepError
Eulery+hk11∝h
Heuny+h2(k1+k2)2∝h2
RK4y+h6(k1+2k2+2k3+k4)4∝h4

Taught in Better steps: Heun and Runge–Kutta

Draining tank

A
tank's cross-section
h
depth
k
outflow constant, Q=kh

Applies: A small hole, no inflow. The tank empties in finite time T=2Ah0/k⁠.

Careful: It reaches h=0 because uniqueness fails where h has an unbounded slope.

Taught in Lab: Draining a tank

Unit 2 Linear first-order equations

Integrating factor

y
solution
p,q
coefficient and input
t
variable
μ
integrating factor
C
constant

Applies: Standard form, after dividing by the coefficient of y′⁠.

Careful: The constant is divided by μ too; y′+2y=6 gives 3+Ce−2t⁠, not 3+C⁠.

Taught in The integrating factor

Steady state for a sine input

yss
steady-state response of y′+ky=Asin⁡ωt
A
input amplitude
k
rate, positive
ω
input frequency
t
time
φ
lag

Applies: k>0⁠, so the transient Ce−kt dies away.

Careful: If k<0⁠, there is no steady state.

Taught in Transient and steady state

RC with a changing source

V
capacitor voltage
u
source value on this piece
t0
start of the piece
t
time
R
resistance
C
capacitance

Applies: Piece by piece while the source holds a value. The capacitor voltage carries across each jump.

Taught in RC circuits with a changing source

Superposition for linear equations

If y1 answers the input q1 and y2 answers q2⁠, then c1y1+c2y2 answers c1q1+c2q2⁠. The general solution is one particular solution plus Ce−∫p dt⁠.

Careful: It needs the equation to be linear in y⁠.

Taught in Superposition

Unit 3 Second-order linear equations

Characteristic equation

a,b,c
coefficients of ay′′+by′+cy=0
r
exponent in y=ert

Applies: Constant coefficients, no forcing. Two conditions, y(0) and y′(0)⁠, fix the constants.

Taught in Springs and the characteristic equation

The three cases

The sign of b2−4ac picks the case. Damping slows the swing, β=c−b2/4 with a=1⁠.

RootsGeneral solutionMotion
real r1≠r2c1er1t+c2er2toverdamped
repeated r(c1+c2t)ertcritically damped
complex α±iβeαt(c1cos⁡βt+c2sin⁡βt)underdamped

Taught in Complex roots: damped oscillation

Wronskian

W
Wronskian
y1,y2
two solutions

Applies: W≠0 at the starting time means c1y1+c2y2 gives every solution. For two solutions of one equation, W is never 0 or always 0.

Taught in The solution space is two-dimensional

RLC circuit numbers

A series loop obeys LQ′′+RQ′+Q/C=V⁠, with L the mass, R the damping and 1/C the stiffness.

QuantityFormula
ringing frequency, R≈012πLC
smallest R with no ringing2L/C
envelope decay rateR2L

Taught in LC ringing and RLC damping

Unit 4 Forced oscillation and resonance

Undetermined coefficients

Every solution is yh+yp⁠; fit the constants in yh last, after adding yp⁠.

Forcing g(t)Guess
ektAekt
polynomial of degree nfull polynomial of degree n
cos⁡ωt or sin⁡ωtAcos⁡ωt+Bsin⁡ωt
any of these, solving the unforced equationthe same guess times t

Taught in Undetermined coefficients

Amplitude response

A
steady swing of my′′+cy′+ky=Fcos⁡ωt
ω
drive frequency
F
drive amplitude
k
stiffness
m
mass
c
damping, positive

Applies: With damping, every start dies away to this. Light damping peaks near ω0=k/m at about F/(cω0)⁠.

Taught in Amplitude response and resonance

Pure resonance

yp
particular solution of y′′+ω02y=Fcos⁡ω0t
F
drive amplitude
ω0
natural frequency
t
time

Applies: No damping and the drive at the natural frequency. It grows without bound.

Taught in Pure resonance

Beats

With no damping and ω near ω0⁠, from rest, the swing is a fast oscillation at ω+ω02 inside a slow envelope, quiet every 2π∣ω−ω0∣⁠. In hertz, tones f1 and f2 beat ∣f1−f2∣ times a second.

Taught in Beats

Quality factor and bandwidth

Q
quality factor
R
total loop resistance
L
inductance
C
capacitance
Δf
bandwidth
f0
resonant frequency, 12πLC

Applies: A driven series RLC. The capacitor voltage at f0 is Q times the input. For a spring, Q=km/c⁠.

Taught in Q, bandwidth and resonant gain

Variation of parameters

yp
particular solution of y′′+py′+qy=g
y1,y2
unforced solutions
g
forcing
W
their Wronskian
t
variable

Applies: Standard form (divide by the leading coefficient first), any continuous g⁠.

Taught in Variation of parameters

Unit 5 Laplace transforms

Laplace transform

Definition.

F
transform
s
transform variable
f
function on t≥0
t
time

Careful: It exists only for the s where the integral converges. It is linear, not multiplicative.

Taught in The transform as an improper integral

Transforms of derivatives

y
solution
Y
its transform
s
transform variable

Applies: The starting values enter here, so nothing is left to fit at the end.

Careful: Writing L{y′}=sY drops the starting value.

Taught in Derivatives become multiplication by s

Poles and behavior

Each pole p brings a term Cept⁠. Zeros only set the constants.

Polesy(t)
all with real part <0dies away
simple, on the imaginary axisbounded
any with real part >0⁠, or repeated on the axisgrows

Taught in Poles tell the behavior

Transfer functions

H
transfer function
s
transform variable
Vout,Vin
output and input transforms

Applies: Everything starting at 0. A resistor is R⁠, a capacitor 1sC⁠, an inductor sL⁠. An RC low-pass is 11+RCs⁠; the step response is L−1{H/s}⁠.

Taught in Transfer functions of circuits

Unit 6 Linear systems and phase portraits

Second-order equation as a system

A
matrix of x′=Ax with x1=y⁠, x2=y′
b,c
coefficients of y′′+by′+cy=0

Applies: Divide by the leading coefficient first. The eigenvalues are the characteristic roots.

Taught in From one equation to a system

Classifying the origin

The origin is stable exactly when tr⁡A<0 and det⁡A>0⁠. In the (y,y′) plane every spring turns clockwise.

TestOrigin
det⁡A<0saddle
det⁡A>0⁠, tr⁡2>4det⁡node
det⁡A>0⁠, tr⁡2<4det⁡spiral
tr⁡A=0⁠, det⁡A>0center

Careful: A positive determinant alone only rules out a saddle.

Taught in The trace–determinant plane

Matrix exponential

A
square matrix
t
time
I
identity

Applies: Any square A⁠; eAtx0 solves x′=Ax⁠. If A=PDP−1⁠, eAt=PeDtP−1⁠.

Careful: e(A+B)t=eAteBt needs AB=BA⁠.

Taught in The matrix exponential

Unit 7 Nonlinear systems, linearization, stability

Nullclines and equilibria

For x′=P⁠, y′=Q⁠, the curve P=0 is the x-nullcline (motion vertical) and Q=0 the y-nullcline (motion horizontal). An equilibrium needs both at once; pair every x-nullcline with every y-nullcline.

Taught in Equilibria and nullclines

Jacobian

J
Jacobian at the equilibrium
P,Q
the two rates
x∗,y∗
the equilibrium

Applies: Differentiate first, then put in the point; classify by trace and determinant.

Careful: With an eigenvalue of real part 0, linearization can't decide.

Taught in Linearizing with the Jacobian

Limit cycles

A nonlinear oscillator can approach one isolated closed loop from inside and outside, as the van der Pol oscillator does. A linear system can't, because its closed paths come in families of every size.

Taught in Oscillators that pick their own amplitude

Unit 8 Series solutions

Power-series method

y
solution
an
coefficients
x
variable
n
index

Applies: a0=y(0) and a1=y′(0) are free; shift every series to xn and match coefficients to get a recurrence.

Careful: Shift the factor, subscript, power and lower bound together.

Taught in Power series and the recurrence

Radius of a series solution

R
radius of convergence
P
leading coefficient of Py′′+Qy′+Ry=0
z
zeros of P⁠, complex included
x0
center, with P(x0)≠0

Applies: Polynomial coefficients with no common factor.

Careful: It is a guarantee, not a limit; complex zeros count.

Taught in How far a series solution reaches

Bessel function of order 0

J0
Bessel function
x
variable
k
index

Applies: Solves x2y′′+xy′+x2y=0⁠. Its zeros are 2.405, 5.520, 8.654.

Taught in Bessel functions and a drumhead

Unit 9 Fourier series, heat and wave equations

Fourier series

f
function with period 2π
x
variable
a0
average, 12π∫f dx
an
1π∫−ππfcos⁡nx dx
bn
1π∫−ππfsin⁡nx dx
n
harmonic

Applies: Periodic and piecewise smooth: the series converges to the midpoint at a jump.

Careful: Next to a jump every partial sum overshoots by about 9 % (Gibbs).

Taught in Building a square wave from sines

Symmetry and half-range series

A function on [0,L] extended as odd gives a sine series with bn=2L∫0Lfsin⁡nπxL dx⁠.

fSeriesCoefficient
oddsines onlybn=2π∫0πfsin⁡nx dx
evencosines onlyan=2π∫0πfcos⁡nx dx

Taught in Even, odd and half-range series

Heat equation

u
temperature
x
position
t
time
bn
half-range sine coefficients of u(x,0)
k
diffusivity
L
length
n
mode

Applies: ut=kuxx with both ends held at 0. Mode n decays n2 times as fast as mode 1.

Taught in The heat equation

Cooling time of a bar

τ
time constant of the slowest mode
L
length
α
thermal diffusivity

Applies: Ends at room temperature. After 3τ, 5 % is left; double the length, four times the wait.

Taught in How long heat takes to spread