∫Calc Practice

Definite integrals by substitution

Problem 4.458 · medium

Evaluate \( \displaystyle \int_{0}^{2} \frac{x}{x^{2} + 4}\, dx \).
  1. Let u = x**2 + 4; then du = 2*x dx, which is in the integrand up to a constant.
    Reviewed
  2. \[ \left. x^{2} + 4 \right|_{\substack{ x=0 }} = 4 \]
    The lower limit in u.✓ Proved
  3. \[ \left. x^{2} + 4 \right|_{\substack{ x=2 }} = 8 \]
    The upper limit in u.✓ Proved
  4. \[ \int\limits_{4}^{8} \frac{1}{2 u}\, du = \frac{\ln{\left(2 \right)}}{2} \]
    Integrate in u between the new limits; no back-substitution needed.✓ Proved
Answer \( \frac{\ln{\left(2 \right)}}{2} \)

✓ 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
LineStatusChecked byDetail
1Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
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 of the original integral

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly applies u-substitution, including the proper transformation of integration limits and the constant factor adjustment. The final result is correct.
Every verdict on record (4)
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly applies u-substitution, including the proper transformation of integration limits and the constant factor adjustment. The final result is correct.
  • gpt-oss:20b: pass 2026-10-05
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly applies u-substitution, properly transforms the limits of integration, and arrives at the correct result. The reasoning is sound and clear.
  • 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/definite_substitution, checked 2026-10-05 with SymPy 1.14.0.