Skip to content
Advanced Topics · Chapter 41

Logarithms

Logarithms turn powers into multiplication and products into sums. Learn the definition, the log rules and the base change formula that unlock AMC 12 and AIME log problems (this topic is mainly relevant for the AMC 12).

You'll need
open on YouTube
41.10%

Basic Definitions

In this section you will be able to read a logarithm as a question about powers, and switch between log form and exponent form.

A log is just a question: “to what power?” Two to what power is 8? Three. So log⁡28=3\log_2 8 = 3.

Every logarithm hides an exponent equation. log⁡bn=p\log_b n = p says exactly the same thing as bp=nb^{p} = n. When a log problem looks scary, rewrite it in exponent form. When an exponent problem looks stuck, take a log.

Look: the widget’s top line counts steps (exponents). The bottom line shows where those steps land. Equal steps up top mean multiplying by bb down below.

Exploreplay first, formulas later

Base-2 log scale: log_2 1 = 0

base b2
Exponents (powers of 2)012345Values12481632

Drag either marker, or focus one and use the arrow keys.

log⁡21=0  ⟺  20=1\log_{2} 1 = 0 \iff 2^{0} = 1

log_2 1 = 0

Name it

Definition 41.1.1 · Logarithm

A logarithm is the power to which a number must be raised in order to get some other number.

Logarithms are written as

a=log⁡bna = \log_b n

where bb is the base and nn is the number.

Basically, we are asking how many times we need to multiply the base to get the number nn: what power do we need to raise the base to, to get nn?

Theorem 41.1.2 · Converting to Logarithm and Exponents

log⁡xy=a  ⟹  xa=y\log_x y = a \implies x^a = y

The arrow works both ways: xa=yx^a = y also means log⁡xy=a\log_x y = a.

Try it

Problem 41.3.1

AMC 12

What is the value of aa for which 1log⁡2a+1log⁡3a+1log⁡4a=1\frac{1}{\log_2 a} + \frac{1}{\log_3 a} + \frac{1}{\log_4 a} = 1?

Problem 41.3.3

AMC 12

What is the value of (625log⁡52015)14\left(625^{\log_5 2015}\right)^{\frac{1}{4}}?

Problem 41.3.16(additional)

AMC 10

Suppose that 4a=54^a = 5, 5b=65^b = 6, 6c=76^c = 7, and 7d=87^d = 8. What is a⋅b⋅c⋅da \cdot b \cdot c \cdot d?

Checkpoint for section 41.1

Get 2 of 3 right to master this section. One try each, no hints.
1

What is log⁡381\log_3 81?

2

If log⁡x64=3\log_x 64 = 3, what is xx?

3

What is log⁡218\log_2 \frac{1}{8}?

41.20%

Logarithmic Formulas

In this section you will be able to use the product, quotient, power and base change rules to simplify logs and solve log equations.

log⁡3x4=log⁡2x8\log_{3x} 4 = \log_{2x} 8. Two different bases, both with xx inside. Rewrite both in base 2 and it falls apart in three lines.

Logs turn multiplication into addition. That is why a slide rule works: lay the length log⁡2\log 2 next to log⁡3\log 3 and you land on log⁡6\log 6.

The base change formula is the big one. When the bases don’t match, move everything into one base you like (often a prime), then simplify. Always check the domain at the end: every log needs a positive input and a positive base other than 1.

Exploreplay first, formulas later

Slide rule: log 2 + log 3 = log 6, so 2 × 3 = 6

a2
b3
log⁡2+log⁡3=log⁡6  ⇒  2×3=6\log 2 + \log 3 = \log 6 \;\Rightarrow\; 2 \times 3 = 6

Slide rule: log 2 + log 3 = log 6, so 2 × 3 = 6

Name it

Theorem 41.2.1 · Important Formulas

