In this section, we focus on selecting a form for \(y_p\text{.}\) The key idea is to match the structural form of the forcing function \(f(x)\text{,}\) so that when it is substituted into the differential equation, all the resulting terms simplify to \(f(x)\text{.}\)
The first step in choosing \(y_p\) is recognizing the structure of \(f(x)\text{.}\) Since \(y_p\) and its derivatives must eventually simplify to match \(f(x)\text{,}\)\(y_p\) should have a similar form. If \(f(x)\) is a polynomial, exponential, sine, or cosine function, then \(y_p\) should be too.
TableΒ 151 provides a guide for selecting an initial form of \(y_p\) based on the type of \(f(x)\text{.}\) In each case, \(A, B, C, \dots\) represent the undetermined coefficients weβll solve for later.
Table151.\(y_p\) forms based on \(f(x)\text{,}\) where \(a, b, c, d, \alpha, \beta\) are known constants. \(A, B, C, D\) must be determined. Degree 4+ polynomials follow a similar pattern.
One important note: even if a term is missing in \(f(x)\text{,}\) you should still include it in \(y_p\) if itβs part of the general form. For example:
If \(f(x) = \cos(3x)\text{,}\) then \(y_p = A\cos(3x) + B\sin(3x)\text{.}\) Even though \(\sin(3x)\) isnβt in \(f(x)\text{,}\) itβs needed because its derivative produces cosine terms.
SubsectionWhen Guessing \(y_p\) Works (and When It Doesnβt)
This method of guessing the particular solution based on the forcing function is very effective. However, it does have its limitations. In particular, it only applies when \(f(x)\) can be written as a sum or product of:
Functions such as \(\ln x\text{,}\)\(\tan x\text{,}\) or \(1/x\) fall outside this category. For those, weβll need a different method entirely. For the allowed types, this method provides a fast and reliable way to select \(y_p\text{.}\)
If \(f(x)\) is a sum of different function types, say a polynomial plus an exponential, then \(y_p\) should be a sum of the corresponding matching forms.
SubsectionCombining Basic Forms via Multiplication
If the forcing function \(f(x)\) is a product of basic function typesβsuch as a polynomial times an exponentialβthen the particular solution \(y_p\) must also be a product of their matching forms. For example, the differential equation
Weβll use this simplification trick often. It keeps the form of \(y_p\) clean and will make solving for \(A\text{,}\)\(B\text{,}\) and \(C\) much easier later.
Correct! The forcing function is the product of a 2nd degree polynomial and an exponential function, so the particular solution should be the product the most general 2nd degree polynomial and an exponential function.
\(\ds\quad y_p = Ax^2e^{x}\)
Incorrect. Although this form perfectly matches the form of the forcing function, the solution could potentially include \(x\) and free terms.
\(\ds\quad y_p = (x^2 + Ax + B)e^x\)
Incorrect. The \(x^2\) term also needs a coefficient.
\(\ds\quad y_p = (Ax^2 + Bx + C)(De^{x})\)
Incorrect. The extra coefficient \(D\) is unnecessary, as it can be absorbed into the constants \(A, B,\) and \(C\text{.}\)
π Example158.Initial form of \(y_p\) - Products of Forms.
For each of the following forcing functions, select an appropriate initial form of \(y_p\text{.}\) Simplify by combining or eliminating any redundant constants.
With these examples and the table as a guide, youβre now equipped to handle both additive and multiplicative combinations in \(f(x)\text{.}\) Next, weβll deal with one last wrinkle: what to do if \(y_p\) accidentally overlaps with the homogeneous solution \(y_h\text{.}\)
We now know how to choose a form for \(y_p\) based on the structure of \(f(x)\text{,}\) but thereβs one final complication: If a term in \(y_p\) matches a term in the homogeneous solution \(y_h\text{,}\) then that term cannot contribute to generating \(f(x)\text{.}\) Instead, it will give zero, since that is what terms in \(y_h\) do when substituted into the differential equation.
To fix this, we multiply the overlapping part of \(y_p\) by \(x\text{.}\) If thereβs still overlap, we multiply by \(x\) againβrepeating until \(y_p\) shares no like terms with \(y_h\text{.}\)
Notice that \(y_h\) and \(y_p\) both contain the like terms: \(c_2 e^{3x}\) and \(A e^{3x}\text{.}\) This means that plugging \(y_p\) into the left side of the equation will simplify to \(0\text{,}\) not \(e^{3x}\text{,}\) as required.
If any term in your guess for \(y_p\) also appears in \(y_h\text{,}\) multiply that term by the independent variable \(x\text{.}\) Repeat as needed until all overlapping terms are eliminated.
\begin{align*}
y_p \amp = \ob{A \cos(2x) + B \sin(2x)}^{\large\text{already in } y_h}\\
\amp \hphantom{=\ A \cos(2x)} + D \cos(x) + E \sin(x)\text{.}
\end{align*}
Multiplying out \(y_h\) and \(y_p\) helps show that \(e^{3x}\) and \(x e^{3x}\) are conflicting terms. Multiplying all terms by \(x^2\) gives the correct form:
Now that we know how to construct an appropriate and independent form for \(y_p\text{,}\) the last step is to determine the values of the unknown coefficients.
Given that the homogeneous solution is \(y_h = c_1 e^x + c_2 e^{3x}\text{,}\) select the form of the particular solution after any necessary modifications.
Which statement best describes the next action you should take when the particular solution, \(y_p\text{,}\) has a like-term with the homogeneous solution, \(y_h\text{?}\)