Worksheet · Calculus II · Unit 3A

Integration by Parts Worksheet with Complete Solutions

Twenty problems covering polynomial products, logarithms, inverse trigonometric functions, definite integrals, and cyclic cases.

20 problems70 min estimated timeIntermediate to advanced progression

What is included

Practice choosing u and dv, repeated integration by parts, and cyclic integrals with a printable key.

Skills assessed

  • LIATE judgment
  • repeated integration by parts
  • definite integral evaluation

Prerequisites

  • antiderivatives
  • product rule
Integration by Parts Worksheet instructional sequence
Twenty problems covering polynomial products, logarithms, inverse trigonometric functions, definite integrals, and cyclic cases. The numbered labels and written sequence preserve meaning without relying on color.
Long description

Read the diagram from top to bottom. Each numbered box names one decision or mathematical operation. Arrows show the required order; the text labels remain the complete interpretation in print, dark mode, and nonvisual reading.

Printable and accessible

Download this resource

No email address or account is required.

Device-only study control

Ready for an honest first attempt?

This control sends only the resource id and type—never your answers or identity.

Printable preview

  1. Evaluate ∫xex dx\int xe^x\,dx.
  2. Evaluate ∫x2ex dx\int x^2e^x\,dx.
  3. Evaluate ∫x3ex dx\int x^3e^x\,dx.
  4. Evaluate ∫xe2x dx\int xe^{2x}\,dx.
  5. Evaluate ∫xsin⁡x dx\int x\sin x\,dx.
  6. Evaluate ∫xcos⁡x dx\int x\cos x\,dx.
  7. Evaluate ∫x2sin⁡x dx\int x^2\sin x\,dx.
  8. Evaluate ∫x2cos⁡x dx\int x^2\cos x\,dx.
  9. Evaluate ∫ln⁡x dx\int\ln x\,dx.
  10. Evaluate ∫xln⁡x dx\int x\ln x\,dx.
  11. Evaluate ∫(ln⁡x)2 dx\int(\ln x)^2\,dx.
  12. Evaluate ∫arctan⁡x dx\int\arctan x\,dx.
  13. Evaluate ∫arcsin⁡x dx\int\arcsin x\,dx.
  14. Evaluate ∫01xex dx\int_0^1xe^x\,dx.
  15. Evaluate ∫0πxsin⁡x dx\int_0^\pi x\sin x\,dx.
  16. Evaluate ∫excos⁡x dx\int e^x\cos x\,dx.
  17. Evaluate ∫exsin⁡x dx\int e^x\sin x\,dx.
  18. Evaluate ∫x4ex dx\int x^4e^x\,dx.
  19. Evaluate ∫x2ln⁡x dx\int x^2\ln x\,dx.
  20. Evaluate ∫1eln⁡x dx\int_1^e\ln x\,dx.

Complete worked solutions

Every problem has a source-matched answer and independently reviewed derivation.

01

Problem 1: Evaluate ∫xex dx\int xe^x\,dx.

Answer: ex(x−1)+Ce^x(x-1)+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=xu=x and dv=exdxdv=e^x dx, so du=dxdu=dx and v=exv=e^x.
  2. Then ∫xexdx=xex−∫exdx=xex−ex+C=ex(x−1)+C\int xe^x dx=xe^x-\int e^x dx=xe^x-e^x+C=e^x(x-1)+C.
  3. Therefore the result is ex(x−1)+Ce^x(x-1)+C.
02

Problem 2: Evaluate ∫x2ex dx\int x^2e^x\,dx.

Answer: ex(x2−2x+2)+Ce^x(x^2-2x+2)+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=x2u=x^2 and dv=exdxdv=e^x dx: I=x2ex−2∫xexdxI=x^2e^x-2\int xe^x dx.
  2. Using ∫xexdx=ex(x−1)\int xe^x dx=e^x(x-1), I=ex(x2−2x+2)+CI=e^x(x^2-2x+2)+C.
  3. Therefore the result is ex(x2−2x+2)+Ce^x(x^2-2x+2)+C.
03

Problem 3: Evaluate ∫x3ex dx\int x^3e^x\,dx.

