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

22344 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

a) Point A(6,7,2) lies on l1. Point B(9,16,5) also lies on l1. Find the distance between these two points. b) l2 lies in the same z plane as l1 and crosses l1 at A and is perpendicular to l1. Express l2 in vector form.


Find the coordinates of the centre C and the length of the diameter of a circle with the equation (x-2)^2 + (y+5)^2 = 25


Expand using binomial expansion (1+6x)^3


A matrix M has eigenvectors (3,1,0) (2,8,2) (1,1,6) with corresponding eigenvalues 1, 6, 2 respectively. Write an invertible matrix P and diagonal matrix D such that M=PD(P^-1), hence calculate M^5.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences