WEBVTT

1
00:00:00.000 --> 00:00:04.748
Here is the problem: the integral of e to the power x cos(x) dx.

2
00:00:05.199 --> 00:00:11.770
Find the indefinite integral (antiderivative) of e to the power x cos(x) with respect to x.

3
00:00:12.570 --> 00:00:14.114
Start with the integral.

4
00:00:14.564 --> 00:00:29.111
Integrate by parts twice. Integrating by parts twice returns the original integral I, so I equals e^ ax (a cos bx plus b sin bx)/(a squared plus b squared) with a equals 1, b equals 1.

5
00:00:29.561 --> 00:00:32.777
Exponential times trigonometric (by parts twice).

6
00:00:33.227 --> 00:00:36.257
Simplify and add the constant of integration.

7
00:00:37.057 --> 00:00:43.222
So the answer is e to the power x times (cos(x) plus sin(x)) / 2 plus C.

8
00:00:43.672 --> 00:00:54.759
An antiderivative F satisfies F prime of x equals f(x). Because the derivative of any constant is 0, every antiderivative differs by a constant C.

9
00:00:55.559 --> 00:01:01.155
Differentiated the answer and compared it with the integrand at 8 sample points, which checks out.
