lesson

Advanced Functions · High School

Logarithmic Functions

Understand logarithms as inverse exponents, derive their laws, solve equations, and interpret multiplicative scales.

A logarithm is an exponent treated as an output. It answers the inverse question, “What power of this base produces that positive number?” This viewpoint turns logarithms from mysterious calculator buttons into a direct extension of exponent reasoning. Logarithms solve for unknown exponents, compress multiplicative ranges, and transform products into sums. This lesson derives each major rule, insists on domain and unit discipline, and connects symbolic procedures to meaningful applications.

Learning objectives and the inverse question

By the end of this lesson, you will translate fluently between exponential and logarithmic statements. You will derive and apply product, quotient, and power laws without inventing a false law for sums. You will solve exponential and logarithmic equations while checking every candidate against the original domain. You will interpret base, argument, output, and reference ratios in context. You will also explain how logarithmic transformations expose exponential structure in data.

Inverse operations answer reversed questions. Addition asks for a sum, while subtraction can recover an unknown addend. Exponentiation asks for a power, while a logarithm can recover an unknown exponent. In 25=322^5=32, the base is 22, the exponent is 55, and the resulting power is 3232. Reversing the question gives log232=5\log_2 32=5.

The notation logbx\log_b x contains three roles that should be read explicitly. The subscript bb is the base, the positive number xx is the argument, and the whole expression is the exponent that produces xx. Saying “log base bb of xx” keeps these roles clear. Parentheses are helpful for complicated arguments, as in logb(x+3)\log_b(x+3). The diagram below treats exponential and logarithmic forms as two readings of one relationship.

A triangle-style inverse map connecting base, exponent, power, and logarithmic notation.

Define a logarithm precisely

For b>0b>0, b1b\ne1, and x>0x>0, the definition is logbx=y\log_b x=y if and only if by=xb^y=x. The phrase “if and only if” means each statement guarantees the other. The condition b>0b>0 keeps real powers consistently defined. Excluding b=1b=1 is necessary because 1y1^y always equals one and cannot produce varied outputs. Requiring x>0x>0 reflects the fact that a positive base raised to a real power is positive.

Several exact values follow immediately. Since b0=1b^0=1, it follows that logb1=0\log_b1=0. Since b1=bb^1=b, it follows that logbb=1\log_bb=1. If b3=125b^3=125, then logb125=3\log_b125=3, and if the known base is five, the statement becomes log5125=3\log_5 125=3. These facts are consequences of the definition rather than isolated rules.

Two bases receive special names. The common logarithm uses base 1010 and is often written logx\log x when convention is clear. The natural logarithm uses base ee, where ee is approximately 2.718282.71828, and is written lnx\ln x. The natural base is especially useful in continuous growth and calculus because the derivative of exe^x is itself. A calculator label should never replace identifying which base a problem requires.

Understand inverse functions and graphs

Exponentials and logarithms undo one another on their appropriate domains. The identities are logb(bx)=x\log_b(b^x)=x for every real xx and blogbx=xb^{\log_b x}=x for every positive xx. In the first identity, the logarithm asks for the exponent already displayed. In the second, the exponent is defined as the power needed to produce xx. These equations are inverse-function identities, not cancellation tricks without conditions.

The graph of y=logbxy=\log_bx is the reflection of y=bxy=b^x across the line y=xy=x. Reflection exchanges input and output coordinates, so (u,v)(u,v) on the exponential graph corresponds to (v,u)(v,u) on the logarithmic graph. The exponential point (0,1)(0,1) becomes the logarithmic point (1,0)(1,0). The exponential range of positive numbers becomes the logarithm’s domain x>0x>0. The exponential domain of all real numbers becomes the logarithm’s range of all real numbers.

The logarithmic graph has vertical asymptote x=0x=0. When b>1b>1, it increases slowly and tends toward negative infinity as xx approaches zero from the right. When 0<b<10<b<1, it decreases because its exponential inverse decreases. Neither graph crosses the vertical axis because zero is not in the domain. Any proposed logarithmic graph that includes a point with nonpositive input violates the definition.

