Home › Subjects › A-Level H2 Maths › Techniques of integration › Worked solution
A-Level Techniques of integration: worked solution
4 marks. Full working, one step per line.
Question
Hence evaluate ∫₀^{π/2} |2x-1| cos x dx, giving the answer as A-4cos B with A, B exact constants.
Worked answer
A modulus cannot be integrated directly, so first split the range at the point where 2x − 1 changes sign. 2x − 1 = 0 gives x = 1/2, and 0 < 1/2 < π/2, so the split point lies inside the range of integration. For 0 ≤ x < 1/2: 2x − 1 < 0, so |2x − 1| = −(2x − 1) = 1 − 2x For 1/2 ≤ x ≤ π/2: 2x − 1 ≥ 0, so |2x − 1| = 2x − 1 Hence ∫₀^{π/2} |2x−1| cos x dx = −∫₀^{1/2} (2x−1) cos x dx + ∫_{1/2}^{π/2} (2x−1) cos x dx Both pieces need the same antiderivative, so find ∫ (2x−1) cos x dx by parts, differentiating the polynomial (which reduces it to a constant) and integrating the cosine: u = 2x − 1, dv/dx = cos x, so du/dx = 2 and v = sin x ∫ (2x−1) cos x dx = (2x−1) sin x − ∫ 2 sin x dx = (2x−1) sin x − (−2 cos x) = (2x−1) sin x + 2 cos x Call this F(x) = (2x − 1) sin x + 2 cos x and evaluate it at the three x-values needed (x in RADIANS): F(0) = (2(0) − 1) sin 0 + 2 cos 0 = (−1)(0) + 2(1) = 2 F(1/2) = (2(1/2) − 1) sin(0.5) + 2 cos(0.5) = (0) sin(0.5) + 2 cos(0.5) = 2 cos 0.5 F(π/2) = (π − 1) sin(π/2) + 2 cos(π/2) = (π − 1)(1) + 2(0) = π − 1 First piece: −[ F(1/2) − F(0) ] = −(2 cos 0.5 − 2) = 2 − 2 cos 0.5 Second piece: F(π/2) − F(1/2) = (π − 1) − 2 cos 0.5 Add them: (2 − 2 cos 0.5) + (π − 1 − 2 cos 0.5) = π + 1 − 4 cos 0.5 This is already in the form A − 4 cos B, so A = π + 1 and B = 0.5 (that is, 1/2, in radians).
Practise this topic
This question is part of A-Level Techniques of integration, in A-Level H2 Maths.
More from this topic
- Find the integral of 9x/((2x - 1)(x + 1)^2) with respect to x.
- Using x = cos theta, evaluate INT sin theta/(2 cos 2theta + 1) dtheta.
- Evaluate the integral of (x^2 - 3x - 1)/(x^2 - 4x + 1) with respect to x.
- With I=∫P(x)/(1-√x) dx on 0<x<1, use the substitution u=1-√x to find I in the case P(x)=1.
- Using the previous result, or by another method, find the exact value of ∫₀^{π/6} sin2θ co