Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
Definite integralsCalculusCollegeabout 1:02

Definite integral of x sin(x) from 0 to pi: animated lesson

A narrated, step-by-step definite integrals video lesson with captions. Final answer: 3.141592654 = π.

Video with a synthetic English voice and captions. Pick another language for subtitles in that language, or open the interactive version.

Video narrated by a synthetic voice (Piper TTS, en_US-ljspeech-high voice (LJ Speech dataset, public domain)); the steps come from our maths engine and the answer was checked independently. Download MP4 (0.4 MB) · Captions (WebVTT)

Steps on screen

  1. 1. The problem
    Evaluating an integral
    ∫0πxsin⁡(x) dx\int_{0}^{\pi} x \sin\left( x\right)\,dx
  2. 2. Steps, part 1
    1. ∫0πxsin⁡(x) dx\int_{0}^{\pi} x \sin\left( x\right)\,dx
      Start with the definite integral
    2. ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du
      Integration by parts (tabular method)
    3. ∫xsin⁡(x) dx=sin⁡(x)−xcos⁡(x)\int x \sin\left( x\right)\,dx = \sin\left( x\right)- x \cos\left( x\right)
      Combine the alternating products
    4. F(x)=sin⁡(x)−xcos⁡(x)F(x) = \sin\left( x\right)- x \cos\left( x\right)
      Antiderivative
  3. 3. Steps, part 2
    1. F(π)−F(0)=3.141592654−0=3.141592654F(\pi) - F(0) = 3.141592654 - 0 = 3.141592654
      Apply the fundamental theorem of calculus
  4. 4. The answer
    ∫0πxsin⁡(x) dx=3.141592654\int_{0}^{\pi} x \sin\left( x\right)\,dx = 3.141592654

    ∫ from 0 to π = 3.141592654 = π

  5. 5. Check
    • Differentiated the antiderivative and compared it with the integrand ✓
    • Adaptive Simpson's rule gives 3.141592654 ✓

Transcript

The problem. Here is the problem: integral of x sin(x) from 0 to pi. Evaluate the definite integral of x sin(x) from x equals 0 to x equals pi.

Steps, part 1. Start with the definite integral. Integration by parts (tabular method). Differentiate the polynomial x until it reaches 0, integrate sin(x) the same number of times, and combine with alternating signs. Combine the alternating products. Antiderivative.

Steps, part 2. Apply the fundamental theorem of calculus.

The answer. So the answer is 3.141592654 equals pi. A definite integral gives the signed area between the curve and the x-axis: area above the axis counts as positive and area below counts as negative.

Check. Differentiated the antiderivative and compared it with the integrand, which checks out. Adaptive Simpson prime s rule gives 3.141592654, which checks out.

About definite integrals

Evaluate definite integrals with the fundamental theorem of calculus.

Definite integral of x sin(x) from 0 to pi: Animated Lesson