MathBored

Virginia SOL Mathematics Textbook

Workbook pagesAnswer key

Chapter 4 — Functions, Domain, and Range

Standard: A.F.2 (a)

A.F.2 — verbatim. The student will investigate, analyze, and compare characteristics of functions, including quadratic, and exponential functions, and model quadratic and exponential relationships. Students will demonstrate the following Knowledge and Skills: a) Determine whether a relation, represented by a set of ordered pairs, a table, a mapping, or a graph is a function; for relations that are functions, determine the domain and range.

By the end of this chapter you will be able to:

Lessons: 4.1 Relations and Their Four Representations · 4.2 Deciding Whether a Relation Is a Function · 4.3 Graphs and the Vertical Line Test · 4.4 Domain and Range

Why this chapter comes first among the function chapters. Every later chapter of this volume — linear functions, quadratic functions, exponential functions, systems — reasons in the vocabulary fixed here. When Chapter 16 says "the range of this quadratic is all real numbers greater than or equal to 4-4," it is using the word range exactly as this chapter defines it.

Scope note. This chapter stops where A.F.2a stops: deciding whether a relation is a function, and stating the domain and range when it is. Function notation f(x)f(x) is introduced here only as a name — the name of a rule, and the name of the output that rule produces at an input. Actually computing f(x)f(x) for a linear rule is Chapter 7; doing it for quadratic and exponential rules is Chapters 16 and 17.

Conventions this chapter fixes.

  • A domain or a range for a relation with finitely many pairs is written inside braces, with each value listed once and in increasing order: {4,1,2,4}\{-4, -1, 2, 4\}.
  • When a graph is an unbroken curve, the domain and range are described in words — "all real numbers," or "all real numbers greater than 1-1 and up to and including 44." This volume does not require interval notation, and this chapter does not use it. If your teacher introduces it, [2,3)[-2, 3) means the same thing as "all real numbers from 2-2 up to but not including 33."
  • Item numbering runs straight through the chapter, from 1 in Lesson 4.1 to 116 at the end of the review. It does not restart at each lesson.

Lesson 4.1 — Relations and Their Four Representations

What a relation is

A relation is any set of ordered pairs. That is the entire definition. The pairs do not have to follow a pattern, do not have to come from a formula, and do not have to behave well.

In an ordered pair (x,y)(x, y), the first number is the input — also called the xx-coordinate, the independent value, or the argument — and the second number is the output, also called the yy-coordinate or the dependent value. The word ordered is doing real work: (3,8)(3, 8) and (8,3)(8, 3) are different pairs, because they name different inputs.

You met relations in Grade 8. What Algebra 1 adds is a fourth way of writing one down, and permission to work with relations whose graphs are unbroken curves rather than a handful of dots.

The four representations

A.F.2a names exactly four ways a relation can arrive on the page, and you must be able to work in all four.

One relation written as a set of ordered pairs, as a table, as a mapping, and as a graph

Nothing was added or lost between those four panels. They are four ways of writing the same four facts.

Moving between the representations

The one place this goes wrong is order. A table with xx-values 22 and 55 and yy-values 77 and 99 is the relation {(2,7),(5,9)}\{(2,7),(5,9)\} — never {(7,2),(9,5)}\{(7,2),(9,5)\}.

Discrete graphs and continuous graphs

Grade 8 kept every graph to a small number of separate dots. Algebra 1 does not.

A discrete graph is a set of separated points. It states a fact at each plotted input and says nothing at all in between. A continuous graph is an unbroken curve or line; every input in the stretch it covers has a point above or below it.

A discrete graph of four points beside the continuous graph of a line

Both pictures are graphs of relations, and every tool in this chapter applies to both. What changes is only how you describe the domain and the range at the end, which is Lesson 4.4's problem.

The choice between them is usually made by the situation. Tickets sold, students enrolled, and bracelets bought are counted in whole numbers, so their graphs are dots. Distance traveled, temperature, and elapsed time vary smoothly, so their graphs are curves.

Worked examples

Example 1 — A set as a table

Write {(0,6),(2,5),(4,4)}\{(0,6),(2,5),(4,4)\} as a table.

Each pair becomes a row, input on the left.

Answer:

xx yy
00 66
22 55
44 44

Example 2 — A table as a set

A table lists xx-values 1,0,3-1, 0, 3 with yy-values 2,2,42, 2, -4. Write the relation as a set of ordered pairs.

Read across each row: 1-1 pairs with 22, then 00 with 22, then 33 with 4-4.

Answer: {(1,2),(0,2),(3,4)}\{(-1,2),(0,2),(3,-4)\}

Example 3 — A set as a mapping

Describe the mapping of {(2,5),(3,5),(6,1)}\{(2,5),(3,5),(6,1)\}: what goes in each box, and how many arrows are drawn?

The distinct inputs are 22, 33, and 66; the distinct outputs are 11 and 55. The output 55 is used twice but is written once in the box.

