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

What is Linear function?

Short answer

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

Type
Definition
First learned
Grade 8
Also called
hàm bậc nhất, hàm số bậc 1
In English
linear function

Formulas

y=ax+b(a≠0)y = ax + b \quad (a \neq 0)

Explanation

A linear function is a function of the form y=ax+by = ax + b, with a≠0a \ne 0. Here xx is the variable, yy is the value of the function corresponding to it.

If b=0b = 0, the function becomes y=axy = ax, this is a special case (a directly proportional function). The graph of a linear function is a straight line that meets the y-axis at the point with y-coordinate bb and has slope aa.

A linear function is increasing on R\mathbb{R} when a>0a > 0 and decreasing when a<0a < 0.

Examples

Example 1

Given the function y=2x+1y = 2x + 1. Find the value of yy when x=3x = 3.

See the solution to example 1

Substitute x=3x = 3 into the formula: y=2⋅3+1=6+1=7y = 2 \cdot 3 + 1 = 6 + 1 = 7. So when x=3x = 3, y=7y = 7.

Common mix-ups

  • The function y=ax+by = ax + b is linear only when a≠0a \ne 0. If a=0a = 0, it is a constant function, not a linear function.
  • The graph of a linear function is a straight line, not a curve.

Where the name comes from

It is called 'linear' because the highest exponent of the variable xx in the formula is 1.

Learn it in these lessons