Skip to main content
Logo image

Section 7.4 Adjusting Particular Solutions

As discussed in the previous sections, the general solution to a linear nonhomogeneous constant coefficient (LNCC) equation is the sum of the homogeneous solution, \(y_h\text{,}\) and the particular solution, \(y_p\text{.}\) This relationship is expressed as:
\begin{equation*} y = y_h + y_p\text{.} \end{equation*}
However, it is possible for the particular solution to contain terms that overlap with those in the homogeneous solution. When this occurs, parts of the particular solution can be absorbed into the homogeneous solution, leading to a solution that does not accurately match the nonhomogeneous term on the right-hand side of the equation. This section highlights this issue and provides a strategy to resolve it.
To illustrate this, consider the LNCC equation:
\begin{equation*} y'' - 4y' + 3y = e^{3x}\text{.} \end{equation*}
Here, the homogeneous and particular solutions are:
\begin{equation*} y_h = c_1 e^{x} + c_2 e^{3x}, \qquad y_p = A e^{3x}\text{.} \end{equation*}
The problem arises when you observe that \(Ae^{3x}\) in \(y_p\) is similar to \(c_2 e^{3x}\) in \(y_h\text{,}\) causing the general solution to become:
\begin{equation*} y = y_h + y_p = c_1 e^{x} + c_2 e^{3x} + A e^{3x} = c_1 e^{x} + (c_2 + A) e^{3x}. \end{equation*}
As a result, the particular solution effectively vanishes into the homogeneous solution, leading to a solution that fails to reflect the nonhomogeneous term \(e^{3x}\text{.}\)
To address this, we adjust the form of \(y_p\) by multiplying it by \(x\) until there are no overlapping terms between \(y_h\) and \(y_p\text{.}\) In this example, multiplying \(y_p\) by \(x\) once is sufficient to make it independent of \(y_h\text{.}\) The adjusted form of \(y_p\) is:
\begin{equation*} y_p = A x e^{3x}. \end{equation*}
Let’s explore this adjustment process through a few examples.

Example 21.

