Logarithms

0

Logarithms: Complete Beginner Guide with Easy Examples

A logarithm tells us the power needed on a base to produce a number. In logbN=x, the letter b is the base, N is the argument, which means the number inside the log, and x is the answer or power. The main decision is simple: find the power to which the base must be raised.

For example, 23=8. This same fact can be written as log28=3. The logarithm does not create a new calculation. It gives another way to speak about the exponent 3.

We will begin with powers because every logarithm grows from them. Then we will learn the conditions that make a logarithm valid, build each log law from exponent rules, evaluate values, solve equations, compare logarithms, and handle inequalities carefully.

Logarithm foundations: powers, domain conditions and key values
1 / 5

Logarithm foundations: powers, domain conditions and key values

Basics: Powers Come Before Logarithms

A power such as 34 has two main parts. The number 3 is the base, and 4 is the exponent or power. It means that 3 is multiplied by itself four times:

34=3×3×3×3=81

The exponent tells us how many equal factors of the base are being multiplied. This idea is important because a logarithm works backward. If an exponential statement says, “the base and power produce this number,” a logarithmic statement asks, “which power produced this number?”

Some small powers are worth recognising:

Exponential form Value
20 1
21 2
22 4
23 8
24 16
25 32
32 9
33 27
34 81
52 25
53 125

Zero, negative and fractional powers

For every nonzero number a:

a0=1

A negative power means a reciprocal:

a−n=1an

For example, 2−5=125=132. A fractional power means a root. For example:

813=2

This is true because 23=8. Negative and fractional powers explain why logarithm answers can be negative or fractional.

What a Logarithm Really Means

The definition of a logarithm is:

logbN=x⟺bx=N

The double arrow means that both statements say exactly the same thing. Read logbN as “log base b of N.” It asks for the power on b that gives N.

Example: Find log2128.

What we know: The base is 2 and the argument is 128.

What we are finding: We need the power on 2 that produces 128.

Why this method applies: A logarithm is an exponent written in another form. We can list powers of 2 until we reach the argument.

Slow solution: The powers grow as follows:

21=2,22=4,23=8,24=16

Continuing gives 25=32, 26=64, and 27=128. Therefore:

27=128⟹log2128=7

Meaning of the answer: The number 7 is the exponent needed on base 2 to make 128.

Moving between logarithmic and exponential form

The positions do not change randomly. In logbN=x, the log base b stays the base of the power, the log answer x becomes the exponent, and the argument N becomes the result:

logbN=x⟹bx=N

Example: Find x if logx64=3.

What we know: The base is x, the argument is 64, and the log value is 3.

What we are finding: We need the valid value of the base x.

Why this method applies: Changing to exponential form places the unknown base in an ordinary power equation.

Slow solution: Keep each part in its correct place:

logx64=3⟹x3=64

The cube of 4 is 64 because 4×4×4=64. Hence:

x=4

Meaning of the answer: Base 4 raised to power 3 gives 64, so the logarithmic statement is true.

Conditions for a Real Logarithm

Not every base and argument creates a real logarithm. For logbN to be defined in real numbers, three conditions must hold:

b>0,b≠1,N>0

The base must be positive because ordinary real powers of a negative base do not give a smooth, complete log function. The base cannot be 1 because 1x is always 1, so it cannot produce different positive numbers. The argument must be positive because a positive base raised to any real power stays positive.

This means log28 is valid, but log18, log−28, log20, and log2(−8) are not real logarithms.

Example: Find all values of x for which log5(2x+1) is defined.

What we know: The base 5 is already positive and is not 1. The argument is 2x+1.

What we are finding: We need the values of x that keep the argument positive.

Why this method applies: A logarithm can only take a positive argument. We therefore require the entire expression inside the log to be greater than zero.

Slow solution: Write and solve the condition:

2x+1>0

Subtract 1 from both sides:

2x>−1

Divide both sides by positive 2. Because we divide by a positive number, the inequality sign does not change:

x>−12

Meaning of the answer: Every number greater than −12 makes 2x+1 positive, so the logarithm exists for exactly those values.

The Three Basic Logarithm Values

The definition immediately gives three useful facts.

