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

Notes on Lesson 28: Linear function and the graph of a linear function (Maths 8 Ket noi tri thuc)

Lesson summary

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

The graph of the function y=ax+by = ax + b (a≠0a \neq 0) is a straight line.

You can picture a linear function like a lift: each time you take one more step (increase xx by 1 unit), the height yy changes steadily according to the coefficient aa.

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 y = ax + b (a khác 0)
  • Vẽ được đồ thị hàm số bậc nhất
  • Vận dụng hàm số bậc nhất giải bài toán thực tiễn

In everyday life, you often meet quantities that change by a steady rule, for example savings growing day by day, or temperature converting between degrees F and degrees C. The lesson on linear functions will help you describe those relationships with the formula y=ax+by = ax + b, draw the straight line that represents them, and explain many real situations clearly.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

The concept of a linear function

  • A linear function is a function given by the formula y=ax+by = ax + b, where a,ba, b are given numbers and a≠0a \neq 0.
  • When b=0b = 0, the function has the form y=axy = ax (this is also a linear function with b=0b=0).
  • The coefficient aa tells how much yy changes when xx increases by 1 unit; the coefficient bb is the value of yy when x=0x = 0.

In plain words: You can picture a linear function like a lift: each time you take one more step (increase xx by 1 unit), the height yy changes steadily according to the coefficient aa. If aa is positive, the lift goes up; if aa is negative, the lift goes down. And bb is the starting position when you have not taken any step yet.

Phrase by phrase
linear function
a function of the form y=ax+by = ax + b with a≠0a \neq 0Example: y=2x+3y = 2x + 3 is a linear function with a=2,b=3a=2, b=3.
coefficient a
the number multiplied by the variable xx, which tells how much yy changes when xx increases by 1 unitExample: In y=−3x+5y = -3x + 5, the coefficient a=−3a = -3.
coefficient b
the free constant, the value of yy when x=0x = 0Example: In y=4x−7y = 4x - 7, the coefficient b=−7b = -7.

Common mistakesWhen finding xx given yy, students forget to solve the equation and substitute numbers with the wrong sign. For example, with y=2x+3y = 2x + 3, find xx when y=11y = 11: you need to solve 2x+3=11⇒2x=8⇒x=42x + 3 = 11 \Rightarrow 2x = 8 \Rightarrow x = 4, not x=7x = 7.

The graph of a linear function

  • The graph of the function y=ax+by = ax + b (a≠0a \neq 0) is a straight line.
  • This straight line meets the vertical axis at the point with y-coordinate bb and meets the horizontal axis at the point with x-coordinate −ba-\frac{b}{a} (when b=0b = 0, this point of intersection is the origin).
  • The graph of the function y=ax+by = ax + b is also called the straight line y=ax+by = ax + b.

In plain words: The graph of a linear function is like a straight road. To draw that road, you only need to find any two points on it, then join them. Usually, with b≠0b \neq 0, people choose two easy points: where the line meets the vertical axis and the horizontal axis.

Phrase by phrase
straight line y=ax+by = ax + b
another name for the graph of a linear functionExample: The graph of y=2x+1y = 2x + 1 is the straight line y=2x+1y = 2x + 1.
point of intersection with the vertical axis
the point with x-coordinate x=0x=0 and y-coordinate y=by=bExample: The graph of y=3x−2y = 3x - 2 meets the vertical axis at (0;−2)(0; -2).

Common mistakesWhen drawing the graph of the function y=ax+by = ax + b with b≠0b \neq 0, many students choose only one point and then draw a straight line through that point and the origin, which leads to mistakes. You need to choose two distinct points, usually the intersections with the two axes.

How to draw the graph of a linear function

  • Case b=0b = 0: the function y=axy = ax. Choose x=1x = 1 to get y=ay = a, plot the point A(1;a)A(1; a). Join O(0;0)O(0;0) to AA and we get the straight line y=axy = ax.
  • Case b≠0b \neq 0:

+ Let x=0x = 0, then y=by = b, plot the point P(0;b)P(0; b) on the y-axis.
+ Let y=0y = 0, then x=−bax = -\frac{b}{a}, plot the point Q(−ba;0)Q\left(-\frac{b}{a}; 0\right) on the x-axis.
+ Join PP and QQ and we get the straight line y=ax+by = ax + b.

  • You can choose any two other points as long as they are easy to calculate with, as long as the two distinct points belong to the graph.

In plain words: Here is a simple way to remember: to draw a straight line, you need two points. If b=0b=0, the straight line passes through the origin, so you only need one more point. If b≠0b \neq 0, choosing the point where it meets the y-axis and the point where it meets the x-axis is fastest, like marking the two endpoints of a road and then drawing it straight.

Phrase by phrase
y-axis
the vertical line in the coordinate plane, where x=0x=0Example: Point P(0;b)P(0; b) lies on the y-axis.
x-axis
the horizontal axis in the coordinate plane, where y=0y=0Example: Point Q(−ba;0)Q\left(-\frac{b}{a}; 0\right) lies on the x-axis.

TipWhen drawing the graph of y=ax+by = ax + b, if b=0b = 0, the straight line passes through the origin, so you only need one more point. If b≠0b \neq 0, choose the two points where it meets the y-axis and the x-axis right away for speed.

Applying linear functions to real-life problems

  • Identify which quantity is the variable xx and which quantity is the function yy.
  • From the data in the problem, set up the formula relating y=ax+by = ax + b.
  • Use the formula to calculate the value yy when xx is known, or to find xx when yy is known.
  • Check whether yy is a linear function of xx by seeing whether the formula has the form y=ax+by = ax + b with a≠0a \neq 0.

