Integral of \( \displaystyle \cos^{3}{\left(3 x \right)} \)
Problem 4.554 · easy
Find \( \displaystyle \int \cos^{3}{\left(3 x \right)} \, dx \). (Omit the constant of integration.)
- \[ \int \cos^{3}{\left(3 x \right)}\, dx \]integralStart with the integral of the given function.✓ Proved
- \[ = \int \left(1 - \sin^{2}{\left(3 x \right)}\right) \cos{\left(3 x \right)}\, dx \]trig-identityUse the identity cos(2*theta) = 1 - 2*sin(theta)**2, specifically cos(3x)^2 = (1 + cos(6x))/2, but here we use cos(3x)^2 = 1 - sin(3x)^2 is incorrect; let's use cos(3x)^2 = (1 + cos(6x))/2 instead.✓ Proved
- \[ = \int \frac{\left(\cos{\left(6 x \right)} + 1\right) \cos{\left(3 x \right)}}{2}\, dx \]trig-identityUse the power reduction identity cos(theta)^2 = (1 + cos(2*theta))/2.✓ Proved
- \[ = \int \frac{\cos{\left(3 x \right)} \cos{\left(6 x \right)}}{2}\, dx + \int \frac{\cos{\left(3 x \right)}}{2}\, dx \]linearitySplit the integral into two parts.✓ Proved
- \[ = \int \left(\frac{\cos{\left(3 x \right)}}{4} + \frac{\cos{\left(9 x \right)}}{4}\right)\, dx + \int \frac{\cos{\left(3 x \right)}}{2}\, dx \]trig-identityUse the product-to-sum identity cos(A)cos(B) = 1/2(cos(A+B) + cos(A-B)).✓ Proved
- \[ = \int \frac{\cos{\left(3 x \right)}}{4}\, dx + \int \frac{\cos{\left(3 x \right)}}{2}\, dx + \int \frac{\cos{\left(9 x \right)}}{4}\, dx \]linearityDistribute the 1/4 and split the integral.✓ Proved
- \[ = \int \frac{3 \cos{\left(3 x \right)}}{4}\, dx + \int \frac{\cos{\left(9 x \right)}}{4}\, dx \]algebra algebraCombine the terms with cos(3*x). Simplify the coefficients.✓ Proved
- \[ = \frac{\sin{\left(3 x \right)}}{4} + \frac{\sin{\left(9 x \right)}}{36} \]antiderivativeIntegrate each term separately.✓ Proved
Answer \( \frac{\sin{\left(3 x \right)}}{4} + \frac{\sin{\left(9 x \right)}}{36} + C \)
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. The reviewers disagree about how one step is explained; every verdict is in the receipt.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | ✓ Proved | sympy 1.14.0 | line 1 is the problem as stated |
| 2 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 4 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 5 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 6 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 7 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 8 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| 9 | ✓ Proved | sympy 1.14.0 | simplify(a - b) reduced to 0 |
| answer | ✓ Proved | sympy 1.14.0 | final line against the stated answer: simplify(a - b) reduced to 0 |
| answer, a second way | ✓ Proved | sympy 1.14.0 | SymPy differentiated the stated antiderivative back to the integrand |
Reviewers
gpt-oss:20b: fail (error) — Step 2 incorrectly rewrites cos(3*x)**3 as cos(3*x)*(1 - sin(3*x)**2). The identity cos^2θ = 1 - sin^2θ is true, but the step should have been cos(3*x)**3 = cos(3*x)*(cos(3*x)**2) = cos(3*x)*(1 + cos(6*x))/2. The incorrect rewrite leads to a wrong intermediate expression and violates the one‑rule‑per‑step rule.qwen3.6:27b-mlx: fail (error) — Step 2 contains a self-contradictory note that admits the step is incorrect ('cos(3x)^2 = 1 - sin(3x)^2 is incorrect') but proceeds to use it anyway, resulting in a mathematically invalid transformation. The note explicitly states the error, making the step logically flawed.
Every verdict on record (4)
gpt-oss:20b: fail (error) 2026-10-07 — Step 2 incorrectly rewrites cos(3*x)**3 as cos(3*x)*(1 - sin(3*x)**2). The identity cos^2θ = 1 - sin^2θ is true, but the step should have been cos(3*x)**3 = cos(3*x)*(cos(3*x)**2) = cos(3*x)*(1 + cos(6*x))/2. The incorrect rewrite leads to a wrong intermediate expression and violates the one‑rule‑per‑step rule.qwen3.6:27b-mlx: fail (error) 2026-10-07 — Step 2 contains a self-contradictory note that admits the step is incorrect ('cos(3x)^2 = 1 - sin(3x)^2 is incorrect') but proceeds to use it anyway, resulting in a mathematically invalid transformation. The note explicitly states the error, making the step logically flawed.gpt-oss:20b: pass 2026-10-07qwen3.6:27b-mlx: fail (error) 2026-10-07 — Step 2 contains a self-contradictory note that admits the step is incorrect ('cos(3x)^2 = 1 - sin(3x)^2 is incorrect') while simultaneously performing that incorrect substitution in the expression. This makes the step mathematically invalid and logically incoherent.
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
gemma4:26b, checked 2026-10-07 with SymPy 1.14.0.