Linear Functions & Graphs
Gradient, y-intercept, parallel and perpendicular lines, and plotting straight-line graphs.
Linear functions connect algebra to visual patterns. The equation tells you how changes as changes, and the graph shows that relationship as a straight line.
In CSEC, graph questions may ask for gradient, intercepts, equations of lines, parallel or perpendicular lines, or graphical solutions to simultaneous equations. Do not only plot points; explain what the gradient and intercept mean. That helps with comprehension and reasoning marks.
What Is a Linear Function?
A linear function is a function where the graph is a straight line.
General form:
Or:
Where:
- = slope (gradient) — how steep the line is
- = y-intercept — where the line crosses the y-axis
- = input (domain variable)
- or = output (range variable)
Understanding Slope (Gradient)
Slope measures how much changes when increases by 1.
Interpretation:
- : Line goes UP from left to right (positive slope)
- : Line goes DOWN from left to right (negative slope)
- : Horizontal line (flat, no change)
- undefined: Vertical line
Examples of Different Slopes
Forms of Linear Equations
Form 1: Slope-Intercept Form (Most Useful)
- Easy to identify: slope is , y-intercept is
- Easy to graph: plot , then use slope to find more points
Graph :
- Slope: (go up 2 for every right 1)
- Y-intercept: (crosses y-axis at )
Plot key points:
- Start at
- Slope 2 means: right 1, up 2 → next point
- Continue: , , etc.
Form 2: Point-Slope Form
Use this when you know:
- The slope
- One point on the line
Find the equation of a line with slope 3 passing through :
Step 1: Use point-slope form
Step 2: Expand
Step 3: Rearrange to slope-intercept form
Form 3: Two-Point Form
When you know two points and :
Step 1: Find slope
Step 2: Use point-slope form with either point
Find the equation of a line through and :
Step 1: Find slope
Step 2: Use point-slope with first point
Verify with second point: ✓
Form 4: Standard Form
Or:
Where , , are integers with no common factors.
Convert from slope-intercept to standard:
Finding Intercepts
Y-Intercept
The y-intercept is where the line crosses the y-axis (when ).
To find: Set and solve for .
Find y-intercept of :
Set :
Y-intercept:
X-Intercept
The x-intercept is where the line crosses the x-axis (when ).
To find: Set and solve for .
Find x-intercept of :
Set :
X-intercept:
To find intercepts, substitute ZERO for the other variable:
- Y-intercept: Set , solve for
- X-intercept: Set , solve for
These are always single points (unless the line doesn't cross that axis, which is rare for linear functions).
Part 4: Properties of Linear Functions
Parallel Lines — Same Slope
Two lines are parallel if they have the same slope and different y-intercepts.
Parallel lines never intersect.
Lines and are parallel:
Both have slope , but different y-intercepts ( and ).
Find a line parallel to passing through :
Step 1: Find the slope of
Slope:
Step 2: Parallel line has same slope:
Step 3: Use point-slope form with
Perpendicular Lines — Negative Reciprocal Slopes
Two lines are perpendicular if their slopes are negative reciprocals of each other.
If line 1 has slope and line 2 has slope :
Or:
Perpendicular lines meet at a 90° angle.
Examples:
- Slope 2 and slope are perpendicular (because )
- Slope 3 and slope are perpendicular
- Slope and slope are perpendicular
Find a line perpendicular to passing through :
Step 1: Slope of given line:
Step 2: Perpendicular slope: (negative reciprocal)
Step 3: Use point-slope form with
Length and Midpoint of Line Segments
Distance (Length) Formula
For two points and , the distance between them is:
This comes from the Pythagorean theorem.
Find the distance between and :
Midpoint Formula
The midpoint of a line segment between and is:
Just average the x-coordinates and average the y-coordinates.
Find the midpoint between and :
Check: Distance from to is Distance from to is Both equal, so is truly the midpoint. ✓
Part 5: Graphing Linear Functions
Sketching from Slope-Intercept Form
Given :
Step 1: Plot the y-intercept
Step 2: Use slope to find more points:
- If : Go right 1, up 2
- If : Go right 1, down 3
- If : Go right 3, up 2
Step 3: Plot at least 3 points and draw the line through them
Sketch :
- Y-intercept: — start here
- Slope: (right 2, down 1)
- From : go right 2, down 1 →
- From : go right 2, down 1 →
- Alternative direction (left 2, up 1):
- From : go left 2, up 1 →
Solving Systems Graphically
When you have two linear equations, the solution is the point where the lines intersect.
Solve graphically:
Step 1: Graph both lines
- Line 1: y-intercept , slope 2
- Line 2: y-intercept , slope
Step 2: Find intersection point
- From the graph: they intersect at
Step 3: Verify
- Line 1: ✓
- Line 2: ✓
Solution: