Recognizing Linear Functions

Recognize linear functions by checking graphs, comparing consecutive changes in ordered pairs, and rewriting equations as Ax + By = C with B nonzero. Use tables to graph lines, then distinguish an unrestricted line from the discrete points allowed when inputs count real-world objects.

Course cover for Recognizing Linear Functions

Three Disguises of a Line

Maya runs a bracelet stand at a craft fair and pays the organizer $4.50 for every bracelet she sells. With x representing bracelets sold and y representing her fee in dollars, the equation is y = 4.50x

The same deal appears as ordered pairs: (0, $0), (1, $4.50), and (2, $9). These points lie along a straight rising line through the origin. The pairs, equation, and straight-line trend describe the same relationship; the bracelet-count restriction will determine which points are actual solutions

How can you prove that a relationship is linear when it is presented as a graph, ordered pairs, or an equation? Each representation has its own test. This guide also shows how to graph a linear equation from three points and identify realistic domains and ranges for counted quantities

Three Disguises of a Line

Spotting Lines on a Graph

Use the graph test in order. First, check whether the relation is a function: every input x must have exactly one output y. Second, check whether its graph is a straight, nonvertical line. Both checks must pass for the graph to represent a linear function

Spotting Lines on a Graph: -4 -2 2 4 4 2 -2 -4 (-2, 0) (0, 2)

A straight rising line through (-2, 0) and (0, 2) passes both checks. Each x-value has one y-value, and the line is straight and nonvertical. It represents a linear function

An upward-opening U-shaped curve with its lowest point at (0, -1) gives each x-value exactly one y-value, so it is a function. However, it bends rather than forming a straight line, so it is not linear

Spotting Lines on a Graph: -4 -2 2 4 4 2 -2 -4 (0, -1)

The vertical line x = -1 fails the function check. Its single input -1 is paired with many outputs, including -2, 0, and 3: the points (-1, -2), (-1, 0), and (-1, 3) all lie on it. Although the graph is straight, it is not a function and therefore cannot be a linear function

Spotting Lines on a Graph: -4 -2 2 4 4 2 -2 -4 x = -1 input -1 (-1, -2) (-1, 0) (-1, 3)

For the following graph-identification question, Graph A is a rising straight line, Graph B is an upward-opening U-shaped curve, and Graph C is a vertical straight line

Tap the graph that is a straight, nonvertical line

A

Graph A

B

Graph B

C

Graph C

Practice: classify a straight line falling through (0, 3) and (3, 0), a U-shaped curve with its lowest point at (2, 0), and a vertical line at x = 4 as a linear function, a function that is not linear, or not a function

The falling straight line is a linear function: each x has one y, and the line is nonvertical. The U-shaped curve is a function but is not linear because it bends. The vertical line x = 4 is not a function because one input has many outputs

Constant Change in Tables

To test the ordered pairs in these examples, arrange them in an x-y table and subtract consecutive values in each column. When equal changes in x correspond to equal changes in y, the rate of change, change in y divided by change in x, is constant. Check every gap, not just the first one

Constant Change in Tables: +2 +2 +2 +2
Constant Change in Tables: −1 −1 −1 −1

Example: a constant rate

Test the set {(1, 7), (3, 6), (5, 5), (7, 4), (9, 3)}

xyChange in x from previous rowChange in y from previous row
17——
36+2-1
55+2-1
74+2-1
93+2-1

The first differences are 3 - 1 = 2 and 6 - 7 = -1. Every later gap also has a change of +2 in x and -1 in y. The rate is therefore -1/2 throughout, so these points satisfy a linear function

Constant Change in Tables: x y 1 7 3 6 5 5 7 4 9 3

Nonexample: the pattern breaks

Now test {(-4, 9), (-2, 8), (0, 7), (2, 4), (4, 0)}

xyChange in x from previous rowChange in y from previous row
-49——
-28+2-1
07+2-1
24+2-3
40+2-4

The x-changes are all +2, beginning with -2 - (-4) = 2. The y-changes begin with 8 - 9 = -1 and 7 - 8 = -1, but the remaining gaps are 4 - 7 = -3 and 0 - 4 = -4. Equal x-changes do not have equal y-changes, so this set does not satisfy a linear function

Constant Change in Tables: x y −4 9 −2 8 0 7 2 4 4 0
Constant Change in Tables: −1 −1
Constant Change in Tables: −3 −4

Practice: use consecutive differences to complete the statement about {(0, 2), (2, 7), (4, 12), (6, 17)}: each step, x changes by ___ and y changes by ___, so the set ___ a linear function. The original choices are a constant +2, a constant +4, a constant +5, a non-constant amount, satisfies, and does not satisfy

Answer: x changes by a constant +2, since 2 - 0 = 4 - 2 = 6 - 4 = 2. The y-values change by a constant +5, since 7 - 2 = 12 - 7 = 17 - 12 = 5. The set satisfies a linear function

The Standard Form Test

An equation represents a linear function of x if it can be written in standard form Ax + By = C, where A, B, and C are real numbers and B is nonzero. It does not have to begin in standard form; it only needs to be rewritable into that form

For example, y = x + 2 rewrites as -x + y = 2, so it is linear. A may be negative or any other real number, but B must be nonzero for this standard-form equation to define y as a function of x

In standard form, variable terms have exponent 1; x and y are not multiplied together; and variables do not occur in denominators, exponents, or under radical signs. The equation y = x^3 fails because x^3 cannot become a plain x term by rearranging. The equation xy = 8 fails because x and y are multiplied together

