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.

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.

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.

## Glossary

### equation

A statement that two mathematical expressions are equal.

### function

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

### graph

A diagram showing a relationship between two variables.

The diagram shows a vertical y axis and a horizontal x axis.

The diagram shows a vertical y axis and a horizontal x axis.

### plot

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

### straight

The type of line produced by a linear equation.