Answer: ex(x3−3x2+6x−6)+Ce^x(x^3-3x^2+6x-6)+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=x3u=x^3 and dv=exdxdv=e^x dx: I=x3ex−3∫x2exdxI=x^3e^x-3\int x^2e^x dx.
  2. Substitute ∫x2exdx=ex(x2−2x+2)\int x^2e^x dx=e^x(x^2-2x+2) and collect terms to get ex(x3−3x2+6x−6)+Ce^x(x^3-3x^2+6x-6)+C.
04

Problem 4: Evaluate ∫xe2x dx\int xe^{2x}\,dx.

Answer: e2x(2x−1)/4+Ce^{2x}(2x-1)/4+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=xu=x and dv=e2xdxdv=e^{2x}dx, so du=dxdu=dx and v=e2x/2v=e^{2x}/2.
  2. Thus I=xe2x/2−∫e2x/2 dx=xe2x/2−e2x/4+C=e2x(2x−1)/4+CI=xe^{2x}/2-\int e^{2x}/2\,dx=xe^{2x}/2-e^{2x}/4+C=e^{2x}(2x-1)/4+C.
  3. Therefore the result is e2x(2x−1)/4+Ce^{2x}(2x-1)/4+C.
05

Problem 5: Evaluate ∫xsin⁡x dx\int x\sin x\,dx.

Answer: −xcos⁡x+sin⁡x+C-x\cos x+\sin x+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=xu=x and dv=sin⁡x dxdv=\sin x\,dx, so du=dxdu=dx and v=−cos⁡xv=-\cos x.
  2. Then I=−xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x+CI=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C.
  3. Therefore the result is −xcos⁡x+sin⁡x+C-x\cos x+\sin x+C.
06

Problem 6: Evaluate ∫xcos⁡x dx\int x\cos x\,dx.

Answer: xsin⁡x+cos⁡x+Cx\sin x+\cos x+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=xu=x and dv=cos⁡x dxdv=\cos x\,dx, so du=dxdu=dx and v=sin⁡xv=\sin x.
  2. Then I=xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+CI=x\sin x-\int\sin x\,dx=x\sin x+\cos x+C.
  3. Therefore the result is xsin⁡x+cos⁡x+Cx\sin x+\cos x+C.
07

Problem 7: Evaluate ∫x2sin⁡x dx\int x^2\sin x\,dx.

Answer: −x2cos⁡x+2xsin⁡x+2cos⁡x+C-x^2\cos x+2x\sin x+2\cos x+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=x2u=x^2 and dv=sin⁡x dxdv=\sin x\,dx: I=−x2cos⁡x+2∫xcos⁡x dxI=-x^2\cos x+2\int x\cos x\,dx.
  2. Since ∫xcos⁡x dx=xsin⁡x+cos⁡x\int x\cos x\,dx=x\sin x+\cos x, I=−x2cos⁡x+2xsin⁡x+2cos⁡x+CI=-x^2\cos x+2x\sin x+2\cos x+C.
  3. Therefore the result is −x2cos⁡x+2xsin⁡x+2cos⁡x+C-x^2\cos x+2x\sin x+2\cos x+C.
08

Problem 8: Evaluate ∫x2cos⁡x dx\int x^2\cos x\,dx.

Answer: x2sin⁡x+2xcos⁡x−2sin⁡x+Cx^2\sin x+2x\cos x-2\sin x+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=x2u=x^2 and dv=cos⁡x dxdv=\cos x\,dx: I=x2sin⁡x−2∫xsin⁡x dxI=x^2\sin x-2\int x\sin x\,dx.
  2. Since ∫xsin⁡x dx=−xcos⁡x+sin⁡x\int x\sin x\,dx=-x\cos x+\sin x, I=x2sin⁡x+2xcos⁡x−2sin⁡x+CI=x^2\sin x+2x\cos x-2\sin x+C.
  3. Therefore the result is x2sin⁡x+2xcos⁡x−2sin⁡x+Cx^2\sin x+2x\cos x-2\sin x+C.
09

Problem 9: Evaluate ∫ln⁡x dx\int\ln x\,dx.

