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 xexdx\int xe^x\,dx.
  2. Evaluate x2exdx\int x^2e^x\,dx.
  3. Evaluate x3exdx\int x^3e^x\,dx.
  4. Evaluate xe2xdx\int xe^{2x}\,dx.
  5. Evaluate xsinxdx\int x\sin x\,dx.
  6. Evaluate xcosxdx\int x\cos x\,dx.
  7. Evaluate x2sinxdx\int x^2\sin x\,dx.
  8. Evaluate x2cosxdx\int x^2\cos x\,dx.
  9. Evaluate lnxdx\int\ln x\,dx.
  10. Evaluate xlnxdx\int x\ln x\,dx.
  11. Evaluate (lnx)2dx\int(\ln x)^2\,dx.
  12. Evaluate arctanxdx\int\arctan x\,dx.
  13. Evaluate arcsinxdx\int\arcsin x\,dx.
  14. Evaluate 01xexdx\int_0^1xe^x\,dx.
  15. Evaluate 0πxsinxdx\int_0^\pi x\sin x\,dx.
  16. Evaluate excosxdx\int e^x\cos x\,dx.
  17. Evaluate exsinxdx\int e^x\sin x\,dx.
  18. Evaluate x4exdx\int x^4e^x\,dx.
  19. Evaluate x2lnxdx\int x^2\ln x\,dx.
  20. Evaluate 1elnxdx\int_1^e\ln x\,dx.

Complete worked solutions

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

01

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

Answer: ex(x1)+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=xexexdx=xexex+C=ex(x1)+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(x1)+Ce^x(x-1)+C.
02

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