log⁡aar=r\log_a a^r = r
log⁡abc=log⁡ab+log⁡ac\log_a bc = \log_a b + \log_a c
log⁡abc=log⁡ab−log⁡ac\log_a \frac{b}{c} = \log_a b - \log_a c
log⁡abc=clog⁡ab\log_a b^c = c \log_a b
log⁡ab⋅log⁡bc=log⁡blog⁡a⋅log⁡clog⁡b=log⁡clog⁡a=log⁡ac\log_a b \cdot \log_b c = \frac{\log b}{\log a} \cdot \frac{\log c}{\log b} = \frac{\log c}{\log a} = \log_a c
log⁡ba=1log⁡ab\log_b a = \frac{1}{\log_a b}
log⁡ba=log⁡dalog⁡db\log_b a = \frac{\log_d a}{\log_d b}

Remark 41.2.3

These formulas are extremely important for working with logarithms and should definitely be memorized.

Remark 41.2.4

If you ever forget which way the signs in these logarithm rules go, just try a small example like log⁡10100+log⁡101000=log⁡10100,000\log_{10} 100 + \log_{10} 1000 = \log_{10} 100{,}000. From there you can figure out the sum-of-logarithms identity.

Remark 41.2.5

Natural logarithm (base ee), where ee is Euler's number, e≈2.71828e \approx 2.71828.

A logarithm with base ee is called a natural log and is written ln⁡\ln.

Theorem 41.2.6 · Advanced Formulas

log⁡aman=nm\log_{a^m} a^n = \frac{n}{m}
log⁡a(1b)=−log⁡ab\log_a \left(\frac{1}{b}\right) = -\log_a b
log⁡1ab=−log⁡ab\log_{\frac{1}{a}} b = -\log_a b

Concept 41.2.8

When you take the logarithms of numbers that form a geometric progression, the logarithms of those numbers form an arithmetic progression.

Watch itpredict, then reveal

Example 41.1

AMC 12

The solutions to the equation log⁡3x4=log⁡2x8\log_{3x} 4 = \log_{2x} 8, where xx is a positive real number other than 13\frac{1}{3} or 12\frac{1}{2}, can be written as pq\frac{p}{q} where pp and qq are relatively prime positive integers. What is p+qp + q?

Log scale (its total is revealed at the end of the example)

Exponents (powers of 2)01234Values124816

Drag either marker, or focus one and use the arrow keys.

log⁡28=3  ⟺  23=8\log_{2} 8 = 3 \iff 2^{3} = 8
log⁡24=2\log_{2} 4 = 2log⁡28=3\log_{2} 8 = 3

log_2 8 = 3

  1. 1

    The bases 3x3x and 2x2x are messy, but 44 and 88 are both powers of 22. Change to base 22: log⁡3x4=log⁡24log⁡2(3x)\log_{3x} 4 = \frac{\log_2 4}{\log_2 (3x)}. What is the numerator log⁡24\log_2 4?

    Predict first:
open on YouTube

Example 41.2

AIME

In a Martian civilization, all logarithms whose bases are not specified are assumed to be base bb, for some fixed b≥2b \ge 2. A Martian student writes down

3log⁡(xlog⁡x)=563 \log\left(\sqrt{x} \log x\right) = 56
log⁡log⁡x(x)=54\log_{\log x}(x) = 54

and finds that this system of equations has a single real number solution x>1x > 1. Find bb.

  1. 1

    Every log here is base bb. Let y=log⁡xy = \log x. The second equation says log⁡yx=54\log_y x = 54. Convert it to an exponent equation. What is xx in terms of yy?

    Predict first:
open on YouTube

Example 41.3

AIME

Let xx, yy, and zz be real numbers satisfying the system

log⁡2(xyz−3+log⁡5x)=5,log⁡3(xyz−3+log⁡5y)=4,log⁡4(xyz−3+log⁡5z)=4.\begin{aligned} \log_2(xyz - 3 + \log_5 x) &= 5, \\ \log_3(xyz - 3 + \log_5 y) &= 4, \\ \log_4(xyz - 3 + \log_5 z) &= 4. \end{aligned}