Derive the logarithm laws

The product law comes from the exponent rule bmbn=bm+nb^mb^n=b^{m+n}. Let m=logbxm=\log_bx and n=logbyn=\log_by, so bm=xb^m=x and bn=yb^n=y. Then xy=bm+nxy=b^{m+n}, which means logb(xy)=m+n\log_b(xy)=m+n. Substituting the definitions back gives logb(xy)=logbx+logby\log_b(xy)=\log_bx+\log_by. The law requires both x>0x>0 and y>0y>0 in real-number work.

The quotient law follows from bmbn=bmn\frac{b^m}{b^n}=b^{m-n}. For positive xx and yy, it gives logb(xy)=logbxlogby\log_b\left(\frac{x}{y}\right)=\log_bx-\log_by. The horizontal fraction bar denotes division of the entire numerator by the entire denominator. A quotient becomes a difference because dividing equal-base powers subtracts exponents. Reversing the rule combines a difference of logarithms into one logarithm of a quotient.

The power law follows from (bm)r=bmr(b^m)^r=b^{mr}. It states logb(xr)=rlogbx\log_b(x^r)=r\log_bx when the real expressions are defined. The exponent rr moves to the front as a coefficient because a power of a power multiplies exponents. For positive xx and yy, one may expand ln(x3y)=3lnxlny\ln\left(\frac{x^3}{y}\right)=3\ln x-\ln y. Every step preserves multiplication, division, or powers inside the argument.

A structure diagram showing products becoming sums, quotients becoming differences, and powers becoming coefficients.

Reject false laws and preserve structure

There is no law that turns logb(x+y)\log_b(x+y) into logbx+logby\log_bx+\log_by. The exponent laws include a rule for multiplying equal-base powers, not for adding them. A numerical counterexample settles the issue. Using base ten, log(10+10)=log20\log(10+10)=\log20, while log10+log10=2\log10+\log10=2. Since log20\log20 is approximately 1.3011.301, the expressions are unequal.

Subtraction inside an argument does not split either. The expression ln(x4)\ln(x-4) has one argument, namely the entire difference x4x-4. It also has domain restriction x>4x>4. Writing lnxln4\ln x-\ln4 would instead mean ln(x4)\ln\left(\frac{x}{4}\right) by the quotient law. These are different functions with different domains and values.

A useful structural test is to identify the outermost operation inside the logarithm. If it is multiplication, division, or exponentiation, a valid law may apply. If it is addition or subtraction, keep the argument intact unless algebra first factors it into a product. For example, ln(x29)\ln(x^2-9) can become ln(x3)+ln(x+3)\ln(x-3)+\ln(x+3) only on a domain where both factors are positive. Factoring alone does not erase the need for domain analysis.

Solve exponential equations

When both sides can be written with the same base, use one-to-one behavior. For 32x1=273^{2x-1}=27, rewrite 2727 as 333^3. Equal positive-base powers with base other than one have equal exponents, so 2x1=32x-1=3. Solving gives x=2x=2. Substitution verifies 33=273^3=27.

When a common base is inconvenient, take a logarithm of both sides. For 32x1=203^{2x-1}=20, applying ln\ln gives ln(32x1)=ln20\ln(3^{2x-1})=\ln20. The power law produces (2x1)ln3=ln20(2x-1)\ln3=\ln20. Solving yields x=12(1+ln20ln3)x=\frac{1}{2}\left(1+\frac{\ln20}{\ln3}\right). Both sides of the original equation are positive, so taking logarithms is valid.