Answer: xln⁡x−x+Cx\ln x-x+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Write the integrand as (ln⁡x)(1)(\ln x)(1); take u=ln⁡xu=\ln x and dv=dxdv=dx, so du=dx/xdu=dx/x and v=xv=x.
  2. Then I=xln⁡x−∫1 dx=xln⁡x−x+CI=x\ln x-\int1\,dx=x\ln x-x+C, for x>0x>0.
  3. Therefore the result is xln⁡x−x+Cx\ln x-x+C.
10

Problem 10: Evaluate ∫xln⁡x dx\int x\ln x\,dx.

Answer: x22ln⁡x−x24+C\frac{x^2}{2}\ln x-\frac{x^2}{4}+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=ln⁡xu=\ln x and dv=x dxdv=x\,dx, so du=dx/xdu=dx/x and v=x2/2v=x^2/2.
  2. Then I=(x2/2)ln⁡x−12∫x dx=(x2/2)ln⁡x−x2/4+CI=(x^2/2)\ln x-\frac12\int x\,dx=(x^2/2)\ln x-x^2/4+C, for x>0x>0.
  3. Therefore the result is x22ln⁡x−x24+C\frac{x^2}{2}\ln x-\frac{x^2}{4}+C.
11

Problem 11: Evaluate ∫(ln⁡x)2 dx\int(\ln x)^2\,dx.

Answer: x[(ln⁡x)2−2ln⁡x+2]+Cx[(\ln x)^2-2\ln x+2]+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=(ln⁡x)2u=(\ln x)^2 and dv=dxdv=dx: I=x(ln⁡x)2−2∫ln⁡x dxI=x(\ln x)^2-2\int\ln x\,dx.
  2. Substitute ∫ln⁡x dx=xln⁡x−x\int\ln x\,dx=x\ln x-x to obtain x[(ln⁡x)2−2ln⁡x+2]+Cx[(\ln x)^2-2\ln x+2]+C, for x>0x>0.
12

Problem 12: Evaluate ∫arctan⁡x dx\int\arctan x\,dx.

Answer: xarctan⁡x−12ln⁡(1+x2)+Cx\arctan x-\frac12\ln(1+x^2)+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=arctan⁡xu=\arctan x and dv=dxdv=dx, so du=dx/(1+x2)du=dx/(1+x^2) and v=xv=x.
  2. Then I=xarctan⁡x−∫x/(1+x2) dx=xarctan⁡x−12ln⁡(1+x2)+CI=x\arctan x-\int x/(1+x^2)\,dx=x\arctan x-\frac12\ln(1+x^2)+C.
  3. Therefore the result is xarctan⁡x−12ln⁡(1+x2)+Cx\arctan x-\frac12\ln(1+x^2)+C.
13

Problem 13: Evaluate ∫arcsin⁡x dx\int\arcsin x\,dx.

Answer: xarcsin⁡x+1−x2+Cx\arcsin x+\sqrt{1-x^2}+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=arcsin⁡xu=\arcsin x and dv=dxdv=dx, so du=dx/1−x2du=dx/\sqrt{1-x^2} and v=xv=x.
  2. Because ∫x/1−x2 dx=−1−x2\int x/\sqrt{1-x^2}\,dx=-\sqrt{1-x^2}, I=xarcsin⁡x+1−x2+CI=x\arcsin x+\sqrt{1-x^2}+C on (−1,1)(-1,1).
  3. Therefore the result is xarcsin⁡x+1−x2+Cx\arcsin x+\sqrt{1-x^2}+C.
14

Problem 14: Evaluate ∫01xex dx\int_0^1xe^x\,dx.

Answer: 11

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Using u=xu=x and dv=exdxdv=e^x dx, an antiderivative is ex(x−1)e^x(x-1).
  2. Evaluate the bounds: [ex(x−1)]01=0−(−1)=1[e^x(x-1)]_0^1=0-(-1)=1.
  3. Therefore the result is 11.
15

Problem 15: Evaluate ∫0πxsin⁡x dx\int_0^\pi x\sin x\,dx.

