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.

from which the current inequality follows.<br />

Arithmetic and geometric means<br />

The arithmetic mean <strong>of</strong> a set <strong>of</strong> nonnegative reals is at least their geometric mean.<br />

For a 1 , a 2 , . . . , a n > 0,<br />

1<br />

n∑<br />

a i ≥<br />

n<br />

n√ a 1 a 2 · · · a n .<br />

i=1<br />

Assume that a 1 ≥ a 2 ≥ . . . ≥ a n . We reduce the pro<strong>of</strong> to the case when all the a i<br />

are equal using the variational method; in this case the inequality holds with equality.<br />

Suppose a 1 > a 2 . Let ε be a positive infinitesimal. Add ε to a 2 and subtract ε from a 1 to<br />

get closer to the case when they are equal. The left hand side 1 n<br />

∑ n<br />

i=1 a i does not change.<br />

(a 1 − ε)(a 2 + ε)a 3 a 4 · · · a n = a 1 a 2 · · · a n + ε(a 1 − a 2 )a 3 a 4 · · · a n + O(ε 2 )<br />

> a 1 a 2 · · · a n<br />

for small enough ε > 0. Thus, the change has increased n√ a 1 a 2 · · · a n . So if the inequality<br />

holds after the change, it must hold before. By continuing this process, one can make all<br />

the a i equal.<br />

Approximating sums by integrals<br />

For monotonic decreasing f(x),<br />

∫n+1<br />

x=m<br />

f (x)dx ≤<br />

n∑<br />

f (i) ≤<br />

i=m<br />

∫ n<br />

x=m−1<br />

f (x)dx.<br />

See Fig. 12.1. Thus,<br />

∫n+1<br />

x=2<br />

1<br />

dx ≤<br />

x 2<br />

n∑<br />

1<br />

= 1 + 1 + · · · + 1 ≤<br />

i 2 4 9 n 2<br />

i=2<br />

and hence 3 − 1 ≤ ∑ n 1<br />

≤ 2 − 1 .<br />

2 n+1 i 2 n<br />

i=1<br />

n∫<br />

x=1<br />

1<br />

dx<br />

x 2<br />

Jensen’s Inequality<br />

For a convex function f,<br />

( )<br />

1<br />

f<br />

2 (x 1 + x 2 ) ≤ 1 2 (f (x 1) + f (x 2 )) .<br />

385

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

Saved successfully!

Ooh no, something went wrong!