∫Calc Practice

Antiderivatives with initial conditions

Problem 3.430 · medium

Solve the initial-value problem \( \displaystyle f'(x) = 3 - \cos{\left(x \right)} \), \( \displaystyle f(0) = -6 \).
  1. \[ \frac{d}{d x} \left(3 x - \sin{\left(x \right)}\right) = 3 - \cos{\left(x \right)} \]
    An antiderivative; every other differs by a constant C.✓ Proved
  2. \[ - \left. 3 x - \sin{\left(x \right)} \right|_{\substack{ x=0 }} - 6 = -6 \]
    f(0) = -6 fixes C.✓ Proved
  3. \[ 3 x - \sin{\left(x \right)} - 6 \]
    The solution.✓ Proved
Answer \( f(x) = 3 x - \sin{\left(x \right)} - 6 \)

✓ 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.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0the answer differentiated back to the given derivative, and the initial values checked

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the general antiderivative and uses the initial condition to determine the constant of integration. The logic is sound and the steps are valid.
Every verdict on record (4)
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the general antiderivative and uses the initial condition to determine the constant of integration. The logic is sound and the steps are valid.
  • gpt-oss:20b: pass 2026-10-05
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the general antiderivative and uses the initial condition to determine the constant of integration. The logic is sound and the final answer is correct.
  • 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/antiderivative_ivp, checked 2026-10-05 with SymPy 1.14.0.