Answer: π\pi

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Using u=xu=x and dv=sin⁡x dxdv=\sin x\,dx, an antiderivative is −xcos⁡x+sin⁡x-x\cos x+\sin x.
  2. Evaluate the bounds: [−xcos⁡x+sin⁡x]0π=π−0=π[-x\cos x+\sin x]_0^\pi=\pi-0=\pi.
  3. Therefore the result is π\pi.
16

Problem 16: Evaluate ∫excos⁡x dx\int e^x\cos x\,dx.

Answer: ex2(sin⁡x+cos⁡x)+C\frac{e^x}{2}(\sin x+\cos x)+C

Why this method: Cyclic integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Let I=∫excos⁡x dxI=\int e^x\cos x\,dx. Two integrations by parts give I=excos⁡x+exsin⁡x−II=e^x\cos x+e^x\sin x-I.
  2. Therefore 2I=ex(sin⁡x+cos⁡x)2I=e^x(\sin x+\cos x), so I=ex2(sin⁡x+cos⁡x)+CI=\frac{e^x}{2}(\sin x+\cos x)+C.
  3. Therefore the result is ex2(sin⁡x+cos⁡x)+C\frac{e^x}{2}(\sin x+\cos x)+C.
17

Problem 17: Evaluate ∫exsin⁡x dx\int e^x\sin x\,dx.

Answer: ex2(sin⁡x−cos⁡x)+C\frac{e^x}{2}(\sin x-\cos x)+C

Why this method: Cyclic integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Let I=∫exsin⁡x dxI=\int e^x\sin x\,dx. Two integrations by parts give I=exsin⁡x−excos⁡x−II=e^x\sin x-e^x\cos x-I.
  2. Therefore 2I=ex(sin⁡x−cos⁡x)2I=e^x(\sin x-\cos x), so I=ex2(sin⁡x−cos⁡x)+CI=\frac{e^x}{2}(\sin x-\cos x)+C.
  3. Therefore the result is ex2(sin⁡x−cos⁡x)+C\frac{e^x}{2}(\sin x-\cos x)+C.
18

Problem 18: Evaluate ∫x4ex dx\int x^4e^x\,dx.

Answer: ex(x4−4x3+12x2−24x+24)+Ce^x(x^4-4x^3+12x^2-24x+24)+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Repeatedly take the polynomial as uu: I=x4ex−4∫x3exdxI=x^4e^x-4\int x^3e^x dx.
  2. Substituting the three prior reductions gives I=ex(x4−4x3+12x2−24x+24)+CI=e^x(x^4-4x^3+12x^2-24x+24)+C.
  3. Therefore the result is ex(x4−4x3+12x2−24x+24)+Ce^x(x^4-4x^3+12x^2-24x+24)+C.
19

Problem 19: Evaluate ∫x2ln⁡x dx\int x^2\ln x\,dx.

Answer: x33ln⁡x−x39+C\frac{x^3}{3}\ln x-\frac{x^3}{9}+C

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Take u=ln⁡xu=\ln x and dv=x2dxdv=x^2dx, so du=dx/xdu=dx/x and v=x3/3v=x^3/3.
  2. Then I=(x3/3)ln⁡x−13∫x2dx=(x3/3)ln⁡x−x3/9+CI=(x^3/3)\ln x-\frac13\int x^2dx=(x^3/3)\ln x-x^3/9+C, for x>0x>0.
  3. Therefore the result is x33ln⁡x−x39+C\frac{x^3}{3}\ln x-\frac{x^3}{9}+C.
20

Problem 20: Evaluate ∫1eln⁡x dx\int_1^e\ln x\,dx.

Answer: 11

Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.

  1. Using u=ln⁡xu=\ln x and dv=dxdv=dx, an antiderivative is xln⁡x−xx\ln x-x.
  2. Evaluate the bounds: [xln⁡x−x]1e=0−(−1)=1[x\ln x-x]_1^e=0-(-1)=1.
  3. Therefore the result is 11.

Common errors

  • Choosing dv that is not readily integrable.
  • Dropping the subtraction in the formula.
  • Failing to solve for the original integral in a cyclic case.