A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Method of Undetermined Coefficients

College Depth 96 in the knowledge graph ☐ I know this ☆ Set as goal
4,793topics build on this
441prerequisites beneath it
See this on the map →
Characteristic Equation Method for Linear ODEsSecond-Order Linear Homogeneous Differential Equations+2 more→→Higher-Order Linear Differential EquationsResonance and Damping in Forced Vibrations
particular-solution undetermined-coefficients non-homogeneous

Core Idea

To solve y'' + py' + qy = f(x), find the homogeneous solution y_h, then guess the form of a particular solution y_p based on f(x). For f polynomial, exponential, sine, or cosine, use corresponding y_p forms with unknown coefficients. Substitute into the equation and solve for these coefficients. The general solution is y = y_h + y_p. This method is efficient when applicable.

Explainer

You've already solved y″ + py′ + qy = 0 using the characteristic equation. The roots r₁, r₂ give the homogeneous solution y_h — for real distinct roots, y_h = C₁er₁x + C₂er₂x. Now add a forcing function f(x) on the right side. The equation is no longer asking "what decays to zero?" but "what produces exactly f(x) when differentiated and combined?" You need a particular solution y_p that satisfies the full equation, then combine: the general solution is y = y_h + y_p.

The insight behind undetermined coefficients is that differentiation preserves certain functional forms. Derivatives of polynomials are polynomials; derivatives of eαx are multiples of eαx; derivatives of sin(βx) and cos(βx) cycle back to sines and cosines. So if f(x) is built from these forms, a y_p of the same form has a chance of working. The strategy: guess the form of y_p, substitute into the ODE, and solve for the unknown coefficients by matching both sides.

The guessing rules: if f(x) = xⁿ (polynomial of degree n), try y_p = Aₙxⁿ + ··· + A₁x + A₀ (a full polynomial of degree n). If f(x) = eαx, try y_p = Aeαx. If f(x) = sin(βx) or cos(βx), always try y_p = A cos(βx) + B sin(βx) together — even if only sine or cosine appears in f, both terms are needed because differentiating introduces the other. Products combine: f(x) = x²e3x calls for y_p = (Ax² + Bx + C)e3x.

The critical exception is the modification rule (also called the resonance case). If your initial guess for y_p would duplicate a term already present in y_h, that guess will produce zero when substituted into the left side of the homogeneous part and can never match f(x). The fix: multiply the guess by x. If the duplication persists, multiply by x². For example, if y_h includes e2x and f(x) = e2x, the usual guess Ae2x fails — use Axe2x instead. This modification is analogous to the repeated-root adjustment in the characteristic equation method, and understanding why it's needed connects the algebra directly to the structure of the solution space.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Fundamental Theorem of Calculus Part 1 → Fundamental Theorem of Calculus Part 2 → U-Substitution → Separable Equations (Intro) → Separable Differential Equations → Integrating Factor Method for First-Order Linear ODEs → First-Order Linear Ordinary Differential Equations → Second-Order Linear Homogeneous Differential Equations → Characteristic Equation Method for Linear ODEs → Repeated Roots and Reduction of Order → Wronskian and Linear Independence → Method of Undetermined Coefficients

Longest path: 97 steps · 441 total prerequisite topics

Prerequisites (4)

Leads To (2)