Gradients, y = mx + c, midpoints, and parallel and perpendicular lines.
Coordinates and the number plane
Every point on a graph is fixed by a pair of coordinates . The first number is the horizontal position (across), the second is the vertical position (up or down). They are measured from the origin , where the two axes cross.
The plane is split into four quadrants. Reading signs carefully matters: sits bottom-right, while sits top-left.
Key terms Origin — the point where the axes meet.
x-coordinate — horizontal distance (the first number).
y-coordinate — vertical distance (the second number).
Midpoint of a line segment
The midpoint of the segment joining and is the average of the coordinates:
For example, the midpoint of and is
Exam tip Add the two -values then halve; do the same with the -values. A quick check: the midpoint should lie between the two points, so its coordinates sit between theirs.
Length of a line segment (distance formula)
The distance between two points comes straight from Pythagoras' theorem. The horizontal gap is and the vertical gap is , so the segment is the hypotenuse of a right-angled triangle:
For and :
Watch out The differences are squared, so a negative gap causes no trouble: . But never simplify to — you must add inside the root first.
Gradient of a line
The gradient measures steepness: how far the line rises for each step across.
The equation
Every straight line can be written as
where is the gradient and is the y-intercept — the -value where the line crosses the -axis (at ).
So has gradient and crosses the -axis at . To read these off, the equation must be rearranged into this form first.
Worked example Find the gradient and -intercept of .
Make the subject:
Finding the equation of a line through points
Given the gradient and one point: substitute into and solve for .
Find the line with gradient through :
So the equation is .
Given two points: first find the gradient, then use one point as above.
Worked example Find the equation of the line through and .
Gradient:
Parallel and perpendicular lines
Parallel lines never meet, so they have the same gradient. Lines and are parallel because both have .
Perpendicular lines cross at . Their gradients multiply to :
So the perpendicular gradient is the negative reciprocal: flip the fraction and change the sign. If , then . If , then .
Worked example Find the line perpendicular to passing through .
Gradient of the given line is , so the perpendicular gradient is the negative reciprocal, .
Drawing straight-line graphs
To plot a line from its equation, build a small table of values. Choose a few -values, work out each , plot the points and join them with a straight ruled line.
For :
A faster method when the equation is in form: mark the intercept on the -axis, then use the gradient (rise over run) to step to the next point and draw through both.
Exam tip Lines like are vertical and are horizontal — students often swap these. Remember means " is always ", a vertical line through .
Solving simultaneous equations graphically
Two straight lines drawn on the same axes meet at one point (unless they are parallel). The coordinates of that intersection are the solution to the pair of simultaneous equations, because that point lies on both lines at once.
To solve graphically:
- Draw both lines accurately on one set of axes.
- Read off the coordinates of the crossing point.
- State the solution as , .
For example, and cross at , so the solution is , . You can confirm this by checking both equations: ✓ and ✓.
Real world Intersection points model break-even analysis. If one line is a company's costs and another its income against units sold, the crossing point is the break-even quantity — sell more than that and you make a profit.
Watch out If two lines have the same gradient they are parallel and never cross, so the simultaneous equations have no solution. Identical equations give the same line and infinitely many solutions.
Viewing only
This content is free to read on superexams.com and cannot be printed or downloaded.
Read the full note, free
Create a free account to read this note in full. Every free account gets 2 complete revision notes, no card needed.