Mathematics/Lessons/Exponentials & Logarithms/Exponential Functions & e^x
Pure · Exponentials & Logarithms · Year 1

Exponential Functions & e^x

Functions with the variable in the exponent grow in a way powers never can — and one special base, e, is its own rate of change.

9 min read 3 worked examples

What an exponential function is

An exponential function has the form $y = a^x$, where the variable sits in the exponent and the base $a$ is a positive constant. This is a completely different beast from a power function like $x^2$: there the variable is the base and the power is fixed; here the power is the variable. That single swap changes everything about how the function grows.

Every exponential graph $y=a^x$ (for $a>0$, $a\neq 1$) shares the same skeleton: it passes through $(0, 1)$ — since $a^0 = 1$ for any base — it is always positive, and it has the $x$-axis as a horizontal asymptote on one side. If $a>1$ the curve grows as $x$ increases; if $0<a<1$ it decays.

The graph of the exponential function y = a to the x for a base greater than 1. The curve passes through the point (0, 1), rises steeply to the right, and flattens away towards the x-axis on the left, which acts as a horizontal asymptote.
The shape of y = aˣ for a base above 1: it passes through (0, 1), grows steeply to the right, and flattens towards the x-axis on the left — an asymptote the curve approaches but never touches.
Why the graph always passes through (0, 1)

Whatever the base, $a^0 = 1$ — so at $x=0$ every exponential curve has height $1$. That's the one point they all have in common. And because a positive base raised to any power stays positive, $a^x$ can never be zero or negative: the curve hugs the $x$-axis as $x\to-\infty$ (for $a>1$) but never reaches it, which is exactly what "horizontal asymptote" means.

The special number e

Among all possible bases, one is so useful it earns its own symbol: $e \approx 2.71828$, an irrational constant like $\pi$. What makes $e$ special is a property of its graph: for $y = e^x$, the gradient at every point equals the height of the curve at that point. The function is its own rate of change.

The graph of the natural exponential function y = e to the x. The curve passes through (0, 1), reaches about 2.718 at x = 1 and about 7.389 at x = 2, and flattens towards the x-axis as x decreases.
The natural exponential y = eˣ: its height is 1 at x = 0, e ≈ 2.718 at x = 1, and e² ≈ 7.389 at x = 2. Remarkably, at every point the curve's gradient equals that same height — the property that makes e special.
Why e matters — the self-derivative property

For a general base, the graph of $a^x$ has a gradient proportional to its height, but with an awkward constant of proportionality. The number $e$ is precisely the base for which that constant is exactly $1$: $\dfrac{d}{dx}\!\left(e^x\right) = e^x$. This is why $e$ appears everywhere that something grows at a rate proportional to its current size — populations, radioactive decay, continuously compounded interest. You'll use this derivative constantly once you reach calculus.

Transformations of exponential graphs

The graph of $y = e^x$ can be shifted and stretched using the same transformation rules as any function. Two appear constantly:

$y = e^{x} + k$  — shifts the whole curve up by $k$, moving the asymptote from $y=0$ to $y=k$.
$y = A e^{kx}$  — the $A$ scales the height (so it passes through $(0, A)$), and the $k$ controls how fast it grows ($k>0$) or decays ($k<0$).
The gradient of $e^{kx}$

Stretching the exponent scales the gradient by the same constant: $\dfrac{d}{dx}\!\left(e^{kx}\right) = k\,e^{kx}$. This follows from the self-derivative property of $e^x$ — every time the exponent's rate of change is $k$ instead of $1$, that same $k$ carries over and multiplies the whole derivative. You'll meet this again, justified more formally, once the chain rule is introduced in Year 2.

Worked example 1

Evaluate and interpret an exponential
The function $f(x) = 3^x$ is defined for all real $x$. Find $f(0)$, $f(2)$ and $f(-1)$, and state the equation of the horizontal asymptote.
MethodSubstitute each value, then read the asymptote
1
$f(0) = 3^0 = 1$.
Any base to the power 0 is 1.
2
$f(2) = 3^2 = 9$.
Ordinary power.
3
$f(-1) = 3^{-1} = \dfrac{1}{3}$.
Negative power is a reciprocal.
4
As $x\to-\infty$, $3^x\to 0$ but never reaches it, so the asymptote is $y = 0$.
The x-axis.
▪ solved
Examiner's eye

Notice $f(-1) = \tfrac13$ is positive, not negative — a negative exponent gives a reciprocal, never a negative value. Exponentials with a positive base are positive everywhere, which is why the curve stays above the $x$-axis.