First, every valid base raised to zero gives 1:

b0=1⟹logb1=0

Second, every number raised to one stays the same:

b1=b⟹logbb=1

Third, a logarithm and an exponential with the same valid base undo each other:

logb(bx)=x

For example, log71=0, log77=1, and log7(74)=4. These are not facts to memorise separately. Each one comes directly from asking what power on 7 gives the argument.

Positive, Zero and Negative Log Values

For a base greater than 1, the size of the argument gives a useful clue:

  • If N>1, then logbN>0.
  • If N=1, then logbN=0.
  • If 0<N<1, then logbN<0.

The last line follows from negative powers. A positive base greater than 1 needs a negative exponent to create a positive fraction smaller than 1.

Example: Find log5(1125).

What we know: The base is 5 and 125=53.

What we are finding: We need the exponent on 5 that makes 1125.

Why this method applies: The argument is the reciprocal of a power of the base. A reciprocal changes a positive exponent into a negative exponent.

Slow solution: Rewrite the argument using base 5:

1125=153=5−3

The logarithm now reads:

log5(5−3)=−3

Meaning of the answer: Raising 5 to −3 gives 1125, so the log value is −3.

Why Logarithm Laws Work

Logarithm laws are exponent laws written in a new language. Their base must be the same, valid base, and every argument involved must be positive.

Product law: addition outside means multiplication inside

The product law is:

logb(MN)=logbM+logbN

To see why, suppose logbM=p and logbN=q. Then M=bp and N=bq. Multiplying gives:

MN=bp×bq=bp+q

So the power needed to make MN is p+q. That is why the two logs add.

Example: Given log2=0.3010 and log3=0.4771, find log24.

What we know: The available values are for 2 and 3. Here, a log written without a base means common logarithm, so its base is 10.

What we are finding: We need to rewrite 24 using factors whose log values are known.

Why this method applies: The product law can split the log of a product, and the power law can bring exponents in front.

Slow solution: Factor 24 using 2 and 3:

24=8×3=23×3

Now split the product:

log24=log(23)+log3

Use the power law, which is explained below:

log24=3log2+log3

Substitute the known values:

log24=3(0.3010)+0.4771

Calculate each part before adding:

3(0.3010)=0.9030

Therefore:

log24=0.9030+0.4771=1.3801

Meaning of the answer: Since 101.3801 is approximately 24, the common logarithm of 24 is approximately 1.3801.

Quotient law: division inside means subtraction outside

The quotient law is:

logb(MN)=logbM−logbN

If M=bp and N=bq, then:

MN=bpbq=bp−q

Division of equal bases subtracts exponents, so division inside a log becomes subtraction outside.

Example: Simplify log2(324) in two ways.

What we know: Both 32 and 4 are powers of 2.

What we are finding: We want to see that direct division and the quotient law give the same result.

Why this method applies: The argument is a quotient and all values are positive.

Slow solution: Directly, 324=8, so:

log2(324)=log28=3

Using the law:

log232−log24=5−2=3

Meaning of the answer: Both paths show that 23 equals the quotient 324.

Power law: an exponent inside becomes a multiplier outside

The power law is:

logb(Mk)=klogbM

If M=bp, then Mk=(bp)k=bpk. The new exponent is pk, so the log value is multiplied by k.

Example: Given log2=0.3010 and log3=0.4771, find log72.

What we know: The number 72 can be made from powers of 2 and 3.

What we are finding: We need its common logarithm.

Why this method applies: Factoring lets us use the product and power laws with the known values.

Slow solution: Write 72 as:

72=8×9=23×32

Apply the product law and then the power law:

log72=log(23)+log(32)=3log2+2log3

Substitute and calculate:

log72=3(0.3010)+2(0.4771) =0.9030+0.9542=1.8572

Meaning of the answer: The power 1.8572 on base 10 produces approximately 72.

What the log laws do not say

There is no law that splits a sum or difference inside a logarithm. In general:

logb(M+N)≠logbM+logbN

For a quick check, log10(10+10)=log1020, but log1010+log1010=1+1=2, which is log10100. Since 20 and 100 are different, the two sides cannot be equal.

