integrate x*cos(x) between 0 and 1

1) Let's compute the integral: ∫01x·cos(x)dx
For x·cos(x), we use integration by parts: ∫u1·v2'dx = u1·v2 -∫u1'·v2dx, with u1 = x and v2' = cos(x)
So u1' is equal to 1
⇥1.1) Let's compute the integral v2': ∫cos(x)dx
⇥ⓘ The derivative of sin(x) is cos(x), so sin(x) is an antiderivative of cos(x): ∫cos(x)dx = sin(x)
⇥ sin(x)
⇥1.2) Let's calculate u1·v2 -∫u1'·v2dx: x·sin(x) -∫sin(x)dx
⇥ⓘ The derivative of cos(x) is -sin(x), so cos(x) is an antiderivative of -sin(x): -∫sin(x)dx = cos(x)
⇥ x·sin(x) + cos(x)
Then you can resume the integral computation:
ⓘ ∫x·cos(x)dx = x·sin(x) + cos(x)
x·sin(x) + cos(x)
🖼/draw?f1=x*cos%28x%29&v=x&b=-0.25&e=1.25&min=-0.056109622262108465&max=0.6172058448831931&fill=1%2C0.0%2C1.0
2) Let's evaluate over the interval [0, 1]: (1·sin(1) + cos(1)) -(0·sin(0) + cos(0))
ⓘ With a minus sign before parentheses, change the sign of every term inside: -(0·sin(0) + cos(0)) = -0·sin(0) -cos(0)
sin(1) + cos(1) -0·sin(0) -cos(0)
ⓘ A product with a zero factor is zero: 0·sin(0) = 0■The cosine is the x-coordinate (horizontal axis) of the point reached on the unit circle after a rotation of 0 radians from the horizontal axis pointing to the right, this is a remarkable value: -cos(0) = -1
sin(1) + cos(1) + 0 -1
ⓘ Adding 0 changes nothing: 0 -1 = -1
sin(1) + cos(1) -1
▶Integral:   cos(1) + sin(1) -1
3) The numeric value of: cos(1) + sin(1) -1 is:
ⓘ The cosine is the x-coordinate (horizontal axis) of the point reached on the unit circle after a rotation of 1 radians from the horizontal axis pointing to the right■The sine is the y-coordinate (vertical axis) of the point reached on the unit circle after a rotation of 1 radians from the horizontal axis pointing to the right
≈ 0.5403 + ≈ 0.8415 -1
≈ 1.3818 -1
▷ ≈ 0.3818

The 100% free maths solver with steps

100% free

  • Access to every feature and every step
  • Unlimited queries
  • No signup required

Simple

  • Queries in natural language
  • Detailed explanations for every step
  • A simple interface for desktop and mobile

Reliable and lean

  • Fast calculations
  • Reproducible results
  • No AI, low energy use

For everyone

  • Calculation, differentiation, integration, solving, factoring, graphing...
  • Pupils, students, individuals, teachers…
  • Through high school and beyond