Go to content
The display shows in blue the straight line graph of the equation y = mx+c.

You can alter this graph by using the sliders to change the values of m and c.

Choose a red graph:

Now use the sliders to match the lines.

Software/Applets used on this page

This page uses JSXGraph

JSXGraph is a cross-browser library for interactive geometry, function plotting, charting, and data visualization in a web browser. It is implemented completely in JavaScript, does not rely on any other library. It uses SVG and VML and is fully HTML5 compliant.



A statement that two mathematical expressions are equal.


A rule that connects one value in one set with one and only one value in another set.


A diagram showing a relationship between two variables.
The diagram shows a vertical y axis and a horizontal x axis.


To mark a point on a graph accurately by using its coordinates.


The type of line produced by a linear equation.

Full Glossary List

This question appears in the following syllabi:

SyllabusModuleSectionTopicExam Year
AQA GCSE (9-1) Foundation (UK)A: GraphsA9: Plotting Straight-Line GraphsStraight-Line Graphs-
CBSE IX (India)AlgebraPolynomialsConstant, linear, quadratic and cubic-
CBSE XI (India)Coordinate GeometryStraight LinesGeneral equation of a line-
CIE IGCSE (9-1) Maths (0626 UK)5 Co-ordinate GeometryB5.4 Equations of Straight LinesStraight-Line Graphs-
Edexcel GCSE (9-1) Foundation (UK)A: GraphsA9: Plotting Straight-Line GraphsStraight-Line Graphs-
GCSE Foundation (UK)AlgebraGraphsThe straight line graph-
GCSE Higher (UK)AlgebraGraphsThe straight line graph-
OCR GCSE (9-1) Foundation (UK)7: Graphs of Equations and Functions7.02a: Straight Line GraphsStraight-Line Graphs-
Universal (all site questions)GGraphsThe straight line graph-