Skip to content
Section 3.5 · Undetermined coefficients

What does multiplying by x change?

Compare the trial function with the result of substituting it into the ODE. Multiply by x, keep the coefficient A unchanged, and see whether the output can match the forcing.

Current trial / output Target 3e⁴ˣ (right plot)

1. The trial function

2. Substitute into the ODE

Both plots show −0.5 ≤ x ≤ 0.5, including negative x. Within each plot, the axis scale stays fixed when you change the power of x. The two plots use their own vertical scales.

What should I look for?

A trial is a solution only when its output equals the target at every x in an interval. The trial itself does not need to look like the forcing. Compare the solid output with the dashed target in the right plot.

For the simple root, Ae4x gives zero. Multiplying by x gives 5Ae4x, so choose A = 3/5. For the repeated root, both Ae4x and Axe4x give zero. Multiplying once more gives 2Ae4x, so choose A = 3/2.

When should I stop multiplying by x?

Start with the usual trial family and compare it with the complementary solution. Multiply the entire family by the smallest power of x that removes the overlap. For these examples, one x is enough for the simple root and x² is needed for the double root.

Once the trial can produce the required shape, determine its coefficient. An extra x can change the output's shape and prevent a match. In the simple-root example, Ax²e4x produces A(2 + 10x)e4x, which cannot equal 3e4x on an interval for any constant A.