The Coordinate Plane

Study Sheet

The Coordinate Plane

Points, quadrants, tables, and graphing lines

The Coordinate Plane

Concept
The Big Idea
xy−5−4−3−2−112345−2−1123(4, 2)(−3, 1)
Across first, then up: (4,2)(4, 2) and (−3,1)(-3, 1).

The coordinate plane is made from two number lines that cross at right angles. The horizontal number line is the xx-axis. The vertical number line is the yy-axis. The point where they cross is the origin, written (0,0)(0,0).

Every location on the plane is named by an ordered pair (x,y)(x,y). The first number tells you how far to move left or right along the xx-axis. The second number tells you how far to move up or down parallel to the yy-axis. Because the order matters, we call it an ordered pair: (3,5)(3,5) is a different point than (5,3)(5,3).

A line on the coordinate plane is the set of points whose coordinates satisfy an equation like y=2x+1y = 2x + 1. Its slope, riserun\tfrac{\text{rise}}{\text{run}}, says how steep it is and in which direction, and the yy-intercept is where it crosses the vertical axis. Two points determine the slope; the slope and one point determine the line.

Why two numbers? A single number line can only say how far left or right; a location on a flat page needs a second direction as well. Fixing the order (across first, then up) is a convention everyone agrees on, and it is what lets (4,2)(4, 2) and (2,4)(2, 4) name two different places.

Example
Reading an Ordered Pair

The point (4,2)(4,2) means: start at the origin, move right 44 (because 44 is positive), then move up 22 (because 22 is positive). You land at a spot that is 44 units right and 22 units above the origin.

The point (−3,1)(-3,1) means: move left 33, then up 11.

Side note
Where it goes wrong

Plotting (4,2)(4, 2) by going up 44 and right 22. That lands on (2,4)(2, 4), a different point. The first coordinate always moves along the xx-axis.

Tip

Tip: Always read the coordinates in the order (x,y)(x,y) — xx before yy, just like the alphabet. A helpful memory trick: “walk before you climb” (move sideways first, then up or down).

Try it
Try it: read the moves

Describe the moves from the origin to (−1,−4)(-1, -4) and to (0,3)(0, 3).

Show the answer

(−1,−4)(-1, -4): x=−1x = -1 is negative, so move left 11; y=−4y = -4 is negative, so move down 44. (0,3)(0, 3): x=0x = 0, so do not move sideways at all; then move up 33. That point sits on the yy-axis.

The Four Quadrants

Concept
Dividing the Plane
xyI (+, +)II (−, +)III (−, −)IV (+, −)(−5, −2)(6, −1)
The sign pattern of each quadrant, with the two example points.

The two axes split the plane into four regions called quadrants. We number them with Roman numerals, starting at the top-right and going counter-clockwise:

  • Quadrant I — top right — xx positive, yy positive: (+,+)(+,+)
  • Quadrant II — top left — xx negative, yy positive: (−,+)(-,+)
  • Quadrant III — bottom left — xx negative, yy negative: (−,−)(-,-)
  • Quadrant IV — bottom right — xx positive, yy negative: (+,−)(+,-)

The quadrant is decided by signs alone, because the axes are exactly where each coordinate changes sign: left of the yy-axis every xx is negative, below the xx-axis every yy is negative. So you never need to plot a point to name its quadrant; reading the two signs is enough.

Example
Naming the Quadrant

Where is (−5,−2)(-5,-2)? Both coordinates are negative, which matches (−,−)(-,-), so the point is in Quadrant III.

Where is (6,−1)(6,-1)? Here xx is positive and yy is negative, matching (+,−)(+,-), so the point is in Quadrant IV.

Side note
Where it goes wrong

Numbering the quadrants clockwise and calling the bottom-right Quadrant II. The numbering starts top-right and runs counter-clockwise: I, II, III, IV, so bottom-right is IV.

Concept
Points on the Axes

If a point sits on an axis, it is not in any quadrant.

  • A point on the xx-axis has the form (x,0)(x,0) — its yy-coordinate is 00. Example: (4,0)(4,0).
  • A point on the yy-axis has the form (0,y)(0,y) — its xx-coordinate is 00. Example: (0,−3)(0,-3).
  • The origin (0,0)(0,0) sits on both axes.
Tip

Tip: A zero tells you the point is on an axis. Zero in the second spot means the xx-axis; zero in the first spot means the yy-axis.

Try it
Try it: quadrant or axis?

Where is each point: (−2,7)(-2, 7), (3,−3)(3, -3), (−6,0)(-6, 0), (−1,−9)(-1, -9)?

