Algebra & Functions · Exponential function

Exponential function

The function y = bˣ for a base b > 0, b ≠ 1: it starts at height 1 at x = 0, and every step of the same length in the same direction multiplies the height by the same factor.

Exponential function in this visualization

An exponential function is f(x)=bxf(x) = b^x for a fixed base b>0b > 0, b≠1b \ne 1. It starts at height 1 at x=0x = 0. For a whole number n, bnb^n multiplies by b n times: 23=2⋅2⋅2=82^3 = 2 \cdot 2 \cdot 2 = 8. A step to the left divides instead, so b−n=1/bnb^{-n} = 1/b^n and b0=1b^0 = 1. Fractions follow from the same rule: two half steps make one whole step, so a half step multiplies by the positive number whose square is b, b1/2=bb^{1/2} = \sqrt{b}. In the same way b1/qb^{1/q} is the positive q-th root of b and bp/q=(b1/q)pb^{p/q} = (b^{1/q})^p. An irrational exponent such as √2 is reached through the rational exponents close to it, which fills in the curve without gaps.

Equal steps, equal factors

Because bx+Δx=bx⋅bΔxb^{x + \Delta x} = b^x \cdot b^{\Delta x}, a step of Δx to the right multiplies the height by bΔxb^{\Delta x}, wherever it starts. The ladder from P shows that factor beside every rise; going left, each step divides by it. A linear function does the opposite: equal steps add the same amount. This one rule fixes the whole shape. The curve passes through (0, 1), and repeated halving never reaches 0, so it stays above the x-axis. For b>1b > 1 it rises more and more steeply to the right and creeps toward 0 on the left; for 0<b<10 < b < 1 it is the other way round.

The bases b and 1/b

Since (1/b)x=b−x(1/b)^x = b^{-x}, the graph of (1/b)x(1/b)^x is the graph of bxb^x reflected in the y-axis: a step right with one is a step left with the other. The base 1 is left out. Every step multiplies by 1, the graph is the line y = 1, and different x give the same value, so there is no inverse. For every other base the inverse function is the logarithm log⁡bx\log_b x.

Slope in proportion to height

Over a step of length h the curve climbs at the average rate bx+h−bxh=bx⋅bh−1h\dfrac{b^{x + h} - b^x}{h} = b^x \cdot \dfrac{b^h - 1}{h}. The second factor does not depend on x, and as h shrinks to 0 it approaches a number that depends only on b, the natural logarithm ln⁡b\ln b. So the slope of the tangent is (bx)′=ln⁡b⋅bx(b^x)' = \ln b \cdot b^x: the higher the curve, the steeper it is, always in the same proportion. The base for which that proportion is 1 is e≈2.718e \approx 2.718. The graph of exe^x has a slope equal to its height everywhere, because ln⁡e=1\ln e = 1.

Things to notice

  • The laws bx+y=bxbyb^{x + y} = b^x b^y and (bx)y=bxy(b^x)^y = b^{xy} hold for all real x and y. Both are the step rule written out.
  • In bxb^x the exponent varies; in a power function such as x2x^2 the base varies. Their graphs behave very differently.

Controls

  • Drag P along the curve, or press the curve to move P there. Drag the diamond at (1, b) up or down to change the base; it catches on e and on whole numbers.
  • The field for b takes e or a fraction such as 3/2.
  • With the keyboard, Tab to P and use the left and right arrow keys, or to the diamond and use up and down. Hold Shift for larger steps.

Related