How do you integrate int xcos(3x)xcos(3x) by integration by parts method?

1 Answer
Dec 31, 2016

The goal of integration by parts is to differentiate one of the terms in the product so that it becomes 11, leaving only one term to be integrated. Take a look at this problem to understand better.

Let u = xu=x anddv = cos(3x)dxdv=cos(3x)dx. To apply the integration by parts formula, we need vv and dudu. du = dxdu=dx. We can find vv through uu-substitution.

Let u_2 = 3xu2=3x. Then du_2 = 3dxdu2=3dx and dx = (du_2)/3dx=du23

We can rewrite:

=int(cosu_2) * (du_2)/3=(cosu2)du23

=1/3intcosu_2du_2=13cosu2du2

=1/3sinu_2=13sinu2

Since u_2 = 3xu2=3x:

=1/3sin(3x)=13sin(3x)

Thus, v = 1/3sin(3x)v=13sin(3x).

The integration by parts formula is int(udv) = uv - int(vdu)(udv)=uv(vdu).

int(xcos(3x)) dx= 1/3sin(3x) * x - int(1 * 1/3sin(3x)dx)(xcos(3x))dx=13sin(3x)x(113sin(3x)dx)

int(xcos3x)dx = 1/3xsin(3x) - int(1/3sin(3x)dx)(xcos3x)dx=13xsin(3x)(13sin(3x)dx)

We repeat the substitution process performed above to integrate 1/3sin(3x)13sin(3x)

Let u = 3xu=3x. Then du = 3dxdu=3dx and dx = 1/3dudx=13du

=int1/3sinu * 1/3du=13sinu13du

=1/9intsinu du=19sinudu

=-1/9cosu=19cosu

=-1/9cos(3x)=19cos(3x)

The integral of the entire expression is therefore:

int(xcos3x)dx = 1/3xsin3x+ 1/9cos3x+ C(xcos3x)dx=13xsin3x+19cos3x+C, whereCC is a constant.

Hopefully this helps!