In a population model P(t)=500organismse(0.08year1)tP(t)=500\,\mathrm{organisms}\,e^{(0.08\,\mathrm{year}^{-1})t}, ask when the population reaches 1,200organisms1{,}200\,\mathrm{organisms}. Dividing by 500organisms500\,\mathrm{organisms} gives the dimensionless ratio 2.4=e(0.08year1)t2.4=e^{(0.08\,\mathrm{year}^{-1})t}. Taking ln\ln gives ln2.4=(0.08year1)t\ln2.4=(0.08\,\mathrm{year}^{-1})t. Thus t=ln2.40.08year110.9yearst=\frac{\ln2.4}{0.08\,\mathrm{year}^{-1}}\approx10.9\,\mathrm{years}. Substitution confirms that this time produces the stated target population.

Solve logarithmic equations with domain checks

Before manipulating a logarithmic equation, require every argument to be positive. For log2(x1)+log2(x3)=3\log_2(x-1)+\log_2(x-3)=3, the conditions are x1>0x-1>0 and x3>0x-3>0. Together they reduce to x>3x>3. This restriction belongs to the original equation and must remain visible through every algebraic step. A later polynomial equation may generate candidates outside it.

Using the product law gives log2((x1)(x3))=3\log_2((x-1)(x-3))=3. Exponential form then gives (x1)(x3)=23=8(x-1)(x-3)=2^3=8. Expanding and rearranging produces x24x5=0x^2-4x-5=0, whose candidates are x=5x=5 and x=1x=-1. Only x=5x=5 satisfies x>3x>3. Direct substitution confirms the accepted solution.

Extraneous solutions often arise because combining logarithms and solving a polynomial forgets the individual argument restrictions. Consider ln(x+2)lnx=ln3\ln(x+2)-\ln x=\ln3. The domain requires x>0x>0, and the quotient law gives ln(x+2x)=ln3\ln\left(\frac{x+2}{x}\right)=\ln3. One-to-one behavior yields x+2x=3\frac{x+2}{x}=3, so x=1x=1. The result is valid because both original arguments are positive.

Change base and interpret the output

Change of base states logbx=logcxlogcb\log_bx=\frac{\log_cx}{\log_cb} for any valid base cc. To derive it, let y=logbxy=\log_bx, so x=byx=b^y. Taking logclog_c gives logcx=ylogcb\log_cx=y\log_cb. Dividing by the nonzero number logcb\log_cb isolates yy. This derivation shows that changing base rescales logarithmic outputs by a constant.

Calculators usually provide common and natural logarithms, so change of base evaluates other bases. For example, log27=ln7ln2\log_2 7=\frac{\ln7}{\ln2}. The result is approximately 2.8072.807, meaning 22.8072^{2.807} is approximately seven. Because base two counts doublings, the output describes how many doubling steps connect one to seven. The same multiplicative position can be reported in another base with a different numerical scale.

Base choice determines the unit of multiplicative comparison. Base ten counts powers of ten, base two counts powers of two, and base ee measures natural exponential growth. Unlike ordinary physical units, these “steps” describe ratios rather than additive intervals. Converting bases resembles converting coordinate scales while preserving the underlying multiplicative relationship. A stated base is therefore part of the meaning, not merely notation.

Use dimensionless logarithmic scales

The argument of a logarithm must be dimensionless in a physically meaningful equation. One cannot take the logarithm of 25m25\,\mathrm{m} alone because changing from meters to centimeters would change the numerical argument arbitrarily. Instead use a ratio such as 25m1m=25\frac{25\,\mathrm{m}}{1\,\mathrm{m}}=25. The units cancel across the horizontal fraction bar. The logarithm then acts on a pure number.

Sound level can be written L=10log10(II0)dBL=10\log_{10}\left(\frac{I}{I_0}\right)\,\mathrm{dB}, where II and I0I_0 have identical intensity units. If I=100I0I=100I_0, then the ratio is 100100 and the level is 20dB20\,\mathrm{dB}. Multiplying intensity by ten adds 10dB10\,\mathrm{dB}. The scale compresses enormous intensity ranges into manageable additive values. Decibels describe a ratio relative to a stated reference, not intensity itself.