Worked example: y = 2x - 3

Decide whether y = 2x - 3 is a linear function by rewriting it as Ax + By = C. Subtract 2x from both sides: y - 2x = (2x - 3) - 2x. Simplifying and ordering the terms gives -2x + y = -3

Matching -2x + y = -3 to Ax + By = C gives A = -2, B = 1, and C = -3. Because B is nonzero, the equation defines y as a function of x and is linear. The negative value of A is allowed

Practice: match y = 4 - x, xy = 8, and y = x^2 + 5 to the correct standard-form verdict and reason

The correct matches are: y = 4 - x is linear because it rewrites as x + y = 4; xy = 8 is not linear because x and y are multiplied together; and y = x^2 + 5 is not linear because x has an exponent of 2

From Table to Graph

Once an equation is known to be linear, build a table of three points, plot them, and draw the line through them. Using three points provides a check: if one point was calculated incorrectly, it may not line up with the others

To graph y = 2x - 3, choose x = -1, 0, and 1. Substitute each input into the equation

xy = 2x - 3(x, y)
-12(-1) - 3 = -5(-1, -5)
02(0) - 3 = -3(0, -3)
12(1) - 3 = -1(1, -1)

Plot (-1, -5), (0, -3), and (1, -1). The three points lie on one straight line. Draw that line through all three, extending it in both directions with arrowheads to show that the unrestricted line continues indefinitely

From Table to Graph: -6 -4 -2 2 4 6 6 4 2 -2 -4 -6 0 x y (-1, -5) (0, -3) (1, -1)

Practice: complete the table for y = 3x - 2 when x = -1, 0, and 2. The original answer choices are -5, -2, 4, 1, 5, and -1

The completed values are y = -5 when x = -1, since 3(-1) - 2 = -3 - 2 = -5; y = -2 when x = 0, since 3(0) - 2 = -2; and y = 4 when x = 2, since 3(2) - 2 = 6 - 2 = 4. These give the points (-1, -5), (0, -2), and (2, 4)

Real-World Domain and Range

Return to Maya's booth. She pays $4.50 for each bracelet sold, so her daily fee is f(x) = 4.50x, where x is the number of bracelets. What are the fees for 0 through 4 bracelets?

Bracelets sold, xDaily fee, f(x) = 4.50x
0f(0) = 4.50(0) = $0
1f(1) = 4.50(1) = $4.50
2f(2) = 4.50(2) = $9.00
3f(3) = 4.50(3) = $13.50
4f(4) = 4.50(4) = $18.00

Every additional bracelet adds $4.50 to the fee, so the rate is constant. However, can x be 2.5 or -3? Neither is an allowed bracelet count: Maya cannot sell half a bracelet or a negative number of bracelets

The domain is the set of allowed inputs. Here, x must be a whole number with x ≥ 0, so the domain is $$\{0, 1, 2, 3, ...\}$$. The range is the set of outputs: {$0, $4.50, $9, $13.50, $18, ...}. Each allowed input produces a fee, and the fees increase by $4.50 at each step

With bracelets sold on the horizontal axis and booth fee in dollars on the vertical axis, the first five solution points are (0, 0), (1, 4.50), (2, 9), (3, 13.50), and (4, 18). The graph consists of separate points and is called discrete. A straight line through the points shows the trend, but points on that line at fractional or negative bracelet counts are not solutions to the real-world problem

Real-World Domain and Range: Booth Fee ($) 0 1 2 3 4 5 x (bracelets sold) 0 4 8 12 16 20 discrete graph: separate points

A dog walker earns f(x) = 8x dollars for walking x dogs in a day. Which statement best describes the graph of this function?

A

A solid line where every point, even x = 1.5, is a real solution

B

Separate points at whole-number x-values; a line through them only shows the trend

C

Points at every x-value, including negative numbers of dogs

Summary

Graph test: first check that every input has exactly one output. Then check that the graph is a straight, nonvertical line. A vertical line is straight but is not a function

Pairs test: for equally spaced x-values, check that every corresponding y-change is constant. This gives a constant rate of change. Check both columns and every gap

Equation test: rewrite the equation as Ax + By = C with real coefficients and B nonzero. Standard form uses first-power variable terms, with no xy product and no variables in denominators, exponents, or radicals

Graphing: calculate a table of three points, plot them, and check that they line up. Draw the unrestricted line through them with arrowheads at both ends

Real-world restrictions: domain means allowed inputs, and range means resulting outputs. Counting objects restricts the inputs to non-negative whole numbers in these examples, producing discrete solution points. A line through those points shows the trend only

Quiz

Which equation does NOT represent a linear function?

A

y = -2x + 7

B

3x - y = 6

C

y = x^2 + 1

D

x + 4y = 0

Does the set {(1, 10), (4, 8), (7, 6), (10, 3)} satisfy a linear function?

A

Yes - the x-values change by a constant +3

B

Yes - the first two y-changes are both -2

C

No - the y-changes are -2, -2, -3, which is not constant

A school club collects f(x) = 3.50x dollars when x raffle tickets are sold in a day. Which statement gives the domain and range?

A

Domain: all real numbers; Range: all real numbers

B

Domain = $$\{0, 1, 2, 3, ...\}$$; Range = {$0, $3.50, $7, $10.50, ...}

C

Domain = {$0, $3.50, $7, ...}; Range = $$\{0, 1, 2, 3, ...\}$$

Continue with the interactive lesson