Answer: The left box holds 22, 33, 66 and the right box holds 11, 55. Three arrows are drawn: 252 \rightarrow 5, 353 \rightarrow 5, and 616 \rightarrow 1.

Example 4 — A relation from a rule

Each output is three less than twice its input, and the inputs are 1-1, 00, 22, 55. Write the relation as a set of ordered pairs.

Apply 2x32x - 3 to each input: 2(1)3=52(-1) - 3 = -5, 2(0)3=32(0) - 3 = -3, 2(2)3=12(2) - 3 = 1, 2(5)3=72(5) - 3 = 7.

Answer: {(1,5),(0,3),(2,1),(5,7)}\{(-1,-5),(0,-3),(2,1),(5,7)\}

Example 5 — A relation from a situation

A craft booth rents for $6\$6 per hour. Write the relation for renting 11, 22, 33, or 44 hours, and say what the input and the output represent.

Multiply each hour count by 66.

Answer: {(1,6),(2,12),(3,18),(4,24)}\{(1,6),(2,12),(3,18),(4,24)\}. The input is the number of hours rented; the output is the cost in dollars. The pair (3,18)(3,18) says three hours cost $18\$18.

Guided practice

  1. Write {(3,4),(0,1),(2,5)}\{(-3,4),(0,1),(2,-5)\} as a table.
  2. A table lists xx-values 2,1,4,7-2, 1, 4, 7 with yy-values 0,3,6,90, 3, 6, 9. Write the relation as a set of ordered pairs.
  3. In the ordered pair (6,11)(-6, 11), name the input and the output.
  4. List the ordered pairs of Mapping M in the figure below as a set.
  5. Name the four representations of a relation that this standard requires.
  6. In one sentence each, say what a discrete graph is and what a continuous graph is.

Three mapping diagrams labeled M, N, and P

Independent practice

  1. Write each table as a set of ordered pairs. a) xx-values 5,1,3-5, -1, 3 with yy-values 2,2,82, 2, 8 b) xx-values 0,0,40, 0, 4 with yy-values 1,6,11, 6, 1
  2. Write {(4,4),(2,0),(1,3),(5,1)}\{(-4,-4),(-2,0),(1,3),(5,-1)\} as a table.
  3. List, as a set of ordered pairs, the four points on the discrete graph in the figure above showing a discrete graph beside a continuous one.
  4. Describe the mapping of {(2,5),(3,5),(6,1)}\{(2,5),(3,5),(6,1)\}: which values go in the left box, which in the right box, and how many arrows are drawn?
  5. Each output is three less than twice its input, and the inputs are 1-1, 00, 22, 55. Write the relation as a set of ordered pairs.
  6. Write the relation from item 11 as a table.
  7. Reasoning. Which of the four representations makes a repeated input easiest to spot, and which makes it easiest to miss? Explain your choice.
  8. Application. A craft booth rents for $6\$6 per hour. Write the relation for 11, 22, 33, and 44 hours as a set of ordered pairs, and state what the input and output represent.
  9. Error analysis. A table lists xx-values 33 and 88 with yy-values 1-1 and 55. A student writes the relation as {(1,3),(5,8)}\{(-1,3),(5,8)\}. Identify the error and write the relation correctly.
  10. Reasoning. The sets {(1,2),(2,1)}\{(1,2),(2,1)\} and {(2,1),(1,2)}\{(2,1),(1,2)\} are the same relation, but (1,2)(1,2) and (2,1)(2,1) are different ordered pairs. Explain why both statements are true.

Exit ticket 4.1

  1. Write {(2,7),(0,7),(5,3)}\{(-2,7),(0,7),(5,-3)\} as a table.
  2. A table lists xx-values 1,2,31, 2, 3 with yy-values 4,8,12-4, -8, -12. Write the relation as a set of ordered pairs.
  3. In the ordered pair (9,2)(9, -2), name the input and the output.
  4. Name the four representations A.F.2a lists, and give one sentence on how you would read a relation out of each.

Lesson 4.2 — Deciding Whether a Relation Is a Function

The definition

A function is a relation in which each input is paired with exactly one output.

Read that sentence slowly, because nearly every mistake in this chapter comes from reading it loosely.

So there is exactly one way for a relation to fail: some input shows up with two different outputs. That single failure is the only thing you are hunting for, in every representation.

A useful test question: point at an input and ask, "what is the output here?" If the relation ever answers with two different numbers, it is not a function.

In a set of ordered pairs

Scan the first coordinates. If a value appears more than once, compare the second coordinates beside those appearances.

{(3,2),(0,5),(4,9)}\{(-3,2),(0,5),(4,9)\} — the inputs 3-3, 00, 44 are all different, so no input can possibly have two outputs. It is a function.

{(1,6),(1,9),(4,2)}\{(1,6),(1,9),(4,2)\} — the input 11 appears with 66 and with 99. Ask "what is the output at 11?" and you get two answers. It is not a function.

In a table

The inputs are a column, so scan that column for a repeat and then compare the outputs beside it.

xx yy
4-4 66 ← input 4-4, output 66
2-2 66
4-4 99 ← input 4-4 again, output 99
11 00

The input 4-4 has outputs 66 and 99, two different values, so this table is not a function. Note that the rows are in no particular order, which is precisely why the repeated input can hide two rows apart.

In a mapping

A mapping makes the definition visible, because "exactly one output" becomes exactly one arrow leaving each input.

Two mappings: one where each input has a single arrow, and one where an input has two arrows

On the left, three arrows leave three different inputs. Every input has exactly one arrow leaving it, so the relation is a function.

On the right, two arrows leave the input 22 — one to 55 and one to 99. The relation gives two answers to one question. It is not a function.

The rule for reading a mapping: count the arrows that LEAVE each input, never the arrows that ARRIVE at an output.

Trap 1 — a repeated output is completely fine

Consider {(2,7),(5,7),(8,7)}\{(2,7),(5,7),(8,7)\}. The output 77 appears three times. Is that a problem?

No. Check the definition: input 22 has exactly one output, input 55 has exactly one output, input 88 has exactly one output. It is a function. Nothing in the definition limits how often an output may be reused.

In a mapping, this is the case where several arrows arrive at the same value.

A mapping in which two inputs send arrows to the same output

Two arrows arrive at 44, but only one arrow leaves each of 11, 22, and 33. This is a function. The situation is ordinary: two different students can have the same height, and two different inputs can produce the same output.

Trap 2 — a repeated input can still be fine

Here is the case students get wrong most often. Look at

{(1,3),(6,0),(1,3),(2,8)}\{(-1,3),(6,0),(-1,3),(2,8)\}

The input 1-1 appears twice. Does that break the rule?

No — because both times, the input 1-1 is paired with the output 33. Ask "what is the output at 1-1?" and the relation gives exactly one answer: 33. It is a function. Plotted, the two copies of (1,3)(-1,3) land on the same point, so the graph shows three points, not four.

Hold these two statements together:

The test is not "does an input repeat." The test is does any input have two different outputs.

Naming a function: the notation f(x)f(x)

When a relation is a function, we usually give it a name. The name is a single letter — most often ff, sometimes gg or hh — and the notation looks like this:

f(x)f(x)

Read it aloud as "ff of xx." It is not multiplication. It carries two pieces of information at once:

So f(3)=10f(3) = 10 is a compact way to write the sentence "the function named ff pairs the input 33 with the output 1010," which is the same fact as the ordered pair (3,10)(3, 10). In the same way, a function given by {(0,0),(1,1),(4,2),(9,3)}\{(0,0),(1,1),(4,2),(9,3)\} satisfies f(4)=2f(4) = 2, because the pair (4,2)(4,2) is in it.

Two habits worth forming now:

This chapter uses f(x)f(x) only to name things. Computing f(x)f(x) from a linear rule such as f(x)=3x+5f(x) = 3x + 5 is the work of Chapter 7.

Worked examples

Example 1 — All inputs different

Is {(3,2),(0,5),(4,9)}\{(-3,2),(0,5),(4,9)\} a function?

The inputs 3-3, 00, 44 are all different, so no input can carry two outputs.

Answer: Yes, it is a function.

Example 2 — An input with two outputs

Is {(1,6),(1,9),(4,2)}\{(1,6),(1,9),(4,2)\} a function?

The input 11 is paired with 66 and also with 99.

Answer: No. The input 11 has two different outputs.

Example 3 — A repeated output

Is {(2,7),(5,7),(8,7)}\{(2,7),(5,7),(8,7)\} a function?

Each of the inputs 22, 55, 88 appears once, so each has exactly one output. The repeated output 77 is irrelevant to the definition.

Answer: Yes, it is a function.

Example 4 — A repeated input with the same output

Is {(1,3),(6,0),(1,3),(2,8)}\{(-1,3),(6,0),(-1,3),(2,8)\} a function?

The input 1-1 appears twice, but its output is 33 both times, so the question "what is the output at 1-1?" has exactly one answer.

Answer: Yes, it is a function.

Example 5 — From a table

A table lists xx-values 4,2,4,1-4, -2, -4, 1 with yy-values 6,6,9,06, 6, 9, 0. Is it a function?

The input 4-4 fills two rows, once with 66 and once with 99.

Answer: No. The input 4-4 has two different outputs, 66 and 99. (The repeated output 66 at x=4x = -4 and x=2x = -2 is not the problem.)

Guided practice

  1. Is {(3,2),(0,5),(4,9)}\{(-3,2),(0,5),(4,9)\} a function? Explain in one sentence.
  2. Is {(1,6),(1,9),(4,2)}\{(1,6),(1,9),(4,2)\} a function? Explain in one sentence.
  3. Is {(2,7),(5,7),(8,7)}\{(2,7),(5,7),(8,7)\} a function? Explain in one sentence.
  4. Is {(1,3),(6,0),(1,3),(2,8)}\{(-1,3),(6,0),(-1,3),(2,8)\} a function? Explain in one sentence.
  5. In the figure of two mappings above, which one is a function? Say what you counted.
  6. In the figure showing two inputs sending arrows to the same output, is the relation a function? Explain using the words leave and arrive.

Independent practice

  1. Decide whether each relation is a function, and give the reason. a) {(5,1),(3,1),(0,1),(4,1)}\{(-5,1),(-3,1),(0,1),(4,1)\} b) {(6,2),(7,3),(6,8)}\{(6,2),(7,3),(6,8)\} c) {(0,0),(1,1),(4,2),(9,3)}\{(0,0),(1,1),(4,2),(9,3)\} d) {(2,5),(2,5),(3,1)}\{(-2,5),(-2,5),(3,1)\}
  2. A table lists xx-values 2,4,6,8,102, 4, 6, 8, 10 with yy-values 15,12,9,12,1515, 12, 9, 12, 15. Is the relation a function? Explain.
  3. A table lists xx-values 4,2,4,1-4, -2, -4, 1 with yy-values 6,6,9,06, 6, 9, 0. Is the relation a function? Explain.
  4. A table lists xx-values 5,5,55, 5, 5 with yy-values 2,2,22, 2, 2. Is the relation a function? Explain.
  5. Use the figure of Mappings M, N, and P. Which are functions? For each one that is not, name the input that breaks the rule and give its two outputs.
  6. A relation is written with 66 ordered pairs, but only 44 different inputs appear. Can it still be a function? Explain what would have to be true.
  7. Reasoning. Explain why a repeated output never breaks the function rule but a repeated input sometimes does. Give one example of each.
  8. Application. A school assigns lockers. The relation {(214,5),(215,9),(216,5)}\{(214,5),(215,9),(216,5)\} pairs a student ID with a locker number. Is it a function? Explain what the pair (216,5)(216,5) says, and explain why the school would have a problem if the relation contained both (214,5)(214,5) and (214,9)(214,9).
  9. Error analysis. A student says {(3,8),(5,8),(9,8)}\{(3,8),(5,8),(9,8)\} is not a function "because 88 repeats." Explain what the student confused, and give the correct verdict.
  10. Reasoning. The relation {(0,0),(1,1),(4,2),(9,3)}\{(0,0),(1,1),(4,2),(9,3)\} is a function, and we name it ff. Explain what the statement f(4)=2f(4) = 2 says, and explain why the relation {(1,6),(1,9)}\{(1,6),(1,9)\} could not be named this way.

Exit ticket 4.2

  1. Is {(7,1),(8,2),(9,3)}\{(7,1),(8,2),(9,3)\} a function? Explain.
  2. Is {(0,5),(2,6),(0,9)}\{(0,5),(2,6),(0,9)\} a function? Explain.
  3. Is {(4,2),(4,2),(6,2)}\{(-4,2),(-4,2),(6,2)\} a function? Explain.
  4. Explain what the two parts of the notation f(x)f(x) name, and why only a function can be written this way.

Lesson 4.3 — Graphs and the Vertical Line Test

Why a graph needs its own test

In a set, a table, or a mapping, you find a repeated input by reading. On a graph there is nothing to read — but there is something to see, because every point with the same input sits on the same vertical line.

The vertical line test. If any vertical line passes through two or more points of the graph, the relation is not a function. If every vertical line passes through at most one point of the graph, the relation is a function.

That is not a separate rule. It is the definition in picture form: two points on one vertical line share an xx-coordinate — one input — and differ in their yy-coordinate — two outputs.

The test on an unbroken curve

A line that passes the vertical line test beside a circle that fails it

On the left is the line y=0.5x+1y = 0.5x + 1. Slide a vertical line anywhere across the picture and it crosses the line exactly once. Every input has exactly one output, so this graph is a function.

On the right is a circle of radius 44 centered at the origin. The vertical line x=2x = 2 crosses it twice, at about (2,3.46)(2, 3.46) and about (2,3.46)(2, -3.46). The input 22 has two different outputs, so the circle is not the graph of a function. Every vertical line strictly between x=4x = -4 and x=4x = 4 does the same thing; one such line is enough to settle it.

You only need one offending vertical line to prove a relation is not a function. To prove that it is one, you have to be satisfied that no vertical line ever hits twice, which is a claim about the whole picture.

The test on a discrete graph

The test reads exactly the same way when the graph is a set of separate points: a vertical line through two of the plotted points is the picture of one input with two outputs.

Four graphs labeled A, B, C, and D

Two special lines

A horizontal line such as y=4y = 4 is a function. Every vertical line crosses it exactly once. Every input has the single output 44, and reusing an output is allowed.

A vertical line such as x=3x = -3 is not a function. The single vertical line x=3x = -3 lies on top of the entire graph, so the input 3-3 has infinitely many outputs — and every other input has none.

These two are worth memorizing as a pair, because they are the fastest check that you have the definition pointing in the right direction.

Worked examples

Example 1 — A discrete graph that passes

A graph shows the points (5,4)(-5,4), (2,1)(-2,1), (0,1)(0,1), (3,6)(3,-6). Is the relation a function?

The inputs 5-5, 2-2, 00, 33 are all different, so no vertical line meets two points. The repeated output 11 is allowed.

Answer: Yes, it is a function.

Example 2 — A discrete graph that fails

A graph shows the points (1,2)(1,2), (1,2)(1,-2), (4,0)(4,0). Is the relation a function?

The points (1,2)(1,2) and (1,2)(1,-2) share the input 11.

Answer: No. The vertical line x=1x = 1 passes through (1,2)(1,2) and (1,2)(1,-2).

Example 3 — A circle

Explain why the circle of radius 33 centered at the origin is not the graph of a function, and name a vertical line that proves it.

A vertical line strictly inside the circle enters and leaves it, crossing twice.

Answer: Not a function. The line x=0x = 0 passes through (0,3)(0,3) and (0,3)(0,-3), so the input 00 has two different outputs.

Example 4 — A vertical line

Is the graph of x=3x = -3 a function?

Every point of that graph has the input 3-3, and there are infinitely many of them.

Answer: No. The vertical line x=3x = -3 lies along the entire graph, so the input 3-3 is paired with every possible output.

Example 5 — A horizontal line

Is the graph of y=4y = 4 a function?

A vertical line drawn anywhere crosses y=4y = 4 at exactly one point.

Answer: Yes. Every input has the single output 44; a repeated output never breaks the rule.

Guided practice

  1. In the vertical-line-test figure above, is the graph on the left a function? Name the test you used.
  2. In the same figure, is the circle on the right a function? Name a vertical line that proves your answer, and give the two points it passes through.
  3. Is Graph A in the four-graph figure a function? List its ordered pairs.
  4. Is Graph B a function? If not, name the vertical line that proves it.
  5. Is Graph C a function? Explain in one sentence.
  6. Is Graph D a function? If not, name a vertical line that proves it.

Independent practice

  1. A graph shows the points (5,4)(-5,4), (2,1)(-2,1), (0,1)(0,1), (3,6)(3,-6). Is the relation a function? Explain.
  2. A graph shows the points (1,2)(1,2), (1,2)(1,-2), (4,0)(4,0). Is the relation a function? If not, name the vertical line that proves it.
  3. Is the graph of the vertical line x=3x = -3 a function? Explain.
  4. Is the graph of the horizontal line y=4y = 4 a function? Explain.
  5. Reasoning. Explain why the vertical line test works, in terms of the definition of a function. Your explanation should mention what two points on one vertical line have in common.
  6. Which of these graphs fail the vertical line test: an unbroken slanted line, a circle, a horizontal line, a vertical line? For each failure, name one vertical line that proves it.
  7. Application. Use the ticket-cost figure in Lesson 4.4. Is that relation a function? Explain what a "no" answer would have meant for a customer buying tickets.
  8. Error analysis. A student says the horizontal line y=4y = 4 is not a function "because every input gives the same output, so the outputs repeat." Identify the error and give the correct verdict.
  9. Reasoning. A graph passes the vertical line test. Can two of its points still share the same yy-coordinate? Explain, and sketch or describe an example.
  10. Application. A weather station records the outdoor temperature once every minute for an hour and plots the readings against the time. Explain why the resulting graph must pass the vertical line test.

Exit ticket 4.3

  1. A graph shows the points (0,3)(0,3), (2,5)(2,5), (0,1)(0,-1). Is the relation a function? If not, name the vertical line that proves it.
  2. State the vertical line test, and say exactly what it detects.
  3. Is the unbroken line y=x1y = x - 1 in the discrete-and-continuous figure the graph of a function? Explain.
  4. Explain in one or two sentences why a circle can never be the graph of a function.

Lesson 4.4 — Domain and Range

The two sets

Every relation carries two sets of numbers with it.

The domain is the set of all inputs — all the xx-values.

The range is the set of all outputs — all the yy-values.

