The Coordinate Plane
The coordinate plane is formed by two number lines that cross at the origin .
- [leftmargin=*]
- The horizontal line is the -axis; the vertical line is the -axis.
- Every point is named by an ordered pair . The first number tells how far right () or left () you go; the second number tells how far up () or down ().
- The axes split the plane into four quadrants, numbered counterclockwise: @@BLOCK0@@
Plot : from the origin go right , then up . This lands in Quadrant I.
Plot : go left , then up . This is in Quadrant II.
Name the point that is left and down : that is , which is in Quadrant III.
Order matters! and are different points. Always read : run first (left/right), then rise (up/down). Points on an axis (like or ) belong to no quadrant.
Functions and Function Notation
A function is a rule that assigns to each input exactly one output. Think of it as a machine: put in , get out one value.
We write (read “ of ”) for the output when the input is . Here is the input and is the output. The letters , , are just names for the rule.
Let . To evaluate, substitute the input in place of .
So the ordered pairs , , and all lie on the graph of .
Vertical Line Test: a graph is a function if no vertical line crosses it more than once. This checks the rule “one input, one output.”
Domain and Range
The domain is the set of all allowed inputs (the -values). The range is the set of all resulting outputs (the -values).
For the function :
- [leftmargin=*]
- Domain (inputs): .
- Range (outputs): . We list only once even though it appears twice.
This is a function because each input has exactly one output.
For a line like with no restrictions, the domain is all real numbers and so is the range. A horizontal line has range only.
Rate of Change and Slope
Slope measures steepness: how much changes for each unit that increases. Given two points and ,
Slope is the rate of change of the line.
Slope is rise over run.
Find the slope through and .
Each time goes up by , goes up by .
Find the slope through and .
The line falls: as increases by , decreases by .
Reading the sign of slope:
- [leftmargin=*]
- Positive slope line goes up left-to-right.
- Negative slope line goes down left-to-right.
- Zero slope horizontal line (no rise): .
- Undefined slope vertical line (run is , and we can't divide by ).
Subtract the 's and the 's in the same order. Keep the points in the same order top and bottom!
Slope-Intercept Form:
In slope-intercept form
the number is the slope and is the -intercept (the -value where the line crosses the -axis, at the point ).
Slope is rise over run.
For : the slope is and the -intercept is , so the line passes through .
To graph: start at . Use the slope (rise , run ): move right and up to reach . Connect the points.
A line has slope and passes through . Substitute into :
The equation is .
A whole-number slope like is really : rise , run . To go the other direction on a line, you may move left and down instead.
Point-Slope Form:
If a line has slope and passes through , its equation is
This is the fastest way to write a line when you know a point and the slope.
Slope is rise over run.
Slope through :
Distribute and solve for to get slope-intercept form:
Watch the signs: with a point like , the form is . Subtracting a negative becomes adding.
Standard Form:
Standard form is , where , , are integers. It is especially handy for finding both intercepts:
- [leftmargin=*]
- -intercept: set and solve for . Point .
- -intercept: set and solve for . Point .
Slope is rise over run.
For :
Plot and and draw the line through them.
To convert to standard form, move the -term to the left and clear fractions. Example: .
Writing the Equation of a Line
- [leftmargin=*]
- Slope point: plug into point-slope , then simplify.
- Two points: first find , then use point-slope with either point.
- From a graph: read (where it crosses the -axis) and count rise/run for ; write .
Write the line through and .
Use point-slope with :
Check with the other point: . ✓
Always check your equation by plugging in the point you did not use. If both points satisfy the equation, you can be confident it is right.
Parallel and Perpendicular Lines
- [leftmargin=*]
- Parallel lines never meet: they have equal slopes, .
- Perpendicular lines meet at a right angle: their slopes are negative reciprocals, , so .
Slope is rise over run.
A line has slope .
- [leftmargin=*]
- Any parallel line also has slope .
- A perpendicular line has slope (flip and change the sign).
Write the line through perpendicular to : use .
Negative reciprocal means do two things: (1) flip the fraction, (2) switch the sign. So , and .
Horizontal and Vertical Lines
- [leftmargin=*]
- A horizontal line has the form . Every point has the same -value. Slope .
- A vertical line has the form . Every point has the same -value. Slope is undefined. (A vertical line is not a function.)
The horizontal line through is (the -value stays ).
The vertical line through is (the -value stays ).
The line passes through , , , all with height .
Mix-up alert: is horizontal (flat) and is vertical (straight up-and-down). Say it aloud: “ equals a number is a floor; equals a number is a wall.”
Going Deeper: Advanced Linear Functions
Every non-vertical line can be written in three equivalent ways. Fluency means switching to whichever form a problem rewards.
- [leftmargin=*]
- Slope-intercept --- best for graphing and reading slope/intercept.
- Point-slope --- best when you know a point and the slope.
- Standard (integers, ) --- best for intercepts and for vertical lines .
Translation rules: to leave point-slope, distribute and solve for ; to reach standard form, collect and on one side and clear denominators; to leave standard form, solve for so that and .
Slope is rise over run.
Write the line through and in every form.
Check: for , . ✓ And agrees.
The distance from a point to the line is the length of the perpendicular segment from the point to the line:
Move everything to one side first so the line reads . The absolute value keeps the distance positive; the denominator scales for the line's slant.
Find the distance from to the line .
Rewrite as , so , , . Then
The point sits exactly unit from the line.
Three points , , form a triangle whose area is given by the shoelace formula
Collinearity test: the three points lie on one line exactly when this area is (a “flat” triangle). Equivalently, the slope equals the slope .
(a) Area of the triangle with vertices , , :
(b) Are , , collinear?
Area , so yes --- they lie on the single line (each slope equals ).
Parallel lines have equal slopes. Take and . They intersect where , i.e. . If this has exactly one solution, so the lines cross. Parallel lines never cross, forcing .
Perpendicular lines have negative-reciprocal slopes. A line of slope points along the direction vector . Rotating a direction by sends , whose slope is . Hence a perpendicular line has slope , and .
Vertical/horizontal edge case. The negative-reciprocal rule assumes . A horizontal line () is perpendicular to a vertical line (undefined slope); their “product” rule breaks down, so handle this pair by geometry, not algebra.
A piecewise function uses different rules on different parts of the domain. Each rule is paired with the interval where it applies:
At the “seam” both pieces give , so the graph connects. A step function is a piecewise function whose pieces are constant, producing a staircase of flat segments (for example, a parking rate that jumps to the next whole-hour price).
The function above, drawn on a grid: a rising segment then a falling segment, meeting at .
Evaluate by choosing the rule for the input: (first piece), while (second piece).
Real data rarely lands perfectly on one line. A line of best fit (or trend line) is the straight line that passes as close as possible to all the points at once. The standard method, least squares, chooses and to make the total of the squared vertical gaps (the residuals) between the data and the line as small as possible.
- [leftmargin=*]
- The slope estimates the average rate of change in the data.
- You can predict an unseen value by plugging its into .
- A fit is trustworthy only when the points genuinely cluster near a line; a strong straight-line pattern is called a strong (linear) correlation.
Correlation is not causation. A best-fit line can describe a pattern and forecast within the observed range, but it does not prove that causes , and predictions far outside the data (extrapolation) are unreliable.
Formulas, Proofs & Tips
What it means. Rise over run: how much changes for each that increases.
Example. Through and : .
Why it works. Between two points on a line the vertical change is and the horizontal change is . 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.
What it means. is the slope and is where the line crosses the -axis. Point-slope builds a line from a slope and any one point.
Example. Slope through : , i.e. .
Why it works. Start from the slope formula with a general point : . Multiplying up gives point-slope. Choosing the point gives , i.e. .
Tip. Given a point and a slope, use point-slope — no solving for needed. Rearrange at the end only if the answer must be in form.
What it means. The straight-line distance between two points, and the point exactly halfway between them.
Example. to : , midpoint .
Why it works. The two points are opposite corners of a right triangle with legs and ; 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.