∫Calc Practice

Undetermined coefficients

Problem 6.250 · hard

Find the general solution of \( \displaystyle y'' + 7y' + 12y = 4 x - 6 \) by the method of undetermined coefficients.
  1. \[ r^{2} + 7 r + 12 = \left(r + 3\right) \left(r + 4\right) \]
    The characteristic equation has roots -4 and -3.✓ Proved
  2. So y_h = C₁e^(-4x) + C₂e^(-3x). Guess y_p = A*x + B.
    Reviewed
  3. \[ 4 x + 7 \frac{d}{d x} \left(\frac{x}{3} - \frac{25}{36}\right) + \frac{d^{2}}{d x^{2}} \left(\frac{x}{3} - \frac{25}{36}\right) - \frac{25}{3} = 4 x - 6 \]
    Matching coefficients gives y_p = x/3 - 25/36; it satisfies the equation.✓ Proved
Answer \( y = C_{1} e^{- 4 x} + C_{2} e^{- 3 x} + \frac{x}{3} - \frac{25}{36} \)

✓ Nihil obstat Lines: 2 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
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0differs from SymPy's dsolve only by a solution of the homogeneous equation

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the homogeneous solution and uses the appropriate form for the particular solution. The final answer is correct.
Every verdict on record (4)
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the homogeneous solution and uses the appropriate form for the particular solution. The final answer is correct.
  • gpt-oss:20b: pass 2026-10-05
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the homogeneous solution and uses the appropriate form for the particular solution. The coefficients are calculated correctly, and the final general solution is accurate.
  • gpt-oss:20b: pass 2026-10-05

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-05 with SymPy 1.14.0.