Beautiful Math
Path

Algebra · Lesson 4

Graphs: seeing relationships

A graph turns a function into a picture: every input-output pair becomes a point. Descartes welded algebra to geometry so eyes could help algebra think.

Core ~26 minDeep study ~77 minWhat is a graph of a function?What does slope mean on a line?

Before this: Functions as machines

How this idea was born

A rule written only in symbols is hard to feel. Travelers, surveyors, and later scientists wanted paths and trends they could see: how far as time runs, how high as a setting changes, where two conditions meet. Drawing the relationship turns a table of pairs into a shape the eye can argue with.
In La Géométrie (1637), René Descartes showed how algebraic equations describe curves. Pierre de Fermat developed related coordinate ideas in the same era. Descartes wanted method: reduce geometry to calculation, and lift calculation into geometric insight. The ethic is synthesis. Do not pick a team between pictures and symbols. Make them translate.
For a modern rereader, a graph is a rule made visible. This chapter closes the algebra track's opening arc: equations, systems, functions, graphs. Each step added a lens. Graphs let your eyes join the conversation.

First principles

If y=f(x)y = f(x), the graph of ff is the set of points (x,f(x))(x, f(x)) in the plane.
xyy = 2x + 1
Each x maps to one y. The graph is the set of those pairs in the plane.
Coordinates let algebra speak geometrically: the unknown becomes a location. Axes without scales, though, can lie. A picture is only as honest as its labeled units.
Every point on a graph answers: when the input is this, the output is that. Clusters, slopes, intercepts, and curves are a pattern language. Before you differentiate, you can already see where a graph rises quickly or flattens. Calculus will later name those visual hunches precisely.
Reading a graph checklist:
  1. Label both axes (quantity and unit).
  2. Note the scale (does one unit on yy equal one unit on xx visually?).
  3. Identify intercepts and any obvious roots.
  4. Describe shape: rising, falling, flat, bending.
  5. Ask whether the picture represents a function of xx (vertical-line test).
Algebrica's analyzing graphs page walks intercepts, symmetry, and shape with worked examples. Good companion reading after your first sketch.

Worked intuition

Lines

y=mx+by = mx + b has slope mm and yy-intercept bb. Slope is rise over run between any two points on the line.
Parallel lines share slope. Perpendicular lines in the usual Euclidean plane have slopes whose product is 1-1 (when both are defined).
Slope is already a rate: how much yy changes per unit xx. That is the doorway to derivatives.
Slope from two points:
Through (1,2)(1, 2) and (4,8)(4, 8):
m=8241=63=2m = \frac{8 - 2}{4 - 1} = \frac{6}{3} = 2
The line is y=2x+by = 2x + b. Plug in (1,2)(1, 2): 2=2(1)+b2 = 2(1) + b, so b=0b = 0. Equation: y=2xy = 2x.

What graphs buy you

  • Spot intercepts and roots (f(x)=0f(x) = 0)
  • See growth versus decay
  • Compare two functions visually
  • Guess qualitative behavior before algebraic grinding
xy(3, 4)
Coordinates turn geometry into numbers: every point is an ordered pair (x, y).

Plotting a few points

For f(x)=x21f(x) = x^2 - 1, build a small table:
| xx | f(x)f(x) | |-----|--------| | 2-2 | 33 | | 1-1 | 00 | | 00 | 1-1 | | 11 | 00 | | 22 | 33 |
Plot (2,3)(-2, 3), (1,0)(-1, 0), and so on. Connect with a smooth U-shape. The roots at x=±1x = \pm 1 are where the graph crosses the xx-axis (y=0y = 0). The yy-intercept is (0,1)(0, -1).
You do not need infinitely many points. A handful plus symmetry often reveals the shape.

Comparing two functions on one graph

Plot y=2x+1y = 2x + 1 and y=x+7y = -x + 7 together. They intersect where 2x+1=x+72x + 1 = -x + 7, so 3x=63x = 6 and x=2x = 2, y=5y = 5. The intersection point (2,5)(2, 5) is the graphical solution to the system. Systems from the previous chapter are line meetings in disguise. Sketch both lines and mark the meeting point before you trust the algebra.

Beyond lines

Not every important graph is a straight line. Parabolas, ellipses, and hyperbolas form a famous family. Strogatz's "Conic Conspiracy" delights in their shared ancestry: slices of a cone, shared algebraic DNA.

