How do you integrate int x^3 sin x dx x3sinxdx using integration by parts?

1 Answer
Aug 13, 2016

For the integration of a product of two functions (First function)*(Second function) = f(x)f(x),

int f(x)*dx = (First function)*int (Second function)*dx - int (d/dx(First function)*int(Second function)*dxf(x)dx=(Firstfunction)(secondfunction)dx(ddx(Firstfunction)(secondfunction)dx.

This is called integration by parts.

Explanation:

The choice of first function and second function is arbitrary in case of most functions.

Here, we have f(x) = x^3*Sin xf(x)=x3sinx and we will choose x^3x3 as the first function and Sin xsinx as the second.

Thus, int f(x)*dx = int x^3*Sin x*dxf(x)dx=x3sinxdx

implies int f(x)*dx = x^3 int Sin x*dx - int (d(x^3)/dx*int Sin x*dx)*dxf(x)dx=x3sinxdx(dx3dxsinxdx)dx

= -x^3*Cos x + int 3x^2*Cos x*dx=x3cosx+3x2cosxdx

= -x^3*Cos x + 3[x^2int Cos x*dx - int (d/dx(x^2) intCos x*dx)*dx]=x3cosx+3[x2cosxdx(ddx(x2)cosxdx)dx]

= -x^3*Cos x + 3[x^2Sin x - int 2xSin x*dx]=x3cosx+3[x2sinx2xsinxdx]

= -x^3*Cos x + 3[x^2Sin x - 2(x int Sin x*dx - int (d/dx(x)int Sin x*dx)*dx]=x3cosx+3[x2sinx2(xsinxdx(ddx(x)sinxdx)dx]

= -x^3Cos x + 3[x^2Sin x - 2(-xCos x + int Cos x*dx)]=x3cosx+3[x2sinx2(xcosx+cosxdx)]

= -x^3Cos x + 3[x^2Sin x + 2xCos x - 2Sin x]=x3cosx+3[x2sinx+2xcosx2sinx]

Since it is an indefinite integral, we add an arbitrary constant to it.

int x^3Sin x*dx = - x^3Cos x + 3x^2Sin x + 6xCos x - 6Sin x + Cx3sinxdx=x3cosx+3x2sinx+6xcosx6sinx+C where CC is the integration constant.