The pH scale similarly uses a dimensionless activity relative to a standard state, although elementary formulas often abbreviate that detail. A one-unit pH change corresponds to a factor of ten in hydrogen-ion activity. Earthquake magnitude and information measures also encode multiplicative or probabilistic relationships logarithmically. Each application has its own coefficient, base, and reference convention. Interpret the definition used rather than transferring conclusions mechanically between scales.

A multiplicative ladder showing equal logarithmic steps for ratios of one, ten, one hundred, and one thousand.

Linearize exponential relationships carefully

If y=Aekxy=Ae^{kx} with y>0y>0 and A>0A>0, taking natural logarithms gives lny=lnA+kx\ln y=\ln A+kx. The transformed equation is linear in xx. A plot of lny\ln y against xx should therefore be approximately a straight line when the exponential model is suitable. Its slope estimates kk, and its vertical intercept estimates lnA\ln A. Exponentiating the intercept recovers AA.

Linearization is useful but changes the error structure. Equal vertical errors in yy do not become equal errors in lny\ln y. Small positive values can receive relatively large influence after transformation. Zero and negative observations cannot be logged in real-number analysis. A statistically sound method must match assumptions about whether errors are additive, relative, or otherwise structured.

Residuals should be checked in the scale relevant to the scientific question. Curvature in a log-transformed plot indicates that the relative rate may not be constant. A straight-looking line over a short range does not prove the mechanism is exponential. Compare alternative models and examine whether fitted parameters remain stable as more data arrive. Transformation is a diagnostic and computational tool, not a guarantee of truth.

Guided practice and error analysis

Expand ln(x3y2)\ln\left(\frac{x^3}{y^2}\right) for positive xx and yy. The quotient law gives ln(x3)ln(y2)\ln(x^3)-\ln(y^2). Applying the power law gives 3lnx2lny3\ln x-2\ln y. The coefficients three and two originated as exponents. Positivity ensures every logarithm is defined.

Condense 2log5ulog5v2\log_5u-\log_5v for positive uu and vv. The power law in reverse gives log5(u2)log5v\log_5(u^2)-\log_5v. The quotient law then gives log5(u2v)\log_5\left(\frac{u^2}{v}\right). The horizontal fraction bar groups the entire squared numerator over vv. The original positivity conditions remain sufficient for the condensed expression.

For independent synthesis, solve log3(x+5)+log3(x1)=2\log_3(x+5)+\log_3(x-1)=2. State the domain before combining terms, convert the resulting logarithmic statement to exponential form, and solve the polynomial. Check every candidate in the original equation. Then explain why directly writing log3(2x+4)=2\log_3(2x+4)=2 would be invalid. Your explanation should refer to multiplication structure rather than merely saying the rule is wrong.

Synthesis and connection forward

A logarithm reports an exponent relative to a chosen base. Its definition explains exact values, graph behavior, inverse identities, and domain restrictions. Exponent laws generate the product, quotient, and power laws. Those laws preserve multiplicative structure and never split sums or differences. Domain checks and dimensionless arguments keep symbolic work meaningful.

The most reliable problem-solving sequence begins by identifying the inverse question. State the base and argument, record the domain, and decide whether exponential form or logarithmic form makes the unknown easier to isolate. Apply only laws supported by exponent structure. Solve the resulting equation and substitute candidates into the original statement. Interpret the final number with units and reference information supplied by the model.

Logarithms connect Algebra II to calculus, statistics, chemistry, physics, and information theory. They solve for growth time, turn power laws into linear relationships, and measure multiplicative scale. In calculus, the natural logarithm has derivative 1x\frac{1}{x} and helps integrate reciprocal expressions. In data analysis, transformations can reveal patterns while changing error assumptions. The inverse-exponent viewpoint remains the conceptual anchor across all of these uses.

Knowledge Map

Where this lesson fits

Prerequisites

Advanced FunctionsExponential Functions

Next lessons

Advanced FunctionsSequences and Series

Continue exploring

Connections

Related lessons

Reaction RatesRate Laws and Reaction OrderFunction AnalysisInverse Functions

Applications

  • pH
  • decibels
  • information
  • growth time