Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

Notes on Lesson 3: Linear function y = ax + b (a ≠ 0) (Maths 8 Chan troi sang tao, Chapter 5)

Lesson summary

A linear function is a function given by the formula y=ax+by = ax + b, where aa, bb are given numbers and a≠0a \ne 0.

It is a straight line passing through the origin O(0;0)O(0; 0), also called the straight line y=axy = ax.

Two points determine a straight line, so you only need to find exactly two points of the graph.

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

  • Nhận biết được hàm số bậc nhất
  • Vẽ được đồ thị hàm số bậc nhất

Taxi fares, tiered electricity bills, distance travelled at constant speed over time: many relationships have the form y=ax+by = ax + b. That is a linear function, and its graph is a straight line. This lesson teaches you to recognise, make a table of values and draw the graph of a linear function.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Linear function

  • A linear function is a function given by the formula y=ax+by = ax + b, where aa, bb are given numbers and a≠0a \ne 0.
  • For example: y=2x−3y = 2x - 3 (a=2a = 2, b=−3b = -3); y=−xy = -x (a=−1a = -1, b=0b = 0). But y=0x+5y = 0x + 5 or y=x2+1y = x^2 + 1 is not a linear function.
  • In a table of values, when xx increases: if a>0a > 0 then yy increases; if a<0a < 0 then yy decreases.

Graph of the function \(y = ax\) (\(a \ne 0\))

  • It is a straight line passing through the origin O(0;0)O(0; 0), also called the straight line y=axy = ax.
  • How to draw: take one more point M(1;a)M(1; a), draw the straight line OMOM.

TipRemember: a>0a > 0 the straight line goes up from left to right, a<0a < 0 the straight line goes down.

Graph of the function \(y = ax + b\) (\(a \ne 0\), \(b \ne 0\))

  • It is a straight line that intersects the y-axis at the point with y-coordinate bb and is parallel to the straight line y=axy = ax; also called the straight line y=ax+by = ax + b.
  • How to draw: let x=0x = 0, then y=by = b, giving the point M(0;b)M(0; b) on OyOy; let y=0y = 0, then x=−bax = -\frac{b}{a}, giving the point N(−ba;0)N\left(-\frac{b}{a}; 0\right) on OxOx. Draw the straight line MNMN.

In plain words: Two points determine a straight line, so you only need to find exactly two points of the graph.

Common mistakesFinding the point of intersection with the x-axis but writing x=bax = \frac{b}{a}, forgetting the minus sign: with y=−2x+4y = -2x + 4 you get x=−2x = -2. Correctly, solve −2x+4=0-2x + 4 = 0, getting x=2x = 2.

Common mistakesSwapping the coordinates when plotting the intercept points: the point where the line meets the y-axis is (0;b)(0; b), not (b;0)(b; 0).

TipTo draw the graph of y=ax+by = ax + b: choose two easy values of xx (such as x=0x = 0 and x=1x = 1), find yy, plot the two points, extend them into a straight line; try a third point to check.

Worked examples

Example 1

Which of the following functions is a linear function? Point out aa, bb: y=3−2xy = 3 - 2x; y=x2y = \frac{x}{2}; y=2x+1y = \frac{2}{x} + 1; y=0⋅x+4y = 0 \cdot x + 4.

Show the solution to example 1

y=3−2x=−2x+3y = 3 - 2x = -2x + 3: linear function, a=−2a = -2, b=3b = 3. y=x2=12xy = \frac{x}{2} = \frac{1}{2}x: linear function, a=12a = \frac{1}{2}, b=0b = 0.
y=2x+1y = \frac{2}{x} + 1 has the variable in the denominator, so it is not. y=0⋅x+4y = 0 \cdot x + 4 has a=0a = 0, so it is not.

Common mistakesThinking y=3−2xy = 3 - 2x has a=3a = 3 because the number 3 comes first. The coefficient aa is the number multiplied by xx; rewrite y=−2x+3y = -2x + 3 before reading off aa, bb.

Example 2

Make a table of values of the function y=5x+3y = 5x + 3 for x=−2,−1,0,1,2x = -2, -1, 0, 1, 2. When xx increases, how does yy change?

Show the solution to example 2

x=−2x = -2: y=−7y = -7; x=−1x = -1: y=−2y = -2; x=0x = 0: y=3y = 3; x=1x = 1: y=8y = 8; x=2x = 2: y=13y = 13.
a=5>0a = 5 > 0 so when xx increases, yy increases, just as in the table.

Example 3

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

Show the solution to example 3

Let x=0x = 0, then y=4y = 4: point P(0;4)P(0; 4). Let y=0y = 0, then −2x+4=0-2x + 4 = 0, x=2x = 2: point Q(2;0)Q(2; 0).
The graph is the straight line PQPQ. Check again: x=1x = 1 gives y=2y = 2, the point (1;2)(1; 2) lies on PQPQ.

Terms

linear function
the function given by the formula y=ax+by = ax + b with a≠0a \ne 0
the straight line y=ax+by = ax + b
another name for the graph of the function y=ax+by = ax + b
origin
point O(0;0)O(0; 0), the point of intersection of the two coordinate axes

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 8.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 2 of 2Written answer · Understanding

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

Một người đi bộ trên đường thẳng với tốc độ v(km/h)v\left( {km/h} \right). Gọi s(km)s\left( {km} \right) là quãng đường đi được trong t(h)t\left( h \right).
a) So sánh ss và v.tv.t.
b) Đại lượng ss có phải là hàm số của đại lượng tt không? Vì sao?

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 questions for you

Additional exercises

  • Vẽ đồ thị hàm số bậc nhất (Understanding)
  • Kiểm tra điểm thuộc đồ thị, tìm giao điểm của đồ thị với các trục tọa độ (Understanding, Applying)
  • Tìm hệ số hay tham số để đồ thị đi qua một điểm hoặc cắt trục tọa độ tại điểm cho trước (Applying, Understanding)
  • Bài toán thực tế về hàm số bậc nhất (Understanding)
  • Nhận dạng hàm số bậc nhất, chỉ ra hệ số a, b (Recall, Understanding)
  • 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 (Advanced applying, Applying)
  • Tìm điều kiện của tham số để hàm số là hàm số bậc nhất (Applying)

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

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.