Functions modeling repeated multiplication and its inverse, used for growth, decay and scales like pH or decibels.
IntuitionGrowth That Feeds on Itself
A bacteria colony that doubles every hour, money earning compound interest, and a radioactive sample losing a fixed fraction each year all share the same shape: the amount already present determines how much gets added next, so the total is multiplied by a constant factor a at every step — giving the exponential functionax. The logarithmic functionlogax answers the reverse question: "how many steps of multiplying by a does it take to reach x?" — exactly the tool needed to solve for time in a growth problem, or to compress a huge range of values (like sound intensity or acidity) into a manageable scale.
A convex curve growing faster as its steepness parameter increases, used as an analogy for exponential growth.
The degree-3 Taylor approximation 1+x+21x2+51x3 of the exponential curve: for x>0 each positive derivative bends the graph steeper and steeper upward.
SchoolDefinitions and Basic Laws
Definition: Exponential and logarithmic functions
For a fixed base a>0, a=1, the exponential function ax is defined for every real x. Its inverse function is the logarithm logax defined for x>0 as "the exponent you must raise a to, to get x": by definition, y=logax means exactly ay=x. Being inverses of each other means alogax=x,loga(ax)=x
ax+y=ax⋅ay
This exponent law — multiplying outputs corresponds to adding exponents — is the algebraic seed from which every logarithm law grows, since a logarithm is defined as an exponent. In particular it will drive the proof, below, that loga(xy)=logax+logay for a>0,a=1,x,y>0.
A logarithm is just an exponent in disguise, and exponents add when you multiply the corresponding powers — so multiplication inside a logarithm should turn into addition outside it.
Proof
Let u=logax and v=logay. By the definition of logarithm (it is the inverse of the exponential), this means exactly au=x and av=y.
Multiply these two equations: xy=au⋅av. By the exponent law au+v=au⋅av, the right-hand side equals au+v, so xy=au+v.
By definition of logarithm again, xy=au+v means exactly loga(xy)=u+v — but this uses that an exponent producing a given output is unique, i.e. au=av⇒u=v whenever a>0,a=1 (the exponential function never gives the same output for two different exponents, since it is strictly increasing for a>1 or strictly decreasing for 0<a<1).
Substituting back u=logax and v=logay gives loga(xy)=logax+logay, which is loga(xy)=logax+logay.
For valid bases b,c>0, b,c=1, and x>0, logbx=logcblogcx.
Why is it true?
Calculators and computers only implement a logarithm in one or two fixed bases; this formula lets any base be computed from those, by expressing "how many times to multiply by b" in terms of "how many times to multiply by c".
Proof
Let y=logbx. By definition of logarithm, this means by=x.
By definition of logarithm again (applied to base c this time), b itself can be written as b=clogcb. Substitute this into by=x: (clogcb)y=x⟹cylogcb=x, using the power-of-a-power rule (cm)y=cmy.
Take logc of both sides. By definition, cylogcb=x means exactly logcx=ylogcb (the same injectivity fact au=av⇒u=v used in the product-law proof guarantees this step is valid, not just "plausible").
Since c=1 we have logcb=0 (because c0=1=b), so we may divide both sides by logcb: y=logcblogcx. Recalling y=logbx gives exactly logbx=logcblogcx.
UndergraduateReal-World Applications and Worked Examples
Exponential functions govern compound interest in finance, population and epidemic growth in biology, and radioactive decay in physics, while logarithms are what let scientists and engineers compress enormous ranges into usable scales: the pH scale for acidity, the decibel scale for sound intensity, and the Richter-type scale for earthquake magnitude are all logarithmic. Solving "how long until a quantity doubles?" or "what input produced this reading?" always means taking a logarithm.
Example: Compound interest and doubling time
An amount P=1000 USD is invested at annual interest rate r=5%, growing as A=P(1+r)t. How much is it worth after t=10 years, and how many years does it take to double (use ln2≈0.6931, ln1.05≈0.04879)?
Solution
Substitute P=1000, r=0.05, t=10 into A=P(1+r)t: A=1000(1.05)10≈1000×1.6289=1628.9, so the investment is worth about 1628.90 after 10 years.
To find the doubling time we need A=2P, i.e. 2P=P(1+r)t, so (1+r)t=2. This is exactly a request to solve for an unknown exponent — the defining job of a logarithm.
Take ln of both sides (any base works, by the change-of-base formula logbx=logcblogcx, so we pick the natural log for convenience): tln(1+r)=ln2, using the power law of logarithms. Solving, t=ln(1+r)ln2.
Substituting the given values: t=0.048790.6931≈14.2 years — a concrete illustration of the "rule of 70/72" approximation used in finance, derived here directly from the logarithm laws rather than assumed.
Example: Computing the pH of a solution
Chemists define acidity by pH=−log10[H+], where [H+] is the hydrogen ion concentration in mol/L. A vinegar sample has [H+]=10−3 mol/L. Find its pH, and explain why a pH change of 1 unit corresponds to a 10× change in concentration.
Solution
Substitute the concentration into the definition: pH=−log10(10−3).
By definition of logarithm, log10(10−3) is exactly the exponent to which 10 is raised to get 10−3, which is −3 (this is the simplest case of the inverse relationship alogax=x,loga(ax)=x with a=10). So pH=−(−3)=3.
For the second part, suppose the concentration changes from [H+] to 10×[H+]. Using the product law loga(xy)=logax+logay with x=[H+], y=10: log10(10⋅[H+])=log10[H+]+log1010=log10[H+]+1.
So multiplying the concentration by 10 adds exactly 1 to log10[H+], and therefore subtracts exactly 1 from the pH (since pH=−log10[H+]) — this is precisely why the pH scale is logarithmic: each whole-unit step represents a tenfold change in acidity, which the product law makes precise rather than a rule of thumb.
What is log28?
Using the product law loga(xy)=logax+logay, simplify log34+log39.
Using the change-of-base formula logbx=logcblogcx, which expression equals log25?
A solution has [H+]=10−3 mol/L. Using pH=−log10[H+], what is its pH?