Resources
Find the general solution to the second-order non-homogeneous linear differential equation by coupling and comparing two techniques: Method A (The Method of Undetermined Coefficients) and Method B (Variation of Parameters). Specify the complementary solution , determine the particular solution , and explain why the initial trial choice fails in Method A.
Answer and steps
Final answer
. The complementary solution is . The initial guess (and ) fails in Method A because is a double root of the characteristic equation , forcing the particular trial form to be scaled to , which yields .
Steps
Find the Complementary Solution
To find the complementary solution, solve the associated homogeneous equation:
Write the characteristic equation:
This yields a repeated real root, , with multiplicity . Therefore, the two linearly independent solutions are:
The complementary solution is:
Determine Using Method A (Undetermined Coefficients)
The non-homogeneous driving term is .
- Why the initial trial form fails: A standard trial choice for an exponential driver is . However, is already present in as a solution to the homogeneous equation, which means plugging into the differential operator yields zero: Similarly, multiplying by gives , which also lies in the complementary solution space () and satisfies the homogeneous equation. Because is a root of multiplicity , the trial form must be multiplied by :
-
Differentiating and solving for :
Substitute , , and into the differential equation:
Set this equal to :
Therefore:
Determine Using Method B (Variation of Parameters)
Using fundamental solutions and , calculate the Wronskian :
The particular solution is given by , where:
Integrate each (choosing integration constants to be ):
Substitute and back into the form for :
Both methods yield identical particular solutions.
Write the General Solution
Combine the complementary and particular solutions:
Typical errors
01 The student only multiplies the trial particular solution by x instead of x², overlooking that x e^(2x) is already part of the complementary solution due to the repeated root.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
- Step 2
- Step 3Correct
Because has multiplicity , both and are in . Therefore, multiplying by once still produces a homogeneous solution. You must multiply by , giving .
- Step 4Correct
, verified with Method B (Variation of Parameters)
Because was not determined, the general solution is missing the particular solution term, and the comparison with Method B was not carried out.
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly solved the characteristic equation for the repeated root .
You wrote the correct complementary solution .
You clearly explained why produces zero when substituted into the differential operator.
THE ERROR
Where Your ACEpath Teacher Spotted the Mistakeno
WHY IT HAPPENED
ACEpath Teacher's DiagnosisYou checked that was in the complementary solution and multiplied by , but you did not notice that was also already present in due to the multiplicity-2 root. Whenever a driving term shares an exponent with a root of multiplicity , the trial form must be multiplied by .
REASONING PATH
Your ACEpath teacher’s suggested approach- Match Multiplicity with Powers of x
If the driving term is and is a root of multiplicity of the characteristic polynomial, the trial particular solution must take the form .
Always compare your proposed trial term against every individual term in . If your trial term is linearly dependent on any term in , multiply by again until it is completely independent of .
CORRECTED PATH
ACEpath Teacher's DemonstrationSince has multiplicity , set .
Compute the derivatives: and .
Substitute into the ODE: .
Equate to the driving term: , giving .
Verify with Variation of Parameters: with , , the Wronskian is . Then , and , so .
02 The student calculates the Wronskian incorrectly by treating y2' as 2e^(2x) instead of applying the product rule to x e^(2x), leading to an erroneous particular solution.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1
- Step 2
- Step 3Correct
You differentiated as instead of using the product rule: . This made your Wronskian incorrect.
- Step 4
\newline
Correct\newline
Because the Wronskian was incorrect, your values for and were off by a factor of 2, leading to incorrect functions and .
- Step 5
\newline
Correct\newline
Your final assembly followed your computed and consistently, but inherited the earlier differentiation error.
WHAT YOU DID WELL
Compliments from Your TeacherYou solved the characteristic equation and identified the repeated root correctly.
You correctly formed the complementary solution .
You correctly explained why cannot serve as the particular solution.
You applied the Variation of Parameters setup formulas and using the standard structure.
THE ERROR
Where Your ACEpath Teacher Spotted the Mistakeno
WHY IT HAPPENED
ACEpath Teacher's DiagnosisWhen computing the Wronskian , you evaluated the derivative of without applying the product rule , mistakenly taking as rather than .
REASONING PATH
Your ACEpath teacher’s suggested approach- Product Rule for Repeated-Root Solutions
For a basis solution of the form , its derivative is .
Always write out both terms of the product rule explicitly before substituting into the determinant .
- Simplifying the Wronskian for Second-Order ODEs
For repeated roots , the Wronskian of and always simplifies to .
Check that all variable terms containing in the expanded Wronskian cancel out: .
CORRECTED PATH
ACEpath Teacher's DemonstrationCompute the derivative of using the product rule: .
Compute the Wronskian: .
Substitute into the formulas for and : , and .
Integrate to find and .
Combine to find .
03 The student forgets that the characteristic equation has a repeated root and writes distinct exponential terms for the complementary solution, leading to an incorrect complementary and general solution.
Sample Student Work
Reviewed by ACEpath TeacherStep-by-Step Review
Walk Through It with Your Teacher- Step 1Correct
The characteristic equation has a single repeated real root of multiplicity . For repeated roots, the two linearly independent homogeneous solutions are and , giving , not .
- Step 2
- Step 3
- Step 4Correct
Your combination of and follows logically from your earlier work, but the final general solution carries forward the error from .
WHAT YOU DID WELL
Compliments from Your TeacherYou correctly factored and solved the characteristic equation to identify .
You clearly explained why the trial guess yields .
You correctly scaled the trial form to and evaluated to find .
THE ERROR
Where Your ACEpath Teacher Spotted the MistakeYou wrote as the second homogeneous term instead of multiplying by to get .
WHY IT HAPPENED
ACEpath Teacher's DiagnosisConfusing the repeated root case with the distinct conjugate roots case (), forgetting that a root of multiplicity requires basis solutions .
REASONING PATH
Your ACEpath teacher’s suggested approach- Repeated Root Basis
If the characteristic equation has a repeated real root of multiplicity , the two independent solutions are and .
Check whether the characteristic polynomial factors as a perfect square . If so, always multiply the second basis function by rather than switching signs in the exponent.
- Dual-Method Verification
When a prompt asks to couple or compare Method A and Method B, solve for via both Undetermined Coefficients and Variation of Parameters ().
Compute the Wronskian and integrate and to confirm your undetermined coefficients result.
CORRECTED PATH
ACEpath Teacher's DemonstrationWrite the correct complementary solution for repeated root : .
Identify and , then compute the Wronskian: .
Set up Variation of Parameters with driving term : , and .
Form , verifying Method A.
Lock it in
In the Method of Undetermined Coefficients, if the non-homogeneous term has the form and is a root of the characteristic equation with multiplicity , what is the correct trial form for ?
. You must multiply by so the trial form is linearly independent of all terms in the complementary solution .
Similar question
Find a particular solution to the differential equation using the Method of Undetermined Coefficients.
Answer
. The characteristic equation has root with multiplicity , so . The trial form is . Differentiating and substituting gives .
Find the general solution to .
Answer
. The characteristic equation is , giving repeated root . The trial form is . Substituting yields .
For the differential equation , determine the correct form of the trial particular solution with undetermined coefficients (do not solve for the coefficients).
Answer
. The base trial form for a linear polynomial times is . Since is a double root of the characteristic polynomial, both and are in , requiring multiplication by .