Worked example 2

A transformed exponential · shift and asymptote
The curve $y = e^{x} - 4$ is drawn. State its $y$-intercept and the equation of its asymptote, and determine where it crosses the $x$-axis.
MethodUse the transformation, then solve for the crossing
1
$y$-intercept: put $x=0$, giving $y = e^0 - 4 = 1 - 4 = -3$. So it cuts the $y$-axis at $(0, -3)$.
$e^0 = 1$.
2
The $-4$ shifts $y=e^x$ down by $4$, so the asymptote moves from $y=0$ to $y = -4$.
Vertical shift moves the asymptote.
3
$x$-axis crossing: set $y=0$, so $e^x - 4 = 0 \Rightarrow e^x = 4$.
Where the curve meets $y=0$.
4
Take natural logs: $x = \ln 4 \approx 1.39$.
ln undoes $e^x$ (next lesson).
▪ solved
The key insight

Adding a constant to an exponential shifts both the curve and its asymptote by the same amount. Because the asymptote moved to $y=-4$, the curve now dips below the $x$-axis near the left, which is why it has an $x$-intercept at all — the untransformed $y=e^x$ never crosses the axis. Solving $e^x = 4$ needs the logarithm, the subject of the next lesson.

Worked example 3

Comparing growth and decay
Sketch the behaviour of $y = 2^x$ and $y = 2^{-x}$, describing what each does as $x\to+\infty$ and $x\to-\infty$.

Writing $2^{-x} = \left(\tfrac12\right)^x$ shows the second is just an exponential with base $\tfrac12$ — a decay curve. The two are mirror images in the $y$-axis.

MethodAnalyse each limit
1
$y = 2^x$: as $x\to+\infty$, $2^x\to+\infty$ (grows without bound); as $x\to-\infty$, $2^x\to 0^+$.
Base $>1$ grows to the right.
2
$y = 2^{-x} = \left(\tfrac12\right)^x$: as $x\to+\infty$, it $\to 0^+$; as $x\to-\infty$, it $\to+\infty$.
Base $<1$ decays to the right.
3
Replacing $x$ with $-x$ reflects a graph in the $y$-axis, so $y=2^{-x}$ is the mirror image of $y=2^x$.
$f(-x)$ is a y-axis reflection.
4
Both pass through $(0,1)$ and both have the $x$-axis as asymptote — one decaying left, the other right.
Shared skeleton.
▪ described
The graphs of y = 2 to the x and y = one half to the x drawn on the same axes. The curve y = 2 to the x rises steeply to the right, while y = one half to the x falls to the right. They are mirror images in the y-axis and cross at the marked point (0, 1). Both flatten towards the x-axis, which is a horizontal asymptote.
y = 2ˣ and y = (½)ˣ = 2⁻ˣ are mirror images in the y-axis. Both pass through (0, 1) and share the x-axis as an asymptote — one decaying to the left, the other to the right.
Look deeper — growth and decay are the same idea

A "decay" exponential is just a "growth" one with a negative exponent, or equivalently a base below $1$. Recognising $a^{-x} = \left(\tfrac1a\right)^x$ means you never have to treat decay as a separate case — it's growth viewed in a mirror. This same reflection trick reappears when you model decay processes in the growth-and-decay lesson.

Common mistake

$a^x$ is not the same as $a \times x$, and it is not $x^a$. The exponential $3^x$ at $x=4$ is $3^4 = 81$, not $3\times4=12$ and not $4^3=64$. Keep the variable in the exponent. Also, $e$ is a specific number ($\approx 2.718$), not a variable — treat $e^x$ exactly as you would $2^x$ or $10^x$, just with that particular base.

Check yourself

The curve $y = 5 e^{x}$ is drawn. Write down its $y$-intercept and the equation of its asymptote. Then find the exact value of $x$ for which $y = 15$.
(Hint: put $x=0$ for the intercept; for the last part solve $5e^x = 15$ using $\ln$.)

Method
1
$y$-intercept: $x=0$ gives $y = 5e^0 = 5$, so $(0, 5)$.
2
The $x$-axis is still the asymptote: $y = 0$ (multiplying by $5$ scales height but doesn't shift vertically).
3
Solve $5e^x = 15 \Rightarrow e^x = 3$.
Divide by 5.
4
$x = \ln 3 \approx 1.10$.
Take natural logs.
▪ solved

The factor of $5$ stretches the curve vertically so it passes through $(0,5)$, but it doesn't move the asymptote — only an added constant would do that.