Cartesian coordinates, plotting points, distance formula.
Deep-dive lesson - accessible entry point but dense material. Use worked examples and spaced repetition.
Almost every picture in calculus—curves, tangents, areas, motion—starts with one simple idea: you can label locations with numbers. Coordinate systems are the bridge between geometry (shapes) and algebra (equations).
A Cartesian coordinate system uses two perpendicular number lines (x-axis and y-axis) with an origin (0,0). A point is labeled by an ordered pair (x,y): x tells horizontal position, y tells vertical position. You can plot points by moving x then y, and you can measure straight-line distance with the distance formula: √((x₂−x₁)² + (y₂−y₁)²).
Geometry is great at describing shapes, but it can be hard to compute with shapes directly. Algebra is great at computation, but it needs numbers.
A coordinate system is a way to translate geometry into numbers:
This translation is what makes calculus possible: limits, slopes (derivatives), and areas (integrals) all rely on turning pictures into precise numeric relationships.
The most common coordinate system in early math and calculus is the Cartesian coordinate system.
It has:
1) A horizontal number line called the x-axis
2) A vertical number line called the y-axis
3) They intersect at a special point called the origin
The origin is labeled:
The axes are perpendicular (meet at a right angle). You also choose a unit scale (what “1” means on each axis). Usually the scale is the same on both axes.
A point in the plane is labeled by an ordered pair:
Order matters. The first number is the x-coordinate (horizontal), the second is the y-coordinate (vertical).
If you accidentally swap them, you get a different point:
Think of (x,y) as instructions starting from the origin:
1) Move x units along the x-axis (right if x > 0, left if x < 0)
2) Then move y units parallel to the y-axis (up if y > 0, down if y < 0)
That final location is the point (x,y).
The x-axis and y-axis divide the plane into four regions called quadrants:
| Quadrant | x sign | y sign | Example |
|---|---|---|---|
| I | + | + | (3,2) |
| II | − | + | (−3,2) |
| III | − | − | (−3,−2) |
| IV | + | − | (3,−2) |
Knowing the quadrant helps you quickly sanity-check a plotted point.
You’ll use:
These appear immediately in the distance formula and later everywhere in calculus.
Plotting points is the simplest form of “graphing data.” Before you graph whole functions like y = x², you learn to place individual points. This skill becomes:
To plot (x,y):
1) Start at the origin (0,0)
2) Move horizontally to x
3) Move vertically to y
4) Mark the point
It is important that the horizontal move comes from x and the vertical move comes from y.
If you see a point marked on a coordinate plane, you reverse the process:
1) Look at how far it is from the y-axis horizontally → that is x
2) Look at how far it is from the x-axis vertically → that is y
A helpful mental check: if the point is to the left of the y-axis, x should be negative. If it is below the x-axis, y should be negative.
Some points sit directly on an axis.
The origin (0,0) is on both axes.
A subtle but important idea: coordinates depend on the chosen axes and origin.
If you shift the origin or rotate axes, the same geometric point could get different numeric coordinates. In this node we assume the standard setup:
This “frame” is what lets different people agree on the same location using numbers.
People sometimes say “the coordinate (3,−1).” More precisely:
This distinction becomes useful later with transformations (shifts, scalings) and with vectors.
Soon you’ll meet vectors like v = ⟨x,y⟩. In 2D, the numbers are the same ingredients as coordinates, but the interpretation changes:
For now, focus on points. Just keep in mind that the same pair of numbers can play different roles.
Once points are labeled with numbers, you want to measure geometric quantities numerically. The first and most important measurement is straight-line distance between two points.
In calculus, distance appears in many places:
So we want a distance formula that uses only coordinates.
Suppose you have two points:
If you draw the right triangle formed by moving horizontally from P₁ to align with P₂, then vertically, the legs of the triangle are:
The Pythagorean theorem says:
So the distance d between P₁ and P₂ satisfies:
d² = (x₂ − x₁)² + (y₂ − y₁)²
Take square roots (distance is nonnegative):
d = √((x₂ − x₁)² + (y₂ − y₁)²)
That is the distance formula.
Notice that differences can be negative:
But distance should never be negative. Squaring removes sign:
Then √(…) brings you back to a nonnegative length.
Distance does not depend on the absolute coordinates alone. It depends on the change:
Then:
d = √((Δx)² + (Δy)²)
This “difference-first” idea is a major theme in calculus:
1) Same y-coordinate (horizontal line): y₂ = y₁
Then:
So horizontal distance is absolute difference in x.
2) Same x-coordinate (vertical line): x₂ = x₁
Then:
So vertical distance is absolute difference in y.
A circle can be described as:
Using the distance formula:
√((x − a)² + (y − b)²) = r
Square both sides (common algebra step):
(x − a)² + (y − b)² = r²
This equation is a gateway to graphing and later to multivariable calculus ideas.
Calculus studies how quantities change. But to even talk about change, you need a way to represent quantities and their relationships.
The coordinate plane lets you represent:
Then a relationship becomes a picture.
A function is often written:
A graph of f is the set of points:
So once you understand points (x,y), you understand what a graph is: many plotted points following a rule.
Example:
You don’t need calculus yet—just coordinate pairs.
In limits, you’ll see language like:
This is fundamentally about distance on the x-axis:
Even though this node focuses on the plane, the same idea appears:
So the distance idea you learned here is an early version of measuring “closeness.”
Given two points on a line:
The slope m is:
m = (y₂ − y₁) / (x₂ − x₁)
Notice how it uses the same Δy and Δx that appeared in the distance formula. Coordinate geometry is the toolkit; slope is one of the first tools you build from it.
The displacement from P₁ to P₂ can be represented by a vector:
Its length (magnitude) matches the distance:
This shows a deep connection:
You will use this idea later to describe motion and directional change.
When working with coordinates, develop two habits:
1) Label axes and units when possible
2) Sanity-check signs and quadrants
If your point is drawn left of the y-axis but you wrote x > 0, something is inconsistent. Catching those small mismatches early saves time later, especially when calculus problems get more algebra-heavy.
You are given three points: A = (3,2), B = (−4,1), C = (−2,−5). For each point, identify its quadrant and describe how to plot it from the origin.
Point A = (3,2)
Point B = (−4,1)
Point C = (−2,−5)
Insight: Quadrants are a fast sign-check: x tells left/right, y tells up/down. Plotting is just “x first, then y.”
Find the distance between P₁ = (1, −2) and P₂ = (4, 2).
Write the coordinate differences:
Δx = x₂ − x₁ = 4 − 1 = 3
Δy = y₂ − y₁ = 2 − (−2) = 4
Apply the distance formula:
d = √((Δx)² + (Δy)²)
= √(3^2 + 4^2)
Compute squares and add:
3^2 = 9
4^2 = 16
So d = √(9 + 16) = √25
Take the square root:
d = 5
Insight: Distance is the hypotenuse of a right triangle whose legs are the horizontal and vertical changes (Δx and Δy).
Derive a formula for the distance between P₁ = (x₁, y₁) and P₂ = (x₂, y₂) using a right triangle.
Construct a right triangle by drawing a horizontal segment from (x₁,y₁) to (x₂,y₁), then a vertical segment to (x₂,y₂).
Identify leg lengths:
Horizontal leg length = x₂ − x₁ (its magnitude is |x₂ − x₁|)
Vertical leg length = y₂ − y₁ (its magnitude is |y₂ − y₁|)
Apply the Pythagorean theorem to the triangle:
d² = (horizontal)² + (vertical)²
Substitute the coordinate differences:
d² = (x₂ − x₁)² + (y₂ − y₁)²
Take square roots (distance is nonnegative):
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Insight: The squares remove sign issues automatically, so you can use Δx and Δy directly without separately taking absolute values.
A Cartesian coordinate system uses perpendicular axes (x-axis, y-axis) and an origin (0,0) to label points with numbers.
A point is labeled by an ordered pair (x,y); the order matters because x controls horizontal position and y controls vertical position.
Quadrants summarize signs: I (+,+), II (−,+), III (−,−), IV (+,−).
Points on axes have a zero coordinate: (x,0) lies on the x-axis and (0,y) lies on the y-axis.
The distance between (x₁,y₁) and (x₂,y₂) is d = √((x₂−x₁)² + (y₂−y₁)²).
Distance and slope both depend on coordinate differences Δx and Δy, which foreshadow calculus ideas about change.
Swapping coordinates: plotting (x,y) as if it were (y,x).
Forgetting negative directions: moving right for negative x or up for negative y.
Using the distance formula but forgetting to square the differences, or taking √(Δx + Δy) instead of √((Δx)² + (Δy)²).
Mixing up points and vectors: treating a location (x,y) as if it automatically represents a displacement without specifying a start point.
Identify the quadrant (or axis) of each point: (−3,4), (5,−2), (0,7), (−1,0).
Hint: Use the signs of x and y. If one coordinate is 0, the point lies on an axis.
(−3,4) is Quadrant II.
(5,−2) is Quadrant IV.
(0,7) lies on the y-axis.
(−1,0) lies on the x-axis.
Compute the distance between A = (−2,1) and B = (3,−3).
Hint: Compute Δx = 3 − (−2) and Δy = −3 − 1, then use d = √((Δx)^2 + (Δy)^2).
Δx = 3 − (−2) = 5
Δy = −3 − 1 = −4
d = √(5^2 + (−4)^2)
= √(25 + 16)
= √41
Find all points on the x-axis that are distance 6 from the origin.
Hint: Points on the x-axis look like (x,0). Use the distance formula to the origin: √(x^2 + 0^2) = 6.
Let the point be (x,0).
Distance to (0,0):
√((x−0)^2 + (0−0)^2) = 6
√(x^2) = 6
|x| = 6
So x = 6 or x = −6.
The points are (6,0) and (−6,0).