Jugami › Algebra › Exponential and Logarithmic Functions
Exponential and Logarithmic Functions
Quantities that grow or shrink by the same percent each step, the logarithms that undo them, and how to solve equations where the unknown sits in an exponent.
An exponential function like y = 2x multiplies by the same number every time x goes up by 1. A logarithm answers the reverse question: what power gives this number? Since 23 = 8, we write log2 8 = 3. Logs are the inverse of exponentials, so their graphs are mirror images across the line y = x.
Growth and decay
An exponential model has the form y = a · bx. The number a is the starting value (the value of y when x = 0) and b is the growth factor, what you multiply by each step. If b > 1 the model shows growth; if b is between 0 and 1 it shows decay. A percent rate r, written as a decimal, gives the factor: b = 1 + r for growth and b = 1 − r for decay.
Example 1: Growth or decay, and at what rate?
Example 2: A car that loses 15% of its value a year
Compound interest and the number e
If P dollars earn a yearly rate r compounded n times a year, after t years the amount is A = P(1 + r/n)nt. Compounding more often helps a little, but not without limit. The values of (1 + 1/n)n settle down toward a number near 2.718, called e. When interest is compounded continuously, A = P · ert.
| n | (1 + 1/n)^n |
|---|---|
| 1 | 2 |
| 12 | 2.61304 (rounded) |
| 365 | 2.71457 (rounded) |
| 1000000 | 2.71828 (rounded) |
Example 3: $2000 at 4% compounded monthly for 5 years
Example 4: The same money compounded continuously
Logarithms as inverses
For a base b with b > 0 and b ≠ 1, logb x = y means exactly the same as by = x. The log is the exponent. Because the two undo each other, logb(bx) = x and blogb x = x. You can only take the log of a positive number. Two bases have special names: the common log log x means base 10, and the natural log ln x means base e.
Example 5: Write in log form
Example 6: Write in exponential form
Example 7: Evaluate logs
Log rules
Logs turn multiplying into adding, because exponents add when you multiply powers. For positive M and N:
- Product rule: logb(MN) = logb M + logb N
- Quotient rule: logb(M/N) = logb M − logb N
- Power rule: logb(Mk) = k · logb M
- Change of base: logb M = log M/log b, which lets a calculator find any log
Example 8: Expand a log
Example 9: Condense and evaluate
Example 10: Use change of base
Solving exponential equations
If both sides can be written with the same base, set the exponents equal. If not, get the power alone and take a log of both sides; the power rule brings the unknown down from the exponent.
Example 11: Same base
Example 12: Take a log of both sides
Example 13: How long until money doubles at 5% continuous interest?
Solving log equations
To solve a log equation, combine the logs into one, then rewrite it in exponential form. Always check each answer in the original equation: every log must be of a positive number. A solution that breaks this is extraneous and must be rejected.
Example 14: Rewrite in exponential form
Example 15: Reject an extraneous root
Example 16: A quotient of logs
Graphs and asymptotes
For b > 1 the graph of y = bx rises from left to right, passes through (0, 1) and (1, b), and gets closer and closer to the x-axis on the left without touching it: the line y = 0 is a horizontal asymptote. Its domain is all real numbers and its range is y > 0.
The graph of y = logb x is the reflection: it passes through (1, 0) and (b, 1), and the line x = 0 is a vertical asymptote. Its domain is x > 0 and its range is all real numbers. Shifting a graph shifts its asymptote with it.
Common mistakes
Practice problems
Try each one, then open the answer to check your work.
- A town of 1500 people grows 3% a year. Write a model and find the population after 10 years.
Show answer
y = 1500 · 1.03tb = 1 + 0.03y ≈ 20161500 · 1.0310 ≈ 2015.87, about 2016 people - Find the amount when $500 is invested at 6% compounded quarterly for 3 years.
Show answer
A = 500(1 + 0.06/4)4 · 3A ≈ 597.81 - Write log4 64 = 3 in exponential form.
Show answer
43 = 64 - Evaluate log2(1/8).
Show answer
log2(1/8) = −32−3 = 1/8 - Condense log2 40 − log2 5 and evaluate.
Show answer
log2(40/5) = log2 8Quotient rule3 - Solve 2x + 3 = 32.
Show answer
2x + 3 = 25x + 3 = 5x = 2 - Solve 4 · 3x = 50. Round to 3 decimal places.
Show answer
3x = 12.5x = log 12.5/log 3x ≈ 2.299 - Solve log5(x − 2) = 2.
Show answer
x − 2 = 52x = 27Check: 27 − 2 = 25 > 0 ✓ - Solve log3 x + log3(x − 8) = 2.
Show answer
x(x − 8) = 32Product rule, then exponential formx2 − 8x − 9 = 0(x − 9)(x + 1) = 0x = 9x = −1 is extraneous
History: tables that saved time
The Scottish mathematician John Napier described logarithms in a book published in 1614, Mirifici logarithmorum canonis descriptio. His aim was to turn long multiplications into additions. Napier's own logarithms were not quite the base 10 or base e logs we use today. Henry Briggs worked with him on a base 10 version, and published his first table of these common logarithms, Logarithmorum chilias prima, in 1617.
The number e came from money. According to the MacTutor History of Mathematics archive, in 1683 Jacob Bernoulli studied continuous compound interest and tried to find the limit of (1 + 1/n)n as n grows. The letter e for this number first appears in a letter Leonhard Euler wrote to Christian Goldbach in 1731. MacTutor calls the claim that Euler chose e for his own name ridiculous.
Connections
Exponential functions first appear in Functions and Their Graphs, and the log rules come straight from the rules for powers in Exponents and Radicals. Geometric sequences in Sequences and Series are exponential growth counted in whole steps.
Solving a log equation often ends in a quadratic, from Quadratic Equations, and checking for extraneous roots works just like it does in Rational Expressions and Equations.
Try the interactive version at jugami.com/algebra/logarithms/
Practice generator
Pick a level, or Mixed for a bit of everything. Answers are a single number, like 5, −2, 1/3 or 2.161. When a problem asks you to round, keep full calculator values and round only at the end. You can type x = in front, and a dollar sign or percent sign is fine.
Sources
- J J O'Connor and E F Robertson, “John Napier”, MacTutor History of Mathematics, University of St Andrews: Napier biography (the 1614 book)
- J J O'Connor and E F Robertson, “Henry Briggs”, MacTutor: Briggs biography (the 1617 table)
- J J O'Connor and E F Robertson, “The number e”, MacTutor: The number e (Bernoulli 1683, Euler 1731)
- Common Core State Standards for Mathematics: Linear, Quadratic, and Exponential Models (F-LE.A.4), Building Functions (F-BF.B.5), Seeing Structure in Expressions (A-SSE.B.3c), Interpreting Functions (F-IF.C.7e)
Credits: all diagrams on this page are original SVG drawings made for Jugami. Every answer was double-checked.