Common Logarithms and Decimal Numbers

When no base is written, logN usually means log10N. This is called the common logarithm. Because the base is 10:

log10=1,log100=2,log1000=3

Powers of 10 make decimal calculations easier. Moving the decimal point can be written as multiplication by a power of 10. For example:

0.048=48×10−3

Example: Given log2=0.3010 and log3=0.4771, find log0.048.

What we know: The decimal can be written using 48 and a negative power of 10. Also, 48=24×3.

What we are finding: We need the common logarithm of a positive decimal smaller than 1.

Why this method applies: Rewriting the decimal as factors lets us use known log values. Since the number is between 0 and 1, we should expect a negative answer.

Slow solution: Rewrite the decimal:

0.048=481000=24×3×10−3

Apply the product and power laws:

log0.048=4log2+log3−3log10

Since log10=1:

log0.048=4(0.3010)+0.4771−3

Calculate the positive part first:

4(0.3010)+0.4771=1.2040+0.4771=1.6811

Then subtract 3:

log0.048=1.6811−3=−1.3189

Meaning of the answer: A negative common log is sensible because a negative power of 10 gives a positive number smaller than 1.

Natural logarithm

The notation lnN means logarithm with base e, where e is approximately 2.718. It is called the natural logarithm. The same product, quotient and power laws work for ln because they work for every valid log base. In many aptitude sets, common logs appear more often, but recognising ln prevents confusion.

Same Powers and Fractional Log Values

When the base and argument can both be written as powers of one smaller base, compare their exponents:

logam(an)=nm

This works because (am)x=amx. To equal an, we need mx=n, so x=nm.

Example: Find log432.

What we know: Both 4 and 32 are powers of 2: 4=22 and 32=25.

What we are finding: We need the exponent on 4 that gives 32.

Why this method applies: Writing both values with base 2 turns the statement into an equality of exponents.

Slow solution: Let log432=x. Then:

4x=32

Replace both sides with powers of 2:

(22)x=25

Using (am)x=amx gives:

22x=25

The bases are equal, so the exponents must be equal:

2x=5⟹x=52

Meaning of the answer: Raising 4 to power 52 gives 32.

Change of Base Formula

A calculator may have only log and ln keys, but a logarithm can have any valid base. The change of base formula rewrites it using a convenient base c:

logbN=logcNlogcb

To understand it, let x=logbN, so bx=N. Taking log base c of both sides gives xlogcb=logcN. Dividing by logcb leaves the formula above.

Example: Compare log29 and log316 using common logs.

What we know: 9=32, 16=24, log2≈0.3010, and log3≈0.4771.

What we are finding: We need to decide which log value is larger.

Why this method applies: The two logarithms have different bases. Change of base writes both in the same common-log language, so their numerical values can be compared.

Slow solution: For the first value:

log29=log9log2=2log3log2

Substitute the known values:

log29≈2(0.4771)0.3010=0.95420.3010≈3.17

For the second value:

log316=log16log3=4log2log3 log316≈4(0.3010)0.4771=1.20400.4771≈2.52

Since 3.17>2.52:

log29>log316

Meaning of the answer: Base 2 needs a larger power to reach 9 than base 3 needs to reach 16.

Reversed Logs Are Reciprocals

Change of base gives:

logab=logbloga

Reversing the base and argument gives:

logba=logalogb

The numerator and denominator swap, so the values are reciprocals:

logab=1logba

Therefore:

logab×logba=1

Example: Find log381×log813.

What we know: The base and argument have swapped places. Also, 81=34.

What we are finding: We need the product of the two log values.

Why this method applies: Swapping the base and argument creates reciprocal values.

Slow solution: First:

log381=4

For the reversed log, 8114=3, so:

log813=14

Multiply:

4×14=1

Meaning of the answer: One log measures the forward exponent and the other measures the exact reverse, so their product is 1.

Chain or Telescoping Products

A chain forms when the argument of one logarithm becomes the base of the next:

logab×logbc=logac

Using change of base shows why:

logbloga×logclogb=logcloga=logac

The middle logb is one factor in the numerator and one in the denominator, so it cancels. This repeated cancellation is called telescoping.