Find the value of ∣log⁡5x∣+∣log⁡5y∣+∣log⁡5z∣|\log_5 x| + |\log_5 y| + |\log_5 z|.

Equation combiner (its total is revealed at the end of the example)

multiply by2

3 rows. Tap rows to select them.

  1. 1

    Convert each equation to exponent form. The first says xyz−3+log⁡5x=25xyz - 3 + \log_5 x = 2^5. What is log⁡5x+xyz\log_5 x + xyz?

    Predict first:
open on YouTube

Example 41.4

AIME

Let xx, yy, and zz be positive real numbers that satisfy

2log⁡x(2y)=2log⁡2x(4z)=log⁡2x4(8yz)≠0.2\log_x(2y) = 2\log_{2x}(4z) = \log_{2x^4}(8yz) \ne 0.

The value of xy5zxy^5z can be expressed in the form 12p/q\frac{1}{2^{p/q}}, where pp and qq are relatively prime positive integers. Find p+qp + q.

  1. 1

    Everything is a power of 22 times xx, yy or zz, so work in base 22. Let u=log⁡2xu = \log_2 x, v=log⁡2yv = \log_2 y, w=log⁡2zw = \log_2 z, and call the common value kk. With the base change formula, what does 2log⁡x(2y)=k2\log_x(2y) = k become?

open on YouTube

Try it

Problem 41.3.2

AMC 12

What is the value of

log⁡37⋅log⁡59⋅log⁡711⋅log⁡913⋯log⁡2125⋅log⁡2327?\log_3 7 \cdot \log_5 9 \cdot \log_7 11 \cdot \log_9 13 \cdots \log_{21} 25 \cdot \log_{23} 27?

Problem 41.3.23(additional)

AMC 12

If log⁡(xy3)=1\log\left(xy^3\right) = 1 and log⁡(x2y)=1\log\left(x^2y\right) = 1, what is log⁡(xy)\log(xy)?

Problem 41.3.25(additional)

AMC 12

The solution of the equation 7x+7=8x7^{x+7} = 8^x can be expressed in the form x=log⁡b77x = \log_b 7^7. What is bb?

Contest cornerreal contest problems

Problem 41.3.4

AMC 12

There is a unique positive integer nn such that

log⁡2(log⁡16n)=log⁡4(log⁡4n).\log_2(\log_{16} n) = \log_4(\log_4 n).

What is the sum of the digits of nn?

Problem 41.3.6

AMC 12

The sequence

log⁡12162, log⁡12x, log⁡12y, log⁡12z, log⁡121250\log_{12} 162,\ \log_{12} x,\ \log_{12} y,\ \log_{12} z,\ \log_{12} 1250

is an arithmetic progression. What is xx?

Problem 41.3.7

AMC 12

For how many positive integers xx is log⁡10(x−40)+log⁡10(60−x)<2\log_{10}(x - 40) + \log_{10}(60 - x) < 2?

Problem 41.3.8

AMC 12

Positive real numbers aa and bb have the property that

log⁡a+log⁡b+log⁡a+log⁡b=100\sqrt{\log a} + \sqrt{\log b} + \log \sqrt{a} + \log \sqrt{b} = 100

and all four terms on the left are positive integers, where log⁡\log denotes the base 10 logarithm. What is abab?

Click a choice or type its letter (A–E).

Problem 41.3.10

AIME

The value of xx that satisfies log⁡2x320=log⁡2x+332020\log_{2^x} 3^{20} = \log_{2^{x+3}} 3^{2020} can be written as mn\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+nm + n.

Problem 41.3.11

AMC 12

Positive real numbers x≠1x \neq 1 and y≠1y \neq 1 satisfy log⁡2x=log⁡y16\log_2 x = \log_y 16 and xy=64xy = 64. What is (log⁡2xy)2\left(\log_2 \frac{x}{y}\right)^2?

Click a choice or type its letter (A–E).

Problem 41.3.12

AMC 12

What is the value of

