Skip to main content

Exercises 10.5 Exercises

πŸ’‘ Conceptual Quiz.

Answer the following questions to test your understanding of the method of undetermined coefficients.

πŸ“: Abbreviations.

1.

(a) Modifying the Initial Guess.

When solving \(y'' - 2y' + y = e^x\text{,}\) the initial guess \(Ae^x\) for \(y_p\) must be multiplied by \(x\) twice, becoming \(Ax^2 e^x\text{,}\) because of repeated overlap with the homogeneous solution \(y_h =\) .
  • \(c_1 e^x + c_2 x e^x\)
  • Correct! The characteristic equation \((r-1)^2 = 0\) has the double root \(r = 1\text{.}\) The guess \(Ae^x\) overlaps with \(c_1 e^x\text{,}\) so it becomes \(Axe^x\text{;}\) that overlaps with \(c_2 x e^x\text{,}\) so it becomes \(Ax^2 e^x\text{.}\)
  • \(c_1 e^x + c_2 e^{-x}\)
  • Incorrect. The characteristic equation is \((r-1)^2 = 0\text{,}\) so \(r = -1\) is not a root. With this \(y_h\text{,}\) the guess would need only one factor of \(x\text{.}\)
  • \(c_1 e^x + c_2 x^2 e^x\)
  • Incorrect. The double root \(r = 1\) gives \(e^x\) and \(xe^x\text{,}\) not \(x^2 e^x\text{.}\) If \(x^2 e^x\) were in \(y_h\text{,}\) the guess \(Ax^2 e^x\) would still overlap.
  • \(c_1 \cos(x) + c_2 \sin(x)\)
  • Incorrect. The roots of \((r-1)^2 = 0\) are real, so \(y_h\) has no sine or cosine terms.

(b) Purpose of the Method.

What is the main purpose of the Method of Undetermined Coefficients?
  • To solve the homogeneous solution \(y_h\) directly.
  • To determine the coefficients in the particular solution \(y_p\text{.}\)
  • To find the characteristic equation roots.
  • To verify initial conditions are satisfied.

(c) When It Works.

The Method of Undetermined Coefficients applies when the forcing function is:
  • A polynomial function.
  • An exponential function.
  • A sine or cosine function.
  • A logarithmic function.
  • A tangent or cotangent function.

(d) Choose \(y_p\).

Suppose
\begin{equation*} y'' - 4y' + 3y = 6e^x\text{.} \end{equation*}
Which of the following is the correct selection for \(y_p\text{?}\)
  • \(\ds\quad y_p = Ae^x\)
  • Incorrect. Remember to consider whether \(e^x\) overlaps with any terms in \(y_h\text{.}\)
  • \(\ds\quad y_p = Axe^x\)
  • Correct! Since \(e^x\) is a term in \(y_h\text{,}\) we need to multiply the particular solution by \(x\) to ensure independence.
  • \(\ds\quad y_p = Ax + B\)
  • Incorrect. This form is better suited to a polynomial right-hand side, such as \(f(x) = 6x\text{.}\)
  • \(\ds\quad y_p = A\)
  • Incorrect. A constant form of \(y_p\) would only be appropriate if \(f(x)\) were a constant.

(e) Selecting the particular form.

Select the initial form of the particular solution for an LNCC equation with forcing function:
\begin{equation*} f(x) = 5x^2 + 3x\text{.} \end{equation*}
  • \(\ds\quad y_p = Ax^2 + Bx + C\)
  • Correct! Since the forcing function is a 2nd degree polynomial, the particular solution should be the most general 2nd degree polynomial.
  • \(\ds\quad y_p = A e^{x} + B\)
  • Incorrect. The forcing function does not contain an exponential function, so neither should the particular solution.
  • \(\ds\quad y_p = A x^2 + B x\)
  • Incorrect. This form is missing a free term.
  • \(\ds\quad y_p = Ax^3 + Bx^2 + Cx + D\)
  • Incorrect. The initial form matches the degree of \(f(x)\text{,}\) so the \(x^3\) term does not belong. Higher powers of \(x\) enter \(y_p\) only through the modification step: if the form \(Ax^2 + Bx + C\) shares a term with \(y_h\text{,}\) the whole form is multiplied by \(x\text{,}\) and again if the new form still shares a term. Padding the guess with \(x^3\) does not always work: for \(y'' = 5x^2 + 3x\) no choice of \(A\text{,}\) \(B\text{,}\) \(C\text{,}\) \(D\) works, because the particular solution needs an \(x^4\) term.

(f) Select the correct form.

What is the most appropriate form for the particular solution to
\begin{equation*} y'' - 4y' + 3y = 9x + 6\text{?} \end{equation*}
  • \(\ds\quad Ax + B\)
  • Correct! The forcing function is a first-degree polynomial, so the particular solution should generalize this form as \(Ax + B\text{.}\)
  • \(\ds\quad Ae^{9x}\)
  • Incorrect. The forcing function is a polynomial, not an exponential function.
  • \(\ds\quad A\sin(9x)\)
  • Incorrect. The forcing function is a polynomial, not a trigonometric function.
  • \(\ds\quad A\)
  • Incorrect. The forcing function is not a constant.

(g) Classifying Practice.

Select each classification label that applies to the equation
\begin{equation*} y'' = y' + 6y\text{.} \end{equation*}
  • Linear
  • Correct, each of the terms are linear.
  • Homogeneous
  • Correct, the free term is zero.
  • Constant Coefficients
  • Correct, each coefficient is constant.
  • LHCC
  • Correct!

(h) Classifying Practice.

Select each classification label that applies to the equation
\begin{equation*} 3y''' + y'- \sin(y) = 0\text{.} \end{equation*}
  • Linear
  • Incorrect, \(\sin(y)\) is a nonlinear term.
  • Homogeneous
  • Technically, only linear equations can be labeled as homogeneous or not. Since the equation is nonlinear, we do not select it.
  • Constant Coefficients
  • Technically, only linear equations can be labeled as having constant coefficients or not. Since the equation is nonlinear, we do not select it.
  • LHCC
  • Incorrect.

(i) Classifying Practice.

Select each classification label that applies to the equation
\begin{equation*} y''- 6 = 0\text{.} \end{equation*}
  • Linear
  • Correct, both terms are linear.
  • Homogeneous
  • Incorrect, the free term, \(6\text{,}\) is non-zero.
  • Constant Coefficients
  • Correct, each coefficient is constant.
  • LHCC
  • Incorrect.

(j) Classifying Practice.

Select each classification label that applies to the equation
\begin{equation*} \frac{d^3y}{dt^3} + k\frac{dy}{dt} = ty, \qquad k \text{ is constant}\text{.} \end{equation*}
  • Linear
  • Correct, all terms are linear.
  • Homogeneous
  • Correct, the free term is zero.
  • Constant Coefficients
  • Incorrect, the \(y\) term coefficient, \(t\text{,}\) is not constant.
  • LHCC
  • Incorrect.

(k)

Suppose you knew that the final form of the particular solution of an LNCC equation was \(y_p = Axe^x\text{.}\) Using only this information, list out everything you can deduce about the differential equation.
Answer.
The starting form must have been \(Ae^x\text{,}\) so the forcing function is a nonzero multiple of \(e^x\text{:}\) \(f(x) = ke^x\) with \(k \neq 0\text{.}\) The form was multiplied by \(x\) exactly once, so \(e^x\) appears in \(y_h\) but \(xe^x\) does not. That means \(r = 1\) is a root of the characteristic equation with multiplicity exactly one. For a second-order equation, the other root \(r_2\) is real (complex roots come in conjugate pairs) and \(r_2 \neq 1\text{,}\) so the characteristic equation is \(a(r-1)(r-r_2) = 0\) and \(y_h = c_1 e^x + c_2 e^{r_2 x}\text{.}\) After dividing by the leading coefficient, the equation has the form \(y'' - (1+r_2)y' + r_2 y = ke^x\text{.}\)

(l)

When solving LNCC equations, why do we multiply a form in the guess for \(y_p\) by \(x\) when one of its terms also appears in the homogeneous solution \(y_h\text{?}\)
Answer.
Every term of \(y_h\) solves the homogeneous equation, so substituting it into the left-hand side gives \(0\text{.}\) A term of the guess that also appears in \(y_h\) therefore contributes nothing toward \(f(x)\text{,}\) and the coefficient equations have no solution. Multiplying every term of the form that contains the shared term by \(x\) (repeating if needed) produces terms that are not in \(y_h\text{.}\) Those terms survive substitution and can be matched to \(f(x)\text{.}\) Only that form is multiplied; the other forms in \(y_p\) are left alone. For example, for \(y'' - y = e^x + 1\) the guess \(Ae^x + B\) becomes \(Axe^x + B\text{,}\) not \(Axe^x + Bx\text{.}\)

(m)

In the general solution \(y = y_h + y_p\) of an LNCC equation, what roles do \(y_h\) and \(y_p\) play, and why must the guess for \(y_p\) share no terms with \(y_h\text{?}\)
Answer.
\(y_h\) is the general solution of the associated homogeneous equation (with \(f(x)\) replaced by \(0\)). It carries the arbitrary constants, which are later fixed by initial conditions, and it contributes \(0\) when substituted into the left-hand side. \(y_p\) is any one solution of the full equation; it is what produces the forcing function \(f(x)\text{.}\) A term of the guess that also appears in \(y_h\) is sent to \(0\) by the left-hand side, so its coefficient can never be matched to \(f(x)\text{.}\) That is why the guess is modified until it shares no terms with \(y_h\text{.}\) Once a particular solution is found, adding a multiple of a \(y_h\) term to it gives another particular solution, and the general solution stays the same.

(n)

Describe the difference between a homogeneous and a non-homogeneous differential equation.

πŸ‹οΈβ€β™‚οΈ Write Down the Form of \(y_p\).

For each forcing function \(g(t)\text{,}\) write down the correct form of the particular solution \(y_p\text{.}\) Don’t solve for coefficients, just show the form of \(y_p\text{.}\)

4.

\(g(t) = 10e^t - 5t e^{-8t} + 2 e^{-8t}\)
Answer.
Drop the redundant \(e^{-8t}\) guess that would duplicate another term. Final form: \(y_p = A e^{t} + (B t + C) e^{-8t}\)

5.

\(g(t) = t^2\cos t - 5t\sin t\)
Answer.
Only need the highest-degree polynomial guess: \(y_p = (A t^2 + B t + C)\cos t + (D t^2 + E t + F)\sin t\)

6.

\(g(t) = 16e^{7t}\sin(10t)\)
Answer.
Ignore the exponential, guess for \(\sin(10t)\text{,}\) then tack the exponential back on: \(y_p = e^{7t}\left(A \cos(10t) + B \sin(10t)\right)\)

7.

\(g(t) = (9t^2 - 103t)\cos t\)
Answer.
Product of a quadratic polynomial and cosine. Write separate polynomials for sine and cosine: \(y_p = (A t^2 + B t + C)\cos t + (D t^2 + E t + F)\sin t\)

8.

\(g(t) = - e^{-2t}(3 - 5t)\cos(9t)\)
Answer.
Exponential times linear polynomial times cosine. Separate terms for sine and cosine: \(y_p = e^{-2t}\left[(At + B)\cos(9t) + (Ct + D)\sin(9t)\right]\)

11.

\(g(t) = 5e^{-3t} + e^{-3t}\cos(6t) - \sin(6t)\)
Answer.
Distinct terms (plain exponential, exponential times trig, and plain trig): \(y_p = A e^{-3t} + e^{-3t}(B \cos(6t) + C \sin(6t)) + D \cos(6t) + E \sin(6t)\)

πŸ‹οΈβ€β™‚οΈ Find the Initial Form of \(y_p\).

For each differential equation below, determine the correct form of the particular solution \(y_p\text{.}\) Do NOT solve for coefficients like \(A, B, C\text{.}\)

19.

\(7y'' - y' + 2y = x^3 \sin(4x) + x^2 \sin(4x)\)
Answer.
\(y_p = (Ax^3 + Bx^2 + Cx + D)\cos(4x) + (Ex^3 + Fx^2 + Gx + H)\sin(4x) \)

πŸ‹οΈβ€β™‚οΈ Particular Solution.

In these exercises, go one step beyond identifying the form of \(y_p\) and actually solve for the coefficients and write down a particular solution.
Remember:
  • Find \(y_h\) first, to identify duplicates.
  • Guess \(y_p\) based on the forcing term.
  • Modify \(y_p\) if there’s overlap with \(y_h\text{.}\)
  • Plug into the DE, solve for the coefficients, and write the final \(y_p\text{.}\)

✍🏻 General Solutions - Method of Undetermined Coefficients.

Find the general solution to each differential equation using the five-step Method of Undetermined Coefficients:
  1. Find the homogeneous solution \(y_h\text{.}\)
  2. Guess a form for \(y_p\) based on the forcing function.
  3. Modify \(y_p\) if it overlaps with \(y_h\text{.}\)
  4. Substitute \(y_p\) into the DE and solve for coefficients.
  5. Write the general solution \(y = y_h + y_p\text{.}\)

26.

\(y'' - 4y' - 5y = t + 2e^{-t}\)
Answer.
\(y(t) = c_1 e^{5t} + c_2 e^{-t} - \frac{1}{5}t + \frac{4}{25} - \frac{1}{3} t e^{-t}\)

28.

\(y'' - 4y' + 4y = 8\cos x + 12 e^{2x}\)
Answer.
\(y(x) = c_1 e^{2x} + c_2 x e^{2x} + \frac{24}{25}\cos x - \frac{32}{25}\sin x + 6x^2 e^{2x}\)

29.

\(y'' - y' - 6y = 2t + 3e^{3t} - e^{-2t}\)
Answer.
\(y(t) = c_1 e^{3t} + c_2 e^{-2t} - \frac{1}{3}t + \frac{1}{18} + \frac{3}{5}t e^{3t} + \frac{1}{5} t e^{-2t}\)

31.

\(y'' - 3y' + y = 2x^2 + 3x\)
Answer.
\(y(x) = c_1 e^{\frac{3+\sqrt{5}}{2} x} + c_2 e^{\frac{3-\sqrt{5}}{2} x} + 2x^2 + 15x + 41\)

34.

\(y'' + 3y' - 28y = 7t + e^{4t} - 1\)
Answer.
\(y(t) = c_1 e^{-7t} + c_2 e^{4t} - \frac{1}{4}t + \frac{1}{112} + \frac{1}{11} t e^{4t}\)

35.

\(y'' - 100y = 9 t^2 e^{10t} + \cos t - t \sin t\)
Answer.
\(y(t) = c_1 e^{10t} + c_2 e^{-10t} + \left(\frac{3}{20} t^3 - \frac{9}{400} t^2 + \frac{9}{4000} t\right) e^{10t} - \frac{99}{10201} \cos t + \frac{1}{101} t \sin t\)

36.

\(4y'' + y = e^{-2t} \sin \left( \frac{t}{2} \right) + 6 t \cos \left( \frac{t}{2} \right)\)
Answer.
\(y(t) = c_1 \cos \frac{t}{2} + c_2 \sin \frac{t}{2} + \left(\frac{1}{40} \cos \frac{t}{2} + \frac{1}{20} \sin \frac{t}{2}\right) e^{-2t} + \frac{3}{2} t \cos \frac{t}{2} + \frac{3}{4} t^2 \sin \frac{t}{2}\)

37.

\(4y'' + 16y' + 17y = e^{-2t} \sin \left( \frac{t}{2} \right) + 6 t \cos \left( \frac{t}{2} \right)\)
Answer.
\(y(t) = e^{-2t}\big(c_1 \cos \frac{t}{2} + c_2 \sin \frac{t}{2}\big) - \frac{1}{4} t e^{-2t} \cos \frac{t}{2} + \left(\frac{3}{10} t - \frac{6}{25}\right) \cos \frac{t}{2} + \left(\frac{3}{20} t - \frac{39}{200}\right) \sin \frac{t}{2}\)

38.

\(y'' + 8y' + 16y = e^{-4t} + (t^2 + 5)e^{-4t}\)
Answer.
\(y(t) = c_1 e^{-4t} + c_2 t e^{-4t} + \left(\frac{1}{12} t^4 + 3 t^2\right) e^{-4t}\)

✍🏻 Initial Value Problems - Easy to Moderate.

These IVPs involve either first-order linear DEs or simpler second-order equations with single forcing terms. Follow the UC workflow:
  1. Find \(y_h\) (the homogeneous solution).
  2. Guess \(y_p\) (the particular solution).
  3. Adjust \(y_p\) if it overlaps with \(y_h\text{.}\)
  4. Substitute \(y_p\) and solve for coefficients.
  5. Write \(y = y_h + y_p\text{.}\)
  6. Apply initial condition(s) to find the specific solution.

42.

\(2z'' + z = 9e^{2t}, \ z(0)=3, \ z'(0)=-1\)
Answer.
\(z(t) = 2\cos \frac{t}{\sqrt{2}} - 3\sqrt{2} \sin \frac{t}{\sqrt{2}} + e^{2t}\)

✍🏻 Initial Value Problems - Advanced.

These IVPs involve second-order DEs with multi-term forcing functions (polynomials, exponentials, trig). They require careful handling of overlaps and sometimes multiple adjustments to \(y_p\text{.}\)

43.

\(y'' - 4y' - 12y = 3 e^{5t}, \ y(0)=\frac{18}{7}, \ y'(0)=-\frac{1}{7}\)
Answer.
\(y(t) = e^{6t} + 2e^{-2t} - \frac{3}{7}e^{5t}\)

44.

\(y'' - y' - 6y = 2t + 3e^{3t} - e^{-2t},\ y(0)=0, \ y'(0)=0\)
Answer.
\(y(t) = -\frac{26}{225} e^{3t} + \frac{3}{50} e^{-2t} - \frac{1}{3}t + \frac{1}{18} + \frac{3}{5}te^{3t} + \frac{1}{5}te^{-2t}\)

45.

\(4y'' + 16y' + 17y = e^{-2t} \sin \frac{t}{2} + 6 t \cos \frac{t}{2},\ y(0)=-1, \ y'(0)=0\)
Answer.
\(y(t) = e^{-2t}\big(-\frac{19}{25} \cos \frac{t}{2} - \frac{589}{200} \sin \frac{t}{2}\big) - \frac{1}{4} t e^{-2t} \cos \frac{t}{2} + \big(\frac{3}{10} t - \frac{6}{25}\big) \cos \frac{t}{2} + \big(\frac{3}{20} t - \frac{39}{200}\big) \sin \frac{t}{2}\)
You have attempted of activities on this page.