Linear Functions and Systems of Equations
A linear function is the simplest non-constant function you will meet, yet it is the backbone of almost every later topic: rates of change, tangent lines, approximations, and the simplest possible model relating two quantities. This chapter builds the linear function from its defining property, develops the standard ways of writing its equation, and then extends to systems of two or three linear equations — the algebra needed whenever several linear conditions must hold simultaneously.
You need confident algebraic manipulation and the coordinate plane from earlier study. Nothing here requires calculus, though the idea of "rate of change" previewed here becomes the derivative in Block D.
1. The Defining Property: Constant Rate of Change
A function is linear if it can be written for constants . Its defining geometric property is that the gradient (slope) between any two points on its graph is always the same number:
This is what "linear" means: equal changes in always produce equal changes in , regardless of where on the line you measure. is the -intercept, the value where the line crosses the -axis.
Definition. The gradient of a line through and is (with ). A vertical line has no defined gradient — it is not the graph of a function at all, since it fails the vertical line test.
2. Forms of a Linear Equation
Three equivalent forms of a linear equation are used, each convenient in different circumstances.
Slope-intercept form: — immediately shows the gradient and -intercept; best for graphing quickly.
Point-slope form: — built directly from a known gradient and one known point ; best when you are given a point and a gradient, rather than two points.
General form: — treats and symmetrically; useful for systems of equations (Sections 4–5) and for lines with undefined gradient (, a vertical line).
Worked example 1. Find the equation, in slope-intercept form, of the line through and .
Using point-slope form with : .
3. Parallel and Perpendicular Lines
Key distinction. Two non-vertical lines are parallel exactly when their gradients are equal: . They are perpendicular exactly when the product of their gradients is : , equivalently .
The perpendicularity condition is not arbitrary: rotating a line by turns a "rise of per unit run" into a "run of per unit rise in the opposite direction," which is exactly the negative reciprocal relationship.
Worked example 2. Find the equation of the line through perpendicular to .
The given line has gradient , so the perpendicular gradient is . Using point-slope form:
4. Solving a Linear System by Substitution and Elimination
A system of linear equations is a set of equations that must hold simultaneously; a solution is any point(s) satisfying all of them at once. For two equations in two unknowns, this is geometrically the intersection point of two lines.
Substitution solves one equation for one variable and substitutes that expression into the other equation.
Worked example 3. Solve by substitution.
From the second equation, . Substituting into the first:
Elimination adds or subtracts multiples of the equations to cancel a variable directly.
Worked example 4. Solve by elimination.
The -coefficients are already opposite, so adding the equations eliminates directly:
Substituting back: .
5. The Three Cases: Unique Solution, No Solution, Infinitely Many
A system of two linear equations in two unknowns falls into exactly one of three cases, determined by comparing the gradients (and intercepts) of the two lines.
Definition. Writing both equations as and : if , the lines meet at exactly one point (a unique solution). If and , the lines are parallel and distinct, giving no solution (an inconsistent system). If and , the two equations describe the same line, giving infinitely many solutions (a dependent system).
Worked example 5 (the edge case). Solve .
Rewriting: the first gives ; the second gives as well — identical lines. Algebraically, multiplying the first equation by gives exactly the second equation, confirming the system is dependent with infinitely many solutions, all of the form for any real . A student who only checks that elimination "doesn't immediately fail" might miss that the entire equation has vanished (e.g. subtracting the first from the second gives ), which is the signature of a dependent system rather than an error.
6. Systems of Three Linear Equations in Three Unknowns
The same elimination idea extends to three equations in : eliminate one variable between pairs of equations to reduce to a system, solve that, then back-substitute.
Worked example 6. Solve:
To eliminate , add equations (1) and (3): . Eliminate a second time by subtracting equation (2) from equation (1): . These two results form a genuine system in and alone, solvable by the same substitution or elimination methods from Section 4. Rearranging the second equation gives ; substituting into the first, . Back-substituting, , and from equation (1), . As this example shows, a perfectly correct elimination can still produce fractional values — always re-check the method by substituting all three results back into all three original equations, rather than expecting "nice" integers as a sign of correctness.
Common Exam Pitfalls
- Computing the gradient as (upside down). Gradient is rise over run: change in divided by change in , never the reverse.
- Using for perpendicular lines instead of . Equal gradients give parallel lines; perpendicularity requires the negative reciprocal.
- Declaring "no solution" the moment elimination produces . This signature means the system is dependent (infinitely many solutions), the opposite conclusion from "no solution" (which instead gives a false statement like ).
- Forgetting to substitute back and solve for the second variable after finding the first one in a system — a system isn't solved until every unknown has a numerical value.
- Sign errors when multiplying an entire equation by a negative number during elimination — multiply every single term, including the constant on the right-hand side.
- Assuming a vertical line has gradient . A vertical line has an undefined gradient (division by zero in the slope formula); a horizontal line is the one with gradient .
Summary
- A linear function has constant gradient between any two points, and -intercept .
- Three equivalent forms: slope-intercept , point-slope , general form .
- Parallel lines share the same gradient (); perpendicular lines have gradients multiplying to ().
- A linear system is solved by substitution or elimination, giving exactly one of: a unique solution (), no solution (, ), or infinitely many solutions (, ).
- Eliminating a variable and reaching signals a dependent (infinitely many solutions) system; reaching a false numerical statement (e.g. ) signals an inconsistent (no solution) system.
- A system is reduced to a system by eliminating one variable between pairs of equations, then solved and back-substituted, with a final check against all three original equations.