Skip to main content
WalesMathsSyllabus dot point

How do you plot and interpret a straight line graph, find its gradient and intercept, and use y = mx + c?

Plot and interpret straight line graphs, find the gradient and y-intercept, write the equation y = mx + c, and find equations of parallel and perpendicular lines (Higher tier).

A focused answer to the WJEC GCSE Mathematics algebra content on straight line graphs, covering plotting from a table, gradient and intercept, the equation y = mx + c, and parallel and perpendicular lines at Higher tier.

Generated by Claude Opus 4.812 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Plotting a line from its equation
  3. Gradient and intercept
  4. Writing the equation y = mx + c
  5. Parallel and perpendicular lines (Higher)
  6. Real-life and distance-time graphs
  7. Finding the midpoint and using coordinates
  8. Why this matters

What this dot point is asking

WJEC requires you to plot a straight line from its equation or a table of values, to read off and calculate its gradient and y-intercept, to write its equation in the form y=mx+cy = mx + c, and at Higher tier to find equations of parallel and perpendicular lines. Straight line graphs connect algebra to geometry and to real-life rates of change, and they reappear in simultaneous equations and inequalities, so confident work with gradient and intercept pays off across the course. They appear on both components.

Plotting a line from its equation

To plot a line, build a small table of values by substituting chosen xx values into the equation, then plot the coordinate pairs and join them with a ruled straight line.

For y=2x1y = 2x - 1, substituting x=0,1,2x = 0, 1, 2 gives y=1,1,3y = -1, 1, 3, so plot (0,1)(0, -1), (1,1)(1, 1) and (2,3)(2, 3). Three points let you spot a plotting error, since all three should lie on one straight line.

Gradient and intercept

The gradient measures steepness and the intercept fixes the line's height.

A positive gradient rises left to right; a negative gradient falls. A gradient of 33 means yy increases by 33 for every 11 that xx increases. The intercept is read straight off the graph or from the constant term once the equation is in y=mx+cy = mx + c form.

Writing the equation y = mx + c

Any equation can be put in the form y=mx+cy = mx + c by rearranging so yy is alone.

Parallel and perpendicular lines (Higher)

Two lines are parallel when they have the same gradient; only their intercepts differ. So any line parallel to y=4x1y = 4x - 1 has gradient 44.

Two lines are perpendicular when their gradients multiply to 1-1, which means each gradient is the negative reciprocal of the other. A line perpendicular to y=2x+3y = 2x + 3 has gradient 12-\tfrac{1}{2}, because 2×12=12 \times -\tfrac{1}{2} = -1. Combine this with a given point to write the full equation.

Real-life and distance-time graphs

Straight line graphs model real situations where one quantity changes at a steady rate. On a distance-time graph, the gradient is the speed: a steeper line means a faster journey, a horizontal line means stopped, and a line returning to the axis means travelling back. On a conversion graph between two currencies or units, the gradient is the conversion rate. Reading these graphs is really reading a gradient and an intercept in context, so the same y=mx+cy = mx + c thinking applies, with mm as the rate and cc as the starting value.

Finding the midpoint and using coordinates

WJEC also uses coordinates with straight lines. The midpoint of the segment joining (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is (x1+x22,y1+y22)\left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right), the average of the coordinates. This pairs with the gradient formula and, at Higher, with the length of a segment found by Pythagoras. Together these let you describe a line fully from two points: its gradient, its equation, its midpoint and its length, which links the algebra of y=mx+cy = mx + c to the geometry of the coordinate grid.

Why this matters

Straight line graphs are where algebra becomes visual: a linear equation, a linear sequence and a directly proportional relationship are all the same straight line seen differently. The intersection of two lines is the solution to a pair of simultaneous equations, and a region bounded by lines solves an inequality, so this topic threads through the rest of algebra. WJEC rewards accurate plotting, correct gradient calculation and clear use of y=mx+cy = mx + c.

Exam-style practice questions

Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WJEC 20193 marksFind the gradient and y-intercept of the line 2y=6x82y = 6x - 8. (Unit 1, non-calculator.)
Show worked answer →

Rearrange into the form y=mx+cy = mx + c by dividing every term by 22.

y=3x4y = 3x - 4.

Now m=3m = 3 is the gradient and c=4c = -4 is the y-intercept.

Markers award a mark for dividing through correctly, a mark for the gradient 33, and a mark for the intercept 4-4. Reading the gradient as 66 from the unrearranged equation is the usual error; you must get yy alone first.

WJEC 20213 marksFind the equation of the line through (0,5)(0, 5) with gradient 2-2. (Unit 1, non-calculator.)
Show worked answer →

Use y=mx+cy = mx + c with the gradient and intercept given.

The gradient is m=2m = -2.

The line passes through (0,5)(0, 5), so the y-intercept is c=5c = 5.

The equation is y=2x+5y = -2x + 5. Markers give a mark for identifying m=2m = -2, a mark for c=5c = 5, and a mark for the full equation. Mixing up the gradient and intercept is the common slip.

Related dot points

Sources & how we know this