Try it yourself · Class 8 Maths · Introduction to Graphs
A straight line: change the slope m and the starting height c
A straight line on a graph can be described by two numbers. The slope m says how much the line goes up for each step of 1 along x. The starting height c says where the line cuts the Y axis. The simulation marks a run of 2 and shows how much the line rises or falls over it.
The line , run 2 marked.
The simulation needs JavaScript; everything it shows is explained below.
What to change
- Slide the slope m from -2 to 3 in steps of 0.5.
- Slide the starting height c from -2 to 4.
- Set the slope to 0.
- Set the slope to a negative number.
What to watch
- At the start m = 2 and c = 1. For a run of 2 the rise is 4, so rise ÷ run is 2. The line cuts the Y axis at 1 and the readout says it rises.
- With m = 0 the rise is 0 and the readout says flat. The line is level at the height c.
- With m = -1 the label changes from rise to fall 2 and the readout says falls.
- With m = 3 and c = 1, the line reaches 13 at x = 4. The rise for a run of 2 is 6.
- Changing c with m fixed moves the line up or down but the rise stays the same.
The formula
is the slope and is the value of when . For and , the line passes through and .
Try these questions
Work each one out with the simulation, tap to see the answer, then try the chapter quiz.
-
Our question
The monthly maximum temperature of a city is recorded for every month of a year. Which kind of graph is generally used to show how such a quantity changes over time?- A pictograph with one symbol per city
- A line graph joining the monthly values
- A table with no graph
- A pie chart of the twelve values
Show the answer
(B) A line graph joining the monthly values -
NCERT
Make a line graph for the area of a square as per the given table.| Side (in cm) | 1 | 2 | 3 | 4 |
| Area (in cm) | 1 | 4 | 9 | 16 |Is it a linear graph?
Show the answer
No, it is not a linear graph
