Wayground
Writing an Equation of a line - Printable Mathematics Worksheets - Wayground

Writing an Equation of a line

21 questions

8th - 8th Grade

Mathematics

Designed for Grade 8 mathematics, this free printable worksheet helps students write and interpret linear equations in slope-intercept form, y = mx + b. Across 21 multiple-choice questions, students identify slope and y-intercept, calculate slope from two points, and recognize positive, negative, zero, and undefined slopes, including the vertical direction of an undefined slope. Students also select equations from graphs, tables, and given slope-intercept information; write equations from a slope and y-intercept; and determine equations from a slope and a point. The questions include horizontal and vertical lines, fractional slopes, and coordinate pairs, giving teachers a focused way to check whether students can connect representations of a line to its equation. This free printable worksheet includes a complete answer key for efficient review, independent practice, or formative assessment.

Worksheet settings

Font size

S
M
L
XL
Worksheets

Writing an Equation of a line

Total questions: 21

Name
Class
Date
1.
What is the y-intercept in the following equation:  y=-4x-5
a)
-4
b)
-4x
c)
5
d)
-5
2.
If m = 3 and b = 6, what is the correct slope intercept equation?
a)
y=3-6
b)
y=3x-6
c)
y=3x+6
d)
y=6x+3
3.
Find the slope of the line that passes through
(10, 1) and (5, 2)
a)
1/5
b)
-1/5
c)
5
d)
-5
4.
What direction is an undefined slope?
a)
horizontal
b)
vertical
5.
What is the slope in the picture?
a)
Positive
b)
Negative
c)
Zero
d)
Undefined
6.
Write the equation for the line in slope-intercept form.
a)
y=-1x+3
b)
y=4x+3
c)
y=¼x+3
d)
y=-4x+3
7.
What is the equation of this line?
a)
0
b)
undefined 
c)
y = -2
d)
x = -2
8.
What is the equation of the line graphed?
a)
x = -1
b)
y = -1
c)
y = -1x
d)
y = x - 1
9.
Which is the equation of the line with slope 3 and y-intercept 5.
a)
y = 3x + 5
b)
y = 5x + 3
c)
y = 3/5x
d)
y = 5/3x
10.

Write the equation of the line with slope -2 through the point (7, −1).

a)

y = −2x + 15

b)

y = −2x − 15

c)

y = −2x + 13

d)

y = −2x − 13

11.
Write the equation of the line with slope 3/5 through the point (20, 6).
a)
y = 3/5x - 6
b)
y = 3/5x +18
c)
y = 3/5x - 18
d)
y = 3/5x +6
12.
Write the equation
y = mx + b

m = -1
(-2, 4)
a)
x = -2
b)
y = 4x - 2
c)
b = 2
d)
y = -1x + 2
13.
Which equation best represents the line on the graph?
a)
y= 1/2x
b)
y= -1/2x
c)
y = 2x
d)
y = -2x
14.
Find the slope
a)
-2/3
b)
3/2
c)
-3/2
d)
2/3
15.
Which equation best represents the relationship between x and y in the table shown?
a)
y= 5x+5
b)
y=1/5x+5
c)
y=15x+5
d)
y=10x+5
16.
Which of these represents point-slope form of a linear equation?
a)
y - y1 = m(x - x1)
b)
Ax + By = C
c)
y = mx + b
17.

Which of the following is the equation of the line that has a slope of 3 and passes through the point (0, 9)?

a)

y = -3x + 12

b)

y = 3(x + 9)

c)

y = 3x + 9

d)

y = 3x - 3

18.
Write the equation in point-slope form of the line that passes through the given point and has the given slope.
(4, -7); m = -1/4
a)
y +7 = -1/4(x - 4)
b)
y - 4 = -1/4(x + 7)
c)
y+ 7 = 4(x - 4)
d)
y - 7 = -1/4(x - 4)
19.

Write the equation in point-slope form of the line that passes through the given point and has the given slope.

(4, 0); m = 7

a)

y - 4 = 7(x + 0)

b)

y - 0 = 7(x - 4)

c)

y = 7x + 4

d)

y = 7x + 0

20.
What is the point in the following equation?
y-4 = 1/5 ( x-3)
a)
(3,4)
b)
(1/5,0)
c)
(-3,-4)
d)
(4,3)
21.

who logo is this

a)

jordan

b)

shaq

c)

and 1

d)

mj

Answer Key

Writing an Equation of a line

Total questions: 21

1.
d) -5
2.
c) y=3x+6
3.
b) -1/5
4.
b) vertical
5.
b) Negative
6.
b) y=4x+3
7.
d) x = -2
8.
b) y = -1
9.
a) y = 3x + 5
10.
c)

y = −2x + 13

11.
a) y = 3/5x - 6
12.
d) y = -1x + 2
13.
a) y= 1/2x
14.
c) -3/2
15.
a) y= 5x+5
16.
a) y - y1 = m(x - x1)
17.
c)

y = 3x + 9

18.
a) y +7 = -1/4(x - 4)
19.
b)

y - 0 = 7(x - 4)

20.
a) (3,4)
21.
a)

jordan

FAQs

What does this worksheet cover, and how does it help students write equations of lines?

This Grade 8 worksheet contains 21 multiple-choice questions on writing and interpreting linear equations in slope-intercept form, y = mx + b. Students identify slope and y-intercept, calculate slope from points, read equations from graphs and tables, and write equations from a slope with an intercept or a given point.

How can I use this worksheet to teach writing an equation of a line?

Introduce y = mx + b by having students identify m as the slope and b as the y-intercept in the worksheet’s equation items. Then work through a sequence from reading slope and intercepts to calculating slope from two points, interpreting graphs and tables, and finding the missing intercept when a slope and point are given.

What mistakes should I watch for when students complete this line-equation worksheet?

Watch for students reversing the slope and y-intercept, dropping the x from the slope term, or choosing the wrong sign when calculating slope from two points. Students may also confuse horizontal and vertical lines, or select an equation that matches the slope but not the intercept when responding to the graph, table, and point-slope items.

How do I assign and grade this worksheet?

This worksheet is available as a printable PDF and as a digital quiz on Wayground, and it includes a complete answer key. You can review digital responses in Wayground or grade printable submissions by scanning student work with the Wayground for Teachers app.

How can I differentiate this worksheet for my students?

Use the worksheet’s Advanced Settings to adjust font spacing or increase font size so the equation choices, coordinate pairs, graphs, and tables are easier to read. You can also apply a dyslexia-friendly font or translate the worksheet into another language while keeping the 21 multiple-choice line-equation questions focused on the same skills.

Where can I find more worksheets like this on Wayground?

Wayground offers a broad collection of free printable worksheets and practice problems across all subjects, with downloadable PDFs and answer keys to support essential skills and concepts. Browse more resources at https://wayground.com/en-us/worksheets.