Checking graph claims

If someone says "the graph of y=3x2y = 3x - 2 passes through (2,4)(2, 4)," substitute: 3(2)2=43(2) - 2 = 4. True. A point lies on a graph exactly when its coordinates satisfy the defining equation.
If a sketch shows a steep climb but the axis labels reveal the yy-scale is compressed, trust the labels, not the drama.
Quick check: Does (1,5)(1, 5) lie on y=3x+2y = 3x + 2? Left side is 5; right side is 3(1)+2=53(1) + 2 = 5. The point is on the graph.

Common confusions

Reading a graph without checking scales. A steep-looking line can be gentle if the yy-axis is stretched. Missing scales are a silent lie.
Confusing a sketch with a proof. Pictures suggest. Algebra confirms. Use both.
Thinking every relation is a function graph. Circles as x2+y2=1x^2 + y^2 = 1 are relations; as graphs of yy versus xx they fail the vertical-line test unless you split into branches.
Mixing up intercept meanings. The yy-intercept is where x=0x = 0. Roots are where y=0y = 0. They answer different questions.
Treating slope as only "steepness aesthetic." Slope is a rate. In applications it carries units: dollars per hour, meters per second, loss per training step.
Plotting too few points for nonlinear curves. Two points determine a line. They do not determine a parabola. Use symmetry and a few more samples.
Ignoring domain restrictions. The graph of f(x)=xf(x) = \sqrt{x} on the reals starts at x=0x = 0. Drawing it for negative xx would lie about the machine's domain.
Confusing the graph of ff with the graph of f(x)=cf(x) = c. A horizontal line y=5y = 5 is the graph of a constant function. A vertical line x=3x = 3 is not a function graph at all. Orientation matters.

History and stories

In La Géométrie (1637), Descartes showed how algebraic equations describe curves. MacTutor and the Stanford Encyclopedia entry on Descartes's mathematics emphasize method: reduce geometry to calculation, and lift calculation into geometric insight. The ethic is synthesis. Do not pick a team between pictures and symbols. Make them translate.
Fermat developed related coordinate and tangent ideas in the same broad historical neighborhood. Popular slogans that "Descartes alone invented the graph" oversimplify. Prefer the documented hinge: analytic geometry made equation and curve mutually intelligible.
Before formulas, humans drew paths of planets and tides. A modern graph is that instinct upgraded with axes. When a loss curve in training plateaus, engineers feel something ancient: the trail went flat; what changed in the terrain?

Real world

  • Dashboards and time series: stock price, temperature, or traffic as yy versus time tt.
  • ECG traces and other biomedical signals plotted over time.
  • Speed versus time: slope of the graph is acceleration; area under the curve foreshadows distance (a calculus preview).
  • Learning curves in education analytics and in model training.
  • Supply and demand: two lines on one graph; intersection is market equilibrium.
Looking carefully is not anti-math. It is math's first instrument.
Curiosity question: Find any chart in the news. What are the axes? Does the visual slope match the stated rate of change, or could scaling trick your eye?
Checking a graph claim: If a company's revenue graph shows a straight line from (2019, 1M dollars) to (2024, 6M dollars), the slope is 5M5 years=1M dollars/year\frac{5\text{M}}{5\text{ years}} = 1\text{M dollars/year}. Does the headline's "fivefold growth" match? (Yes: 1M to 6M is 6x, not 5x. Graphs catch sloppy language.)

Open when you want the machine-learning connection. Skip freely.

Field notes, extra examples, and glossary live here when you want more than the core path.

Carry this forward

  • Graphs are sets of input-output pairs made visible.
  • Slope previews rate of change.
  • Pictures and symbols should translate, not compete.
  • Always check scales and domain before trusting a picture.
  • Algebra opening arc: equations, systems, functions, graphs. Next: inequalities and beyond.

Read more

Go deeper when curiosity hits - videos, essays, and primary trails.

Check your understanding

A short learning loop - try a few, learn from misses, mark complete when you have engaged. No timer, no scoreboard.

1.A graph makes visible…
2.Slope on a line measures…
3.Coordinates glue…
4.Conic Conspiracy (Strogatz) highlights…
5.Intercepts tell you…

Try at least 3 core prompts, or choose I'll return later.