How do I integrate ∫ xcos^2(x) dx ?

First, recall that when integrating, squared trigonometric functions often cause issues. Therefore, use the identity: cos^2(x) = (cos(2x) + 1)/2 to remove this power, giving the integral: ∫ (xcos(2x))/2  + x/2 dx.

This can be split into two integrals: ∫ (xcos(2x))/2 dx + ∫ x/2 dx

The second integral [ ∫ x/2 dx] is simple, integrating to x^2/4

For the first, trickier integral [∫ (xcos(2x))/2 dx], notice that this integral appears to be the multiple of two functions, so integration by parts is likely to come in handy.  Set u = x/2 and dv/dx = cos(2x). Then du/dx = 1/2 and v = ∫ cos(2x) dx = (sin(2x))/2 

Use the integration by parts formula: integral = uv - ∫v(du/dx) dx = xsin(2x)/4 - ∫sin(2x)/4 = xsin(2x)/2 +cos(2x)/8

Put everything together, giving a final integral = xsin(2x)/4 +cos(2x)/8 + x^2/4 + c (don't forget to add the arbitrary constant!) 

SS
Answered by Stephi S. Maths tutor

25306 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Edexcel C3 June 2015 Q1: tan(x)=p, where p is a constant. Using standard trigonometric identities, find the following in terms of p. a) tan(2x). b) cos(x). c) cot(x-45).


Solve the differential equation: dy/dx = 6x^2 + 4x + 9


A curve C is mapped by the equation ( 1+x)(4-x). The curve intersects the x-axis at x = –1 and x = 4. A region R is bounded by C and the x-axis. Use calculus to find the exact area of R.


A curve has the equation y = (1/3)x^3 + 4x^2 + 12x +3. Find the coordinates of each turning point and determine their nature.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning