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.