Show the answer

(−2,7)(-2, 7) has signs (−,+)(-, +): Quadrant II. (3,−3)(3, -3) is (+,−)(+, -): Quadrant IV. (−6,0)(-6, 0) has y=0y = 0, so it lies on the xx-axis, in no quadrant. (−1,−9)(-1, -9) is (−,−)(-, -): Quadrant III.

Plotting Points and Naming Coordinates

Concept
Plotting a Point
xy−4−3−2−11234−5−4−3−2−1123(−2, 3)(3, −4)
The two examples: left 2 then up 3, and right 3 then down 4.

To plot the point (x,y)(x,y):

  • Start at the origin (0,0)(0,0).
  • Move along the xx-axis: right if x>0x>0, left if x<0x<0.
  • From there move parallel to the yy-axis: up if y>0y>0, down if y<0y<0.
  • Mark a dot where you stop.

To name the coordinates of a point you already see, do the reverse: count how far it is left/right, then up/down, from the origin.

Plotting and naming are the same two moves run in opposite directions. Plotting turns numbers into a location; naming turns a location back into numbers by asking the same questions: how far across from the origin, and how far up or down.

Example
Plotting (−2,3)(-2,3)

Start at the origin. Because x=−2x=-2, move left 22. Because y=3y=3, move up 33. The dot lands in the top-left region, so this point is in Quadrant II.

Side note
Where it goes wrong

Naming a point from the nearest gridline label on the axis instead of counting from the origin. A dot 33 right and 44 down is (3,−4)(3, -4); reading the 44 with no sign turns it into (3,4)(3, 4), which sits in Quadrant I.

Example
Naming a Point

Suppose a dot is 33 units to the right of the origin and 44 units below it. Moving right 33 gives x=3x=3; moving down 44 gives y=−4y=-4. So the point is (3,−4)(3,-4), which is in Quadrant IV.

Try it
Try it: plot and name

A point is 55 units left of the origin and 22 units up. Name it. Then say where (0,−5)(0, -5) is.

Show the answer

Left 55 gives x=−5x = -5; up 22 gives y=2y = 2: the point is (−5,2)(-5, 2), in Quadrant II. For (0,−5)(0, -5): no sideways move, then down 55, so it is on the yy-axis, 55 below the origin.

Tables of Values

Concept
Building a Table

A table of values is a neat list of ordered pairs. We usually pick a few xx-values, apply a rule, and record the matching yy-values. Each row of the table (x,y)(x,y) becomes one point on the plane.

A table is the bridge between a rule and a picture: each row is one input and the output the rule gives it, and each row becomes one dot. Choosing easy inputs like 0,1,2,30, 1, 2, 3 is not laziness; evenly spaced inputs make any pattern in the outputs easy to spot.

Example
Table for y=x+2y = x + 2
xy−1123−112345(0, 2)(1, 3)(2, 4)(3, 5)
The four rows of the table, plotted.

Choose x=0,1,2,3x = 0, 1, 2, 3 and add 22 to each to find yy:

x0123y2345\begin{array}{c|cccc} x & 0 & 1 & 2 & 3 \\ \hline y & 2 & 3 & 4 & 5 \end{array}

Each column is one ordered pair: (0,2)(0,2), (1,3)(1,3), (2,4)(2,4), (3,5)(3,5). Each time xx goes up by 11, yy goes up by 11 too.

Side note
Where it goes wrong

Pairing across rows instead of down columns and writing (0,1)(0, 1) from the top row. Each ordered pair is one input with its own output: the column under x=0x = 0 holds y=2y = 2, so the pair is (0,2)(0, 2).

Tip

Tip: To read a table, take the top number and bottom number in the same column (or the two numbers in the same row) and pair them as (x,y)(x,y).

Try it
Try it: fill a table

Make a table for y=3x−1y = 3x - 1 using x=0,1,2x = 0, 1, 2, and list the ordered pairs.

Show the answer

Multiply each xx by 33, then subtract 11: x=0x = 0 gives −1-1; x=1x = 1 gives 22; x=2x = 2 gives 55. The pairs are (0,−1)(0, -1), (1,2)(1, 2), (2,5)(2, 5); the outputs rise by 33 each time.

Graphing a Linear Relationship

Concept
From Rule to Graph

A rule like y=x+2y = x+2 or y=2xy = 2x describes how yy depends on xx. When you plot all the ordered pairs from its table, the points fall in a perfectly straight line — this is a linear relationship. Connecting the dots gives the graph of the rule.

