upgrade
upgrade

Linear Algebra and Differential Equations

Differential Equation Types

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Differential equations are the language of change—they describe everything from how populations grow to how bridges vibrate to how heat spreads through a metal rod. In your Linear Algebra and Differential Equations course, you're being tested on your ability to classify equations correctly and select appropriate solution methods. The connection to linear algebra runs deep: matrix methods, eigenvalues, superposition, and vector spaces all emerge naturally when solving these equations.

Don't just memorize definitions—understand why each classification matters. The type of equation determines which tools you'll reach for: separation of variables, integrating factors, characteristic equations, or matrix exponentials. When you see a differential equation on an exam, your first job is always identification. Get that right, and the solution method follows naturally.


Classification by Number of Variables

The most fundamental distinction in differential equations is whether your unknown function depends on one variable or many. This determines whether you're working with ordinary or partial derivatives—and completely changes your solution toolkit.

Ordinary Differential Equations (ODEs)

  • Single independent variable—the unknown function y(x)y(x) or x(t)x(t) depends on just one variable, making derivatives unambiguous
  • Foundation of this course—ODEs connect directly to linear algebra through matrix methods for systems and eigenvalue problems
  • Explicit vs. implicit solutions—you may find y=f(x)y = f(x) directly or a relationship F(x,y)=CF(x, y) = C that defines the solution implicitly

Partial Differential Equations (PDEs)

  • Multiple independent variables—functions like u(x,y,t)u(x, y, t) require partial derivatives ux\frac{\partial u}{\partial x}, ut\frac{\partial u}{\partial t}
  • Beyond this course's scope—PDEs govern heat transfer, wave propagation, and quantum mechanics, but require more advanced techniques
  • Separation of variables bridges both worlds—the technique you learn for ODEs extends to solving PDEs by reducing them to systems of ODEs

Compare: ODEs vs. PDEs—both describe rates of change, but ODEs have one independent variable while PDEs have multiple. If an exam asks you to classify an equation, count the independent variables first.


Classification by Order

The order of a differential equation is the highest derivative that appears. This tells you how many initial conditions you'll need and which solution methods apply.

First-Order Differential Equations

  • Only dydx\frac{dy}{dx} appears—no second derivatives or higher, making these the simplest to solve
  • Multiple solution techniques available—separation of variables, integrating factors, and exact equation methods all apply here
  • Model rates of change directly—population growth (dPdt=kP\frac{dP}{dt} = kP), radioactive decay, and Newton's law of cooling are classic applications

Second-Order Differential Equations

  • Involves d2ydx2\frac{d^2y}{dx^2}—requires two initial conditions (position and velocity, for instance) to determine a unique solution
  • Characteristic equations connect to linear algebra—solving ay+by+cy=0ay'' + by' + cy = 0 reduces to finding roots of ar2+br+c=0ar^2 + br + c = 0
  • Physical systems love second order—mass-spring systems (mx¨+cx˙+kx=Fm\ddot{x} + c\dot{x} + kx = F) and RLC circuits naturally produce these equations

Compare: First-order vs. second-order—first-order needs one initial condition and models simple growth/decay; second-order needs two initial conditions and models oscillatory systems. FRQs often ask you to set up the appropriate order based on a physical scenario.


Classification by Linearity

Whether an equation is linear or nonlinear determines whether the powerful tools of linear algebra apply. Linear equations allow superposition—you can add solutions together to get new solutions.

Linear Differential Equations

  • Dependent variable and derivatives appear to the first power only—no y2y^2, no sin(y)\sin(y), no (y)2(y')^2
  • Superposition principle applies—if y1y_1 and y2y_2 are solutions to the homogeneous equation, so is c1y1+c2y2c_1y_1 + c_2y_2
  • Standard methods always work—undetermined coefficients, variation of parameters, and matrix exponentials provide systematic solution approaches

Nonlinear Differential Equations

  • Dependent variable or derivatives appear nonlinearly—terms like y2y^2, yyyy', or sin(y)\sin(y) break linearity
  • No general solution methods exist—each equation requires individual analysis; closed-form solutions are rare
  • Chaos and complexity emerge here—the Lorenz system and logistic equation with harvesting exhibit sensitive dependence on initial conditions

Compare: Linear vs. nonlinear—linear equations have systematic solution methods and allow superposition; nonlinear equations often require numerical methods or qualitative analysis. Always check linearity before choosing a solution technique.


Homogeneous vs. Inhomogeneous

This classification asks: is there an external forcing function, or is the system evolving on its own? The answer determines the structure of your general solution.

Homogeneous Differential Equations

  • No forcing function—the equation equals zero, like y+3y+2y=0y'' + 3y' + 2y = 0
  • Solutions form a vector space—the set of all solutions has the structure you studied in linear algebra (closure under addition and scalar multiplication)
  • Fundamental solution sets—for an nnth-order linear ODE, you need nn linearly independent solutions to span the solution space

Inhomogeneous Differential Equations

  • External forcing present—the equation equals some function g(x)g(x), like y+3y+2y=exy'' + 3y' + 2y = e^x
  • General solution = homogeneous + particular—find yhy_h (complementary solution) and ypy_p (particular solution), then add them
  • Two main methods—undetermined coefficients works when g(x)g(x) has a predictable form; variation of parameters handles any forcing function

Compare: Homogeneous vs. inhomogeneous—homogeneous solutions form the "natural response" of the system; inhomogeneous solutions add the "forced response." Exam problems often ask you to find both parts separately.


Special First-Order Types

First-order equations come in several recognizable forms. Identifying the type immediately tells you which solution method to apply.

Separable Differential Equations

  • Variables can be separated—rewrite as f(y)dy=g(x)dxf(y)\,dy = g(x)\,dx with all yy-terms on one side and all xx-terms on the other
  • Direct integration solves it—integrate both sides independently: f(y)dy=g(x)dx+C\int f(y)\,dy = \int g(x)\,dx + C
  • First technique to try—always check if an equation is separable before attempting more complex methods

Exact Differential Equations

  • Form: M(x,y)dx+N(x,y)dy=0M(x,y)\,dx + N(x,y)\,dy = 0—represents a total differential of some potential function ϕ(x,y)\phi(x,y)
  • Exactness test—verify that My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} (equality of mixed partials)
  • Solution is a level curve—find ϕ\phi such that ϕx=M\frac{\partial \phi}{\partial x} = M and ϕy=N\frac{\partial \phi}{\partial y} = N; the solution is ϕ(x,y)=C\phi(x,y) = C

