Find the exponent, understand why logarithms are useful, and derive their rules from the laws of powers. Explore the graph and check your understanding with worked examples.
A logarithm answers: to what power must we raise a given base to get this number? Exponentiation starts with a base and an exponent; logarithms recover the exponent from the result.
alogx=t⟺at=x
Here a is the base, x is the argument, and t is the exponent. For example:
23=8⟺2log8=3
This page uses Indonesian notation, with the base at the upper left. International notation writes the same base as a subscript:
alogx=logax
Conditions for real logarithms
a>0,a=1,x>0
A valid positive base has positive powers, so a real logarithm cannot take zero or a negative number as its argument. Base one always produces one and cannot identify a unique exponent. Negative bases do not give a real exponential function for every real exponent. The logarithm’s output can be any real number, including zero and negative values.
2log1=0,2log41=−2
Why do logarithms exist?
Logarithms fill the gap when the unknown is an exponent. They also convert multiplication into addition and make quantities spanning many orders of magnitude easier to compare.
Find time in a growth model
If a population doubles each period, logarithms tell us how many periods it takes to reach ten times its starting size.
2t=10
t=2log10≈3.322
Turn products into sums
Before electronic calculators, logarithm tables turned long multiplication and division into addition and subtraction. Exponent laws explain why this works.
102⋅103=102+3
Compare multiplicative changes
Equal ratios become equal differences. Sound levels use this idea: multiplying intensity by ten adds ten decibels, relative to a fixed positive reference intensity.
L=10logI0I
Common logarithms and natural logarithms
In this lesson, a logarithm without a written base means base ten. The natural logarithm uses Euler’s number as its base and is written with its own symbol. Base two is useful for repeated doubling and binary information.
logx=10logx,lnx=elogx
e≈2.71828,lne=1
Always check the base convention in the context you are reading. Changing the base changes the output, but every valid base follows the same rules.
Explore the logarithmic graph
Choose a base and move the input. Compare increasing and decreasing curves, then show the exponential inverse.
y=2logx
The solid blue curve is the logarithm. It passes through (1,0) and approaches the vertical asymptote x=0 without reaching it.
The input stays positive so the logarithm is defined.
Find the exponent
Raising this base to the displayed exponent gives the input, approximately. Displayed outputs are rounded to three decimals.
Increasing
With a base greater than one, larger inputs give larger logarithms.
Common rules — sifat-sifat logaritma
Every rule below comes from the definition and exponent laws. Unless stated otherwise, a,b>0 and a,b=1 whenever used as bases, arguments x,y,c>0, and powers are real. Open any derivation to follow the steps.
1. Logarithm of one and of the base
alog1=0,aloga=1
Ask which exponent produces one, then which produces the base itself.
Show derivation
a0=1⟹alog1=0
a1=a⟹aloga=1
Example
7log1=0,7log7=1
2. Inverse identities
alog(at)=t,aalogx=x
Exponentiation and logarithms undo each other when the bases match. The exponent can be any real number.
Show derivation
at=x⟺alogx=t
alog(at)=t
aalogx=at=x
Example
2log(2−3)=−3,22log5=5
3. Product rule — sifat perkalian
alog(xy)=alogx+alogy
Multiplying powers with the same base adds their exponents. Here both factors must be positive.
Show derivation
u=alogx,v=alogy
x=au,y=av
xy=auav=au+v
alog(xy)=u+v
Example
2log(4⋅8)=2+3=5
4. Quotient rule — sifat pembagian
alogyx=alogx−alogy
Dividing powers with the same base subtracts their exponents. Both numerator and denominator must be positive.
Show derivation
u=alogx,v=alogy
yx=avau=au−v
alogyx=u−v
Example
3log381=4−1=3
5. Power rule — sifat perpangkatan
alog(xr)=ralogx
Raising a power to another power multiplies the exponents. This holds for any real exponent when the argument is positive.
Show derivation
u=alogx⟹x=au
xr=(au)r=aur
alog(xr)=ur=ralogx
Example
2log(82)=2⋅3=6
6. Root rule — sifat akar
alognx=n1alogx
A root is a fractional power, so this follows directly from the power rule. The root index is a positive integer.
Show derivation
nx=x1/n
alognx=alog(x1/n)
alog(x1/n)=n1alogx
Example
2log16=21⋅4=2
7. Reciprocal argument
alogx1=−alogx
Taking the reciprocal changes the sign of the exponent. This is the power rule with exponent negative one.
Show derivation
x1=x−1
alog(x−1)=−alogx
Example
2log81=−3
8. Change of base — perubahan basis
alogx=blogablogx
Use any valid new base. The denominator is nonzero because the original base is not one. This is how a calculator evaluates other bases with natural logarithms.
Show derivation
t=alogx⟹at=x
blog(at)=blogx
tbloga=blogx
t=blogablogx
Example
2log8=ln2ln8=3
9. Reciprocal bases
alogb=bloga1
Swapping a valid base and a valid argument gives the reciprocal. Both numbers must be positive and different from one.
Show derivation
alogb=blogablogb
blogb=1
alogb=bloga1
Example
2log8=3,8log2=31
10. Chain rule for bases
(alogb)(blogc)=alogc
An intermediate base cancels through change of base. The intermediate number must be a valid base; the final argument only needs to be positive.
Show derivation
blogc=alogbalogc
(alogb)alogbalogc=alogc
Example
(2log8)(8log64)=3⋅2=6
11. Powers in the base and argument
aplog(xq)=pqalogx
Combine change of base with the power rule. The exponent on the base must be nonzero, otherwise the new base would be one.
Show derivation
aplog(xq)=alog(ap)alog(xq)
alog(xq)=qalogx
alog(ap)=p=0
aplog(xq)=pqalogx
Example
4log8=232log2=23
12. Equal logarithms, equal arguments
alogx=alogy⟺x=y
For the same valid base, each output corresponds to exactly one positive input. This lets you solve logarithmic equations after checking the domain.
Show derivation
alogx=alogy=t
x=at,y=at⟹x=y
x=y⟹alogx=alogy
Example
3log(x+1)=3log5⟹x=4
Order and logarithmic inequalities
For a base greater than one, exponential powers grow as the exponent increases. Their logarithmic inverse therefore preserves order. A base between zero and one gives decreasing powers, so its inverse reverses order. Both arguments must be positive.
a>1:x<y⟺alogx<alogy
0<a<1:x<y⟺alogx>alogy
For example, the decreasing base reverses the inequality below. Combine the resulting bound with the original domain condition.
1/2logx>2⟺0<x<41
Common mistakes
A sum inside a logarithm does not split
The product rule follows from multiplying powers. There is no matching exponent law that turns a sum of arguments into a sum of logarithms. A counterexample is enough to show why that proposed rule fails.
2log(4+4)=3=4=2log4+2log4
Check the original domain before combining
A positive product does not guarantee that each factor is positive. Keep the separate domain conditions when combining logarithms. Also, the power rule above assumes a positive argument; for a squared nonzero real value the correct expansion uses absolute value.
alog(x2)=2alog∣x∣,x=0
A logarithm is not a factor you can cancel
Logarithms are functions. Use change of base for a quotient of logarithms; dividing their arguments gives a different expression.
log10log100=2,log10100=1
Try it yourself
Work out each answer, then reveal the solution.
1. Evaluate a fractional argument
3log271
Show solution
271=3−3
3log271=−3
A logarithm can be negative. Its argument must still be positive.
2. Expand a combined expression
alogzx2y
Show solution
alog(x2)+alogy−alogz
2alogx+21alogy−alogz
Assume all three variables are positive. Apply quotient, product, and power rules in that order.
3. Solve an exponential equation
32t−1=7
Show solution
2t−1=3log7
t=21+3log7≈1.386
Take the logarithm with the same base to bring the unknown exponent down.
4. Solve and reject the invalid root
2logx+2log(x−2)=3
Show solution
x>0,x−2>0⟹x>2
2log(x(x−2))=3
x(x−2)=8
x2−2x−8=(x−4)(x+2)=0
x=4orx=−2
x>2⟹x=4
Check the original arguments separately. The negative root makes both logarithms undefined over the reals, even though their product is positive.