∫Calc Practice
Home›Calculus 1›u-substitution›Problem 4.735

Integral of \( \displaystyle \left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)} \)

Problem 4.735 · medium

Find \( \displaystyle \int \left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)} \, dx \). (Omit the constant of integration.)
  1. \[ \int \left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)}\, dx \]
    integralStart with the integral of the given function.✓ Proved
  2. \[ = \int \left(x + 1\right) \cos{\left(x^{2} + 2 x + 1 \right)}\, dx \]
    algebraExpand the squared term inside the cosine.✓ Proved
  3. \[ = \int \left(x \cos{\left(x^{2} + 2 x + 1 \right)} + \cos{\left(x^{2} + 2 x + 1 \right)}\right)\, dx \]
    linearityDistribute the (x + 1) term.✓ Proved
  4. \[ = \int \left(x \cos{\left(\left(x + 1\right)^{2} \right)} + \cos{\left(\left(x + 1\right)^{2} \right)}\right)\, dx \]
    algebraRewrite the expanded polynomial back in its squared form for clarity.✓ Proved
  5. \[ = \int x \cos{\left(\left(x + 1\right)^{2} \right)}\, dx + \int \cos{\left(\left(x + 1\right)^{2} \right)}\, dx \]
    linearity algebraSplit the integral into two parts. Rewrite x as (x + 1) - 1 to facilitate substitution.✓ Proved
  6. \[ = \int \left(\left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)} - \cos{\left(\left(x + 1\right)^{2} \right)}\right)\, dx + \int \cos{\left(\left(x + 1\right)^{2} \right)}\, dx \]
    algebraDistribute the cosine term.✓ Proved
  7. \[ = \int \left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)}\, dx \]
    simplifyThe extra terms cancel out.✓ Proved
  8. \[ = \int \frac{\left(2 x + 2\right) \cos{\left(\left(x + 1\right)^{2} \right)}}{2}\, dx \]
    rewriteExpress the integrand as a product involving the derivative of the inner function.✓ Proved
  9. \[ = \int \left(x + 1\right) \cos{\left(\left(x + 1\right)^{2} \right)}\, dx \]
    simplifySimplify the coefficient.✓ Proved
  10. \[ = \frac{\sin{\left(\left(x + 1\right)^{2} \right)}}{2} \]
    antiderivativeApply the substitution rule for the integral.✓ Proved
Answer \( \frac{\sin{\left(\left(x + 1\right)^{2} \right)}}{2} + C \)

✓ 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.0line 1 is the problem as stated
2✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
3✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
4✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
5✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
6✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
7✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
8✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
9✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
10✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
11✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
answer✓ Provedsympy 1.14.0final line against the stated answer: simplify(a - b) reduced to 0
answer, a second way✓ Provedsympy 1.14.0SymPy differentiated the stated antiderivative back to the integrand

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: fail (style) — The solution is logically circular and inefficient, spending steps 2-10 merely to return to the original integral in step 8 before solving it in step 11. Steps 2-7 are unnecessary algebraic detours that do not contribute to the solution.
Every verdict on record (4)
  • gpt-oss:20b: pass 2026-10-09
  • qwen3.6:27b-mlx: fail (style) 2026-10-09 — The solution is logically circular and inefficient, spending steps 2-10 merely to return to the original integral in step 8 before solving it in step 11. Steps 2-7 are unnecessary algebraic detours that do not contribute to the solution.
  • gpt-oss:20b: pass 2026-10-09
  • qwen3.6:27b-mlx: fail (style) 2026-10-09 — The solution contains a circular loop (steps 1-8) that returns to the original integral without making progress, violating the principle of efficient problem solving. Additionally, step 10 is an algebraic simplification of the integrand from step 9, but step 11 jumps directly to the final answer using 'antiderivative' without explicitly showing the substitution step or the integration of the simplified form, making the logical flow disjointed.

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-09 with SymPy 1.14.0.