Answer: ex(x22x+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=x2ex2xexdxI=x^2e^x-2\int xe^x dx.
  2. Using xexdx=ex(x1)\int xe^x dx=e^x(x-1), I=ex(x22x+2)+CI=e^x(x^2-2x+2)+C.
  3. Therefore the result is ex(x22x+2)+Ce^x(x^2-2x+2)+C.
03

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

Answer: ex(x33x2+6x6)+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=x3ex3x2exdxI=x^3e^x-3\int x^2e^x dx.
  2. Substitute x2exdx=ex(x22x+2)\int x^2e^x dx=e^x(x^2-2x+2) and collect terms to get ex(x33x2+6x6)+Ce^x(x^3-3x^2+6x-6)+C.
04

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

Answer: e2x(2x1)/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/2e2x/2dx=xe2x/2e2x/4+C=e2x(2x1)/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(2x1)/4+Ce^{2x}(2x-1)/4+C.
05

Problem 5: Evaluate xsinxdx\int x\sin x\,dx.

Answer: xcosx+sinx+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=sinxdxdv=\sin x\,dx, so du=dxdu=dx and v=cosxv=-\cos x.
  2. Then I=xcosx+cosxdx=xcosx+sinx+CI=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C.
  3. Therefore the result is xcosx+sinx+C-x\cos x+\sin x+C.
06

Problem 6: Evaluate xcosxdx\int x\cos x\,dx.

Answer: xsinx+cosx+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=cosxdxdv=\cos x\,dx, so du=dxdu=dx and v=sinxv=\sin x.
  2. Then I=xsinxsinxdx=xsinx+cosx+CI=x\sin x-\int\sin x\,dx=x\sin x+\cos x+C.
  3. Therefore the result is xsinx+cosx+Cx\sin x+\cos x+C.
07

Problem 7: Evaluate x2sinxdx\int x^2\sin x\,dx.

Answer: x2cosx+2xsinx+2cosx+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=sinxdxdv=\sin x\,dx: I=x2cosx+2xcosxdxI=-x^2\cos x+2\int x\cos x\,dx.
  2. Since xcosxdx=xsinx+cosx\int x\cos x\,dx=x\sin x+\cos x, I=x2cosx+2xsinx+2cosx+CI=-x^2\cos x+2x\sin x+2\cos x+C.
  3. Therefore the result is x2cosx+2xsinx+2cosx+C-x^2\cos x+2x\sin x+2\cos x+C.
08

Problem 8: Evaluate x2cosxdx\int x^2\cos x\,dx.

Answer: x2sinx+2xcosx2sinx+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=cosxdxdv=\cos x\,dx: I=x2sinx2xsinxdxI=x^2\sin x-2\int x\sin x\,dx.
  2. Since xsinxdx=xcosx+sinx\int x\sin x\,dx=-x\cos x+\sin x, I=x2sinx+2xcosx2sinx+CI=x^2\sin x+2x\cos x-2\sin x+C.
  3. Therefore the result is x2sinx+2xcosx2sinx+Cx^2\sin x+2x\cos x-2\sin x+C.
09

Problem 9: Evaluate lnxdx\int\ln x\,dx.

Answer: xlnxx+Cx\ln x-x+C

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

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

Problem 10: Evaluate xlnxdx\int x\ln x\,dx.

Answer: x22lnxx24+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=lnxu=\ln x and dv=xdxdv=x\,dx, so du=dx/xdu=dx/x and v=x2/2v=x^2/2.
  2. Then I=(x2/2)lnx12xdx=(x2/2)lnxx2/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 x22lnxx24+C\frac{x^2}{2}\ln x-\frac{x^2}{4}+C.
11

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

Answer: x[(lnx)22lnx+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=(lnx)2u=(\ln x)^2 and dv=dxdv=dx: I=x(lnx)22lnxdxI=x(\ln x)^2-2\int\ln x\,dx.
  2. Substitute lnxdx=xlnxx\int\ln x\,dx=x\ln x-x to obtain x[(lnx)22lnx+2]+Cx[(\ln x)^2-2\ln x+2]+C, for x>0x>0.
12

Problem 12: Evaluate arctanxdx\int\arctan x\,dx.

Answer: xarctanx12ln(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=arctanxu=\arctan x and dv=dxdv=dx, so du=dx/(1+x2)du=dx/(1+x^2) and v=xv=x.
  2. Then I=xarctanxx/(1+x2)dx=xarctanx12ln(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 xarctanx12ln(1+x2)+Cx\arctan x-\frac12\ln(1+x^2)+C.
13

Problem 13: Evaluate arcsinxdx\int\arcsin x\,dx.

Answer: xarcsinx+1x2+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=arcsinxu=\arcsin x and dv=dxdv=dx, so du=dx/1x2du=dx/\sqrt{1-x^2} and v=xv=x.
  2. Because x/1x2dx=1x2\int x/\sqrt{1-x^2}\,dx=-\sqrt{1-x^2}, I=xarcsinx+1x2+CI=x\arcsin x+\sqrt{1-x^2}+C on (1,1)(-1,1).
  3. Therefore the result is xarcsinx+1x2+Cx\arcsin x+\sqrt{1-x^2}+C.
14

Problem 14: Evaluate 01xexdx\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(x1)e^x(x-1).
  2. Evaluate the bounds: [ex(x1)]01=0(1)=1[e^x(x-1)]_0^1=0-(-1)=1.
  3. Therefore the result is 11.
15

Problem 15: Evaluate 0πxsinxdx\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=sinxdxdv=\sin x\,dx, an antiderivative is xcosx+sinx-x\cos x+\sin x.
  2. Evaluate the bounds: [xcosx+sinx]0π=π0=π[-x\cos x+\sin x]_0^\pi=\pi-0=\pi.
  3. Therefore the result is π\pi.
16

Problem 16: Evaluate excosxdx\int e^x\cos x\,dx.

Answer: ex2(sinx+cosx)+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=excosxdxI=\int e^x\cos x\,dx. Two integrations by parts give I=excosx+exsinxII=e^x\cos x+e^x\sin x-I.
  2. Therefore 2I=ex(sinx+cosx)2I=e^x(\sin x+\cos x), so I=ex2(sinx+cosx)+CI=\frac{e^x}{2}(\sin x+\cos x)+C.
  3. Therefore the result is ex2(sinx+cosx)+C\frac{e^x}{2}(\sin x+\cos x)+C.
17

Problem 17: Evaluate exsinxdx\int e^x\sin x\,dx.

Answer: ex2(sinxcosx)+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=exsinxdxI=\int e^x\sin x\,dx. Two integrations by parts give I=exsinxexcosxII=e^x\sin x-e^x\cos x-I.
  2. Therefore 2I=ex(sinxcosx)2I=e^x(\sin x-\cos x), so I=ex2(sinxcosx)+CI=\frac{e^x}{2}(\sin x-\cos x)+C.
  3. Therefore the result is ex2(sinxcosx)+C\frac{e^x}{2}(\sin x-\cos x)+C.
18

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

Answer: ex(x44x3+12x224x+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=x4ex4x3exdxI=x^4e^x-4\int x^3e^x dx.
  2. Substituting the three prior reductions gives I=ex(x44x3+12x224x+24)+CI=e^x(x^4-4x^3+12x^2-24x+24)+C.
  3. Therefore the result is ex(x44x3+12x224x+24)+Ce^x(x^4-4x^3+12x^2-24x+24)+C.
19

Problem 19: Evaluate x2lnxdx\int x^2\ln x\,dx.

Answer: x33lnxx39+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=lnxu=\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)lnx13x2dx=(x3/3)lnxx3/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 x33lnxx39+C\frac{x^3}{3}\ln x-\frac{x^3}{9}+C.
20

Problem 20: Evaluate 1elnxdx\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=lnxu=\ln x and dv=dxdv=dx, an antiderivative is xlnxxx\ln x-x.
  2. Evaluate the bounds: [xlnxx]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.