Skip to main content
\(\require{cancel}\newcommand{\domain}[1]{\operatorname{Dom}(#1)} \newcommand{\range}[1]{\operatorname{Range}(#1)} \newcommand{\linearspan}{\operatorname{span}} \newcommand{\abs}[1]{\lvert #1 \rvert} \newcommand{\set}[2]{\left\{ #1 \: \middle\vert \: #2 \right\}} \renewcommand{\vec}[1]{\mathbf{#1}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\R}{\mathbb{R}} \DeclareMathOperator{\Lapl}{\mathcal{L}} \newcommand{\La}[1]{\Lapl \left\{ #1 \right\}} \newcommand{\invLa}[1]{\Lapl^{-1}\left\{ #1 \right\}} \newcommand{\intbyparts}[4]{\begin{tabular}{|rl|rl|}\hline $u$ \amp $#1$ \amp $dv$ \amp $#2$ \\ \hline $du$ \amp $#3$ \amp $v$ \amp $#4$ \\ \hline \end{tabular}} \newcommand{\identity}{\mathrm{id}} \newcommand{\notdivide}{{\not{\mid}}} \newcommand{\notsubset}{\not\subset} \newcommand{\swap}{\mathrm{swap}} \newcommand{\Null}{\operatorname{Null}} \newcommand{\half}{\text{ \nicefrac{1}{2}}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section6.3Nonhomogenous Equations with Constant Coefficients

Before we explain the method of undetermined coefficients we need to make a simple observation about nonhomogeneous or driven equations such as \begin{equation*} y'' + ay' + by = f(x). \end{equation*}

Solving such equations where the right hand side is nonzero will require us to actully find two different solutions \(y_p\) and \(y_h\text{.}\) The \(p\) stands for particular and the \(h\) stands for homogeneous. The following theorem explains why.

Proof

The theorem says that solving nonhomogeneous linear equations is a three step process:

  1. Find a solution, \(y_h\text{,}\) to the associated homogeneous equation.

  2. Find any particular solution, \(y_p\text{,}\) which satisfies the original nonhomogeneous equation.

  3. Form the general solution.

\begin{equation} y = y_h + y_p. \label{eqn-general-solution-linear-driven}\tag{6.3.4} \end{equation}

If \(y_p\) is a solution to the original nonhomogeneous equation, why doesn't that suffice for the general solution? The reason that the particular solution alone is insufficient is because \(y_p\) is exactly one function, but a general solution must be an infinite family of solutions. In chapter one we solved first order differential equations by integration and in so doing introduced a constant of integration to the general solution. If we were given a specific point (initial condition) which the desired solution had to pass through, then that allowed us to determine a particular value for the constant of integration, and we called this a particular solution. In other words, each constant of integration introduces a degree of freedom into the solution set. Second order equations involve two derivatives and thus require two integrations to solve and hence introduce two constants of integration which we usually call \(c_1\) and \(c_2\text{.}\) A second order initial value problem (IVP) will require two initial values or conditions, e.g. \begin{equation*} y(a) = b_0, \qquad y'(a) = b_1. \end{equation*} An \(n\)th order differential equation requires \(n\) integrations and hence will introduce \(n\) constants of integration or degrees of freedom, which we label: \(c_1, c_2, \ldots, c_n\text{.}\) These constants afford us enough degrees of freedom to uniquely satisfy all \(n\) initial conditions: \begin{equation*} y(a) = b_0, \:\: y'(a) = b_1,\:\: y''(a) = b_2, \ldots ,\:\: y^{(n-1)} = b_{n-1}. \end{equation*}

SubsectionMethod of Undetermined Coefficients

Place holder text.

SubsectionExercises

In exercises 1 through 5 find a particular solution, \(y_p\) of the given equation.

1

\(y'' + 16y = e^{3x}\)

Answer
2

\(y'' - y' - 6y = 2\sin 3x\)

Answer
3

\(y'' + 9y = 2\cos 3x + 3\sin 3x\)

Answer
4

\(y^{(3)} + 4y' = 3x - 1\)

Answer
5

\(y^{(4)} - 5y'' + 4y = e^x - xe^{2x}\)

Answer

In exercises 6 through 9, set up the appropriate particular solution but do not determine the values of the coefficients.

6

\(y^{(5)} - y^{(3)} = e^x + 2x^2 - 5\)

Answer
7

\(y'' + 4y = 3x \cos 2x\)

Answer
8

\(y^{(4)} + 9y'' = (x^2 + 1) \sin 3x\)

Answer
9

\((D-1)^3(D^2 - 4)y = xe^x + e^{2x} + e^{-2x}\)

Answer
10

Solve the initial value problem, \begin{equation*} y'' + 9y = \sin 2x \quad y(0)=1, y'(0)=0 \end{equation*}

Answer
11

Solve the initial value problem, \begin{equation*} y^{(3)} - 2y'' + y' = 1 + xe^x \quad y(0)=y'(0)=0, y''(0)=1 \end{equation*}

Answer