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\ne 0; x1=ba{{x}_{1}}=-\frac{b}{a} is the unique root. S= ⁣ ⁣{ ⁣ ⁣ba ⁣ ⁣} ⁣ ⁣S= \!\!\{\!\! -\frac{b}{a} \!\!\}\!\!.

2) a=0 and b0b\ne 0, the function has no roots. S=ϕS=\phi.

3) a=0 and b=0, then every real number x is a root of the affine function S=RS=\mathbb{R}.

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\ne 0)

xx-\inftyba-\frac{b}{a}\infty
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 OyOy axis has the equation x=a,()yRx=a,(\forall )y\in \mathbb{R};

  2. The line parallel to the OxOx axis has the equation y=b,()xRy=b,(\forall )x\in \mathbb{R};

  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 d1{{d}_{1}} and d2{{d}_{2}} in a coordinate system

Let d1{{d}_{1}} and d2{{d}_{2}} be two lines with equations d1:y=m1x+b{{d}_{1}} :y={{m}_{1}}x+b, d2:y=m2x+b{{d}_{2}} :y={{m}_{2}}x+b

  1. Parallel lines. They have the same gradient (m1=m2{{m}_{1}}={{m}_{2}}). The two lines do not intersect, so the system formed by them is inconsistent.
  1. Intersecting lines. The two lines d1{{d}_{1}} and d2{{d}_{2}} 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 m1m2=1{{m}_{1}}\cdot {{m}_{2}}=-1.

  1. Coincident lines. The equations of the two lines d1{{d}_{1}} and d2{{d}_{2}} 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.