In plain words: It is like making up a recipe: for every day you save 10,000 dong, after xx days you have 10.000x10.000x dong. If there is also a starting bonus, add it in, giving y=10.000x+300.000y = 10.000x + 300.000. That is exactly a linear function, which helps you predict the future.

Phrase by phrase
a function of x
each value of xx gives corresponding to exactly one value of yyExample: y=2x+1y = 2x + 1 is a function of xx.
set up a formula
write the relationship between two quantities in the form y=ax+by = ax + bExample: The amount of money yy after xx days of saving 10,000 dong per day is y=10.000xy = 10.000x.

Worked examples

Example 1

Which of the following functions is a linear function? Identify the coefficient a,ba, b:
a) y=2x+3y = 2x + 3
b) y=0x+4y = 0x + 4
c) y=−3xy = -3x
d) y=4x2+1y = 4x^2 + 1

Show the solution to example 1

Step 1: Recall the definition: a linear function has the form y=ax+by = ax + b with a≠0a \neq 0.
Step 2: Check each function:
a) y=2x+3y = 2x + 3 has the form y=ax+by = ax + b with a=2≠0a = 2 \neq 0, b=3b = 3. This is a linear function.
b) y=0x+4y = 0x + 4 has a=0a = 0, which does not satisfy a≠0a \neq 0. It is not a linear function.
c) y=−3xy = -3x has the form y=ax+by = ax + b with a=−3≠0a = -3 \neq 0, b=0b = 0. This is a linear function.
d) y=4x2+1y = 4x^2 + 1 contains x2x^2, so it does not have the form y=ax+by = ax + b. It is not a linear function.
Result: The linear functions are a) with a=2,b=3a=2, b=3 and c) with a=−3,b=0a=-3, b=0.

Common mistakesWhen studying linear functions, students often mistake a function of the form y=ax+by = ax + b with a=0a = 0 for a linear function. In fact, the condition is a≠0a \neq 0. For example, y=0x+4y = 0x + 4 is not a linear function.

TipTo check whether a function is linear, just look at whether it has the form y=ax+by = ax + b with a≠0a \neq 0. If it has x2x^2, x3x^3, or a=0a=0, then it is not.

Example 2

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

Show the solution to example 2

Step 1: Identify a=2,b=−4a = 2, b = -4. Since b≠0b \neq 0, the graph does not pass through the origin.
Step 2: Let x=0x = 0, then y=−4y = -4, giving the point P(0;−4)P(0; -4) on the y-axis.
Step 3: Let y=0y = 0, then 2x−4=0⇒x=22x - 4 = 0 \Rightarrow x = 2, giving the point Q(2;0)Q(2; 0) on the x-axis.
Step 4: Draw the coordinate system, mark the two points P(0;−4)P(0; -4) and Q(2;0)Q(2; 0), and join them with a straight line. This straight line is the graph of the function y=2x−4y = 2x - 4.
Result: The graph is the straight line passing through the two points P(0;−4)P(0; -4) and Q(2;0)Q(2; 0).

Example 3

The temperature CC (degrees C) and FF (degrees F) are related by the formula C=59(F−32)C = \frac{5}{9}(F - 32).
a) Is CC a linear function of FF? Identify the coefficient a,ba, b.
b) Convert 50∘F50^\circ F to degrees CC.
c) Calculate FF when C=100∘CC = 100^\circ C.

Show the solution to example 3

Step 1: Rewrite the formula: C=59F−1609C = \frac{5}{9}F - \frac{160}{9}. This has the form C=aF+bC = aF + b with a=59≠0a = \frac{5}{9} \neq 0, b=−1609b = -\frac{160}{9}. So CC is a linear function of FF.
Step 2: Substitute F=50F = 50 into the formula: C=59(50−32)=59⋅18=10C = \frac{5}{9}(50 - 32) = \frac{5}{9} \cdot 18 = 10. So 50∘F=10∘C50^\circ F = 10^\circ C.
Step 3: Substitute C=100C = 100 into the formula: 100=59(F−32)⇒F−32=180⇒F=212100 = \frac{5}{9}(F - 32) \Rightarrow F - 32 = 180 \Rightarrow F = 212. So 100∘C=212∘F100^\circ C = 212^\circ F.
Result: a) CC is a linear function with a=59,b=−1609a = \frac{5}{9}, b = -\frac{160}{9}. b) 10∘C10^\circ C. c) 212∘F212^\circ F.

Terms

linear function
a function of the form y=ax+by = ax + b with a≠0a \neq 0Example: y=−2x+5y = -2x + 5 is a linear function.
graph of a function
the set of points representing the pairs of values (x;y)(x; y) on the coordinate planeExample: The graph of the function y=x+1y = x + 1 is a straight line.
y-axis
the vertical line in the coordinate plane, where x=0x = 0Example: The point A(0;3)A(0; 3) lies on the y-axis.
x-axis
the horizontal axis in the coordinate plane, where y=0y = 0Example: The point B(2;0)B(2; 0) lies on the x-axis.

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 7 of 9Written answer · Applying

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

Cho hàm số bậc nhất y = ax + 3.
a) Tìm hệ số a, biết rằng khi x = 1 thì y = 5.
b) Với giá trị a tìm được, hãy hoàn thành bảng giá trị sau vào vở:
|
x
|
-2
|
-1
|
0
|
1
|
2
|
y
|
?
|
?
|
?
|
?
|
?

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

Extra practice

  • 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)
  • 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 (Understanding, Applying)
  • 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 (Applying)
  • Bài toán thực tế về hàm số bậc nhất (Understanding, Applying)

Additional exercises

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

Challenge yourself

  • Dạng khác (Applying, Understanding)

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.