MathClario
← All lessons
High schoolπŸ“ˆFunctions12 min read
πŸ“ˆ

Linear function: complete lesson (graph, slope, y-intercept)

f(x) = ax + b. Line, slope, y-intercept, solving. The full grade-10 lesson.

Prerequisites :

  • Algebra
  • Equations

Definition

A linear function (affine function) has the form:

f(x)=ax+bf(x) = a x + b

with aa and bb fixed real numbers.

  • aa is the slope.
  • bb is the y-intercept (value at 00: f(0)=bf(0) = b).

Special cases

  • If b=0b = 0: strict linear function f(x)=axf(x) = a x (line through origin).
  • If a=0a = 0: constant function f(x)=bf(x) = b (horizontal line).

Graph

The graph of a linear function is a line:

  • Not vertical (since xx is free).
  • Passes through (0,b)(0, b).
  • Passes through (1,a+b)(1, a + b).

Compute the slope

Given two points A(xA,yA)A(x_A, y_A) and B(xB,yB)B(x_B, y_B) on the line:

a=yBβˆ’yAxBβˆ’xAa = \dfrac{y_B - y_A}{x_B - x_A}

Careful: xA≠xBx_A \neq x_B, otherwise the line is vertical (not a function).

Monotonicity

  • a>0a > 0 β‡’ ff strictly increasing on R\mathbb{R}.
  • a<0a < 0 β‡’ ff strictly decreasing on R\mathbb{R}.
  • a=0a = 0 β‡’ ff constant.

Find the expression from two points

Step 1: compute aa with the formula above. Step 2: find bb by writing that AA lies on the line: yA=axA+by_A = a x_A + b.

Example: line through A(1,5)A(1, 5) and B(3,11)B(3, 11).

a=(11βˆ’5)/(3βˆ’1)=3a = (11 - 5) / (3 - 1) = 3.

5=3Γ—1+b5 = 3 \times 1 + b β‡’ b=2b = 2.

So f(x)=3x+2f(x) = 3 x + 2.

Sign of a linear function

If aβ‰ 0a \neq 0, ff vanishes at x0=βˆ’b/ax_0 = -b/a.

Sign:

  • a>0a > 0: negative before x0x_0, positive after.
  • a<0a < 0: positive before x0x_0, negative after.

β€œSign of aa after the root, opposite sign before”.

Two lines: parallel, intersecting, coincident

Let d:y=ax+bd : y = a x + b and dβ€²:y=aβ€²x+bβ€²d' : y = a' x + b'.

  • a=aβ€²a = a' and bβ‰ bβ€²b \neq b' β‡’ strictly parallel.
  • a=aβ€²a = a' and b=bβ€²b = b' β‡’ coincident.
  • aβ‰ aβ€²a \neq a' β‡’ intersecting at a unique point.

Real-life applications

  • Subscription: f(x)=0.5 x+20f(x) = 0.5 \, x + 20 (20fixed+20 fixed + 0.50/call).
  • Production cost: f(x)=3 x+100f(x) = 3 \, x + 100 (100fixed+100 fixed + 3/unit).
  • Temperature conversion: TF=1.8 TC+32T_F = 1.8 \, T_C + 32.

Common mistakes

  1. Confusing aa and bb in f(x)=ax+bf(x) = a x + b.
  2. Forgetting to divide in the slope formula.
  3. Thinking a vertical line is a linear function (false: many yy for one xx).
  4. Thinking f(x)=3f(x) = 3 is not linear (it is, with a=0a = 0).
#linear function#line#slope#grade 10#lesson