A.F.2a asks for the domain and range of relations that are functions, so the habit to build is: settle the function question first, then report the two sets. (The two sets can be listed for any relation, and a few items below ask you to do that on purpose, but the standard's target is the function case.)

Two conventions apply every time you write one of these sets for a relation with finitely many pairs.

From a set of ordered pairs, a table, or a mapping

Take the first coordinates for the domain and the second coordinates for the range, then drop repeats and sort.

For {(3,4),(1,0),(6,4)}\{(-3,4),(1,0),(6,4)\}: first coordinates 3,1,6-3, 1, 6 give domain {3,1,6}\{-3,1,6\}; second coordinates 4,0,44, 0, 4 give range {0,4}\{0,4\}, with the 44 listed once.

A table works the same way, one column at a time. A mapping is even quicker: the left box, sorted, is the domain, and the right box, sorted, is the range — the boxes already dropped the repeats for you when you drew them.

From a discrete graph

Read the domain by traveling across — the xx-coordinate of every point. Read the range by traveling up and down — the yy-coordinate of every point.

A discrete graph with the domain marked on the x-axis and the range marked on the y-axis

The four points are (4,1)(-4,1), (1,3)(-1,3), (2,2)(2,-2), and (4,3)(4,3).

From a continuous graph

A curve has infinitely many points, so its domain and range cannot be listed. They are described in words instead, and the description has to account for two things: where the graph starts and stops, and whether the endpoints are included.

A full line and a segment with one closed endpoint and one open endpoint

On the left is y=2x1y = 2x - 1, drawn with arrows on both ends to say it never stops. Every real number is an input, and every real number occurs as an output.

On the right is a segment from (2,4)(-2,4) to (3,1)(3,-1). The endpoint at (2,4)(-2,4) is a filled-in point, which means 2-2 is an input. The endpoint at (3,1)(3,-1) is an open point — a small hollow circle — which means the graph approaches 33 but 33 is not an input.

Notice how the range flipped the roles of the two endpoints. This line falls from left to right, so the included input 2-2 produces the included output 44, and the excluded input 33 would have produced the excluded output 1-1. Always trace the endpoints through to their outputs rather than copying the inclusion from the domain.

If you have seen interval notation, those two answers are written [2,3)[-2, 3) and (1,4](-1, 4]: a square bracket includes the endpoint and a parenthesis excludes it. This volume does not require it, and every answer key here gives the description in words.

A counting fact worth knowing

Because a function pairs each input with exactly one output, the range of a function with finitely many pairs can never contain more values than the domain. Each input contributes one output, so there can be at most as many outputs as inputs.

The range can certainly contain fewer. In {(0,5),(3,5),(9,5)}\{(0,-5),(3,-5),(9,-5)\} the domain has three values and the range has one. Nothing is wrong: three inputs share an output, which the definition allows.

Domain in context

When a function comes from a real situation, the situation itself can cut the domain down. A ticket count cannot be 2.52.5 or 3-3, so the domain of a ticket-cost function is a list of whole numbers, and the graph is dots.

Cost of one through six concert tickets, graphed as six discrete points

Concert tickets cost $8\$8 each, and a customer may buy up to six.

The pair (4,32)(4,32) says four tickets cost $32\$32. If the function is named cc, the same fact is written c(4)=32c(4) = 32.

Worked examples

Example 1 — From a set

Give the domain and range of {(3,4),(1,0),(6,4)}\{(-3,4),(1,0),(6,4)\}.

First coordinates 3,1,6-3, 1, 6; second coordinates 4,0,44, 0, 4, and the 44 is written once.

Answer: domain {3,1,6}\{-3,1,6\}; range {0,4}\{0,4\}

Example 2 — A repeated ordered pair

Give the domain and range of {(2,9),(2,9),(5,1)}\{(2,9),(2,9),(5,-1)\}.

The pair (2,9)(2,9) is listed twice, so neither 22 nor 99 is written twice. (It is a function: the input 22 has the single output 99.)

Answer: domain {2,5}\{2,5\}; range {1,9}\{-1,9\}

Example 3 — From a table

A table lists xx-values 6,2,0,3-6, -2, 0, 3 with yy-values 5,5,4,75, 5, -4, 7. Give the domain and range.

The output 55 fills two rows and is listed once; both sets are sorted.

Answer: domain {6,2,0,3}\{-6,-2,0,3\}; range {4,5,7}\{-4,5,7\}

Example 4 — From a mapping

Mapping M sends 121 \rightarrow 2, 424 \rightarrow 2, and 727 \rightarrow 2. Give the domain and range.

The left box holds 11, 44, 77; the right box holds only 22.

Answer: domain {1,4,7}\{1,4,7\}; range {2}\{2\}

Example 5 — From a continuous graph

Give the domain and range of the line y=2x1y = 2x - 1, drawn with arrows on both ends.

The line never stops in either direction, and it is slanted, so it eventually reaches every height.

Answer: domain: all real numbers; range: all real numbers

Guided practice

  1. Give the domain and range of {(3,4),(1,0),(6,4)}\{(-3,4),(1,0),(6,4)\}.
  2. Give the domain and range of {(2,9),(2,9),(5,1)}\{(2,9),(2,9),(5,-1)\}.
  3. A table lists xx-values 6,2,0,3-6, -2, 0, 3 with yy-values 5,5,4,75, 5, -4, 7. Give the domain and range.
  4. Give the domain and range of Mapping M in the three-mapping figure.
  5. Give the domain and range of the discrete graph in the domain-and-range figure above.
  6. Give the domain and range of the line y=2x1y = 2x - 1 shown in the continuous domain-and-range figure.

Independent practice

  1. Give the domain and range of each relation. a) {(7,3),(4,0),(2,8),(5,6)}\{(-7,3),(-4,0),(2,8),(5,-6)\} b) {(0,5),(3,5),(9,5)}\{(0,-5),(3,-5),(9,-5)\} c) {(4,1),(4,1),(2,7),(6,7)}\{(4,1),(4,1),(-2,7),(6,7)\} d) {(10,2),(8,4),(6,6),(4,8)}\{(10,2),(8,4),(6,6),(4,8)\}
  2. A table lists xx-values 12,9,6,312, 9, 6, 3 with yy-values 1.5,1,0.5,01.5, 1, 0.5, 0. Give the domain and range.
  3. Give the domain and range of Mapping N. (It is not a function, but both sets can still be listed.)
  4. Give the domain and range of Mapping P.
  5. Give the domain and range of Graph A in the four-graph figure.
  6. Give the domain and range of Graph B. (It is not a function; list both sets anyway.)
  7. Give the domain and range of Graph C, the line y=x+2y = -x + 2.
  8. Give the domain and range of the segment in the continuous domain-and-range figure, the one with a filled-in endpoint at (2,4)(-2,4) and an open endpoint at (3,1)(3,-1).
  9. Application. Use the ticket-cost figure. List the ordered pairs, decide whether the relation is a function, give the domain and range, and say what (4,32)(4,32) means.
  10. Application. A café sells muffins for $2.25\$2.25 each, and a customer may buy at most four. Write the relation as a set of ordered pairs, decide whether it is a function, and give the domain and range. Explain why the domain is not "all real numbers from 11 to 44."
  11. Reasoning. Can the range of a function with finitely many pairs contain more values than its domain? Explain.
  12. Error analysis. A student gives the domain of {(5,2),(1,8)}\{(5,2),(1,8)\} as {2,8}\{2,8\}. Identify the error, and give the correct domain and range.