Example: Find log416×log162×log232.

What we know: The argument 16 becomes the next base, and then the argument 2 becomes the next base.

What we are finding: We need the value of the full product.

Why this method applies: The factors form an unbroken logarithm chain.

Slow solution: Join the first two links:

log416×log162=log42

Join the remaining link:

log42×log232=log432

We already know 4=22 and 32=25, so:

log432=52

Meaning of the answer: All middle links disappear, leaving only the first base 4 and the final argument 32.

Solving a Basic Logarithmic Equation

An equation such as logb(f(x))=k becomes:

f(x)=bk

After solving the ordinary equation, put the answer back into the original argument. This last check makes sure the argument is positive and no invalid value has entered the work.

Example: Solve log3(2x−1)=4.

What we know: The base is 3, the argument is 2x−1, and the log value is 4.

What we are finding: We need the value of x that makes the statement true.

Why this method applies: There is one logarithm, so changing directly to exponential form removes it.

Slow solution: Convert the form:

2x−1=34

Since 34=81:

2x−1=81

Add 1 to both sides because this keeps the equation balanced:

2x=82

Divide both sides by 2:

x=41

Check the argument:

2(41)−1=81>0

Meaning of the answer: When x=41, the argument is 81, and 34=81, so the original logarithm equals 4.

Logarithms of Algebraic Fractions

When the entire argument is a fraction, convert the logarithm to exponential form first. Then solve the fraction equation. The denominator cannot be zero, and the entire fraction must be positive.

Example: Solve

log2(x+5x−2)=1

given that x>2.

What we know: The full fraction is the log argument, and the condition x>2 keeps its denominator positive.

What we are finding: We need the value of x.

Why this method applies: One logarithm equals a number, so exponential form turns the expression into an ordinary fraction equation.

Slow solution: Convert the log:

x+5x−2=21=2

Because x>2, the denominator is not zero. Multiply both sides by x−2:

x+5=2(x−2)

Open the bracket:

x+5=2x−4

Subtract x from both sides and add 4 to both sides:

9=x

The value 9 is greater than 2. The original argument is (9+5)(9−2)=147=2, which is positive.

Meaning of the answer: At x=9, the logarithm becomes log22=1.

Combining Logs Before Solving

When logs with the same base are added, the product law can combine them:

logbM+logbN=logb(MN)

Before combining them, write the domain conditions for each original argument. Combining does not remove those conditions.

Example: Solve

log2x+log2(x−2)=3

What we know: Both logarithms use base 2. Their arguments require x>0 and x−2>0, so the stronger condition is x>2.

What we are finding: We need every value of x that satisfies both the equation and the domain.

Why this method applies: Equal bases and addition allow the product law.

Slow solution: Combine the logs:

log2[x(x−2)]=3

Convert to exponential form:

x(x−2)=23=8

Open the bracket and move everything to one side:

x2−2x−8=0

Factor the quadratic. We need two numbers whose product is −8 and sum is −2. They are −4 and 2:

(x−4)(x+2)=0

So the algebra gives x=4 or x=−2. Now use the original domain x>2. The value −2 would put negative numbers inside the logs, so it is rejected. The valid answer is:

x=4

Meaning of the answer: With x=4, the left side is log24+log22=2+1=3.

When the quadratic does not factor neatly

The same method may produce a quadratic that needs the quadratic formula:

x=−b±b2−4ac2a

For example, combining log3x+log3(x−3)=3 gives x(x−3)=27, or x2−3x−27=0. The exact roots are:

x=3±3132

The domain requires x>3, so only 3+3132 is valid. It is about 6.91. An approximation should never be replaced by an unrelated nearby whole number unless the instruction clearly asks for rounding.

Equal Logarithms with the Same Base

For a fixed valid base, one positive argument gives only one log value. Therefore:

logbM=logbN⟹M=N

This rule is safe only after checking that both M and N are positive.

Example: Solve log5(2x+3)=log5(17).

What we know: The bases are the same and valid. The right argument is positive.

What we are finding: We need the value of x that makes the arguments equal.

Why this method applies: Equal logarithms with the same base must come from equal positive arguments.

