Question 1
5 marksFind
\[\int \left(x^2 + 2x\right)\cos x\,dx\]
[Integration by parts: \(\displaystyle\int u\dfrac{dv}{dx}\,dx = uv - \int v\dfrac{du}{dx}\,dx\)]
Model answer
\(u = x^2 + 2x\), \(\dfrac{dv}{dx} = \cos x\), \(\dfrac{du}{dx} = 2x + 2\), \(v = \sin x\)
\(\displaystyle\int \left(x^2 + 2x\right)\cos x\,dx = \left(x^2 + 2x\right)\sin x - \int (2x + 2)\sin x\,dx\)
\(u = 2x + 2\), \(\dfrac{dv}{dx} = \sin x\), \(v = -\cos x\): \(\displaystyle\int (2x + 2)\sin x\,dx = -(2x + 2)\cos x + \int 2\cos x\,dx = -(2x + 2)\cos x + 2\sin x\)
So \(\displaystyle\int \left(x^2 + 2x\right)\cos x\,dx = \left(x^2 + 2x\right)\sin x + (2x + 2)\cos x - 2\sin x + c\)
\(= \left(x^2 + 2x - 2\right)\sin x + 2(x + 1)\cos x + c\)
Explanation
Take \(u = x^2 + 2x\) so that each application of parts lowers the power of \(x\); two applications leave only \(\displaystyle\int 2\cos x\,dx\). The second integral is subtracted and \(v = -\cos x\) in the second application, so the signs need care. Common errors are choosing \(u = \cos x\), integrating \(\cos x\) as \(-\sin x\) and losing a sign in the second application.
Mark scheme
-
1 mark
M1 Integrates by parts with \(u = x^2 + 2x\) and \(\dfrac{dv}{dx} = \cos x\), reaching \(\left(x^2 + 2x\right)\sin x - \displaystyle\int (\alpha x + \beta)\sin x\,dx\); a correct final answer of \(\left(x^2 + 2x - 2\right)\sin x + 2(x + 1)\cos x + c\) with no working scores 2 marks (special case)
An answer of \(\left(x^2 + 2x - 2\right)\sin x + 2(x + 1)\cos x + c\) with no working scores 2 marks: a special case, as answers without working may not gain full credit when an integration method is needed. The tabular (DI) method is acceptable if its rows are shown. Choosing \(u = \cos x\) is M0.
-
1 mark
A1 \(\left(x^2 + 2x\right)\sin x - \displaystyle\int (2x + 2)\sin x\,dx\)
-
1 mark
M1 (dM1) Integrates \((2x + 2)\sin x\) by parts again, reaching \(\pm(2x + 2)\cos x \pm \displaystyle\int \gamma\cos x\,dx\)
Depends on the first M mark.
-
1 mark
A1 \(\displaystyle\int (2x + 2)\sin x\,dx = -(2x + 2)\cos x + 2\sin x\)
-
1 mark
A1 \(\left(x^2 + 2x - 2\right)\sin x + 2(x + 1)\cos x + c\) oe
Depends on both M marks. Accept any correct unsimplified form, e.g. \(\left(x^2 + 2x\right)\sin x + (2x + 2)\cos x - 2\sin x + c\), isw. The constant is required.