Problem-solving recipes
A step-by-step procedure for every problem type this course teaches — what to do first, what to do next, and how to tell which case you're in.
What are you being asked to do?
Start with what kind of equation — or what question about one — you're facing.
Given a 2×2 matrix (readiness review, or a linear system further on) — the eigenvalue/eigenvector recipe.
Given an initial-value problem, need the solution and where it's valid — solve it, then find the interval of validity from where the solution itself breaks down.
First-order equation, need to solve it — check separability first (cheapest test, pure algebra); if not separable, check whether it's linear in standard form; a y^n term on the right instead means Bernoulli; y'=F(y/x) means homogeneous (the substitution kind, not the RHS-is-zero kind); an equation that isn't exact needs an integrating factor first. See Choosing a solution method for the full decision order. A rate-in/rate-out word problem (tank, mixing) usually just IS one of these once you set it up.
Given an autonomous family with a parameter, need equilibria or a bifurcation — the equilibria recipe first; the bifurcation-value recipe once you need the exact boundary between qualitatively different behaviors.
Given a numerical-methods error plot or step size, need to read accuracy or stability off it — the order-of-accuracy or Euler- stability-threshold recipes.
A first-order modeling word problem (drug elimination, reaction rate, falling object with drag) — these usually reduce to one of the first-order recipes above; the modeling-specific recipes below add the extra "solve for the requested real-world quantity" step on top.
Given two solutions of a 2nd-order linear equation, need independence or the general solution — the Wronskian recipe, then (once independence is confirmed) the general-solution recipe; Abel's formula gives W without ever computing the two solutions' derivatives directly.
Second-order, homogeneous, constant-coefficient (ay''+by'+cy=0) — one recipe covers all three characteristic-root cases (distinct real, repeated, complex). The Cauchy-Euler equation is the same idea with a different characteristic equation — its own recipe covers all its root cases too.
A mass-spring or RLC vibration problem — Hooke's law recipe to set up the equation, then the damping-classification recipe (covers overdamped, critically damped, and underdamped in one chain) for free vibration; the undamped case is its own simpler recipe.
Second-order, nonhomogeneous (ay''+by'+cy=g(x)) — undetermined coefficients when g(x) is a polynomial, exponential, or sine/cosine (with the resonance fix if the naive guess collides with the homogeneous solution); variation of parameters otherwise. Amplitude response and beats are specific downstream questions about a sinusoidally-forced system's steady-state behavior, not alternate ways to find the particular solution itself.
Higher than second order — the same characteristic-equation idea, one recipe for real roots; variation of parameters generalizes too, at the cost of a bigger linear system to solve for the unknown functions.
Given a function, need its Laplace transform, or given Y(s), need the IVP it solves — the from-the-definition recipe for a first transform; convolution for a product of transforms; impulse forcing for a \delta-function right-hand side.
Solving a first-order equation
Solve a separable first-order equation
Use when: the equation can be written as \dfrac{dy}{dx}=f(x)g(y) — every y-term collects on one side, every x-term on the other
Goal: an implicit or explicit solution for y, plus any equilibrium solutions the separation step would otherwise lose
Separable equations
Try this first — it's the cheapest test to run.
Solve a Bernoulli equation
Use when: the equation has the form y'+p(x)y=q(x)y^n with n\ne0,1
Goal: a linear equation in v you already know how to solve, then the answer converted back to y
The Bernoulli equation
A first-order linear equation once you divide by y^n and substitute.
Solve a homogeneous first-order equation
Use when: \dfrac{dy}{dx}=f(x,y), and dividing the numerator and denominator by the highest power of x present leaves an expression depending only on the ratio y/x
Goal: an implicit or explicit solution for y, converted back from the substituted variable v
Homogeneous first-order equations
Recognized by y'=F(y/x); solved with the substitution v=y/x, not to be confused with a homogeneous (RHS-zero) linear equation.
Build and solve a linear rate-in/rate-out model
Use when: a word problem describes a quantity y that increases by an incoming rate and decreases by a rate proportional to y itself — a tank, a circuit, an account balance
Goal: the standard-form linear equation for y, then y(t) itself via the integrating-factor method
Applications of the integrating-factor method
The tank/mixing word-problem version of the linear-equation recipe above.
Equilibria and bifurcation of an autonomous family
Find the bifurcation value of a one-parameter family
Use when: you have a family of autonomous equations \dfrac{dy}{dt}=f(y,c) depending on a parameter c, and want the exact value of c where the number of equilibria changes
Goal: the bifurcation value c^\star, plus what happens to the equilibria on each side of it
Bifurcation of a 1-D autonomous family
Extends the equilibria recipe above with the exact parameter value where two equilibria merge.
Numerical methods — reading accuracy and stability
Modeling with a first-order equation
Independence and the general solution of a 2nd-order linear equation
Find W(x) with Abel's formula
Use when: you know a linear homogeneous equation's coefficient p(x) and one value W(x_0), but not y_1,y_2 themselves
Goal: an explicit formula for W(x) on the whole interval, without ever finding y_1,y_2
Abel's formula
Gets W directly from the equation's own coefficient, without differentiating either solution.
Write and use the general solution of a linear homogeneous equation
Use when: you have two solutions y_1,y_2 of y''+p(x)y'+q(x)y=0 and need the complete solution set, possibly pinned down by initial conditions
Goal: the general solution y=C_1y_1+C_2y_2, and — if conditions are given — the one specific solution matching them
The general solution of a linear homogeneous equation
Needs a confirmed fundamental set from the Wronskian recipe above first.
Solving a homogeneous second-order linear equation
Solve a homogeneous second-order linear ODE
Use when: you have any equation of the form ay''+by'+cy=0 with constant coefficients a,b,c
Goal: the general, real-valued solution y(x), covering every possible characteristic-root outcome
Complex roots and Euler's formula
Covers distinct real, repeated, and complex root cases in one recipe.
Solving a Cauchy-Euler equation
Solve a Cauchy-Euler equation
Use when: you have ax^2y''+bxy'+cy=0 (x>0), and the characteristic equation's roots might be repeated or complex, not just distinct and real
Goal: the general, real-valued solution y(x), covering every possible root outcome
Cauchy-Euler with repeated and complex roots
Covers distinct real, repeated, and complex root cases in one recipe — the Cauchy-Euler analog of the constant-coefficient recipe above.
Mechanical and electrical vibrations
Apply Hooke's law to a spring problem
Use when: you're given two of the three quantities in F=-kx (the spring constant k, the displacement x, or the restoring force F) and asked for the third
Goal: the missing quantity in F=-kx, with its sign correctly read as a real physical direction
Mass-spring systems and Hooke's law
Sets up the equation of motion before any of the recipes below run.
Solve a mass-spring free-vibration IVP
Use when: you have mx''+cx'+kx=0 with initial conditions x(0)=x_0, x'(0)=v_0, covering every possible level of damping
Goal: x(t) for all three damping regimes, found by classifying the discriminant (or the damping ratio) first
Underdamping and the damping ratio
Covers overdamped, critically damped, and underdamped free vibration in one recipe chain.
Finding a particular solution for a nonhomogeneous equation
Find a particular solution with undetermined coefficients
Use when: you have a nonhomogeneous linear ODE ay''+by'+cy=g(x) where g(x) is a polynomial, exponential, sine/cosine, or a sum/product of these
Goal: a particular solution y_p to add to the homogeneous solution y_h
The method of undetermined coefficients · extended later in this course
Use when g(x) is a polynomial, exponential, or sine/cosine.
Find a particular solution with undetermined coefficients
Use when: you have a nonhomogeneous linear ODE ay''+by'+cy=g(x), including the case where the naive trial function duplicates a term already in y_c
Goal: a particular solution y_p that actually works, even when the naive guess collides with the homogeneous solution
The resonance modification rule
The same method, extended for when the naive guess collides with the homogeneous solution.
Apply variation of parameters to a nonhomogeneous equation
Use when: your forcing term g(x) doesn't fit undetermined coefficients' polynomial, exponential, or sine-cosine trial forms, or you just need a method that works for any g(x)
Goal: a particular solution y_p=u_1y_1+u_2y_2, built entirely from the homogeneous fundamental set and two integrals
Deriving the variation-of-parameters formula
Use when g(x) doesn't fit undetermined coefficients' guessable forms.
Find the amplitude of a driven system's steady-state response
Use when: you have a forced equation mx''+cx'+kx=F_0\cos(\omega t) and need the size of the steady-state oscillation at one specific driving frequency \omega
Goal: the number X(\omega), the steady-state amplitude at that driving frequency, plus whether it sits near the resonance peak
Amplitude response and resonance
A downstream question about a sinusoidally-driven system's steady-state size, not an alternate way to find the particular solution.
Write the beat solution for an undamped near-resonant drive
Use when: you have an undamped forced equation x''+\omega_0^2x=F_0\cos(\omega t) with rest initial conditions and a driving frequency \omega close to, but not equal to, the natural frequency \omega_0
Goal: the full solution x(t) written in envelope form, with the slow envelope frequency and fast carrier frequency identified separately
Beats
The undamped, near-(but not exactly)-resonant special case of the amplitude-response question above.
Higher-order linear equations
Apply variation of parameters to a higher-order equation
Use when: you have a nonhomogeneous linear equation of order 3 or higher, already in standard form, with a known fundamental set y_1,\ldots,y_n for the homogeneous equation
Goal: a particular solution y_p=u_1y_1+\cdots+u_ny_n, found by solving one n\times n linear system and integrating
Variation of parameters at higher order
The same formula as the 2nd-order version, generalized to a bigger linear system for the unknown functions.
The Laplace transform
Solve an IVP with impulse forcing for Y(s)
Use when: the forcing term g(t) in ay''+by'+cy=g(t) contains a Dirac delta \delta(t-t_0), alone or added to other forcing
Goal: the algebraic equation solved for Y(s), with every delta term correctly transformed, ready for whichever inversion technique fits its shape
The Dirac delta and impulse forcing
Sets up Y(s) from a \delta-function forcing term; inverting back to y(t) uses the transform table, not this recipe.