Exit ticket 4.4

  1. Give the domain and range of {(8,3),(0,3),(4,2),(4,2)}\{(-8,3),(0,3),(4,-2),(4,-2)\}, and say whether it is a function.
  2. A table lists xx-values 1,3,51, 3, 5 with yy-values 2,2,6-2, -2, 6. Give the domain and range.
  3. Give the domain and range of the discrete graph in the domain-and-range figure.
  4. Explain how reading the domain off a discrete graph differs from reading it off an unbroken line.

Chapter 4 Review

Vocabulary. relation · ordered pair · input · output · set of ordered pairs · table · mapping · graph · discrete · continuous · function · vertical line test · function notation f(x)f(x) · domain · range

A.F.2a is a single bullet that spans four representations, so this review is organized by representation. Parts A through D each ask the same two questions — is it a function, and what are the domain and range — of a different way of writing a relation down.

Part A — Relations given as a set of ordered pairs

  1. Is {(1,4),(2,8),(3,12)}\{(1,4),(2,8),(3,12)\} a function? Give the domain and range.
  2. Is {(2,6),(2,6),(5,0)}\{(-2,6),(-2,-6),(5,0)\} a function? Give the domain and range.
  3. Is {(0,7),(4,7),(9,7)}\{(0,7),(4,7),(9,7)\} a function? Give the domain and range.
  4. Is {(6,1),(6,1),(8,3)}\{(6,1),(6,1),(8,3)\} a function? Give the domain and range.
  5. Is {(1,1),(0,0),(1,1),(2,2)}\{(-1,-1),(0,0),(1,1),(2,2)\} a function? Give the domain and range.
  6. Is {(3,5),(4,5),(3,9)}\{(3,5),(4,5),(3,9)\} a function? Give the domain and range.
  7. Write a relation with four ordered pairs that is not a function. Then change exactly one number to make it a function, and explain why your change works.
  8. Reasoning. A relation is written with 88 ordered pairs, but only 55 different inputs appear. Can it be a function? Explain what would have to be true of the three extra listings.

Part B — Relations given as a table

  1. xx-values 2,4,6,82, 4, 6, 8 with yy-values 5,5,5,55, 5, 5, 5. Function? Give the domain and range.
  2. xx-values 3,1,3,2-3, -1, -3, 2 with yy-values 4,8,4,04, 8, 4, 0. Function? Give the domain and range.
  3. xx-values 0,1,2,10, 1, 2, 1 with yy-values 9,7,5,39, 7, 5, 3. Function? Give the domain and range.
  4. xx-values 10,20,30,4010, 20, 30, 40 with yy-values 2.5,5,7.5,102.5, 5, 7.5, 10. Function? Give the domain and range.
  5. Application. A table pairs hours worked with pay: xx-values 1,2,3,41, 2, 3, 4 with yy-values 15,30,45,6015, 30, 45, 60. Is it a function? Give the domain and range, and say what the pair (3,45)(3,45) means.
  6. Reasoning. Describe how to check a table for the function property in a single pass down the input column, and say what you must do whenever you meet a repeat.