Slow solution: Equate the arguments:

2x+3=17

Subtract 3 and divide by 2:

2x=14⟹x=7

Check: 2(7)+3=17>0.

Meaning of the answer: Both sides become log517, so x=7 is valid.

Comparing Logarithms Without Decimal Values

Sometimes nearby powers show the answer more clearly than a calculator. For a base greater than 1, larger positive arguments have larger log values.

For example, compare log420 and log525. We know:

log525=2

Also, 42=16 and 20>16. Since powers of 4 increase as the exponent increases, the power needed to reach 20 must be greater than 2. Therefore:

log420>2=log525

This method is strongest when an argument sits close to an easy power of its base.

Example: Decide which is smaller: log27 or log327.

What we know: log327=3 because 33=27. Also, 23=8.

What we are finding: We need the smaller of the two powers.

Why this method applies: The value 7 is close to the known power 23=8, so we can compare without calculating a decimal.

Slow solution: Since 7<8 and base 2 is greater than 1, the power on 2 needed to reach 7 is less than the power needed to reach 8:

log27<log28=3

But log327=3. Therefore:

log27<log327

Meaning of the answer: log27 is the smaller value because it is a power slightly below 3.

Logarithm Inequalities and the Direction Rule

The base decides whether a logarithm rises or falls as its argument grows.

Case 1: The base is greater than 1

When b>1, larger arguments give larger logarithms. The function is called increasing. Therefore:

logbM>logbN⟺M>N

The inequality direction stays the same, provided both arguments are positive.

Case 2: The base is between 0 and 1

When 0<b<1, larger arguments give smaller logarithms. The function is called decreasing. Therefore:

logbM>logbN⟺M<N

The direction reverses. For instance, powers of 12 decrease: (12)0=1, (12)1=12, and (12)2=14. A larger exponent produces a smaller result.

Example: Solve

log12(x+4)>0

What we know: The base 12 lies between 0 and 1. The argument must also satisfy x+4>0.

What we are finding: We need all values of x that make the logarithm positive.

Why this method applies: Zero can be written as log121 because every valid base to power 0 is 1. Since the base is below 1, comparing the logs reverses the argument inequality.

Slow solution: Rewrite zero in logarithmic form:

0=log121

So:

log12(x+4)>log121

The base is between 0 and 1, so the argument direction reverses:

x+4<1

At the same time, the argument must remain positive:

x+4>0

Put the two conditions together:

0<x+4<1

Subtract 4 throughout:

−4<x<−3

Meaning of the answer: Only values between −4 and −3 make the argument lie between 0 and 1, which produces a positive log for base 12.

Common Mistakes

Using zero or a negative argument

logb0 and logb(−N) are not real values. Always check every original argument before accepting an algebraic answer.

Allowing base 1 or a negative base

A real logarithm base must satisfy b>0 and b≠1. When the base contains a variable, these conditions must be solved too.

Splitting a sum inside a log

The product law works for multiplication, not addition. Never change logb(M+N) into logbM+logbN.

Combining logs with different bases

log2M+log3N cannot be joined using the product law because the bases differ. First use change of base if a common base is useful.

Forgetting the original domain after combining

In logbx+logb(x−2), both x and x−2 must be positive. It is not enough for their product to be positive, because two negative factors would make a positive product but neither original log would exist.

Treating logb(MN) as a fraction of logs

The correct law is subtraction:

logb(MN)=logbM−logbN

It is not logbMlogbN. A ratio of logs belongs to the change of base formula and has a different meaning.

Forgetting to reverse an inequality for a base below 1

For 0<b<1, the log function decreases. The argument comparison reverses, and the positive-argument condition must still be included.

Rounding an exact value too early

Keep values such as 3+3132 exact until the final step. Early rounding can change a comparison or hide the correct answer.

Formulas and Cheat Sheet

