Math ClubMath Club
v1 · padrão canônico

Lesson 3 — Affine functions (degree 1)

Affine function f(x) = ax + b. Slope as CONSTANT rate of change — conceptual bridge to the derivative.

Used in: 1.º ano EM

f(x)=ax+bf(x) = ax + b
Choose your door

Rigorous notation, full derivation, hypotheses

Definition and properties

  • aa: slope coefficient (or angle of inclination)
  • bb: vertical intercept (y-intercept)
  • Graph: a straight line. a>0a > 0: increasing. a<0a < 0: decreasing. a=0a = 0: constant.
f(x2)f(x1)x2x1=a\frac{f(x_2) - f(x_1)}{x_2 - x_1} = a
(1)
what this means · Rate of change between two points on the line. For an affine function, this value is CONSTANT — it does not depend on which pair of points you choose. This constancy is what distinguishes the affine function among all others.

"The slope of a line passing through two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is m=(y2y1)/(x2x1)m = (y_2 - y_1)/(x_2 - x_1)." — OpenStax College Algebra 2e, §2.2

Zero of the function and intercepts

f(x)=0    x=b/af(x) = 0 \iff x = -b/a (when a0a \neq 0). The pair (0,b)(0, b) is the vertical intercept. The pair (b/a,0)(-b/a, 0) is the zero (or horizontal intercept).

Uniqueness theorem for two points

Proof (sketch). Existence: define aa by the formula above and b=y1ax1b = y_1 - a x_1. It is verified that f(x1)=y1f(x_1) = y_1 by construction, and f(x2)=a(x2x1)+y1=(y2y1)+y1=y2f(x_2) = a(x_2 - x_1) + y_1 = (y_2 - y_1) + y_1 = y_2. Uniqueness: if g(x)=ax+bg(x) = a' x + b' also satisfies g(xi)=yig(x_i) = y_i, then a=(y2y1)/(x2x1)=aa' = (y_2 - y_1)/(x_2 - x_1) = a and b=y1ax1=bb' = y_1 - a' x_1 = b. ∎

Composition and operations

Let f(x)=a1x+b1f(x) = a_1 x + b_1 and g(x)=a2x+b2g(x) = a_2 x + b_2. Then:

  • Sum: (f+g)(x)=(a1+a2)x+(b1+b2)(f + g)(x) = (a_1 + a_2) x + (b_1 + b_2) — affine, with slopes added.
  • Composition: (fg)(x)=a1(a2x+b2)+b1=a1a2x+(a1b2+b1)(f \circ g)(x) = a_1 (a_2 x + b_2) + b_1 = a_1 a_2 x + (a_1 b_2 + b_1) — affine, with slopes multiplied.
  • Inverse (if a10a_1 \neq 0): f1(y)=(yb1)/a1f^{-1}(y) = (y - b_1)/a_1 — also affine, with slope 1/a11/a_1.

The set of invertible affine functions (a0a \neq 0) under composition forms a group — the structure (R×R,)(\mathbb{R}^* \times \mathbb{R}, \circ). This observation will be used in linear algebra (Lesson 31+) and affine geometry.

Family of parallel lines

xya fixed, b varies

Family of lines with the same slope a = 1 and different intercepts b. Vertical translation: changing b only shifts the line up or down, without rotating it.

Family of concurrent lines

xy(0, 1)b fixed, a varies

Family with the same intercept (0, 1) and different slopes — all of them cross at that point. Rotation: changing a rotates the line around the intercept.

Worked examples

Five examples with increasing difficulty — from direct evaluation of a given line to modeling a break-even point for internet plans. Each example cites its source: the original problem always comes from an open book.

Exercise list

45 exercises · 11 with worked solution (25%)

Application 26Understanding 5Modeling 10Challenge 4
  1. Ex. 3.1ApplicationAnswer key
  2. Ex. 3.2Application
  3. Ex. 3.3ApplicationAnswer key
  4. Ex. 3.4Application
  5. Ex. 3.5Application
  6. Ex. 3.6Application
  7. Ex. 3.7ApplicationAnswer key
  8. Ex. 3.8Application
  9. Ex. 3.9Application
  10. Ex. 3.10Application
  11. Ex. 3.11Application
  12. Ex. 3.12Application
  13. Ex. 3.13ApplicationAnswer key
  14. Ex. 3.14Application
  15. Ex. 3.15Application
  16. Ex. 3.16Application
  17. Ex. 3.17Application
  18. Ex. 3.18Application
  19. Ex. 3.19ApplicationAnswer key
  20. Ex. 3.20ApplicationAnswer key
  21. Ex. 3.21Application
  22. Ex. 3.22Application
  23. Ex. 3.23Application
  24. Ex. 3.24Application
  25. Ex. 3.25Application
  26. Ex. 3.26Application
  27. Ex. 3.27Understanding
  28. Ex. 3.28Understanding
  29. Ex. 3.29UnderstandingAnswer key
  30. Ex. 3.30Understanding
  31. Ex. 3.31ModelingAnswer key
  32. Ex. 3.32Modeling
  33. Ex. 3.33Modeling
  34. Ex. 3.34Modeling
  35. Ex. 3.35Modeling
  36. Ex. 3.36Modeling
  37. Ex. 3.37ModelingAnswer key
  38. Ex. 3.38Modeling
  39. Ex. 3.39Modeling
  40. Ex. 3.40Modeling
  41. Ex. 3.41ChallengeAnswer key
  42. Ex. 3.42Challenge
  43. Ex. 3.43Challenge
  44. Ex. 3.44Challenge
  45. Ex. 3.45UnderstandingAnswer key

Sources

Updated on 2026-05-04 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.