<<

Math 111 lecture for Monday, Week 11

Another example. Recall the formula for integration by parts: Z Z u dv = uv − v du.

Let’s apply this to compute the indefinite Z ex cos(x) dx.

Let u = ex du = ex dx dv = cos(x) dx v = sin(x). We get Z Z ex cos(x) dx = ex sin(x) − ex sin(x) dx. (1)

So we now need to compute R ex sin(x) dx. Try again by parts, this time with

u = ex du = ex dx dv = sin(x) dx v = − cos(x).

We get Z Z ex sin(x) dx = −ex cos(x) + ex cos(x) dx.

It may look like we’ve gone in circles. But if you carefully substitute what we’ve just calculated back into equation (1), we get Z Z ex cos(x) dx = ex sin(x) − ex sin(x) dx

Z = ex sin(x) − (−ex cos(x) + ex cos(x) dx)

Z = ex sin(x) + ex cos(x) − ex cos(x) dx).

Add R ex cos(x) dx to both sides to get Z 2 ex cos(x) dx = ex sin(x) + ex cos(x).

1 Therefore, the final solution is Z 1 ex cos(x) dx = (sin(x) + cos(x))ex + . 2 (It’s easy to take the of the right-hand side, using the , to check that we’ve got the right answer.) The . To define the logarithm function, we first need to talk about a theorem sometimes called the second fundamental theorem of . It says that every has an . Theorem. (FTC2) Suppose f is a continuous function on an open interval I con- taining a point a. Define Z x g(x) = f(t) dt a for each x ∈ I. Then g0(x) = f(x) for each x ∈ I. Proof. Math 112.  Example. Let f(x) = x5 and define Z x Z x g(x) = f(t) dt = t5 dt. 0 0 Therefore, Z x g(x) = t5 dt 0 x 1 6 = t 6 t=0 1 = x6, 6 0 R x 5 and we have g (x) = f(x), as claimed. (Exercise: check that if we let g(x) = a x dt, for any constant a, we’d still get g0(x) = f(x).) Example. Here is an example of an integral that does not have a nice closed form: Z x b(x) = e−t2+cos(t) dt. 0 However, by FTC2, we know its derivative b0(x) = e−x2+cos(x).

2 The logarithm function. Recall that for every α, we have (xα)0 = αxα−1. Therefore, Z 1 xα dx = xα+1 + c α + 1 as long as α 6= 1. So the case α = −1 is somewhat mysterious: Z Z 1 x−1 dx = dx. x We handle this case by making up a name for it—the logarithm:

Definition. For x > 0, the natural logarithm is Z x 1 ln(x) = dt. 1 t

So the natural logarithm is, by definition, the area under the graph of f(t) = 1/t from t = 1 to t = x:

area = ln(x)

1 x t

1 Graph of f(t) = t .

By FTC2, we have 1 (ln(x))0 = . x

3