Idea or situation Formula or rule Condition
Log definition logbN=x⟺bx=N b>0, b≠1, N>0
Log of 1 logb1=0 Valid base b
Log of its own base logbb=1 Valid base b
Log and exponent undo each other logb(bx)=x Valid base b
Product law logb(MN)=logbM+logbN Same valid base; M,N>0
Quotient law logb(MN)=logbM−logbN Same valid base; M,N>0
Power law logb(Mk)=klogbM Valid base; M>0
Same smaller base logam(an)=nm Bases and arguments must be valid
Change of base logbN=logcNlogcb b,c valid bases; N>0
Reversed logs logab=1logba Both logs defined
Reversed-log product logab,logba=1 a,b>0 and neither is 1
Chain property logab,logbc=logac Every log defined
Longer chain logab,logbc,logcd=logad Links must match exactly
Equal same-base logs logbM=logbN⇒M=N M,N>0 and same valid base
Base greater than 1 logbM>logbN⟺M>N b>1 and M,N>0
Base between 0 and 1 logbM>logbN⟺M<N 0<b<1 and M,N>0
Common logarithm logN=log10N N>0
Natural logarithm lnN=logeN N>0
Negative exponent a−n=1an a≠0

Safe Shortcuts

  • Recognise an exact power first: If the argument is an exact power of the base, read the exponent directly. For example, log3243=5 because 35=243.

  • Use nearby powers for a quick range: For a base greater than 1, if 22<7<23, then 2<log27<3. This is safe only when the base is greater than 1. For a base below 1, the order reverses.

  • Reverse pair gives 1: Replace logab×logba with 1 only when the base and argument have swapped exactly and both logs are defined.

  • Collapse a complete chain: In logab×logbc×logcd, cancel the matching middle links to get logad. The order must form one unbroken chain.

  • Compare powers instead of using decimals: If both base and argument are powers of one smaller number, use logam(an)=nm. Do this only after the common power base is clear.

  • Factor before using given common-log values: If values such as log2 and log3 are known, factor the target into powers of 2 and 3. Use only multiplication, division and powers because log laws do not split sums.

  • Write the domain before doing algebra: For every variable argument, write “argument >0” first. This small step quickly removes roots that look correct in algebra but are invalid in the original logarithm.

Shortcuts should shorten correct reasoning. They should never replace the definition, domain check or base condition.

Frequently Asked Questions

What is a logarithm in simple words?

A logarithm is a power finder. logbN asks, “What power on b gives N?” For example, log28=3 because 23=8.

What are the three conditions of a logarithm?

For logbN to be a real number, the base must be positive, the base must not be 1, and the argument must be positive. In symbols, b>0, b≠1, and N>0.

Why is the log of 1 always zero?

Every valid base raised to zero equals 1. Since a logarithm asks for the needed power, logb1=0.

Why can a logarithm be negative?

A negative log value means the argument is made by a negative power of the base. For example, log2(18)=−3 because 2−3=18.

What is the difference between log and ln?

log without a written base usually means base 10. ln means base e, where e≈2.718. Their main laws are the same because both are logarithms with valid bases.

Can we take the logarithm of zero?

No. A positive base raised to a real power never becomes zero, so there is no real exponent that a logarithm could return.

Can we split the log of a sum?

No. There is no general rule for splitting logb(M+N). The familiar log laws apply to products, quotients and powers.

Why do logarithm answers sometimes need a domain check?

Algebra may produce values that make an original log argument zero or negative. Those values cannot be used in a real logarithm, so every final answer must be checked in the original expression.

When does a logarithm inequality reverse?

It reverses when the base lies between 0 and 1. Such a log function decreases as its argument grows. The argument must remain positive throughout the work.

How do I calculate a logarithm with an unusual base?

Use change of base: logbN=logNlogb or lnNlnb. Use the same new base in both the numerator and denominator.

What does a telescoping logarithm product mean?

It is a chain such as logab×logbc×logcd. Matching middle values cancel after change of base, leaving logad.

Summary

A logarithm is another way to write an exponent. Begin by asking which power of the base gives the argument, and always check that the base is positive and not 1 and that every argument is positive.

The product, quotient and power laws come directly from exponent rules. Change of base explains reversed logs and telescoping chains. For equations, convert to exponential form or combine same-base logs, solve slowly, and check every result in the original expression. For inequalities, remember that bases greater than 1 keep the direction, while bases between 0 and 1 reverse it.