This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Linear Functions

A complete lesson on linear functions: definition, graph, slope, and applications.

Introduction to Linear Functions

A linear function is a function that creates a straight line when graphed. It describes a relationship where one variable changes at a constant rate with respect to another.

The general form of a linear function is:


1. Understanding the Slope (a)

The slope a measures the steepness of the line. It represents the rate of change: how much y changes when x increases by 1.

  • If a>0, the line goes up (increasing function).
  • If a<0, the line goes down (decreasing function).
  • If a=0, the line is horizontal (constant function).

Formula for slope between two points: a=y−y′x−x′


2. The y-Intercept (b)

The y-intercept b is the point where the line crosses the y-axis. This happens when x=0.

So, f(0)=b.


3. Graphing a Linear Function

To draw the graph of a linear function, you only need two points.

Example 1: Graph f(x)=2x+1.

Step 1: Find two points.

  • When x=0, f(0)=1. Point: (0,1).
  • When x=2, f(2)=2×2+1=5. Point: (2,5).

Step 2: Plot the points and draw the line through them.


4. Finding the Equation from a Graph

If you have a line, you can find its equation by identifying a and b.

Example 2: A line passes through (0,3) and (2,7). Find its equation.

Step 1: The y-intercept is b=3 (because the line passes through (0,3)).

Step 2: Calculate the slope. a=7−32−0=42=2

Step 3: Write the equation. f(x)=2x+3


5. Applications: Word Problems

Linear functions are used to model real-life situations with a constant rate of change.

Example 3: A taxi charges a base fare of $3 plus $2 per kilometer.

Step 1: Identify the fixed cost (y-intercept) and the variable cost (slope).

  • Fixed cost: b=3
  • Cost per km: a=2

Step 2: Write the function. f(x)=2x+3 where x is the distance in km.

Step 3: Calculate the cost for 10 km. f(10)=2×10+3=23 The cost is $23.


6. Summary Table

Concept Formula Meaning
Linear Function f(x)=ax+b Equation of a line
Slope a=y−y′x−x′ Rate of change (steepness)
y-Intercept b Point where x=0
Increasing a>0 Line goes up
Decreasing a<0 Line goes down

1 - Exercises: Linear Functions

Interactive exercises on linear functions, slope, and equations.
3AC Mathematics 4 Interactive Exercises

Practice calculating images, identifying slope and y-intercept, and finding equations.

Instructions: Type your answer in each box, then click Check to verify your work. You can also reveal the solution or restart an exercise.

Exercise 1: Calculate the images

Given f(x)=3x−2, calculate:

1° f(1)=

2° f(0)=

3° f(−2)=

Exercise 2: Find the slope and y-intercept

For each function, identify the slope a and the y-intercept b.

1° f(x)=2x+5 : a = b =

2° g(x)=−3x+1 : a = b =

3° h(x)=4 : a = b =

Exercise 3: Find the equation

Find the equation of the line f(x)=ax+b for each case.

1° The line passes through (0,2) and (1,5). :

2° The line passes through (0,−1) and (2,3). :

Exercise 4: Word Problem

A phone plan charges a monthly fee of \$15 plus \$0.10 per minute.

1° Write the cost function C(x) where x is the number of minutes. :

2° What is the cost for 200 minutes? :

Interactive Linear Function

Explore the function f(x) = ax by changing the coefficient a and the value of x.


1. Change the coefficient a

2


2. Move the point P

2

3. Function formula

f(x) = 2x

f(2) = 2 × 2 = 4

Point coordinates: P(2 ; 4)


4. Interactive graph


5. Table of values

x f(x)

6. Observe the variation

The function is increasing because a is positive.

2 - assessments

3 - lessons