08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

f(x)<br />

a<br />

c<br />

b<br />

Figure 12.3: Illustration <strong>of</strong> the mean value theorem.<br />

One application <strong>of</strong> the mean value theorem is with the Taylor expansion <strong>of</strong> a function.<br />

The Taylor expansion about the origin <strong>of</strong> f(x) is<br />

f(x) = f(0) + f ′ (0)x + 1 2! f ′′ (0)x 2 + 1 3! f ′′′ (0)x 3 + · · · (12.3)<br />

By the mean value theorem there exists c, 0 ≤ c ≤ x, such that f ′ (c) = f(x)−f(0)<br />

x<br />

f(x) − f(0) = xf ′ (c). Thus<br />

or<br />

xf ′ (c) = f ′ (0)x + 1 2! f ′′ (0)x 2 + 1 3! f ′′′ (0)x 3 + · · ·<br />

and<br />

f(x) = f(0) + xf ′ (c).<br />

One could apply the mean value theorem to f ′ (x) in<br />

Then there exists d, 0 ≤ d ≤ x such that<br />

f ′ (x) = f ′ (0) + f ′′ (0)x + 1 2! f ′′′ (0)x 2 + · · ·<br />

xf ′′ (d) = f ′′ (0)x + 1 2! f ′′′ (0)x 2 + · · ·<br />

Integrating<br />

1<br />

2 x2 f ′′ (d) = 1 2! f ′′ (0)x + 1 3! f ′′′ (0)x 3 + · · ·<br />

Substituting into Eq(12.3)<br />

f(x) = f(0) + f ′ (0)x + 1 2 x2 f ′′ (d).<br />

425

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!