(∑k=120log⁡5k3k2)⋅(∑k=1100log⁡9k25k)?\left(\sum_{k=1}^{20} \log_{5^k} 3^{k^2}\right) \cdot \left(\sum_{k=1}^{100} \log_{9^k} 25^k\right)?

Problem 41.3.13

AMC 12

What is the value of

log⁡280log⁡402−log⁡2160log⁡202?\frac{\log_2 80}{\log_{40} 2} - \frac{\log_2 160}{\log_{20} 2}?

Problem 41.3.14

AMC 12

What is the product of all the solutions to the equation

log⁡7x2023⋅log⁡289x2023=log⁡2023x2023?\log_{7x} 2023 \cdot \log_{289x} 2023 = \log_{2023x} 2023?

Checkpoint for section 41.2

Get 2 of 3 right to master this section. One try each, no hints.
1

Evaluate log⁡64+log⁡69\log_6 4 + \log_6 9.

2

Evaluate log⁡25⋅log⁡532\log_2 5 \cdot \log_5 32.

3

Evaluate log⁡927\log_9 27.

41.3

Practice Problems

In this section you will be able to mix every log rule from this chapter on AMC 12 and AIME problems.

Time to mix it all up. These problems need the definition, the log rules, base changes and domain checks, often all at once. Every problem has three hints if you get stuck.

Some of these you have seen before: the book repeats Problem 41.3.4 as 41.3.5, Example 41.1 as 41.3.31 and Example 41.2 as 41.3.19. Your progress on them is shared.

Want every problem from this chapter on one page? Open the problem set.

Mixed practice

Problem 41.3.5

AMC 12

This problem also appears in the book as 41.3.4.

There is a unique positive integer nn such that

log⁡2(log⁡16n)=log⁡4(log⁡4n).\log_2(\log_{16} n) = \log_4(\log_4 n).

What is the sum of the digits of nn?

Problem 41.3.31(additional)

AMC 12

This problem also appears in the book as 41.1.

The solutions to the equation log⁡3x4=log⁡2x8\log_{3x} 4 = \log_{2x} 8, where xx is a positive real number other than 13\frac{1}{3} or 12\frac{1}{2}, can be written as pq\frac{p}{q} where pp and qq are relatively prime positive integers. What is p+qp + q?

Problem 41.3.19(additional)

AIME

This problem also appears in the book as 41.2.

In a Martian civilization, all logarithms whose bases are not specified are assumed to be base bb, for some fixed b≥2b \ge 2. A Martian student writes down

3log⁡(xlog⁡x)=563 \log\left(\sqrt{x} \log x\right) = 56
log⁡log⁡x(x)=54\log_{\log x}(x) = 54

and finds that this system of equations has a single real number solution x>1x > 1. Find bb.

Contest cornerreal contest problems

Problem 41.3.9

AMC 12

Which of the following is the value of log⁡26+log⁡36\sqrt{\log_2 6 + \log_3 6}?

Click a choice or type its letter (A–E).

Problem 41.3.15

AMC 12

Let SS be the sum of all positive real numbers xx for which

x22=2 2x.x^{2^{\sqrt2}} = \sqrt2^{\,2^x}.

Which of the following statements is true?

Click a choice or type its letter (A–E).

Problem 41.3.17(additional)

AIME

Real numbers xx and yy with x,y>1x, y > 1 satisfy log⁡x(yx)=log⁡y(x4y)=10\log_x\left(y^x\right) = \log_y\left(x^{4y}\right) = 10. What is the value of xyxy?

Problem 41.3.18(additional)

AMC 12

The sum of the base-10 logarithms of the divisors of 10n10^n is 792792. What is nn?

Problem 41.3.20(additional)

AIME

Let SS be the sum of the base 10 logarithms of all the proper divisors (all divisors of a number excluding itself) of 10000001000000. What is the integer nearest to SS?

Problem 41.3.21(additional)

AIME

Positive integers aa and bb satisfy the condition

log⁡2(log⁡2a(log⁡2b(21000)))=0.\log_2\left(\log_{2^a}\left(\log_{2^b}\left(2^{1000}\right)\right)\right) = 0.

Find the sum of all possible values of a+ba + b.

Problem 41.3.22(additional)

AIME

The sequence a1,a2,…a_1, a_2, \dots is geometric with a1=aa_1 = a and common ratio rr, where aa and rr are positive integers. Given that log⁡8a1+log⁡8a2+⋯+log⁡8a12=2006\log_8 a_1 + \log_8 a_2 + \cdots + \log_8 a_{12} = 2006, find the number of possible ordered pairs (a,r)(a, r).

Problem 41.3.24(additional)

AIME

The increasing geometric sequence x0,x1,x2,…x_0, x_1, x_2, \dots consists entirely of integral powers of 33. Given that

∑n=07log⁡3(xn)=308and56≤log⁡3(∑n=07xn)≤57,\sum_{n=0}^{7} \log_3(x_n) = 308 \quad\text{and}\quad 56 \le \log_3\left(\sum_{n=0}^{7} x_n\right) \le 57,

find log⁡3(x14)\log_3(x_{14}).

Problem 41.3.26(additional)

AMC 12

For all integers nn greater than 11, define an=1log⁡n2002a_n = \frac{1}{\log_n 2002}. Let b=a2+a3+a4+a5b = a_2 + a_3 + a_4 + a_5 and c=a10+a11+a12+a13+a14c = a_{10} + a_{11} + a_{12} + a_{13} + a_{14}. Then b−cb - c equals

Click a choice or type its letter (A–E).

Problem 41.3.27(additional)

AMC 12

The numbers log⁡(a3b7)\log\left(a^3b^7\right), log⁡(a5b12)\log\left(a^5b^{12}\right), and log⁡(a8b15)\log\left(a^8b^{15}\right) are the first three terms of an arithmetic sequence, and the 12th12^{\text{th}} term of the sequence is log⁡bn\log b^n. What is nn?

Problem 41.3.28(additional)

AIME

Determine the value of abab if log⁡8a+log⁡4b2=5\log_8 a + \log_4 b^2 = 5 and log⁡8b+log⁡4a2=7\log_8 b + \log_4 a^2 = 7.

Problem 41.3.29(additional)

AIME

The number

2log⁡420006+3log⁡520006\frac{2}{\log_4 2000^6} + \frac{3}{\log_5 2000^6}

can be written as mn\frac{m}{n} where mm and nn are relatively prime positive integers. Find m+nm + n.

Problem 41.3.30(additional)

AMC 12

The domain of the function f(x)=log⁡12(log⁡4(log⁡14(log⁡16(log⁡116x))))f(x) = \log_{\frac12}\left(\log_4\left(\log_{\frac14}\left(\log_{16}\left(\log_{\frac{1}{16}} x\right)\right)\right)\right) is an interval of length mn\frac{m}{n}, where mm and nn are relatively prime positive integers. What is m+nm + n?

Problem 41.3.32(additional)

AMC 12

Let m>1m > 1 and n>1n > 1 be integers. Suppose that the product of the solutions for xx of the equation

8(log⁡nx)(log⁡mx)−7log⁡nx−6log⁡mx−2013=08(\log_n x)(\log_m x) - 7\log_n x - 6\log_m x - 2013 = 0

is the smallest possible integer. What is m+nm + n?

Problem 41.3.33(additional)

AMC 12Challenge

Let SS be the set of ordered triples (x,y,z)(x, y, z) of real numbers for which

log⁡10(x+y)=z and log⁡10(x2+y2)=z+1.\log_{10}(x + y) = z \text{ and } \log_{10}\left(x^2 + y^2\right) = z + 1.

There are real numbers aa and bb such that for all ordered triples (x,y,z)(x, y, z) in SS we have x3+y3=a⋅103z+b⋅102zx^3 + y^3 = a \cdot 10^{3z} + b \cdot 10^{2z}. What is the value of a+ba + b?