∫Calc Practice

Differential equations by direct integration

Problem 6.529 · easy

Find the general solution of \( \displaystyle y' = - 2 x + \cos{\left(x \right)} \).
  1. \[ \frac{d}{d x} \left(- x^{2} + \sin{\left(x \right)}\right) = - 2 x + \cos{\left(x \right)} \]
    Integrate both sides; every antiderivative differs by a constant C₁.✓ Proved
Answer \( y = C_{1} - x^{2} + \sin{\left(x \right)} \)

✓ Nihil obstat Every line of this solution was proved by the computer algebra system SymPy. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation. How we verify

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0finite differences of the answer match f, and the initial value holds

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the antiderivative and includes the arbitrary constant of integration.
Every verdict on record (6)
  • qwen3.6:27b-mlx: pass 2026-10-18 — The solution correctly identifies the antiderivative and includes the arbitrary constant of integration.
  • gpt-oss:20b: pass 2026-10-18
  • qwen3.6:27b-mlx: fail (style) 2026-10-15 — The sentence 'Integrate both sides' is misleading because the problem is an algebraic integration task, not a differential equation requiring separation of variables or implicit integration. The step should simply state that the general solution is found by integrating the right-hand side with respect to x.
  • gpt-oss:20b: pass 2026-10-15
  • qwen3.6:27b-mlx: fail (style) 2026-10-14 — The sentence 'Integrate both sides' is misleading because the problem is not presented as a differential equation to be integrated directly, but rather as a request for a general solution. The step shown is a verification of the particular antiderivative, not the derivation process. A better explanation would state that the general solution is found by integrating the right-hand side with respect to x.
  • gpt-oss:20b: pass 2026-10-14

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/de_direct_integration, checked 2026-10-18 with SymPy 1.14.0.