∫Calc Practice

Integrals giving inverse trig functions

Problem 4.642 · medium

Evaluate \( \displaystyle \int_{-3}^{0} \frac{1}{x^{2} + 6 x + 18}\, dx \).
  1. \[ x^{2} + 6 x + 18 = \left(x + 3\right)^{2} + 9 \]
    Complete the square.✓ Proved
  2. With u = x + 3 and a = 3, this is c·∫ du/(u² + a²)
  3. \[ \frac{d}{d x} \frac{\operatorname{atan}{\left(\frac{x}{3} + 1 \right)}}{3} = \frac{1}{x^{2} + 6 x + 18} \]
    An antiderivative is atan(x/3 + 1)/3; differentiate to confirm.✓ Proved
  4. \[ \frac{\pi}{12} \]
    Evaluate between the limits.✓ Proved
Answer \( \frac{\pi}{12} \)

Lines: 3 proved, 1 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
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2Not checked—a sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0numerical quadrature

Reviewers

  • gpt-oss:20b: fail (error) — The solution omits the change of limits after the substitution u=x+3 and does not actually evaluate the definite integral; it merely states the result without justification. This leaves the reader without a correct, complete argument for the value π/12.
  • qwen3.6:27b-mlx: pass — The solution correctly completes the square, identifies the standard arctangent integral form, and evaluates the definite integral to the correct result.
Every verdict on record (4)
  • gpt-oss:20b: fail (error) 2026-10-07 — The solution omits the change of limits after the substitution u=x+3 and does not actually evaluate the definite integral; it merely states the result without justification. This leaves the reader without a correct, complete argument for the value π/12.
  • qwen3.6:27b-mlx: pass 2026-10-07 — The solution correctly completes the square, identifies the standard arctangent integral form, and evaluates the definite integral to the correct result.
  • gpt-oss:20b: pass 2026-10-07
  • qwen3.6:27b-mlx: pass 2026-10-07 — The solution correctly completes the square, identifies the standard arctangent integral form, and evaluates the definite integral to the correct result.

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