The points of y=2xy = 2x line up because the rule adds the same amount, 22, to yy every time xx grows by 11. Equal steps across paired with equal steps up trace out a straight path. A rule that did not change yy by a constant amount per step, such as y=x2y = x^2, would not give a line.

Example
Graphing y=2xy = 2x
xy−1123−1123456right 1up 2
Every step of 11 to the right is a step of 22 up, so the dots line up.

Make a table by doubling each xx:

x0123y0246\begin{array}{c|cccc} x & 0 & 1 & 2 & 3 \\ \hline y & 0 & 2 & 4 & 6 \end{array}

The points (0,0)(0,0), (1,2)(1,2), (2,4)(2,4), (3,6)(3,6) all lie on one straight line that climbs steeply through the origin. Each time xx goes up by 11, yy goes up by 22.

Side note
Where it goes wrong

Connecting points from a rule like y=x2y = x^2 with straight segments and calling it a line. Check the steps: for x=0,1,2,3x = 0, 1, 2, 3 the outputs are 0,1,4,90, 1, 4, 9, rising by 1,3,51, 3, 5. The steps are not equal, so the graph curves.

Tip

Tip: Plot at least three points from the table. If they do not line up straight, check your arithmetic — for a linear rule they always should.

Try it
Try it: line or not?

Make a table for y=4−xy = 4 - x with x=0,1,2,3x = 0, 1, 2, 3. Do the points lie on a line? Which way does it slant?

Show the answer

The outputs are 4,3,2,14, 3, 2, 1. Each step right lowers yy by exactly 11, a constant change, so the points lie on a line. It slants down from left to right.

Distance on a Horizontal or Vertical Line

Concept
Same Row or Same Column
xy(2, 5)(9, 5)7(−3, 4)(−3, −2)6
The two examples: a horizontal gap of 77 and a vertical gap of 66.

Two points lie on the same horizontal line when they share the same yy-coordinate. Two points lie on the same vertical line when they share the same xx-coordinate. In either case the distance between them is easy to find:

  • Horizontal: subtract the xx-coordinates and take the positive difference.
  • Vertical: subtract the yy-coordinates and take the positive difference.

When two points share a yy-coordinate, the segment between them runs along a copy of the xx-axis, so its length is just the distance between the two xx-values on a number line: ∣x2−x1∣|x_2 - x_1|. The absolute value is what makes the answer the same whichever point you start from, and it handles negatives automatically, since the distance from −2-2 to 44 is ∣4−(−2)∣=6|4 - (-2)| = 6.

Example
Horizontal Distance

Find the distance from (2,5)(2,5) to (9,5)(9,5). They share y=5y=5, so this is horizontal. Subtract the xx-values: 9−2=79-2 = 7. The distance is 77 units.

Side note
Where it goes wrong

Subtracting the coordinates that are equal. For (2,5)(2, 5) and (9,5)(9, 5), the yy-values give 5−5=05 - 5 = 0, which is not the distance. The coordinate that changes is the one to subtract: 9−2=79 - 2 = 7.

Example
Vertical Distance with a Negative

Find the distance from (−3,4)(-3,4) to (−3,−2)(-3,-2). They share x=−3x=-3, so this is vertical. The distance is the gap between y=4y=4 and y=−2y=-2. Counting from 44 down to −2-2: that is 4+2=64 + 2 = 6 units. (In general, take the positive difference ∣4−(−2)∣=6|4 - (-2)| = 6.) The distance is 66 units.

Tip

Tip: Distance is never negative. If subtracting gives a negative number, just drop the sign — distance is the positive difference.

Try it
Try it: across zero

Find the distance from (−4,−1)(-4, -1) to (3,−1)(3, -1).

Show the answer

Both points have y=−1y = -1, so the segment is horizontal. Subtract the xx-values: ∣3−(−4)∣=∣7∣=7|3 - (-4)| = |7| = 7. Counting confirms it: 44 units from −4-4 to 00, then 33 more to 33.

Real-World Coordinates and Patterns

Concept
Maps and Grids
xy12345671234567school (1, 2)library (1, 7)5
School and library on the same north–south street, 55 blocks apart.

Coordinates appear everywhere: on maps, game boards, and city grids. A treasure map might place a chest at (5,3)(5,3), meaning 55 blocks east and 33 blocks north of a starting corner. Counting blocks between two spots on a grid is exactly the horizontal or vertical distance from the last section.

