Home / Practice / Calculus / Worksheet / Integration by Parts Worksheet 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 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.
Start practice Printable preview Evaluate ∫ x e x d x \int xe^x\,dx ∫ x e x d x . Evaluate ∫ x 2 e x d x \int x^2e^x\,dx ∫ x 2 e x d x . Evaluate ∫ x 3 e x d x \int x^3e^x\,dx ∫ x 3 e x d x . Evaluate ∫ x e 2 x d x \int xe^{2x}\,dx ∫ x e 2 x d x . Evaluate ∫ x sin x d x \int x\sin x\,dx ∫ x sin x d x . Evaluate ∫ x cos x d x \int x\cos x\,dx ∫ x cos x d x . Evaluate ∫ x 2 sin x d x \int x^2\sin x\,dx ∫ x 2 sin x d x . Evaluate ∫ x 2 cos x d x \int x^2\cos x\,dx ∫ x 2 cos x d x . Evaluate ∫ ln x d x \int\ln x\,dx ∫ ln x d x . Evaluate ∫ x ln x d x \int x\ln x\,dx ∫ x ln x d x . Evaluate ∫ ( ln x ) 2 d x \int(\ln x)^2\,dx ∫ ( ln x ) 2 d x . Evaluate ∫ arctan x d x \int\arctan x\,dx ∫ arctan x d x . Evaluate ∫ arcsin x d x \int\arcsin x\,dx ∫ arcsin x d x . Evaluate ∫ 0 1 x e x d x \int_0^1xe^x\,dx ∫ 0 1 x e x d x . Evaluate ∫ 0 π x sin x d x \int_0^\pi x\sin x\,dx ∫ 0 π x sin x d x . Evaluate ∫ e x cos x d x \int e^x\cos x\,dx ∫ e x cos x d x . Evaluate ∫ e x sin x d x \int e^x\sin x\,dx ∫ e x sin x d x . Evaluate ∫ x 4 e x d x \int x^4e^x\,dx ∫ x 4 e x d x . Evaluate ∫ x 2 ln x d x \int x^2\ln x\,dx ∫ x 2 ln x d x . Evaluate ∫ 1 e ln x d x \int_1^e\ln x\,dx ∫ 1 e ln x d x . Complete worked solutions Every problem has a source-matched answer and independently reviewed derivation.
01
Problem 1: Evaluate ∫ x e x d x \int xe^x\,dx ∫ x e x d x .Answer: e x ( x − 1 ) + C e^x(x-1)+C e x ( x − 1 ) + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x u=x u = x and d v = e x d x dv=e^x dx d v = e x d x , so d u = d x du=dx d u = d x and v = e x v=e^x v = e x . Then ∫ x e x d x = x e x − ∫ e x d x = x e x − e x + C = e x ( x − 1 ) + C \int xe^x dx=xe^x-\int e^x dx=xe^x-e^x+C=e^x(x-1)+C ∫ x e x d x = x e x − ∫ e x d x = x e x − e x + C = e x ( x − 1 ) + C . Therefore the result is e x ( x − 1 ) + C e^x(x-1)+C e x ( x − 1 ) + C . 02
Problem 2: Evaluate ∫ x 2 e x d x \int x^2e^x\,dx ∫ x 2 e x d x .Answer: e x ( x 2 − 2 x + 2 ) + C e^x(x^2-2x+2)+C e x ( x 2 − 2 x + 2 ) + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x 2 u=x^2 u = x 2 and d v = e x d x dv=e^x dx d v = e x d x : I = x 2 e x − 2 ∫ x e x d x I=x^2e^x-2\int xe^x dx I = x 2 e x − 2 ∫ x e x d x . Using ∫ x e x d x = e x ( x − 1 ) \int xe^x dx=e^x(x-1) ∫ x e x d x = e x ( x − 1 ) , I = e x ( x 2 − 2 x + 2 ) + C I=e^x(x^2-2x+2)+C I = e x ( x 2 − 2 x + 2 ) + C . Therefore the result is e x ( x 2 − 2 x + 2 ) + C e^x(x^2-2x+2)+C e x ( x 2 − 2 x + 2 ) + C . 03
Problem 3: Evaluate ∫ x 3 e x d x \int x^3e^x\,dx ∫ x 3 e x d x .Answer: e x ( x 3 − 3 x 2 + 6 x − 6 ) + C e^x(x^3-3x^2+6x-6)+C e x ( x 3 − 3 x 2 + 6 x − 6 ) + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x 3 u=x^3 u = x 3 and d v = e x d x dv=e^x dx d v = e x d x : I = x 3 e x − 3 ∫ x 2 e x d x I=x^3e^x-3\int x^2e^x dx I = x 3 e x − 3 ∫ x 2 e x d x . Substitute ∫ x 2 e x d x = e x ( x 2 − 2 x + 2 ) \int x^2e^x dx=e^x(x^2-2x+2) ∫ x 2 e x d x = e x ( x 2 − 2 x + 2 ) and collect terms to get e x ( x 3 − 3 x 2 + 6 x − 6 ) + C e^x(x^3-3x^2+6x-6)+C e x ( x 3 − 3 x 2 + 6 x − 6 ) + C . 04
Problem 4: Evaluate ∫ x e 2 x d x \int xe^{2x}\,dx ∫ x e 2 x d x .Answer: e 2 x ( 2 x − 1 ) / 4 + C e^{2x}(2x-1)/4+C e 2 x ( 2 x − 1 ) /4 + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x u=x u = x and d v = e 2 x d x dv=e^{2x}dx d v = e 2 x d x , so d u = d x du=dx d u = d x and v = e 2 x / 2 v=e^{2x}/2 v = e 2 x /2 . Thus I = x e 2 x / 2 − ∫ e 2 x / 2 d x = x e 2 x / 2 − e 2 x / 4 + C = e 2 x ( 2 x − 1 ) / 4 + C I=xe^{2x}/2-\int e^{2x}/2\,dx=xe^{2x}/2-e^{2x}/4+C=e^{2x}(2x-1)/4+C I = x e 2 x /2 − ∫ e 2 x /2 d x = x e 2 x /2 − e 2 x /4 + C = e 2 x ( 2 x − 1 ) /4 + C . Therefore the result is e 2 x ( 2 x − 1 ) / 4 + C e^{2x}(2x-1)/4+C e 2 x ( 2 x − 1 ) /4 + C . 05
Problem 5: Evaluate ∫ x sin x d x \int x\sin x\,dx ∫ x sin x d x .Answer: − x cos x + sin x + C -x\cos x+\sin x+C − x cos x + sin x + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x u=x u = x and d v = sin x d x dv=\sin x\,dx d v = sin x d x , so d u = d x du=dx d u = d x and v = − cos x v=-\cos x v = − cos x . Then I = − x cos x + ∫ cos x d x = − x cos x + sin x + C I=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C I = − x cos x + ∫ cos x d x = − x cos x + sin x + C . Therefore the result is − x cos x + sin x + C -x\cos x+\sin x+C − x cos x + sin x + C . 06
Problem 6: Evaluate ∫ x cos x d x \int x\cos x\,dx ∫ x cos x d x .Answer: x sin x + cos x + C x\sin x+\cos x+C x sin x + cos x + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x u=x u = x and d v = cos x d x dv=\cos x\,dx d v = cos x d x , so d u = d x du=dx d u = d x and v = sin x v=\sin x v = sin x . Then I = x sin x − ∫ sin x d x = x sin x + cos x + C I=x\sin x-\int\sin x\,dx=x\sin x+\cos x+C I = x sin x − ∫ sin x d x = x sin x + cos x + C . Therefore the result is x sin x + cos x + C x\sin x+\cos x+C x sin x + cos x + C . 07
Problem 7: Evaluate ∫ x 2 sin x d x \int x^2\sin x\,dx ∫ x 2 sin x d x .Answer: − x 2 cos x + 2 x sin x + 2 cos x + C -x^2\cos x+2x\sin x+2\cos x+C − x 2 cos x + 2 x sin x + 2 cos x + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x 2 u=x^2 u = x 2 and d v = sin x d x dv=\sin x\,dx d v = sin x d x : I = − x 2 cos x + 2 ∫ x cos x d x I=-x^2\cos x+2\int x\cos x\,dx I = − x 2 cos x + 2 ∫ x cos x d x . Since ∫ x cos x d x = x sin x + cos x \int x\cos x\,dx=x\sin x+\cos x ∫ x cos x d x = x sin x + cos x , I = − x 2 cos x + 2 x sin x + 2 cos x + C I=-x^2\cos x+2x\sin x+2\cos x+C I = − x 2 cos x + 2 x sin x + 2 cos x + C . Therefore the result is − x 2 cos x + 2 x sin x + 2 cos x + C -x^2\cos x+2x\sin x+2\cos x+C − x 2 cos x + 2 x sin x + 2 cos x + C . 08
Problem 8: Evaluate ∫ x 2 cos x d x \int x^2\cos x\,dx ∫ x 2 cos x d x .Answer: x 2 sin x + 2 x cos x − 2 sin x + C x^2\sin x+2x\cos x-2\sin x+C x 2 sin x + 2 x cos x − 2 sin x + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = x 2 u=x^2 u = x 2 and d v = cos x d x dv=\cos x\,dx d v = cos x d x : I = x 2 sin x − 2 ∫ x sin x d x I=x^2\sin x-2\int x\sin x\,dx I = x 2 sin x − 2 ∫ x sin x d x . Since ∫ x sin x d x = − x cos x + sin x \int x\sin x\,dx=-x\cos x+\sin x ∫ x sin x d x = − x cos x + sin x , I = x 2 sin x + 2 x cos x − 2 sin x + C I=x^2\sin x+2x\cos x-2\sin x+C I = x 2 sin x + 2 x cos x − 2 sin x + C . Therefore the result is x 2 sin x + 2 x cos x − 2 sin x + C x^2\sin x+2x\cos x-2\sin x+C x 2 sin x + 2 x cos x − 2 sin x + C . 09
Problem 9: Evaluate ∫ ln x d x \int\ln x\,dx ∫ ln x d x .Answer: x ln x − x + C x\ln x-x+C x ln x − x + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Write the integrand as ( ln x ) ( 1 ) (\ln x)(1) ( ln x ) ( 1 ) ; take u = ln x u=\ln x u = ln x and d v = d x dv=dx d v = d x , so d u = d x / x du=dx/x d u = d x / x and v = x v=x v = x . Then I = x ln x − ∫ 1 d x = x ln x − x + C I=x\ln x-\int1\,dx=x\ln x-x+C I = x ln x − ∫ 1 d x = x ln x − x + C , for x > 0 x>0 x > 0 . Therefore the result is x ln x − x + C x\ln x-x+C x ln x − x + C . 10
Problem 10: Evaluate ∫ x ln x d x \int x\ln x\,dx ∫ x ln x d x .Answer: x 2 2 ln x − x 2 4 + C \frac{x^2}{2}\ln x-\frac{x^2}{4}+C 2 x 2 ln x − 4 x 2 + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = ln x u=\ln x u = ln x and d v = x d x dv=x\,dx d v = x d x , so d u = d x / x du=dx/x d u = d x / x and v = x 2 / 2 v=x^2/2 v = x 2 /2 . Then I = ( x 2 / 2 ) ln x − 1 2 ∫ x d x = ( x 2 / 2 ) ln x − x 2 / 4 + C I=(x^2/2)\ln x-\frac12\int x\,dx=(x^2/2)\ln x-x^2/4+C I = ( x 2 /2 ) ln x − 2 1 ∫ x d x = ( x 2 /2 ) ln x − x 2 /4 + C , for x > 0 x>0 x > 0 . Therefore the result is x 2 2 ln x − x 2 4 + C \frac{x^2}{2}\ln x-\frac{x^2}{4}+C 2 x 2 ln x − 4 x 2 + C . 11
Problem 11: Evaluate ∫ ( ln x ) 2 d x \int(\ln x)^2\,dx ∫ ( ln x ) 2 d x .Answer: x [ ( ln x ) 2 − 2 ln x + 2 ] + C x[(\ln x)^2-2\ln x+2]+C x [( ln x ) 2 − 2 ln x + 2 ] + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = ( ln x ) 2 u=(\ln x)^2 u = ( ln x ) 2 and d v = d x dv=dx d v = d x : I = x ( ln x ) 2 − 2 ∫ ln x d x I=x(\ln x)^2-2\int\ln x\,dx I = x ( ln x ) 2 − 2 ∫ ln x d x . Substitute ∫ ln x d x = x ln x − x \int\ln x\,dx=x\ln x-x ∫ ln x d x = x ln x − x to obtain x [ ( ln x ) 2 − 2 ln x + 2 ] + C x[(\ln x)^2-2\ln x+2]+C x [( ln x ) 2 − 2 ln x + 2 ] + C , for x > 0 x>0 x > 0 . 12
Problem 12: Evaluate ∫ arctan x d x \int\arctan x\,dx ∫ arctan x d x .Answer: x arctan x − 1 2 ln ( 1 + x 2 ) + C x\arctan x-\frac12\ln(1+x^2)+C x arctan x − 2 1 ln ( 1 + x 2 ) + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = arctan x u=\arctan x u = arctan x and d v = d x dv=dx d v = d x , so d u = d x / ( 1 + x 2 ) du=dx/(1+x^2) d u = d x / ( 1 + x 2 ) and v = x v=x v = x . Then I = x arctan x − ∫ x / ( 1 + x 2 ) d x = x arctan x − 1 2 ln ( 1 + x 2 ) + C I=x\arctan x-\int x/(1+x^2)\,dx=x\arctan x-\frac12\ln(1+x^2)+C I = x arctan x − ∫ x / ( 1 + x 2 ) d x = x arctan x − 2 1 ln ( 1 + x 2 ) + C . Therefore the result is x arctan x − 1 2 ln ( 1 + x 2 ) + C x\arctan x-\frac12\ln(1+x^2)+C x arctan x − 2 1 ln ( 1 + x 2 ) + C . 13
Problem 13: Evaluate ∫ arcsin x d x \int\arcsin x\,dx ∫ arcsin x d x .Answer: x arcsin x + 1 − x 2 + C x\arcsin x+\sqrt{1-x^2}+C x arcsin x + 1 − x 2 + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = arcsin x u=\arcsin x u = arcsin x and d v = d x dv=dx d v = d x , so d u = d x / 1 − x 2 du=dx/\sqrt{1-x^2} d u = d x / 1 − x 2 and v = x v=x v = x . Because ∫ x / 1 − x 2 d x = − 1 − x 2 \int x/\sqrt{1-x^2}\,dx=-\sqrt{1-x^2} ∫ x / 1 − x 2 d x = − 1 − x 2 , I = x arcsin x + 1 − x 2 + C I=x\arcsin x+\sqrt{1-x^2}+C I = x arcsin x + 1 − x 2 + C on ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) . Therefore the result is x arcsin x + 1 − x 2 + C x\arcsin x+\sqrt{1-x^2}+C x arcsin x + 1 − x 2 + C . 14
Problem 14: Evaluate ∫ 0 1 x e x d x \int_0^1xe^x\,dx ∫ 0 1 x e x d x .Answer: 1 1 1
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Using u = x u=x u = x and d v = e x d x dv=e^x dx d v = e x d x , an antiderivative is e x ( x − 1 ) e^x(x-1) e x ( x − 1 ) . Evaluate the bounds: [ e x ( x − 1 ) ] 0 1 = 0 − ( − 1 ) = 1 [e^x(x-1)]_0^1=0-(-1)=1 [ e x ( x − 1 ) ] 0 1 = 0 − ( − 1 ) = 1 . Therefore the result is 1 1 1 . 15
Problem 15: Evaluate ∫ 0 π x sin x d x \int_0^\pi x\sin x\,dx ∫ 0 π x sin x d x .Answer: π \pi π
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Using u = x u=x u = x and d v = sin x d x dv=\sin x\,dx d v = sin x d x , an antiderivative is − x cos x + sin x -x\cos x+\sin x − x cos x + sin x . Evaluate the bounds: [ − x cos x + sin x ] 0 π = π − 0 = π [-x\cos x+\sin x]_0^\pi=\pi-0=\pi [ − x cos x + sin x ] 0 π = π − 0 = π . Therefore the result is π \pi π . 16
Problem 16: Evaluate ∫ e x cos x d x \int e^x\cos x\,dx ∫ e x cos x d x .Answer: e x 2 ( sin x + cos x ) + C \frac{e^x}{2}(\sin x+\cos x)+C 2 e x ( sin x + cos x ) + C
Why this method: Cyclic integration by parts matches the mathematical structure before any algebraic cleanup.
Let I = ∫ e x cos x d x I=\int e^x\cos x\,dx I = ∫ e x cos x d x . Two integrations by parts give I = e x cos x + e x sin x − I I=e^x\cos x+e^x\sin x-I I = e x cos x + e x sin x − I . Therefore 2 I = e x ( sin x + cos x ) 2I=e^x(\sin x+\cos x) 2 I = e x ( sin x + cos x ) , so I = e x 2 ( sin x + cos x ) + C I=\frac{e^x}{2}(\sin x+\cos x)+C I = 2 e x ( sin x + cos x ) + C . Therefore the result is e x 2 ( sin x + cos x ) + C \frac{e^x}{2}(\sin x+\cos x)+C 2 e x ( sin x + cos x ) + C . 17
Problem 17: Evaluate ∫ e x sin x d x \int e^x\sin x\,dx ∫ e x sin x d x .Answer: e x 2 ( sin x − cos x ) + C \frac{e^x}{2}(\sin x-\cos x)+C 2 e x ( sin x − cos x ) + C
Why this method: Cyclic integration by parts matches the mathematical structure before any algebraic cleanup.
Let I = ∫ e x sin x d x I=\int e^x\sin x\,dx I = ∫ e x sin x d x . Two integrations by parts give I = e x sin x − e x cos x − I I=e^x\sin x-e^x\cos x-I I = e x sin x − e x cos x − I . Therefore 2 I = e x ( sin x − cos x ) 2I=e^x(\sin x-\cos x) 2 I = e x ( sin x − cos x ) , so I = e x 2 ( sin x − cos x ) + C I=\frac{e^x}{2}(\sin x-\cos x)+C I = 2 e x ( sin x − cos x ) + C . Therefore the result is e x 2 ( sin x − cos x ) + C \frac{e^x}{2}(\sin x-\cos x)+C 2 e x ( sin x − cos x ) + C . 18
Problem 18: Evaluate ∫ x 4 e x d x \int x^4e^x\,dx ∫ x 4 e x d x .Answer: e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C e^x(x^4-4x^3+12x^2-24x+24)+C e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Repeatedly take the polynomial as u u u : I = x 4 e x − 4 ∫ x 3 e x d x I=x^4e^x-4\int x^3e^x dx I = x 4 e x − 4 ∫ x 3 e x d x . Substituting the three prior reductions gives I = e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C I=e^x(x^4-4x^3+12x^2-24x+24)+C I = e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C . Therefore the result is e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C e^x(x^4-4x^3+12x^2-24x+24)+C e x ( x 4 − 4 x 3 + 12 x 2 − 24 x + 24 ) + C . 19
Problem 19: Evaluate ∫ x 2 ln x d x \int x^2\ln x\,dx ∫ x 2 ln x d x .Answer: x 3 3 ln x − x 3 9 + C \frac{x^3}{3}\ln x-\frac{x^3}{9}+C 3 x 3 ln x − 9 x 3 + C
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Take u = ln x u=\ln x u = ln x and d v = x 2 d x dv=x^2dx d v = x 2 d x , so d u = d x / x du=dx/x d u = d x / x and v = x 3 / 3 v=x^3/3 v = x 3 /3 . Then I = ( x 3 / 3 ) ln x − 1 3 ∫ x 2 d x = ( x 3 / 3 ) ln x − x 3 / 9 + C I=(x^3/3)\ln x-\frac13\int x^2dx=(x^3/3)\ln x-x^3/9+C I = ( x 3 /3 ) ln x − 3 1 ∫ x 2 d x = ( x 3 /3 ) ln x − x 3 /9 + C , for x > 0 x>0 x > 0 . Therefore the result is x 3 3 ln x − x 3 9 + C \frac{x^3}{3}\ln x-\frac{x^3}{9}+C 3 x 3 ln x − 9 x 3 + C . 20
Problem 20: Evaluate ∫ 1 e ln x d x \int_1^e\ln x\,dx ∫ 1 e ln x d x .Answer: 1 1 1
Why this method: Integration by parts matches the mathematical structure before any algebraic cleanup.
Using u = ln x u=\ln x u = ln x and d v = d x dv=dx d v = d x , an antiderivative is x ln x − x x\ln x-x x ln x − x . Evaluate the bounds: [ x ln x − x ] 1 e = 0 − ( − 1 ) = 1 [x\ln x-x]_1^e=0-(-1)=1 [ x ln x − x ] 1 e = 0 − ( − 1 ) = 1 . Therefore the result is 1 1 1 . 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. Revised 2026-07-23. Original BetterGrades material. Free classroom and personal study use with attribution; no resale.