Skip to content
Gioi Toan
Start learning

Draw the graph of a linear function Maths skill, first learned in Grade 8

What you will be able to do

This content is not yet available in English. It is shown below in the original Vietnamese.

Vẽ đồ thị hàm số bậc nhất bằng hai điểm, thường là giao với hai trục.

Strand
Số và Đại số
Topic
Hàm số và đồ thị
Difficulty
from Basic (M1) to Advanced applying (M4)

Learning outcomes

From the 2018 maths curriculum of the Ministry of Education and Training.

  • Grade 8. Vẽ được đồ thị của hàm số bậc nhất y = ax + b (a ≠ 0).

Definitions and formulas

The graph of a function y=ax+by = ax + b (a≠0a \ne 0) is a straight line. When b≠0b \ne 0, it intersects the y-axis at (0;b)(0; b) and intersects the x-axis at (−ba;0)\left(-\frac{b}{a}; 0\right); when b=0b = 0, it passes through the origin OO.

How to draw: find two distinct points of the graph (usually the two points of intersection with the two axes, or OO and (1;a)(1; a) when b=0b = 0), then draw the straight line through the two points.

Key points to remember

  • Two points are enough to draw a straight line; work out a third point to check.

  • Point of intersection with the x-axis: set y=0y = 0 then solve ax+b=0ax + b = 0.

  • A straight line parallel (or coincident) with the graph y=axy = ax.

Worked examples

Example 1

Draw the graph of a function y=2x−4y = 2x - 4.

Show the solution to example 1

Step 1: Set x=0x = 0: y=−4y = -4, giving A(0;−4)A(0; -4).
Step 2: Set y=0y = 0: 2x−4=0⇒x=22x - 4 = 0 \Rightarrow x = 2, giving B(2;0)B(2; 0).
Step 3: Draw the straight line ABAB. Check: x=3x = 3 gives y=2y = 2, the point (3;2)(3; 2) lies on the line drawn.
Result: the straight line through (0;−4)(0; -4) and (2;0)(2; 0).

Example 2

Draw the graph of a function y=−12xy = -\frac{1}{2}x.

Show the solution to example 2

Step 1: b=0b = 0 so the graph passes through O(0;0)O(0; 0).
Step 2: Take one more point: x=2x = 2 gives y=−1y = -1, giving M(2;−1)M(2; -1).
Step 3: Draw the straight line OMOM.
Result: the straight line through OO and (2;−1)(2; -1), going down from left to right.

Common mistakes

Read these carefully so you can avoid them.

  • With y=−12xy = -\frac{1}{2}x just mark the point OO then draw any line through OO.
  • Worked out the intersection with the x-axis of y=2x−4y = 2x - 4 as x=−2x = -2, wrong sign when using the transposition rule.

Further reading

Textbook lessons

Lessons that teach this skill

Choose the textbook you use at school.

Grade 8 maths, Ket noi tri thuc

Grade 8 maths, Chan troi sang tao

Grade 8 maths, Canh Dieu

Toan Vinschool, Learner's Book 7

Toan Vinschool, Learner's Book 8

Practice

Questions go from easy to hard. Answer each one, then press Check. If you get stuck, open the hint right below the question.

Question 1 of 1Written answer · Applying

Draw the graphs of the two functions y=x+2y = x + 2 and y=−x+4y = -x + 4 on the same coordinate plane (unit 1 cm). Find the coordinates of the point of intersection of the two straight lines and calculate the area of the triangle formed by those two lines and the x-axis.

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice for this skill is waiting for you

  • Vẽ đồ thị hàm số bậc nhất
  • Kiểm tra điểm thuộc đồ thị, tìm giao điểm của đồ thị với các trục tọa độ
  • Chứng minh đường thẳng luôn đi qua điểm cố định, diện tích tam giác tạo bởi đồ thị và hai trục
  • điểm thuộc đồ thị hàm số bậc nhất

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in