Background image of landing

Unrivalled
Education
Solutions for your
Family

What's the integral of x^4*cos(x)?

Here’s a revised version of your content, enhanced for clarity and readability:


The integral of the function x4cos(x)x^4 \cos(x) can be expressed as:

x4cos(x)dx=x4sin(x)+4x3cos(x)+12x2sin(x)24xcos(x)24sin(x)+C,\int x^4 \cos(x) \, dx = x^4 \sin(x) + 4x^3 \cos(x) + 12x^2 \sin(x) - 24x \cos(x) - 24 \sin(x) + C,

where CC is the constant of integration.

To find this integral, we will apply the method of integration by parts. We start by letting:

  • u=x4u = x^4
  • dv=cos(x)dxdv = \cos(x) \, dx

Next, we compute the derivatives and integrals:

  • dudx=4x3\frac{du}{dx} = 4x^3
  • v=sin(x)v = \sin(x)

Using the integration by parts formula, which states that:

udv=uvvdu,\int u \, dv = uv - \int v \, du,

we can express the integral as follows:

x4cos(x)dx=x4sin(x)4x3sin(x)dx.\int x^4 \cos(x) \, dx = x^4 \sin(x) - \int 4x^3 \sin(x) \, dx.

Now, we apply integration by parts again on the new integral 4x3sin(x)dx\int 4x^3 \sin(x) \, dx. We set:

  • u=4x3u = 4x^3
  • dv=sin(x)dxdv = \sin(x) \, dx

Calculating the necessary derivatives and integrals gives us:

  • dudx=12x2\frac{du}{dx} = 12x^2
  • v=cos(x)v = -\cos(x)

Substituting these back into the integration by parts formula yields:

4x3sin(x)dx=4x3(cos(x))cos(x)(12x2)dx=4x3cos(x)+12x2cos(x)dx.\int 4x^3 \sin(x) \, dx = 4x^3 (-\cos(x)) - \int -\cos(x) \, (12x^2) \, dx = -4x^3 \cos(x) + \int 12x^2 \cos(x) \, dx.

Now substituting this back into our previous expression, we have:

x4cos(x)dx=x4sin(x)4x3cos(x)+12x2cos(x)dx.\int x^4 \cos(x) \, dx = x^4 \sin(x) - 4x^3 \cos(x) + \int 12x^2 \cos(x) \, dx.

We repeat the integration by parts for 12x2cos(x)dx\int 12x^2 \cos(x) \, dx. Let:

  • u=12x2u = 12x^2
  • dv=cos(x)dxdv = \cos(x) \, dx

Calculating gives us:

  • dudx=24x\frac{du}{dx} = 24x
  • v=sin(x)v = \sin(x)

This leads to:

12x2cos(x)dx=12x2sin(x)24xsin(x)dx.\int 12x^2 \cos(x) \, dx = 12x^2 \sin(x) - \int 24x \sin(x) \, dx.

Substituting this result back, we have:

x4cos(x)dx=x4sin(x)4x3cos(x)+12x2sin(x)24xsin(x)dx.\int x^4 \cos(x) \, dx = x^4 \sin(x) - 4x^3 \cos(x) + 12x^2 \sin(x) - \int 24x \sin(x) \, dx.

Now, we apply integration by parts one last time for 24xsin(x)dx\int 24x \sin(x) \, dx. We set:

  • u=24xu = 24x
  • dv=sin(x)dxdv = \sin(x) \, dx

Calculating gives us:

  • dudx=24\frac{du}{dx} = 24
  • v=cos(x)v = -\cos(x)

Thus, we obtain:

24xsin(x)dx=24x(cos(x))cos(x)(24)dx=24xcos(x)+24sin(x).\int 24x \sin(x) \, dx = 24x (-\cos(x)) - \int -\cos(x) (24) \, dx = -24x \cos(x) + 24 \sin(x).

Putting this back into our integral, we get:

x4cos(x)dx=x4sin(x)4x3cos(x)+12x2sin(x)(24xcos(x)+24sin(x)).\int x^4 \cos(x) \, dx = x^4 \sin(x) - 4x^3 \cos(x) + 12x^2 \sin(x) - (-24x \cos(x) + 24 \sin(x)).

After simplifying, we arrive at the final result:

x4cos(x)dx=x4sin(x)+4x3cos(x)+12x2sin(x)24xcos(x)24sin(x)+C.\int x^4 \cos(x) \, dx = x^4 \sin(x) + 4x^3 \cos(x) + 12x^2 \sin(x) - 24x \cos(x) - 24 \sin(x) + C.

Here, CC is the constant of integration.

Answered by: Dr. Daniel Thompson
A-Level Maths Tutor
Medal Icon

100%

Globe Icon

Global

Crest Icon

97%

Professional Tutors

International Tuition

Independent School Entrance Success

All of our elite tutors are full-time professionals, with at least five years of tuition experience and over 5000 accrued teaching hours in their subject.

Based in Cambridge, with operations spanning the globe, we can provide our services to support your family anywhere.

Our families consistently gain offers from at least one of their target schools, including Eton, Harrow, Wellington and Wycombe Abbey.

Medal Icon

100%

Professional Tutors

All of our elite tutors are full-time professionals, with at least five years of tuition experience and over 5000 accrued teaching hours in their subject.

Globe Icon

Global

International Tuition

Based in Cambridge, with operations spanning the globe, we can provide our services to support your family anywhere.

Crest Icon

97%

Independent School Entrance Success

Our families consistently gain offers from at least one of their target schools, including Eton, Harrow, Wellington and Wycombe Abbey.

Book a free
30-minute consultation
session

At the Beyond Tutors we recognise that no two students are the same. 

That’s why we’ve transcended the traditional online tutoring model of cookie-cutter solutions to intricate educational problems. Instead, we devise a bespoke tutoring plan for each individual student, to support you on your path to academic success.

To help us understand your unique educational needs, we provide a free 30-minute consultation with one of our founding partners, so we can devise the tutoring plan that’s right for you.

To ensure we can best prepare for this consultation, we ask you to fill out the short form below.

Hire a Tutor

All the form fields are optional, but we ask you to provide as much information as possible so that we are in a better position to quickly meet your tutoring requirements.

Still have questions?
Let's get in touch