Undetermined coefficients
Problem 6.367 · hard
Solve \( \displaystyle y'' + 5y' + 4y = 2 x - 6 \) with \( \displaystyle y(0) = 3 \), \( \displaystyle y'(0) = -1 \).
- \[ r^{2} + 5 r + 4 = \left(r + 1\right) \left(r + 4\right) \]The characteristic equation has roots -1 and -4.✓ Proved
- So y_h = C₁e^(-1x) + C₂e^(-4x). Guess y_p = A*x + B.Reviewed
- \[ 2 x + 5 \frac{d}{d x} \left(\frac{x}{2} - \frac{17}{8}\right) + \frac{d^{2}}{d x^{2}} \left(\frac{x}{2} - \frac{17}{8}\right) - \frac{17}{2} = 2 x - 6 \]Matching coefficients gives y_p = x/2 - 17/8; it satisfies the equation.✓ Proved
- \[ \left[\begin{matrix}\left. \frac{x}{2} - \frac{17}{8} + \frac{19 e^{- x}}{3} - \frac{29 e^{- 4 x}}{24} \right|_{\substack{ x=0 }}\\\left. \frac{d}{d x} \left(\frac{x}{2} - \frac{17}{8} + \frac{19 e^{- x}}{3} - \frac{29 e^{- 4 x}}{24}\right) \right|_{\substack{ x=0 }}\end{matrix}\right] = \left[\begin{matrix}3\\-1\end{matrix}\right] \]The initial conditions fix C₁ = 19/3 and C₂ = -29/24.✓ Proved
Answer \( y = \frac{x}{2} - \frac{17}{8} + \frac{19 e^{- x}}{3} - \frac{29 e^{- 4 x}}{24} \)
✓ 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
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 2 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 4 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | SymPy's dsolve with the same initial conditions agrees |
Reviewers
gpt-oss:20b: passqwen3.6:27b-mlx: pass — The solution correctly identifies the homogeneous solution, determines the particular solution via undetermined coefficients, and solves for the constants using the initial conditions. All steps are logically sound and algebraically verified.
Every verdict on record (4)
gpt-oss:20b: pass 2026-10-11qwen3.6:27b-mlx: pass 2026-10-11 — The solution correctly identifies the homogeneous solution, determines the particular solution via undetermined coefficients, and solves for the constants using the initial conditions. All steps are logically sound and algebraically verified.qwen3.6:27b-mlx: pass 2026-10-11 — The solution correctly identifies the homogeneous solution, determines the particular solution via undetermined coefficients, and solves for the constants using the initial conditions. The final answer matches the stated answer.gpt-oss:20b: pass 2026-10-11
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-11 with SymPy 1.14.0.