Skip to main content

Linear functions

Let f:RRf:\mathbb{R}\to \mathbb{R} be a function defined by the relation f(x)=ax+b,f(x)=ax+b, with a, bR\in \mathbb{R}.

The function ff is increasing if a>0, and strictly increasing if a<0.

The function is constant if a=0.

If: 1) a0a\neq0; equation is the unique root. equation.

2) a=0 and b0b\neq0, the function has no roots. equation.

3) a=0 and b=0, then every real number x is a root of the affine function equation.

The graph of a first-degree (affine) function

figure

Sign of the affine function f:RRf:\mathbb{R}\to \mathbb{R}, f(x)=ax+b,f(x)=ax+b, (a0a\neq0)

xxequationequationequation
f(x)f(x)Opposite sign to a0Same sign as a

In the relation y=ax+by=ax+b a is called the gradient of the line, and b is the y-intercept.

figure

The significance of the gradient (a) can be seen in the figure below:

figure
figure

Particular cases of lines

  1. The line parallel to the equation axis has the equation equation;

  2. The line parallel to the equation axis has the equation equation;

  3. The line with equation y(x)=xy(x)=x is called the first bisector;

  4. The line with equation y(x)=xy(x)=-x is called the second bisector.

A function with equation y=ax+by=ax+b separates the plane into two disjoint half-planes (with no point in common):

1) the half-plane above the line d, made up of the points with the property y>ax+by>ax+b;

2) the half-plane below the line d, made up of the points with the property y<ax+by<ax+b.

The relative position of two lines equation and equation in a coordinate system

Let equation and equation be two lines with equations equation, equation

  1. Parallel lines. They have the same gradient (equation). The two lines do not intersect, so the system formed by them is inconsistent.
  1. Intersecting lines. The two lines equation and equation form a consistent system with a unique solution S. The geometric image of S is the point where the two lines meet.

Intersecting lines are perpendicular if equation.

  1. Coincident lines. The equations of the two lines equation and equation are identical (same gradient and same y-intercept). In this case the system formed by the two lines is consistent and indeterminate.

Try it

Drag the sliders. a is the gradient — how steeply the line climbs — and b is where it crosses the vertical axis.

Watch what happens when a is negative, and what happens when a is exactly 0.