Gradient, y-intercept, parallel and perpendicular lines, and plotting straight-line graphs.
Linear functions connect algebra to visual patterns. The equation tells you how y changes as x 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: f(x)=mx+c
Or: y=mx+c
Where:
m = slope (gradient), how steep the line is
c = y-intercept, where the line crosses the y-axis
x = input (domain variable)
y or f(x) = output (range variable)
Understanding Slope (Gradient)
Slope measures how much y changes when x increases by 1.
m=slope=change in xchange in y=ΔxΔy=x2−x1y2−y1
Interpretation:
m>0: Line goes UP from left to right (positive slope)
m<0: Line goes DOWN from left to right (negative slope)
m=0: Horizontal line (flat, no change)
m undefined: Vertical line
Examples of Different Slopes
Different slopes: y=2x (steep), y=x, y=0.5x (shallow)
Forms of Linear Equations
Form 1: Slope-Intercept Form (Most Useful)
y=mx+c
Easy to identify: slope is m, y-intercept is c
Easy to graph: plot (0,c), then use slope to find more points
Example
Graph y=2x−3:
Slope:m=2 (go up 2 for every right 1)
Y-intercept:c=−3 (crosses y-axis at (0,−3))
Plot key points:
Start at (0,−3)
Slope 2 means: right 1, up 2 → next point (1,−1)
Continue: (2,1), (3,3), etc.
y = 2x - 3
Form 2: Point-Slope Form
y−y1=m(x−x1)
Use this when you know:
The slope m
One point (x1,y1) on the line
Example
Find the equation of a line with slope 3 passing through (2,5):
Step 1: Use point-slope form
y−5=3(x−2)
Step 2: Expand
y−5=3x−6
Step 3: Rearrange to slope-intercept form
y=3x−6+5y=3x−1
Form 3: Two-Point Form
When you know two points (x1,y1) and (x2,y2):
Step 1: Find slope
m=x2−x1y2−y1
Step 2: Use point-slope form with either point
Example
Find the equation of a line through (1,3) and (4,12):
Step 1: Find slope
m=4−112−3=39=3
Step 2: Use point-slope with first point (1,3)y−3=3(x−1)y=3x−3+3y=3x
Verify with second point:y=3(4)=12 ✓
Form 4: Standard Form
Ax+By+C=0
Or: Ax+By=C
Where A, B, C are integers with no common factors.
Convert from slope-intercept to standard:y=2x−3⇒2x−y−3=0
Finding Intercepts
Y-Intercept
The y-intercept is where the line crosses the y-axis (when x=0).
To find: Set x=0 and solve for y.
Example
Find y-intercept of 2x+3y=6:
Set x=0:
2(0)+3y=63y=6y=2
Y-intercept:(0,2)
X-Intercept
The x-intercept is where the line crosses the x-axis (when y=0).
To find: Set y=0 and solve for x.
Example
Find x-intercept of 2x+3y=6:
Set y=0:
2x+3(0)=62x=6x=3
X-intercept:(3,0)
Remember
To find intercepts, substitute ZERO for the other variable:
Y-intercept: Set x=0, solve for y
X-intercept: Set y=0, solve for x
These are always single points (unless the line doesn't cross that axis, which is rare for linear functions).
Properties of Linear Functions
Parallel Lines
Two lines are parallel if they have the same slope and different y-intercepts.
y=mx+c1 and y=mx+c2 (where c1=c2)
Parallel lines never intersect.
Example
Lines y=2x+3 and y=2x−5 are parallel:
Both have slope m=2, but different y-intercepts (3 and −5).
Parallel lines: y = 2x + 1 and y = 2x - 2
Example
Find a line parallel to 3x+2y=7 passing through (1,4):
Step 1: Find the slope of 3x+2y=72y=−3x+7y=−23x+27
Slope: m=−23
Step 2: Parallel line has same slope: m=−23
Step 3: Use point-slope form with (1,4)y−4=−23(x−1)y−4=−23x+23y=−23x+211
Perpendicular Lines
Two lines are perpendicular if their slopes are negative reciprocals of each other.
If line 1 has slope m1 and line 2 has slope m2:
m1×m2=−1
Or: m2=−m11
Perpendicular lines meet at a 90° angle.
Examples:
Slope 2 and slope −21 are perpendicular (because 2×(−21)=−1)
Slope 3 and slope −31 are perpendicular
Slope 43 and slope −34 are perpendicular
Example
Find a line perpendicular to y=2x+5 passing through (3,−1):