Logarithm Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Logarithm.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

The logarithm logโกb(x)\log_b(x) answers: "to what power must bb be raised to produce xx?" It is the inverse function of f(x)=bxf(x) = b^x.

The exponent that produces a number. logโก2(8)=3\log_2(8) = 3 because 23=82^3 = 8.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: A logarithm answers what power the base must be raised to in order to reach a given number.

Common stuck point: The procedure for logarithm is the easy part; the trap is treating a log as division. Asking "Am I asking 'what exponent on the base gives this number?'" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Am I asking 'what exponent on the base gives this number?'

Worked Examples

Example 1

easy
Evaluate logโก232\log_2 32.

Answer

55

First step

1
A logarithm asks for the exponent, so we want the value of xx such that 2x=322^x = 32.

Full solution

  1. 2
    Check powers of 2: 25=322^5 = 32.
  2. 3
    Therefore logโก232=5\log_2 32 = 5.
A logarithm answers the question: 'What power do I raise the base to in order to get this number?' The definition logโกba=c\log_b a = c means bc=ab^c = a.

Example 2

medium
Solve logโก3(2x+1)=4\log_3(2x + 1) = 4.

Example 3

hard
Solve logโก2(x)+logโก2(xโˆ’6)=4\log_2(x) + \log_2(x - 6) = 4.

Example 4

medium
Solve 2x=502^x = 50 for xx to two decimal places.

Example 5

medium
Solve logโก5x=3\log_5 x = 3.

Example 6

hard
Solve 32x+1=273^{2x+1} = 27.

Example 7

hard
A population doubles every 7 years. If it starts at 50005000, how many years until it reaches 4000040000?

Example 8

hard
Solve logโก3(x)+logโก3(x+6)=3\log_3(x) + \log_3(x+6) = 3.

Example 9

challenge
Carbon-14 has a half-life of 5730 years. A sample retains 30% of its original 14^{14}C. How old is it (to the nearest 100 years)?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Evaluate logโก5125\log_5 125.

Example 2

medium
Solve logโก(x)+logโก(xโˆ’3)=1\log(x) + \log(x - 3) = 1 where logโก\log denotes logโก10\log_{10}.

Example 3

easy
Evaluate logโก28\log_2 8.

Example 4

easy
Evaluate logโก101000\log_{10} 1000.

Example 5

easy
Evaluate logโก51\log_5 1.

Example 6

easy
Evaluate logโก327\log_3 27.

Example 7

easy
Rewrite 24=162^4=16 as a logarithm.

Example 8

easy
Evaluate lnโกe\ln e.

Example 9

easy
Evaluate logโก214\log_2 \frac{1}{4}.

Example 10

easy
What is the domain of logโก2x\log_2 x?

Example 11

medium
Simplify logโก24+logโก28\log_2 4+\log_2 8.

Example 12

medium
Solve logโก3x=4\log_3 x=4.

Example 13

medium
Simplify logโก5100โˆ’logโก54\log_5 100-\log_5 4.

Example 14

medium
Simplify logโก285\log_2 8^5.

Example 15

medium
Solve logโก2(xโˆ’1)=3\log_2(x-1)=3.

Example 16

medium
Use the change of base to write logโก49\log_4 9 with natural logs.

Example 17

medium
Solve logโกx+logโก(xโˆ’3)=1\log x+\log(x-3)=1 (base 10).

Example 18

medium
Why is logโก(2+3)\log(2+3) not equal to logโก2+logโก3\log 2+\log 3?

Example 19

challenge
Solve logโก2x+logโก4x=3\log_2 x+\log_4 x=3.

Example 20

challenge
If logโกb2=0.3\log_b 2=0.3 and logโกb3=0.5\log_b 3=0.5, find logโกb12\log_b 12.

Example 21

challenge
Solve 22x=3โ‹…2x+42^{2x}=3\cdot 2^x+4 using logs/substitution.

Example 22

medium
Solve logโก2x=โˆ’3\log_2 x=-3.

Example 23

easy
Evaluate logโก416\log_4 16.

Example 24

easy
Evaluate logโก10100000\log_{10} 100000.

Example 25

easy
Rewrite 53=1255^3 = 125 as a logarithm.

Example 26

easy
Evaluate logโก218\log_2 \tfrac{1}{8}.

Example 27

medium
Use logโกb(xy)=logโกbx+logโกby\log_b(xy) = \log_b x + \log_b y to expand logโก2(8โ‹…16)\log_2(8 \cdot 16).

Example 28

medium
Use the quotient rule to evaluate logโก3819\log_3 \tfrac{81}{9}.

Example 29

medium
Use the power rule: evaluate logโก2(85)\log_2(8^5).

Example 30

medium
Solve logโก2(xโˆ’1)=5\log_2(x - 1) = 5.

Example 31

medium
Write 3logโกxโˆ’logโกy3\log x - \log y as a single logarithm.

Example 32

medium
Evaluate logโก100.001\log_{10} 0.001.

Example 33

hard
Solve logโก(x+1)+logโก(xโˆ’1)=logโก8\log(x+1) + \log(x-1) = \log 8 where logโก=logโก10\log = \log_{10}.

Example 34

hard
Solve 5x=2โ‹…5xโˆ’1+755^{x} = 2 \cdot 5^{x-1} + 75.

Example 35

hard
Solve lnโก(x)=2\ln(x) = 2.

Example 36

hard
If logโก23=a\log_2 3 = a, express logโก212\log_2 12 in terms of aa.

Example 37

challenge
Solve (logโก2x)2โˆ’3logโก2x+2=0(\log_2 x)^2 - 3\log_2 x + 2 = 0.

Background Knowledge

These ideas may be useful before you work through the harder examples.

exponential functioninverse function