23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix A<br />

Useful Mathematical Facts<br />

In this appendix we give several useful mathematical facts. We beg<strong>in</strong> with some<br />

comb<strong>in</strong>atorial def<strong>in</strong>itions <strong>and</strong> facts.<br />

Logarithms <strong>and</strong> Exponents<br />

The logarithm function is def<strong>in</strong>ed as<br />

log b a = c if a = b c .<br />

The follow<strong>in</strong>g identities hold for logarithms <strong>and</strong> exponents:<br />

1 log b ac = log b a + log b c<br />

2 log b a/c = log b a − log b c<br />

3 log b a c = clog b a<br />

4 log b a = (log c a)/log c b<br />

5 b log c a = a log c b<br />

6 (b a ) c = b ac<br />

7 b a b c = b a+c<br />

8 b a /b c = b a−c<br />

In addition, we have the follow<strong>in</strong>g:<br />

Proposition A.1: If a > 0, b > 0, <strong>and</strong> c > a + b, then<br />

loga + logb ≤ 2logc − 2.<br />

911

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

Saved successfully!

Ooh no, something went wrong!