Skip to Content
Data Structures and Algorithms in C++, Second Edition
book

Data Structures and Algorithms in C++, Second Edition

by Michael T. Goodrich, Roberto Tamassia, David M. Mount
February 2011
Intermediate to advanced
736 pages
19h 35m
English
Wiley
Content preview from Data Structures and Algorithms in C++, Second Edition

Appendix A. Useful Mathematical Facts

In this appendix, we give several useful mathematical facts. We begin with some combinatorial definitions and facts.

Logarithms and Exponents

Logarithms and Exponents

The logarithm function is defined as

Logarithms and Exponents

The following identities hold for logarithms and exponents:

  1. logbac = logba + logbc

  2. logba/c = logba − logbc

  3. logbac = clogba

  4. logba = (logca)/logcb

  5. Logarithms and Exponents
  6. Logarithms and Exponents
  7. babc = ba+c

  8. ba/bc = ba−c

In addition, we have the following.

Proposition A.1: If a > 0, b > 0, and c > a + b, then

Logarithms and Exponents

Justification: It is enough to show that ab < c2/4. We can write

Logarithms and Exponents

The natural logarithm function lnx = logex, where e = 2.71828..., is the value of the following progression:

Logarithms and Exponents

In addition,

Logarithms and Exponents

There are a number of useful inequalities relating to these functions (which derive from these definitions).

Proposition A.2: If x ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Structures and Algorithms in Java, 2nd Edition

Data Structures and Algorithms in Java, 2nd Edition

Robert Lafore
Data Structures and Algorithms in Java, 6th Edition

Data Structures and Algorithms in Java, 6th Edition

Michael T. Goodrich, Roberto Tamassia
C++ Software Design

C++ Software Design

Klaus Iglberger
Hands-On Data Structures and Algorithms with Python - Second Edition

Hands-On Data Structures and Algorithms with Python - Second Edition

Dr. Basant Agarwal, Benjamin Baka, David Julian

Publisher Resources

ISBN: 9780470383278Purchase book