Plotting Straight Line
Plotting Straight Line
Lesson Objectives
• To accurately plot data points on a graph
using the x-axis and y-axis.
Naming horizontal and vertical lines
y Starter
(x,y)
4 (3,4)
3
1 (3,1)
x
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2 y = -2
-3
(-4,-2) (0,-2)
-4 (-4,-2)
(3,-5)
-5
x=3 Back to Main Page
Now try these lines
y
(x,y)
4 (-2,4)
3
2 y=2
1 (-2,1)
x
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
(-4,2) (0,2)
-4 (-4,2)
(-2,-5)
-5
x = -2 Back to Main Page
See
(x,y) if you can name lines 1 to 5
y
x=1 x=5
4
x = -4
3
2
y=1
1 1
x
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
y = -4
-4 4
-5
5 2 3 Back to Main Page
The Table Method
We can use an equation of a line to plot a graph by
substituting values of x into it.
Example
y = 2x + 1
x=0 y = 2(0) +1 y=1
x 0 1 2 x=1 y = 2(1) +1 y=3
x 0 1 2 4
3
y 1 3 5 2
1
-4 -3 -2 -1 0 1 2 3 4
-1
-2
y = 2x + 1 -3
-4
4
3
2
1
-4 -3 -2 -1 0 1 2 3 4
-1
-2
-3 3
1 Click for further
-4 exercises
4
2 Back to Main Page
Further Exercise
Using the table method, plot the following graphs.
1) y = x + 2 7) y=1–x
2) y = x – 3 8) y = 1 – 2x
3) y = 2x + 4 2
4) y = 2x – 3 9) y = 2 – 3x
5) y = 3x + 1 10) y=x+1
6) y = 3x – 2 2
-6 -5 -4 -3 -2 -1- 1 2 3 4 5 6 7 8
x
1
-
2
-
3
-
4
-
5
-
6
Solution
x=0 y=0
2(0) + y = 4 2x + 0 = 4
y=4 2x = 4
x=2
–
7 –6 5 –4 –3
–
2 –1
– 1 2 3 4 5 6 7 8
x
-
1
-
2
-
3
-
4
-
5
-
6 Back to Main Page
Exercise
Plot the following graphs using the x=0, y=0 method.
1) x+y=5
2) x + 2y = 2
3) 2x + 3y = 6
4) x + 3y = 3
1) x+y=4 6) x–y=3
2) 2x + y = 2 7) 2x – y = 2
3) x + 2y = 2 8) 2x – 3y = 6
4) x + 3y = 6 9) x + 2y = 1
5) 2x + 5y = 10 10) 2x – y = 3
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
-4
-5