∫Calc Practice

Second-order linear equations

Problem 6.107 · hard

Solve \( \displaystyle y'' - 4y' + 5y = 0 \) with \( \displaystyle y(0) = 3,\ y'(0) = 0 \).
  1. Try y = e^(mx): the characteristic equation is m² + bm + c = 0.
  2. \[ \left(m - 2 - i\right) \left(m - 2 + i\right) = m^{2} - 4 m + 5 \]
    Roots: 2 - I, 2 + I.✓ Proved
  3. Roots α ± βi give y = e^(αx)(C₁cos βx + C₂sin βx).
  4. Use y(0) and y'(0) to find C₁ and C₂.
  5. \[ \left(- 30 \sin{\left(x \right)} + 15 \cos{\left(x \right)}\right) e^{2 x} - 4 \frac{d}{d x} \left(- 6 \sin{\left(x \right)} + 3 \cos{\left(x \right)}\right) e^{2 x} + \frac{d^{2}}{d x^{2}} \left(- 6 \sin{\left(x \right)} + 3 \cos{\left(x \right)}\right) e^{2 x} = 0 \]
    The solution satisfies the equation.✓ Proved
  6. \[ 3 \]
    y(0).✓ Proved
  7. \[ 0 \]
    y'(0).✓ Proved
Answer \( y = 3 \left(- 2 \sin{\left(x \right)} + \cos{\left(x \right)}\right) e^{2 x} \)

Lines: 4 proved, 3 not checked. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt.

The full receipt
LineStatusChecked byDetail
1Not checked—a sentence; read, not computed
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3Not checked—a sentence; read, not computed
4Not checked—a sentence; read, not computed
5✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
6✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
7✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0sympy.checkodesol substitutes the solution back; both initial conditions match

Reviewers

  • gpt-oss:20b: fail (error) — The proposed solution 15*(-2*sin(x)+cos(x))*exp(2*x) does not satisfy the initial conditions y(0)=3 and y'(0)=0. The correct constant factor should be 3, not 15. The subsequent verification steps are inconsistent with the stated solution.
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the characteristic equation, finds the complex roots, applies the general solution formula for complex conjugate roots, and verifies the initial conditions and differential equation.
Every verdict on record (4)
  • qwen3.6:27b-mlx: pass 2026-09-26 — The solution correctly identifies the characteristic equation, finds the complex roots, applies the general solution formula for complex conjugate roots, and verifies the initial conditions and differential equation.
  • gpt-oss:20b: fail (error) 2026-09-26 — The proposed solution 15*(-2*sin(x)+cos(x))*exp(2*x) does not satisfy the initial conditions y(0)=3 and y'(0)=0. The correct constant factor should be 3, not 15. The subsequent verification steps are inconsistent with the stated solution.
  • qwen3.6:27b-mlx: pass 2026-09-26 — The solution correctly identifies the characteristic roots, applies the general form for complex roots, and determines the constants satisfying the initial conditions. The final answer matches the stated answer.
  • gpt-oss:20b: fail (error) 2026-09-26 — The proposed particular solution contains an incorrect constant factor (15 instead of 3), leading to wrong initial‑value verification. The subsequent statements about y(0) and y'(0) are also inconsistent with the correct solution.

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/second_order_linear, checked 2026-09-26 with SymPy 1.14.0.