∫Calc Practice

Integrals of powers of sine and cosine

Problem 4.413 · medium

Evaluate \( \displaystyle \int \cos^{2}{\left(x \right)}\, dx \).
  1. Both powers are even: use sin²x = (1 − cos 2x)/2 and cos²x = (1 + cos 2x)/2, then integrate.
    Reviewed
  2. \[ \frac{d}{d x} \left(\frac{x}{2} + \frac{\sin{\left(2 x \right)}}{4}\right) = \cos^{2}{\left(x \right)} \]
    Differentiating the answer returns the integrand.✓ Proved
Answer \( \frac{x}{2} + \frac{\sin{\left(2 x \right)}}{4} + C \)

✓ Nihil obstat Lines: 1 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
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0difference quotients of the answer match the integrand

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the standard power-reduction identity for cosine and verifies the result via differentiation. The logic is sound and complete.
Every verdict on record (4)
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the standard power-reduction identity for cosine and verifies the result via differentiation. The logic is sound and complete.
  • gpt-oss:20b: pass 2026-10-05
  • qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the power-reduction formula for cos²(x) and verifies the result by differentiation. The logic is sound and complete.
  • 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/trig_powers_integral, checked 2026-10-05 with SymPy 1.14.0.