STEMviz
Mathematics · Differential Equations and Complex Analysis

Undetermined Coefficients and Variation of Parameters

Chapter 4 solved the homogeneous constant-coefficient equation any(n)+⋯+a0y=0a_ny^{(n)}+\cdots+a_0y=0. This chapter supplies the other half: solving the non-homogeneous equation any(n)+⋯+a0y=g(x)a_ny^{(n)}+\cdots+a_0y=g(x) for g(x)≢0g(x)\not\equiv0. The structural theorem is simple and powerful — the general solution is the Chapter 4 "complementary" solution plus just one particular solution of the full equation — and the chapter gives two complementary methods for finding that particular solution: undetermined coefficients, fast but restricted to a short list of forcing functions, and variation of parameters, slower but fully general.

Have to hand: Chapter 4's characteristic-equation method in full (you will use it on every problem here to find ycy_c first), and definite integration.

1. The Structure Theorem

Theorem. Let ypy_p be any one particular solution of L[y]=g(x)L[y]=g(x) (where L[y]=any(n)+⋯+a0yL[y]=a_ny^{(n)}+\cdots+a_0y), and let yc=c1y1+⋯+cnyny_c=c_1y_1+\cdots+c_ny_n be the general solution of the associated homogeneous equation L[y]=0L[y]=0. Then the general solution of L[y]=g(x)L[y]=g(x) is

y=yc+yp.y = y_c + y_p.

Proof. If yy is any solution of L[y]=gL[y]=g, then L[y−yp]=L[y]−L[yp]=g−g=0L[y-y_p]=L[y]-L[y_p]=g-g=0 by linearity of LL, so y−ypy-y_p is some solution of the homogeneous equation, i.e. y−yp=ycy-y_p=y_c for an appropriate choice of the constants cic_i in ycy_c. Hence y=yc+ypy=y_c+y_p. Conversely, for any choice of constants, L[yc+yp]=L[yc]+L[yp]=0+g=gL[y_c+y_p]=L[y_c]+L[y_p]=0+g=g, so every such sum is indeed a solution. ■\blacksquare

This reduces the whole chapter to one task: find any single function ypy_p with L[yp]=g(x)L[y_p]=g(x) — it need not satisfy any initial condition, since the arbitrary constants in ycy_c remain free to absorb those afterward.

Keep reading: Undetermined Coefficients and Variation of Parameters

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.