∫Calc Practice

Undetermined coefficients

Problem 6.287 · hard

Solve \( \displaystyle y'' - 5y' + 6y = - 4 e^{x} \) with \( \displaystyle y(0) = 2 \), \( \displaystyle y'(0) = -1 \).
  1. \[ r^{2} - 5 r + 6 = \left(r - 3\right) \left(r - 2\right) \]
    The characteristic equation has roots 2 and 3.✓ Proved
  2. So y_h = C₁e^(2x) + C₂e^(3x). Guess y_p = A*exp(x) (the exponent is not a root, so no extra factor of x is needed).
    Reviewed
  3. \[ - 12 e^{x} - 5 \frac{d}{d x} \left(- 2 e^{x}\right) + \frac{d^{2}}{d x^{2}} \left(- 2 e^{x}\right) = - 4 e^{x} \]
    Matching coefficients gives y_p = -2*exp(x); it satisfies the equation.✓ Proved
  4. \[ \left[\begin{matrix}\left. - 7 e^{3 x} + 11 e^{2 x} - 2 e^{x} \right|_{\substack{ x=0 }}\\\left. \frac{d}{d x} \left(- 7 e^{3 x} + 11 e^{2 x} - 2 e^{x}\right) \right|_{\substack{ x=0 }}\end{matrix}\right] = \left[\begin{matrix}2\\-1\end{matrix}\right] \]
    The initial conditions fix C₁ = 11 and C₂ = -7.✓ Proved
Answer \( y = - 7 e^{3 x} + 11 e^{2 x} - 2 e^{x} \)

✓ Nihil obstat Lines: 3 proved, 1 reviewed. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0SymPy's dsolve with the same initial conditions agrees

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass
Every verdict on record (4)
  • gpt-oss:20b: pass 2026-10-07
  • qwen3.6:27b-mlx: pass 2026-10-07
  • gpt-oss:20b: pass 2026-10-07
  • qwen3.6:27b-mlx: pass 2026-10-07

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/undetermined_coefficients, checked 2026-10-07 with SymPy 1.14.0.