Fact Sheet on Logarithms Mathias Winther Madsen [email protected] January 18, 2014 This document contains a bunch facts about logarithms. Some of this you will probably recognize from high school. Some of it you might not. • Every real number b > 1 is associated with a certain exponential function. For instance, for b = 2, we have a function with values like x 2x

··· ···

−3 1/8

−2 1/4

−1 1/2

0 1

1 2

2 4

3 8

4 16

5 32

··· ···

The inverse of this exponential function is the base b logarithm, logb . For instance, log2 (32) = 5, log 1 = 0, and log2 (1/2) = −1.

Figure 1: 2x (black) and its inverse, log2 x (gray). We sometimes write log x instead of log(x), omitting the parentheses when there is no danger of confusion. 1

• I will use the word “log” to mean the base 2 logarithm when it makes a difference which base we are using. Some values of this function are log 3 ≈ 1.58 and log 5 ≈ 2.32. • The exponential function m = 2n is the answer to a lot of computer science problems: The number of binary strings of length n, the number of leaves on a binary tree of height n, etc. n = log2 m is consequently the answer to the inverse of these problems: The length of a tape that can accomodate m different strings, the height of a binary tree with n leaves, etc. • The most important property of logarithms is that they turn products into sums: log(x · y) = log(x) + log(y). Consequently, they also turn exponentiation into multiplication: log(xk ) = k log(x). Note that this also implies that log(1/x) = − log x. • Logarithms are strictly increasing (recall that we are assuming that b > 1). This means that log x is negative for 0 < x < 1 and positive for 1 < x.

Figure 2: Logarithms are strictly concave. • Logarithms are strictly concave. This means that if you pick two real numbers x1 , x2 > 0 and draw a line between (x1 , log x1 ) and (x2 , log x2 ), the line segment will lie strictly below the graph of the logarithm. 2

• Logarithms are undefined for x ≤ 0, and log x → −∞ for x → 0. • However, 1/x → ∞ at a faster rate than log x → −∞. Consequently, x log x → 0 for x → 0.

Figure 3: 1/x diverges faster than log(1/x) when x → 0. • The logarithm with base b is the only function which – is continunous; – turns products into sums; – satisfies the property f (b) = 1. Logarithms are thus unique in this particular sense. • Differentiating an exponential function only rescales it by a constant: (bx )0 = cbx . The unique base for which there is no rescaling (c = 1) is called e. It is approximately equal to 2.72, and its associated exponential function can be expressed as ex = exp(x) = 1 + x +

x3 x4 x5 xk x2 + + + + ··· + + ··· 2 6 24 120 k!

3

The logarithm which is the inverse of ex is called the natural logarithm, ln(x) = loge (x). It can be computed by means of its Taylor polynomial, ln(x) = (x − 1) −

(x − 1)3 (x − 1)k (x − 1)2 + − · · · + (−1)k+1 + ··· 2 3 k

e can also be approximated by means of the limit  n 1 1+ −→ e for n → ∞ n • ln(x) ≤ (x − 1) for all x, and ln(x) < (x − 1) for all x 6= 1. Moreover, ln(x) ≈ (x − 1) is a very good approximation of ln x around x = 1. This fact is also sometimes stated by saying that log(1 + t) ≈ t for t ≈ 0.

Figure 4: ln x is approximated very well by its Taylor polynomial x − 1. • Logarithms with different bases differ only by a constant factor: logc x =

logb x . logb c

In particular, we thus have the conversion formulas log2 x =

ln x ≈ 1.44 ln x, ln 2

and

log2 x =

log10 x ≈ 3.32 log10 x. log10 2

One way to remember the general rule is to think of the 10’s as “cancelling out” in an expression like log2 (10) log10 (x) = log2 (x). 4

Figure 5: The logarithms log2 x (black), ln x (gray), and log10 x (light gray) differ only by a constant factor. • As a consequence of the chain rule of calculus, the derivative of ln x is   1 0 ln (x) = . x This also entails that the anti-derivative of ln x is ˆ ln x = x ln x − x. For logarithms with other bases, these formulas differ by a constant factor of the form 1/ ln b. • The natural logarithm of a factorial, ln(n!) = ln(1 · 2 · 3 · 4 · · · n), can be estimated by means of Stirling’s approximation: ln(n!) ≈ (n ln n − n) +

1 ln(2πn), 2

or by its simplified version, n ln n − n. Both of these are very good approximations: For n = 100, the correct value is about ln(100!) ≈ 363.74, and two approximations give 366.96 and 360.52.

5

Figure 6: The first 60 values of ln(n!) (shown as black crosses), and Stirling’s approximation to these numbers (shown as gray circles).

6

Fact sheet on logarithms.pdf

3. Page 3 of 6. Fact sheet on logarithms.pdf. Fact sheet on logarithms.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Fact sheet on logarithms.pdf.

195KB Sizes 6 Downloads 327 Views

Recommend Documents