A grid is useful because it turns directions into arithmetic. "Five blocks north" becomes a change of 55 in the yy-coordinate, so distances and routes can be computed instead of paced out. The same idea explains the plant: "starts at 11, grows 33 a day" is a starting value plus a steady change, which is exactly what a straight-line rule records.

Example
A City Grid

A school is at (1,2)(1,2) and a library is at (1,7)(1,7) on a city map where each unit is one block. Because both have x=1x=1, they are on the same vertical street. The walking distance is 7−2=57-2 = 5 blocks.

Side note
Where it goes wrong

Writing the plant rule as y=x+3y = x + 3 ("add 33"). That adds 33 once, not once per day. Test day 22: the plant is 1+3+3=71 + 3 + 3 = 7 cm, and 3(2)+1=73(2) + 1 = 7, but 2+3=52 + 3 = 5.

Example
A Growing Pattern
xy123436912(4, 13)
Height y=3x+1y = 3x + 1: start at 11, climb 33 each day.

A plant is 11 cm tall on day 00 and grows 33 cm each day. The rule is y=3x+1y = 3x + 1, where xx is the day and yy is the height. On day 44: y=3(4)+1=13y = 3(4)+1 = 13 cm. The points (0,1)(0,1), (1,4)(1,4), (2,7)(2,7), (3,10)(3,10), (4,13)(4,13) climb in a straight line.

Tip

Tip: In word problems, decide what xx and yy stand for first. Then a “starting amount plus a steady change” almost always turns into a straight-line rule.

Try it
Try it: a savings pattern

Maya has $10\$10 and saves $4\$4 each week. Write a rule for her savings yy after xx weeks, and find the point for week 55.

Show the answer

Starting amount 1010, steady change 44 per week: y=4x+10y = 4x + 10. At x=5x = 5: y=4(5)+10=30y = 4(5) + 10 = 30. The point is (5,30)(5, 30).

Going Deeper: Advanced Coordinate Geometry

Concept
The Distance Formula

For two points not on the same horizontal or vertical line, the straight-line distance still comes from a right triangle. Between (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), the horizontal leg has length ∣x2−x1∣|x_2-x_1| and the vertical leg has length ∣y2−y1∣|y_2-y_1|. The distance is the hypotenuse, so by the Pythagorean theorem

d=(x2−x1)2+(y2−y1)2.d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

Because each difference is squared, the sign of the subtraction never matters — squaring erases it.

Reminder — The Pythagorean theorem:  a2+b2=c2a^2+b^2=c^2

Every segment on the plane is the hypotenuse of a right triangle whose legs run along the grid: one horizontal, one vertical. Those legs are easy distances from the previous section, and the Pythagorean theorem does the rest. That is the entire content of the distance formula; the squares are there because the theorem has squares, and they also make the order of subtraction irrelevant.

Example
Distance from (1,2)(1,2) to (5,5)(5,5)
xy1234512345(1, 2)(5, 5)43d = 5
Legs 44 and 33 along the grid; the distance is the hypotenuse.

The horizontal change is x2−x1=5−1=4x_2-x_1=5-1=4 and the vertical change is y2−y1=5−2=3y_2-y_1=5-2=3. These are the legs of a right triangle whose hypotenuse is the segment we want. Then

d=42+32=16+9=25=5 units.d=\sqrt{4^2+3^2}=\sqrt{16+9}=\sqrt{25}=5\ \text{units}.

This is the famous 33–44–55 right triangle.

Concept
The Midpoint Formula

The midpoint of the segment joining (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is the point exactly halfway between them. You simply average the xx-coordinates and average the yy-coordinates:

M=(x1+x22, y1+y22).M=\left(\frac{x_1+x_2}{2},\ \frac{y_1+y_2}{2}\right).

The average of two numbers always lands in the middle, so this works even when the coordinates are negative.

Reminder — Distance and midpoint:  d=(x2−x1)2+(y2−y1)2,M=(x1+x22, y1+y22)d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}, \qquad M=\left(\frac{x_1+x_2}{2},\ \frac{y_1+y_2}{2}\right)
Example
Midpoint of (−2,3)(-2,3) and (4,−1)(4,-1)
xy−3−2−11234−2−1123(−2, 3)(4, −1)M (1, 1)
The midpoint averages the coordinates: (1,1)(1, 1).

Average the xx-values, then the yy-values:

x of M=−2+42=22=1,y of M=3+(−1)2=22=1.\begin{aligned} \text{$x$ of }M &= \frac{-2+4}{2}=\frac{2}{2}=1,\\ \text{$y$ of }M &= \frac{3+(-1)}{2}=\frac{2}{2}=1. \end{aligned}