\(\ \ \)\(y_p\text{,}\)
  1. \(\ds y'' - 2y' + y = e^x \text{.}\)
    Solution.
    First, determine \(y_h\) by solving the characteristic equation:
    \begin{equation*} r^2 - 2r + 1 = 0\text{,} \end{equation*}
    which yields a repeated root \(r_1 = 1\text{,}\) giving the homogeneous solution:
    \begin{equation*} y_h = c_1 e^x + c_2 x e^x\text{.} \end{equation*}
    Since the nonhomogeneous term is \(e^x\text{,}\) the initial guess for the particular solution is:
    \begin{equation*} y_p = A e^x\text{.} \end{equation*}
    However, this form overlaps with \(c_1 e^x\) in \(y_h\text{.}\) To resolve this, multiply \(y_p\) by \(x\text{:}\)
    \begin{equation*} y_p = A x e^x\text{,} \end{equation*}
    which now overlaps with \(c_2 x e^x\text{.}\) Multiplying by \(x\) again gives:
    \begin{equation*} y_p = A x^2 e^x\text{,} \end{equation*}
    which has no terms in common with \(y_h\text{.}\) This is the correct form to use for \(y_p\text{.}\)
  2. \(\ds y''' + 4y' = \cos(2x) - \sin(x) \text{.}\)
    Solution.
    First, solve the characteristic equation:
    \begin{equation*} r^3 + 4r = 0\text{,} \end{equation*}
    which yields the roots \(r_1 = 0\text{,}\) \(r_2 = 2i\text{,}\) and \(r_3 = -2i\text{.}\) This results in the homogeneous solution:
    \begin{equation*} y_h = c_1 + c_2 \cos(2x) + c_3 \sin(2x)\text{.} \end{equation*}
    For the nonhomogeneous term \(\cos(2x) - \sin(x)\text{,}\) the initial guess for \(y_p\) is:
    \begin{equation*} y_p = \ub{A \cos(2x) + B \sin(2x)}_{\text{common terms with } y_h} + \ub{D \cos(x) + E \sin(x)}_{\text{NO common terms with } y_h}\text{.} \end{equation*}
    Since \(A \cos(2x)\) and \(B \sin(2x)\) overlap with terms in \(y_h\text{,}\) multiply these terms by \(x\text{:}\)
    \begin{equation*} y_p = \ub{Ax \cos(2x) + B x \sin(2x)}_{\text{now independent}} + \ub{D \cos(x) + E \sin(x)}_{\text{already independent}}\text{.} \end{equation*}
    The terms in \(y_h\) and \(y_p\) are now independent, making this the correct form for \(y_p\text{.}\)
  3. \(\ds y'' + y = x e^x \text{.}\)
    Solution.
    Begin by solving the characteristic equation:
    \begin{equation*} r^2 + 1 = 0\text{,} \end{equation*}
    which yields the roots \(r_1 = i\) and \(r_2 = -i\text{,}\) leading to the homogeneous solution:
    \begin{equation*} y_h = c_1 \cos(x) + c_2 \sin(x)\text{.} \end{equation*}
    Since the nonhomogeneous term is \(x e^x\text{,}\) the initial guess for \(y_p\) is:
    \begin{equation*} y_p = (Ax + B) e^x \text{.} \end{equation*}
    This form is not present in \(y_h\text{,}\) so no further adjustment is needed. To determine the coefficients \(A\) and \(B\text{,}\) substitute \(y_p\) back into the differential equation and solve for these values.
  4. \(\ds y'' - 6y' + 9y = x^2 e^{3x} \text{.}\)
    Solution.
    First, determine \(y_h\) by solving the characteristic equation:
    \begin{equation*} r^2 - 6r + 9 = 0\text{,} \end{equation*}
    which yields a repeated root \(r = 3\text{,}\) giving the homogeneous solution:
    \begin{equation*} y_h = (c_1 + c_2 x) e^{3x}\text{.} \end{equation*}
    Since the nonhomogeneous term is \(x^2 e^{3x}\text{,}\) the initial guess for the particular solution is:
    \begin{equation*} y_p = (Ax^2 + Bx + C) e^{3x}\text{.} \end{equation*}
    However, notice that \(e^{3x}\) and \(x e^{3x}\) are already present in \(y_h\text{.}\) To avoid overlap, multiply \(y_p\) by \(x^2\text{,}\) giving:
    \begin{equation*} y_p = (Ax^4 + Bx^3 + Cx^2) e^{3x}\text{.} \end{equation*}
    This form is now independent of \(y_h\text{,}\) ensuring that there are no overlapping terms.
    To determine the coefficients \(A\text{,}\) \(B\text{,}\) and \(C\text{,}\) substitute \(y_p\) back into the original differential equation and solve for these values.
This adjustment process ensures that \(y_h\) and \(y_p\) are independent, allowing the general solution \(y = y_h + y_p\) to properly reflect the nonhomogeneous function on the right-hand side of the differential equation.

Reading Questions Check-Point Questions

1. Which of the following is the correct particular solution form for the differential equation \(y'' - 4y' + 3y = 9x \text{?}\)

    Which of the following is the correct particular solution form for the differential equation \(y'' - 4y' + 3y = 9x \text{?}\)
  • \(y_p = Ax + B \)
  • Correct! The right-hand side is linear, so the particular solution takes the form \(Ax + B \text{.}\)
  • \(y_p = Ae^x \)
  • Incorrect. The right-hand side of the equation is a polynomial, not exponential.
  • \(y_p = A \cos x + B \sin x \)
  • Incorrect. This form would be used if the non-homogeneous term were trigonometric.
  • \(y_p = Ae^{3x} \)
  • Incorrect. This form would be used if the right-hand side was exponential.

2. What should be done when the particular part, \(y_p\text{,}\) overlaps with the homogeneous part, \(y_h\text{,}\) of a solution to an LNCC equation?

    What should be done when the particular part, \(y_p\text{,}\) overlaps with the homogeneous part, \(y_h\text{,}\) of a solution to an LNCC equation?
  • The particular solution, \(y_p\text{,}\) should be left as is.
  • Incorrect. The \(y_p\) cannot have terms in common with \(y_h\text{.}\)
  • The overlapping terms in \(y_h\) should be removed.
  • Incorrect. No terms in \(y_h\) should ever be removed.
  • The particular solution needs to be multiplied by \(x\) until there are no terms in common with \(y_h\text{.}\)
  • Correct!
  • \(y_h\) should be multiplied by \(x\) to match the particular solution.
  • Incorrect. The particular solution should be adjusted, not the homogeneous solution.

3. What is the adjusted form of \(y_p\) for the LNCC equation
\begin{equation*} y'' - 4y' + 3y = e^{3x}\text{?} \end{equation*}

    What is the adjusted form of \(y_p\) for the LNCC equation
    \begin{equation*} y'' - 4y' + 3y = e^{3x}\text{?} \end{equation*}
  • \(y_p = A e^{3x}\)
  • Incorrect. The nonhomogeneous term is \(e^{3x}\text{,}\) so the initial guess for \(y_p\) should be \(A e^{3x}\text{.}\) However, this form overlaps with \(y_h\text{.}\) To resolve this, multiply \(y_p\) by \(x\) until there are no terms in common with \(y_h\text{.}\)
  • \(y_p = A x e^{3x}\)
  • Correct! The adjusted form of \(y_p\) is \(A x e^{3x}\text{.}\)
  • \(y_p = A x^2 e^{3x}\)
  • Incorrect.
  • \(y_p = A e^{x}\)
  • Incorrect.

4. If the nonhomogeneous term in an LNCC equation is \(x^2 e^{3x}\) and \(y_h = (c_1 + c_2 x) e^{3x}\text{,}\) what should be the adjusted form of \(y_p\text{?}\)

    If the nonhomogeneous term in an LNCC equation is \(x^2 e^{3x}\) and \(y_h = (c_1 + c_2 x) e^{3x}\text{,}\) what should be the adjusted form of \(y_p\text{?}\)
  • \(y_p = A x^2 e^{3x}\)
  • Incorrect. The form of \(y_p\) should be adjusted until there are no terms in common with \(y_h\text{.}\)
  • \(y_p = (A x^4 + B x^3 + C x^2) e^{3x}\)
  • Correct! The adjusted form of \(y_p\) is \((A x^4 + B x^3 + C x^2) e^{3x}\text{.}\)
  • \(y_p = (A x^3 + B x^2) e^{3x}\)
  • Incorrect. The form of \(y_p\) should be adjusted until there are no terms in common with \(y_h\text{.}\)
  • \(y_p = (A x^2 + B x) e^{3x}\)
  • Incorrect. The form of \(y_p\) should be adjusted until there are no terms in common with \(y_h\text{.}\)

5. Why is it necessary to multiply the initial form of \(y_p\) by \(x\) in some cases?

    Why is it necessary to multiply the initial form of \(y_p\) by \(x\) in some cases?
  • To ensure that \(y_p\) does not share terms with \(y_h\text{,}\) making them independent.
  • Correct! Multiplying by \(x\) ensures that \(y_p\) and \(y_h\) have no terms in common.
  • To make \(y_p\) smaller than \(y_h\text{.}\)
  • Incorrect. The size of \(y_p\) is not the issue.
  • To change the characteristic equation.
  • Incorrect. Multiplying by \(x\) does not affect the characteristic equation.
  • To remove the nonhomogeneous term from the equation.
  • Incorrect. The nonhomogeneous term should remain in the equation.
You have attempted of activities on this page.