Bernoulli Differential Equations

  • Form: y+P(x)y=Q(x)yny' + P(x)y = Q(x)y^n—looks nonlinear due to the yny^n term, but a clever substitution linearizes it
  • Substitution v=y1nv = y^{1-n}—transforms the equation into a standard linear first-order equation in vv
  • Special cases—when n=0n = 0 or n=1n = 1, the equation is already linear; the technique matters when n0,1n \neq 0, 1

Compare: Separable vs. exact vs. Bernoulli—separable equations split completely by variable; exact equations come from a potential function; Bernoulli equations require substitution to linearize. Check separability first, then exactness, then look for Bernoulli form.


Systems and Autonomy

When multiple quantities interact or when time doesn't appear explicitly, special structures emerge. These connect most directly to linear algebra through matrix methods.

Systems of Differential Equations

  • Multiple interrelated equations—like dxdt=ax+by\frac{dx}{dt} = ax + by and dydt=cx+dy\frac{dy}{dt} = cx + dy describing two interacting populations
  • Matrix formulation: x=Ax\mathbf{x}' = A\mathbf{x}—eigenvalues and eigenvectors of AA determine solution behavior completely
  • Solution via matrix exponential—the general solution is x(t)=eAtx0\mathbf{x}(t) = e^{At}\mathbf{x}_0, connecting differential equations to linear algebra's core concepts

Autonomous Differential Equations

  • Independent variable absent—the equation dydt=f(y)\frac{dy}{dt} = f(y) depends only on yy, not explicitly on tt
  • Phase line analysis—equilibrium points occur where f(y)=0f(y) = 0; stability depends on the sign of f(y)f'(y) at equilibria
  • Time-shift invariance—if y(t)y(t) is a solution, so is y(tt0)y(t - t_0) for any constant t0t_0

Compare: Systems vs. single equations—systems require matrix methods and eigenvalue analysis; single autonomous equations use phase line analysis. Both examine equilibria and stability, but systems reveal richer dynamics like spirals and saddle points.


Problem Types: IVPs and BVPs

Finally, we classify problems by what conditions are specified. This determines whether you're pinning down the solution at one point or at multiple points.

Initial Value Problems (IVPs)

  • Conditions specified at one point—given y(t0)=y0y(t_0) = y_0 and possibly y(t0)=v0y'(t_0) = v_0 at the same starting time
  • Existence and uniqueness theorems apply—under reasonable conditions, exactly one solution passes through the initial point
  • Forward evolution—you're finding how the system develops from a known starting state

Boundary Value Problems (BVPs)

  • Conditions specified at multiple points—like y(0)=ay(0) = a and y(L)=by(L) = b at the endpoints of an interval
  • Solutions may not exist or may not be unique—BVPs are fundamentally different from IVPs in this regard
  • Physical interpretation—often arise in spatial problems (temperature distribution in a rod, deflection of a beam) rather than time evolution

Compare: IVPs vs. BVPs—IVPs specify all conditions at one point and typically have unique solutions; BVPs specify conditions at different points and may have zero, one, or infinitely many solutions. Exam questions often test whether you recognize which type of problem you're solving.


Quick Reference Table

ConceptBest Examples
Single vs. multiple variablesODE, PDE
Order of equationFirst-order, Second-order
LinearityLinear, Nonlinear
Forcing function present?Homogeneous, Inhomogeneous
First-order solution methodsSeparable, Exact, Bernoulli
Matrix methods applySystems of DEs, Linear equations
Equilibrium analysisAutonomous equations
Condition specificationIVP, BVP

Self-Check Questions

  1. Given the equation y+4y=cos(2t)y'' + 4y = \cos(2t), classify it by order, linearity, and whether it's homogeneous or inhomogeneous. What solution method would you use?

  2. Which two equation types both involve the superposition principle, and why does this principle fail for nonlinear equations?

  3. Compare and contrast separable and exact differential equations: what must be true for each type, and which would you check for first when solving a first-order equation?

  4. A system of differential equations x=Ax\mathbf{x}' = A\mathbf{x} has eigenvalues λ1=2\lambda_1 = -2 and λ2=3\lambda_2 = 3. What does this tell you about the stability of the equilibrium at the origin?

  5. You're modeling the temperature distribution in a metal rod of length LL, with the temperatures fixed at both ends. Is this an IVP or BVP? How would this differ from modeling the cooling of a cup of coffee over time?