So the midpoint is M=(1,1)M=(1,1). Check: it is 33 right and 22 down from (−2,3)(-2,3), and also 33 left and 22 up from (4,−1)(4,-1) — perfectly centered.

Concept
Slope: Rate of Change

The slope of a line measures how steeply it rises. It is the ratio of vertical change to horizontal change between any two points on the line:

m=riserun=y2−y1x2−x1.m=\frac{\text{rise}}{\text{run}}=\frac{y_2-y_1}{x_2-x_1}.

A positive slope climbs left-to-right; a negative slope falls. A larger ∣m∣|m| means a steeper line. In a real setting, slope is a rate of change — for the plant rule y=3x+1y=3x+1, the slope 33 means “33 cm of growth per day.”

Concept
Slope–Intercept Form: y=mx+by=mx+b (Preview)

Every non-vertical line can be written as

y=mx+b,y=mx+b,

where mm is the slope and bb is the yy-intercept — the yy-value where the line crosses the yy-axis (that is, where x=0x=0). For y=2x+1y=2x+1: the slope is m=2m=2, and the line crosses the yy-axis at (0,1)(0,1). Each step right of 11 raises yy by 22. This is the same “starting amount plus steady change” idea from the tables, written in one tidy formula.

Tip

Watch out: slope is change in ychange in x\dfrac{\text{change in }y}{\text{change in }x}, not the other way around. Subtract the coordinates in the same order on top and bottom — if you start with point 22 in the numerator, start with point 22 in the denominator too.

Concept
Transformations as Coordinate Rules

Moving or flipping a shape changes each point by a simple rule:

  • Translation (slide) by aa right and bb up: (x,y)→(x+a, y+b)(x,y)\rightarrow(x+a,\ y+b).
  • Reflection over the xx-axis: (x,y)→(x, −y)(x,y)\rightarrow(x,\ -y).
  • Reflection over the yy-axis: (x,y)→(−x, y)(x,y)\rightarrow(-x,\ y).
  • Reflection over the origin: (x,y)→(−x, −y)(x,y)\rightarrow(-x,\ -y).

Apply the rule to every vertex, then reconnect the new points to get the image.

Example
Translating a Triangle
xy−3−2−1123412345ABCA′B′C′
Every vertex moves 33 left and 11 down; the shape is unchanged.

A triangle has vertices A(1,2)A(1,2), B(4,2)B(4,2), and C(2,5)C(2,5). Slide it 33 left and 11 down, using the rule (x,y)→(x−3, y−1)(x,y)\rightarrow(x-3,\ y-1):

A(1,2)→(1−3, 2−1)=(−2,1),B(4,2)→(4−3, 2−1)=(1,1),C(2,5)→(2−3, 5−1)=(−1,4).\begin{aligned} A(1,2) &\rightarrow (1-3,\ 2-1)=(-2,1),\\ B(4,2) &\rightarrow (4-3,\ 2-1)=(1,1),\\ C(2,5) &\rightarrow (2-3,\ 5-1)=(-1,4). \end{aligned}

The new triangle A′B′C′A'B'C' has the same size and shape — only its position changed.

Concept
Area from Vertices: The Shoelace Idea

You can find the area of a triangle straight from its corner coordinates (x1,y1)(x_1,y_1), (x2,y2)(x_2,y_2), (x3,y3)(x_3,y_3) — no height needed:

Area=12 ∣ x1(y2−y3)+x2(y3−y1)+x3(y1−y2) ∣.\text{Area}=\tfrac{1}{2}\,\bigl|\,x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\,\bigr|.

The absolute-value bars keep the area positive no matter the order of the vertices. This trick is called the shoelace formula because of the criss-cross pattern of multiplications.

Example
Area of a Triangle with Vertices (1,1)(1,1), (5,2)(5,2), (3,6)(3,6)
xy12345123456(1, 1)(5, 2)(3, 6)
Check by boxing: 4×54\times5 rectangle minus three corner triangles.

Label (x1,y1)=(1,1)(x_1,y_1)=(1,1), (x2,y2)=(5,2)(x_2,y_2)=(5,2), (x3,y3)=(3,6)(x_3,y_3)=(3,6) and substitute:

Area=12 ∣ 1(2−6)+5(6−1)+3(1−2) ∣=12 ∣ 1(−4)+5(5)+3(−1) ∣=12 ∣ −4+25−3 ∣=12 (18)=9 square units.\begin{aligned} \text{Area} &= \tfrac{1}{2}\,\bigl|\,1(2-6)+5(6-1)+3(1-2)\,\bigr|\\ &= \tfrac{1}{2}\,\bigl|\,1(-4)+5(5)+3(-1)\,\bigr|\\ &= \tfrac{1}{2}\,\bigl|\,-4+25-3\,\bigr|\\ &= \tfrac{1}{2}\,(18)=9\ \text{square units}. \end{aligned}

A second way to see the 99, using only rectangles and right triangles. The triangle fits in the box from x=1x = 1 to 55 and y=1y = 1 to 66, of area 4×5=204 \times 5 = 20. Cut away the three right triangles in the corners: legs 44 and 11 (area 22), legs 22 and 44 (area 44), legs 22 and 55 (area 55). What is left is 20−2−4−5=920 - 2 - 4 - 5 = 9, the same answer the formula gave.

Concept
Lattice Points and Taxicab Distance
xy1234512345(1, 2)(5, 5)4 blocks35
Taxicab: 4+3=74 + 3 = 7 blocks. Straight line: 55.

A lattice point is a point whose coordinates are both integers, like (3,−2)(3,-2) — exactly where grid lines cross. On a city grid you cannot cut diagonally through buildings, so the travel distance is the taxicab distance: add the horizontal and vertical blocks,

dtaxi=∣x2−x1∣+∣y2−y1∣.d_{\text{taxi}}=|x_2-x_1|+|y_2-y_1|.

From (1,2)(1,2) to (5,5)(5,5) this is ∣5−1∣+∣5−2∣=4+3=7|5-1|+|5-2|=4+3=7 blocks, even though the straight-line distance is only 55. The taxicab distance is never shorter than the straight-line distance.

Tip

Big picture: coordinates turn geometry into arithmetic. Distance, midpoints, slope, area, and even flips and slides all become formulas you can compute from the numbers (x,y)(x,y) — the foundation of the algebra and geometry still ahead.

Try it
Try it: distance and midpoint

For P(−1,1)P(-1, 1) and Q(5,9)Q(5, 9), find the distance PQPQ and the midpoint of PQ‾\overline{PQ}.

Show the answer

Horizontal leg 5−(−1)=65 - (-1) = 6, vertical leg 9−1=89 - 1 = 8, so PQ=62+82=36+64=100=10PQ = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10. The midpoint averages the coordinates: (−1+52,1+92)=(2,5)\left(\tfrac{-1 + 5}{2}, \tfrac{1 + 9}{2}\right) = (2, 5).

Why It Works

Why is the slope the same between any two points on a line? Any two "slope triangles" drawn on the same line are similar (their angles match because the line makes the same angle with every horizontal), so the ratio rise/run is the same for all of them. This is also why y=mx+by = mx + b describes exactly the lines: from the point (0,b)(0, b), moving xx units right always changes yy by mxmx.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
Slope of a line
m=y2−y1x2−x1m = \frac{y_2-y_1}{x_2-x_1}

What it means. Rise over run: how much yy changes for each 11 that xx increases.

Example. Through (1,2)(1,2) and (4,8)(4,8): m=8−24−1=2m=\dfrac{8-2}{4-1}=2.

Why it works. Between two points on a line the vertical change is y2−y1y_2-y_1 and the horizontal change is x2−x1x_2-x_1. Similar triangles guarantee this ratio is the same wherever you measure it, so it is a property of the line itself.

Tip. Keep the points in the same order top and bottom. Reversing both gives the same slope; reversing only one flips the sign.

Tip
Distance and midpoint
d=(x2−x1)2+(y2−y1)2,M=(x1+x22, y1+y22)d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}, \qquad M=\left(\frac{x_1+x_2}{2},\ \frac{y_1+y_2}{2}\right)

What it means. The straight-line distance between two points, and the point exactly halfway between them.

Example. (1,2)(1,2) to (4,6)(4,6): d=32+42=5d=\sqrt{3^2+4^2}=5, midpoint =(2.5, 4)=(2.5,\,4).

Why it works. The two points are opposite corners of a right triangle with legs ∣x2−x1∣|x_2-x_1| and ∣y2−y1∣|y_2-y_1|; the distance is the hypotenuse, so Pythagoras gives the formula. The midpoint is just the average of the coordinates, since averaging lands halfway along each axis.

Tip. Distance is the Pythagorean theorem in disguise. Squaring removes any sign worry, so you never need absolute values here.