../

Reading equations as graphs

What a formula looks like, and what each number in it does. Every plot draws the same base function several times with one constant changed, so the effect of that constant is the difference between the curves. Read left to right: as xx grows, what happens to yy?

Building blocks

EquationShapeAs xx grows
y=cy = cflat line at height ccnothing changes
y=xy = xstraight line through the origin, slope 1yy grows at the same rate
y=x2y = x^2U shape, bottom at the origingrows faster and faster
y=x3y = x^3S shape through the origingrows even faster, odd symmetry
y=xy = \sqrt{x}half of a sideways U, starts at 0grows, but slower and slower
y=1/xy = 1/xtwo hyperbola branches, never touches the axesshrinks toward 0
y=exy = e^xhugs the axis on the left, shoots up on the rightgrows, multiplying itself
y=ln⁡xy = \ln xshoots down near 0, climbs slowlygrows, slower than any root
y=sin⁡xy = \sin xwave between −1-1 and 11repeats every 2π2\pi
-3-2-1123-3-2-1123
constants y = c c = 2 c = 0.5 c = −1
-3-2-1123-3-2-1123
the line y = xy = x

Adding and subtracting a number

Adding to the whole expression moves the graph up; subtracting moves it down. Adding to xx inside the function moves the graph left; subtracting moves it right. The shape never changes.

-3-2-1123-5-3-1135
y = x + c x + 2 x x − 2
-4-3-2-11234-1123456
y = (x − c)² (x + 1)² x² (x − 2)²
ChangeEffect
f(x)+cf(x) + cup by cc (down if c<0c < 0)
f(x−c)f(x - c)right by cc (left if c<0c < 0)
f(x+c)f(x + c)left by cc

Multiplying by a number

Multiplying the whole expression by cc makes it steeper (c>1c > 1), flatter (0<c<10 < c < 1), or flips it upside down (c<0c < 0). Multiplying xx inside squeezes the graph horizontally.

-3-2-1123-4-3-2-11234
y = c·x 2x x 0.5x −x
-3-2-1123-6-4-2246
y = c·x² 2x² x² 0.5x² −x²
-2π-ππ2π-11
y = sin(c·x) sin 2x sin x sin(x/2)
-2π-ππ2π-2-112
y = c·sin x 2 sin x sin x 0.5 sin x
ChangeEffect
c⋅f(x)c \cdot f(x), c>1c > 1taller: stretched away from the xx-axis
c⋅f(x)c \cdot f(x), 0<c<10 < c < 1shorter: squashed toward the xx-axis
−f(x)-f(x)flipped over the xx-axis
f(c⋅x)f(c \cdot x), c>1c > 1narrower: everything happens cc times sooner
f(c⋅x)f(c \cdot x), 0<c<10 < c < 1wider: everything happens later
f(−x)f(-x)mirrored over the yy-axis

Dividing by a number

Dividing by cc is multiplying by 1/c1/c: the graph gets flatter. Dividing by xx is a different animal: 1/x1/x blows up near 00 and fades toward 00 far away.

-3-2-1123-3-2-1123
y = x / c x x/2 x/4
-4-3-2-11234-4-3-2-11234
y = c / x 1/x 2/x −1/x
EquationNear x=0x = 0Far from 00
c/xc/xshoots to ±∞\pm\infty (vertical asymptote)fades to 00 (horizontal asymptote)
c/x2c/x^2shoots to +∞+\infty on both sidesfades to 00 faster
1/(x−a)1/(x - a)asymptote moves to x=ax = a

Powers of x

For x>1x > 1 a bigger exponent grows faster; for 0<x<10 < x < 1 a bigger exponent is smaller. Every xcx^c passes through (1,1)(1, 1).

121234
y = xᶜ near 1 x^0.5 x^1 x^2 x^3
-2-112-6-4-2246
even vs odd x² x³
ExponentShape
even (x2,x4x^2, x^4)U shape, symmetric, always ≥0\ge 0
odd (x3,x5x^3, x^5)S shape, negative on the left, positive on the right
between 0 and 1 (x\sqrt{x})rises quickly then flattens; only for x≥0x \ge 0
negative (x−1x^{-1})1/x1/x: asymptotes at both axes

Exponentials: a number to the power x

Base bigger than 1 grows, base between 0 and 1 decays, and the further the base is from 1 the faster it happens. Every cxc^x passes through (0,1)(0, 1). Multiplying xx by kk in ekxe^{kx} sets the rate: k>0k > 0 grows, k<0k < 0 decays.

-3-2-112312345678
y = cˣ eˣ 2ˣ 1.5ˣ 0.5ˣ
-3-2-112312345678
y = e^(k·x) e^2x eˣ e^0.5x e^−x
EquationBehavior
cxc^x, c>1c > 1growth; doubles every ln⁡2/ln⁡c\ln 2 / \ln c units of xx
cxc^x, 0<c<10 < c < 1decay toward 00, never reaching it
ekxe^{kx}growth for k>0k > 0, decay for k<0k < 0; doubling time ln⁡2/k\ln 2 / k
AekxA e^{kx}starts at AA when x=0x = 0
ex+ce^{x} + chorizontal asymptote moves from 00 to cc

Logarithms

The inverse of exponentials: every log passes through (1,0)(1, 0), climbs forever but ever more slowly, and plunges to −∞-\infty as x→0x \to 0. A bigger base is a flatter curve. Multiplying xx inside a log only shifts the curve up, because ln⁡(cx)=ln⁡x+ln⁡c\ln(cx) = \ln x + \ln c.

12345678-3-2-11234
y = log_c x log₂ x ln x log₁₀ x
12345678-3-2-11234
y = ln(c·x) ln 4x ln 2x ln x

Who wins over time

On the way up, exponentials eventually beat every power, and every power beats every log. On the way down, e−xe^{-x} fades fastest, then 1/x21/x^2, then 1/x1/x.

12345246810121416
growth 2ˣ x² x ln x
12345123
decay e^−x 1/x² 1/x
Rank (large xx)FamilyExample
fastestexponential2x2^x, exe^x
polynomial, higher power firstx3x^3, x2x^2, xx
rootsx\sqrt{x}
slowestlogarithmicln⁡x\ln x

Waves: A sin(ωx + φ) + C

Four numbers, four separate effects. Amplitude AA sets the height, angular frequency ω\omega sets how many waves fit in a stretch, phase ϕ\phi slides the wave sideways by −ϕ/ω-\phi/\omega, and CC lifts the center line.

-2π-ππ2π-2-112
amplitude A 2 sin x sin x 0.5 sin x
-2π-ππ2π-11
frequency ω sin 2x sin x sin x/2
-2π-ππ2π-11
phase φ sin(x + π/2) sin x sin(x − π/2)
-2π-ππ2π-2-112
offset C sin x + 1 sin x sin x − 1

Reading an equation

You seeExpect
only xx to the first powera straight line; the coefficient is the slope
highest power evenboth ends go the same way (up if the coefficient is positive)
highest power oddends go opposite ways
xx in a denominatora vertical asymptote where the denominator is 00
xx in an exponentgrowth or decay that outruns any power
xx inside a logonly defined for positive arguments, slow growth
xx inside sin or cosa wave; what multiplies xx sets the frequency
a number added outsidethe whole graph moves up or down
a number added insidethe whole graph moves left or right
a number multiplied outsidetaller or shorter; negative flips it
a number multiplied insidenarrower or wider; negative mirrors it
  \sqrt{\;} or even rootstarts at the point where the inside becomes 00
∣⋯∣\lvert \cdots \rvertthe negative part folds up above the axis

References