Part C — Relations given as a mapping

  1. Is Mapping M a function? Give the domain and range.
  2. Is Mapping N a function? If not, name the input that breaks the rule and give its two outputs. Give the domain and range.
  3. Is Mapping P a function? Give the domain and range.
  4. Look again at the mapping in which two inputs send arrows to the same output. Is it a function? Explain the difference between an arrow that leaves an input and an arrow that arrives at an output.
  5. Describe a mapping with domain {2,0,3}\{-2,0,3\} and range {7}\{7\}: what is in each box, how many arrows are drawn, and is it a function?
  6. Reasoning. Explain how to decide the function question from a mapping at a glance, and say why counting the arrows arriving at an output tells you nothing about it.

Part D — Relations given as a graph

  1. Is Graph A a function? Give the domain and range.
  2. Is Graph B a function? Name the vertical line that proves your answer, and give the domain and range.
  3. Is Graph C a function? Give the domain and range.
  4. Is Graph D a function? Name a vertical line that proves your answer.
  5. In the vertical-line-test figure, explain why the line on the left is a function, referring to what every vertical line does.
  6. Give the domain and range of the segment with a filled-in endpoint at (2,4)(-2,4) and an open endpoint at (3,1)(3,-1), and explain what the open point changes.
  7. Application. Use the ticket-cost figure. Is it a function? Give the domain and range, and say what (6,48)(6,48) means.
  8. Reasoning. Explain why the vertical line test is not an extra rule but the definition of a function seen in a picture.

Part E — Mixed application and reasoning

  1. Application. A bike shop charges a $5\$5 deposit plus $4\$4 per hour. Write the relation for 11, 22, 33, and 44 hours as a set of ordered pairs, decide whether it is a function, give the domain and range, and say what (3,17)(3,17) means.
  2. Reasoning. Explain the two traps of this chapter in your own words: why a repeated output never breaks the function rule, and why a repeated input breaks it only sometimes.
  3. Error analysis. A student says {(2,3),(2,3)}\{(2,3),(2,3)\} is not a function because the input 22 appears twice. Explain the mistake and give the correct verdict, domain, and range.
  4. Reasoning. The same relation is handed to you once as a table and once as a graph. Explain why checking the input column for a repeat and applying the vertical line test must always reach the same verdict.
  5. Write a function with domain {1,2,3,4}\{1,2,3,4\} whose range contains exactly two values, and explain why your relation is a function.
  6. Application. The ticket-cost function is named cc, so that c(x)c(x) is the cost of xx tickets. Explain what c(5)=40c(5) = 40 says about the situation, naming what the 55 and the 4040 each represent.

Standards coverage check — Chapter 4

A.F.2a is a single bullet naming four representations and two tasks, so coverage is broken out by representation.

Knowledge and Skill Representation Where it is taught Where the function question is practiced Where domain and range are practiced
A.F.2a — determine whether a relation is a function; for relations that are functions, determine the domain and range Set of ordered pairs 4.1 (reading and writing a set), 4.2 (scanning first coordinates; both traps), 4.4 (both sets from a set) 21–24, 27, 33, 35, 36, 37–39; 89; Review Part A, 83–88, 90; 112, 113, 115 61, 62, 67, 77, 78, 79; Review Part A, 83–88; 111, 113, 115
A.F.2a Table 4.1 (set ↔ table), 4.2 (scanning the input column), 4.4 (both sets from a table) 28, 29, 30; Review Part B, 91–96 63, 68, 80; Review Part B, 91–95
A.F.2a Mapping 4.1 (building a mapping), 4.2 (arrows leaving vs. arriving), 4.4 (the two boxes are the two sets) 4, 10, 25, 26, 31; Review Part C, 97–102 64, 69, 70; Review Part C, 97–99, 101
A.F.2a Graph 4.1 (discrete vs. continuous), 4.3 (the vertical line test on both kinds; horizontal and vertical lines), 4.4 (both sets from a discrete graph and from a curve, including open and closed endpoints) 9, 41–60; Review Part D, 103–110 65, 66, 71–76, 81, 82; Review Part D, 103–105, 108, 109

Supporting items: 1–3, 5–8, 11–20 establish the four representations and the reading skill every part of the bullet depends on; 40 and 116 practice the notation f(x)f(x) as a name for a rule and its output; 114 asks students to reconcile two representations of the same relation.

Boundaries respected. No item asks for a quadratic or exponential function (A.F.2 b–g), and no item asks the student to compute f(x)f(x) from a symbolic rule, which is A.F.1g in Chapter 7 and A.F.2g in Chapters 16 and 17. Interval notation is defined once in Lesson 4.4 as an aside and never required in an answer.

Answer keys for every item in this chapter are in Appendix A.