Fact sheet on logarithms.pdf
Consequently, they also turn exponentiation into multiplication: log(x. k. ) = k log(x). Note that this also implies that log(1/x) = − log x. • Logarithms are strictly ...

Company fact sheet copy
A diversified, global engineering solutions company with a proven track record of over 17 years. • More than 7000 passionate ... Equipment Software. Healthcare.

Fact Sheet - IN.gov
Click on the name of each grant for more ... Citation Requirements: The agency's official name is Indiana. Disability Rights. ... TTY: 800-838-1131. Website: www.

Fact Sheet Cuba.pdf
Cuba. Though this policy has been rooted in the best of intentions, it has had little ... In the coming months, we will re-establish an embassy in Havana and carry.

About Amgen Fact Sheet 08.11.09
pioneer since 1980, Amgen was one of the first companies to realize the new science's promise by bringing novel medicines from lab, to manufacturing plant, ...

FACT SHEET prambanan.pdf
Page 1 of 8. Page 1 of 8. Page 2 of 8. Page 3 of 8. FACT SHEET prambanan.pdf. FACT SHEET prambanan.pdf. Open. Extract. Open with. Sign In. Main menu.

Fact Sheet Kauai.pdf
Part time 956 62.5% 946 69.2%. Average semester credit ... No data 12 0.8% 9 0.7%. Major Programs. General ... Fact Sheet Kauai.pdf. Fact Sheet Kauai.pdf.

RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf
RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf. RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf. Open. Extract.

RU-PRESTO Infrastructure Fact Sheet on Cycle Lanes.pdf ...
for Transport – LTN 1/04». Page 3 of 7. RU-PRESTO Infrastructure Fact Sheet on Cycle Lanes.pdf. RU-PRESTO Infrastructure Fact Sheet on Cycle Lanes.pdf.

RU-PRESTO Infrastructure Fact Sheet on Grade Separation.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. RU-PRESTO ...

RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf
RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf. RU-PRESTO Infrastructure Fact Sheet on Right-of-Way Intersections.pdf. Open. Extract.

RU-PRESTO Infrastructure Fact Sheet on Roundabout Intersections ...
RU-PRESTO Infrastructure Fact Sheet on Roundabout Intersections.pdf. RU-PRESTO Infrastructure Fact Sheet on Roundabout Intersections.pdf. Open. Extract.

RU-PRESTO Infrastructure Fact Sheet on Contra-flow Cycling.pdf ...
Page 3 of 9. RU-PRESTO Infrastructure Fact Sheet on Contra-flow Cycling.pdf. RU-PRESTO Infrastructure Fact Sheet on Contra-flow Cycling.pdf. Open. Extract.

RU-PRESTO Infrastructure Fact Sheet on Traffic-light Intersections.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. RU-PRESTO ...

Fact sheet on Hunan Province - March 22, 2013 - SinOptic
Mar 22, 2013 - materials, electronics and information technology, electric appliances .... The development of science and technology will contribute more to ...

RU-PRESTO Infrastructure Fact Sheet on Cycle Tracks.pdf ...
RU-PRESTO Infrastructure Fact Sheet on Cycle Tracks.pdf. RU-PRESTO Infrastructure Fact Sheet on Cycle Tracks.pdf. Open. Extract. Open with. Sign In.

Epilepsy fact sheet - 2015.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Epilepsy fact sheet - 2015.pdf. Epilepsy fact sheet - 2015.pdf. Open.

ITM Fact Sheet - Final.pdf
Page 1 of 2. 1 EMSI Analysis. Fact Sheet: Building the 21st Century Industrial Technology Maintenance Workforce along the I-75. Corridor. Preparing students ...

Epilepsy fact sheet - 2015.pdf
Fact 23: A seizure can be described as an electrical storm in the brain. Normal brain function limits the. spread of electrical activity but a seizure happens when ...

Concussion Fact Sheet for Parents.pdf
or if s/he just “doesn't feel right.” Most concussions ... teens are among those at greatest risk for concussion. ... the hit, bump, or fall ... Sensitivity to light or noise.

Supervised Agricultural Experience Fact Sheet ... - Westlake FFA
Animal production – beef, sheep, swine, dairy, equine, goats, llamas. • Crop production – grains, fibers, horticultural crops, specialty crops. • Agribusiness – turf ...

Fact Sheet Growing Greener.pdf
Page 1 of 3. 1. Growing Greener Fact Sheet. History. § Growing Greener I was established in 1999 when Gov. Ridge and General. Assembly committed nearly ...

Concussion Fact Sheet - Parent.pdf
Is confused about. assignment or. position. ets an. nstruction. Is unsure of game,. score, or opponent. Moves clumsily. Answers questions. slowly. Loses consciousness. (even briefly). How can you help your child prevent a. concussion or other serious

FACT SHEET Catawba County-Appalachian State University ...
Aug 15, 2011 - a 7381 square foot center for biodiesel research, development ... Staff will use a mobile emissions analyzer in a Volkswagen test vehicle.