Login
📚 Modeling, Functions, and Graphs
Chapters ▾

2.2 Some Basic Functions

In this section, we study the graphs of some important basic functions. Many functions fall into families or classes of similar functions, and recognizing the appropriate family for a given situation is an important part of modeling.

We begin by reviewing the absolute value.

Absolute Value

The absolute value is used to discuss problems involving distance. For example, consider the number line shown below. Starting at the origin, we travel in opposite directions to reach the two numbers 6 and 6 , but the distance we travel in each case is the same.

number line with absolute value illustrated

The distance from a number c to the origin is called the absolute value of c , denoted by | c | . Because distance is never negative, the absolute value of a number is always positive (or zero). Thus, | 6 | = 6 and | 6 | = 6 . In general, we define the absolute value of a number x as follows.

If | x | = x , what can you say about x ?

_____

x must be zero or negative if | x | = x .

If | x | = x , what can you say about x ?

  1. x must be zero.
  2. x must be negative.
  3. x must be zero or negative.
  4. This cannot happen for any value of x .

Absolute value bars act like grouping devices in the order of operations: You should complete any operations that appear inside absolute value bars before you compute the absolute value.

Simplify each expression.

  1. 12 3 | 6 | = _____
  2. 7 3 | 2 9 | = _____
  1. 6
  2. 28

Simplify each expression.

  1. 12 3 | 6 |
  2. 7 3 | 2 9 |
  1. 6
  2. 28

Examples of Models

Many situations can be modeled by a handful of simple functions. The following examples represent applications of eight useful functions.

The contractor for a new hotel is estimating the cost of the marble tile for a circular lobby. The cost is a function of the square of the diameter of the lobby.

The number of board-feet that can be cut from a Ponderosa pine is a function of the cube of the circumference of the tree at a standard height.

parabola
cubic

The manager of an appliance store must decide how many coffee-makers to order every quarter. The optimal order size is a function of the square root of the annual demand for coffeemakers.

Investors are deciding whether to support a windmill farm. The wind speed needed to generate a given amount of power is a function of the cube root of the power.

square root
cube root

The frequency of the note produced by a violin string is a function of the reciprocal of the length of the string.

The loudness, or intensity, of the music at a concert is a function of the reciprocal of the square of your distance from the speakers.

inverse
cube root

The annual return on an investment is a linear function of the interest rate.

You are flying from Los Angeles to New York. Your distance from the Mississippi River is an absolute value function of time.

linear
absolute value

We will consider each of these functions and their applications in more detail in later sections. For now, you should become familiar with the properties of each graph and be able to sketch them easily from memory.

Graphs of Eight Basic Functions

The graphs of the eight basic functions considered in Eight Basic Functions are shown below. Once you know the shape of each graph, you can sketch an accurate picture by plotting a few guidepoints and drawing the curve through those points. Usually, points (or vertical asymptotes!) at x = 1 , 0 , and 1 make good guidepoints.

parabola, cubic, square root
cube root, reciprocal, inverse square
line, absolute value

Which of the eight basic functions are undefined at x = 0 ? Which are undefined for negative x ? Which are always positive?

_____

Which of the eight basic functions are undefined at x = 0 ? Which are undefined for negative x ? Which are always positive?

Some Properties of Absolute Value

In Functions, we saw that for most functions, f ( a + b ) is not equal to f ( a ) + f ( b ) . We may be able to find some values of a and b for which f ( a + b ) = f ( a ) + f ( b ) is true, but if it is not true for all values of a and b , we cannot claim that f ( a + b ) = f ( a ) + f ( b ) for that function.

For example, for the function f ( x ) = x 2 , if we choose a = 3 and b = 4 , then

f ( 3 + 4 ) = f ( 7 ) = 7 2 = 49 but            f ( 3 ) + f ( 4 ) = 3 2 + 4 2 = 9 + 16 = 25

so we have proved that f ( a + b ) f ( a ) + f ( b ) for the squaring function. (In fact, we already knew this because ( a + b ) 2 a 2 + b 2 as long as neither a nor b is 0 .)

What about multiplication? Which of the basic functions have the property that f ( a b ) = f ( a ) f ( b ) for all a and b ? You will consider this question in the homework problems, but in particular you will need to recall the following properties of absolute value.

Verify the multiplicative property of absolute value for the three cases in the previous example.

  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | 3 5 | ? _____
  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | ( 3 ) ( 5 ) | ? _____
  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | 3 ( 5 ) | ? _____
  • | 3 | | 5 | = 15 = | 3 5 |
  • | 3 | | 5 | = 15 = | ( 3 ) ( 5 ) |
  • | 3 | | 5 | = 15 = | 3 ( 5 ) |

Verify the multiplicative property of absolute value for the three cases in the previous example.

  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | 3 5 | ?
  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | ( 3 ) ( 5 ) | ?
  • Case a = 3 and b = 5
    Does | 3 | | 5 | = | 3 ( 5 ) | ?
  • | 3 | | 5 | = 15 = | 3 5 |
  • | 3 | | 5 | = 15 = | ( 3 ) ( 5 ) |
  • | 3 | | 5 | = 15 = | 3 ( 5 ) |

Which of these is true for all a and b ?

_____

| a b | | a | | b | for all a and b .

Which of these is true for all a and b ?

  1. | a b | | a | | b |
  2. | a b | | a | | b |
  3. | a b | | a | + | b |
  4. | a + b | | a | + | b |

Functions Defined Piecewise

A function may be defined by different formulas on different portions of the x -axis. Such a function is said to be defined piecewise. To graph a function defined piecewise, we consider each piece of the x -axis separately.

Graph the piecewise defined function

g ( x ) = { 1 x  if  x 1 x 3  if  x > 1

piecewise defined function

Graph the piecewise defined function

g ( x ) = { 1 x  if  x 1 x 3  if  x > 1

piecewise defined function

In Practice 3, what is the value of g ( 1 ) ?

_____

g ( 1 ) = 0

In Practice 3, what is the value of g ( 1 ) ?

  1. 0
  2. 1
  3. 2
  4. undefined

The absolute value function f ( x ) = | x | is an example of a function that is defined piecewise.

f ( x ) = | x | = { x if  x 0 x if  x < 0

To sketch the absolute value function, we graph the line y = x in the first quadrant and the line y = x in the second quadrant.

  1. Use your graphing utility to graph g ( x ) = | x 3 | and h ( x ) = | x | + | 3 | . Are the graphs the same? _____
  2. Explain why the functions f ( x ) = | x + k | and g ( x ) = | x | + | k | are not the same if k 0 .
    _____
  1. No, the graphs of g ( x ) = | x 3 | and h ( x ) = | x | + | 3 | are not the same.
  2. Because | x + k | | x | + | k | when x and k have opposite signs.
  1. Use your graphing utility to graph g ( x ) = | x 3 | and h ( x ) = | x | + | 3 | . Are the graphs the same?
  2. Explain why the functions f ( x ) = | x + k | and g ( x ) = | x | + | k | are not the same if k 0 .
  1. No, the graphs of g ( x ) = | x 3 | and h ( x ) = | x | + | 3 | are not the same.
  2. Because | x + k | | x | + | k | when x and k have opposite signs.

What relationship do you see between the graphs of f ( x ) = x 3 and g ( x ) = x 3 ? Between the graphs of f ( x ) = x 2 and g ( x ) = x ?

_____

What relationship do you see between the graphs of f ( x ) = x 3 and g ( x ) = x 3 ? Between the graphs of f ( x ) = x 2 and g ( x ) = x ?

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Absolute value
  • Verify
  • Triangle inequality
  • Vertical asymptote
  • Rational function
  • Parabola
  • Piecewise defined function
  • Multiplicative property
  • Guidepoints
  • Horizontal asymptote
  • Cubic

CONCEPTS

  1. The absolute value of x is defined by

    | x | = { x if  x 0 x if  x < 0

  2. The absolute value has the following properties:
    | a + b | | a | + | b | Triangle inequality
    | a b | = | a | | b | Multiplicative property
  3. Many useful functions fall into families or classes of variations on basic functions.
  4. We can make sketches of the eight basic functions using guidepoints.
  5. Functions can be defined piecewise, with different formulas on different intervals.

STUDY QUESTIONS

  1. Is it true that x must be a negative number? Why or why not?
  2. Are there any numbers for which x = x ?
  3. If 0 < x < 1 , which is larger, x 2 or x 3 ?
  4. If 0 < x < 1 , which is larger, x or x 3 ?
  5. List the eight basic functions considered in this section.
  6. Which of the eight basic functions have a horizontal asymptote? A vertical asymptote?
  7. What does an open circle on a graph mean?
  8. For what value(s) of x does | x + 6 | = 0 ?

SKILLS

Practice each skill in the Homework problems listed.

  1. Simplify expressions containing absolute values: #1–10
  2. Sketch graphs of the basic functions by hand: #15–18
  3. Identify the graph of a basic function: #19–26
  4. Solve equations and inequalities graphically: #11–14, 27–34
  5. Graph functions defined piecewise: #41–58

Homework 2.2

For problems 1–10, simplify the expression according to the order of operations.

  1. | 9 |
  2. ( 9 )
  1. 9
  2. 9
  1. 2 ( 6 )
  2. 2 | 6 |
  1. | 8 | | 12 |
  2. | 8 12 |
  1. 4
  2. 20
  1. | 3 | + | 5 |
  2. | 3 + ( 5 ) |

4 9 | 2 8 |

50

2 5 | 6 3 |

| 4 5 | | 1 3 ( 5 ) |

144

| 3 + 7 | | 2 ( 6 10 ) |

| | 5 | | 6 | |

1

| | 4 | | 6 | |

In Problems 11–14, show how to use the graphs to find the values. Estimate your answers to one decimal point. Compare your estimates to values obtained with a calculator.

Refer to the graph of f ( x ) = x 3 .

  1. Estimate the value of ( 1.4 ) 3 .
  2. Find all numbers whose cubes are 20 .
  3. Find all solutions of the equation x 3 = 6 .
  4. Estimate the value of 24 3 .
cubic
  1. 2.7
  2. 2.7
  3. 1.8
  4. 2.9

Refer to the graph of f ( x ) = x 2 .

  1. Estimate the value of ( 2.5 ) 2 .
  2. Find all numbers whose squares are 12 .
  3. Find all solutions of the equation x 2 = 15 .
  4. Estimate the value of 10.5 .
quadratic

Refer to the graph of f ( x ) = 1 x .

reciprocal
  1. Estimate the value of 1 3.4 .
  2. Find all numbers whose reciprocals are 2.5 .
  3. Find all solutions of the equation 1 x = 4.8 .
  1. 0.3
  2. 0.4
  3. 0.2

Refer to the graph of f ( x ) = | x 2 | .

quadratic
  1. Estimate the value of | 1.6 2 | .
  2. Find all values of x for which | x 2 | = 3 .
  3. Find all solutions of the equation | x 2 | = 0.4 .

For Problems 15–18,

  1. Sketch both functions on the same grid, paying attention to the shape of the graph. Plot at least three guidepoints for each graph to ensure accuracy.
  2. Use the graph to find all solutions of the equation f ( x ) = g ( x ) .
  3. On what intervals is f ( x ) > g ( x ) ?

f ( x ) = x 2 ,   g ( x ) = x 3

  1. quadratic and cubic
  2. x = 0 ,   x = 1
  3. ( , 0 ) and ( 0 , 1 )

f ( x ) = x ,   g ( x ) = x 3

f ( x ) = 1 x ,   g ( x ) = 1 x 2

  1. quadratic and cubic
  2. x = 1
  3. ( 1 , + )

f ( x ) = x ,   g ( x ) = | x |

For Problems 19–24, graph each set of functions together in an appropriate window. Describe how graphs (b) and (c) are different from the basic graph.

  1. f ( x ) = x 3
  2. g ( x ) = x 3 2
  3. h ( x ) = x 3 + 1

Graph (b) is the basic graph shifted 2 units down; graph (c) is the basic graph shifted 1 unit up.

  1. f ( x ) = | x |
  2. g ( x ) = | x 2 |
  3. h ( x ) = | x + 1 |
  1. f ( x ) = 1 x
  2. g ( x ) = 1 x + 1.5
  3. h ( x ) = 1 x 1

Graph (b) is the basic graph shifted 1.5 units left; graph (c) is the basic graph shifted 1 unit right.

  1. f ( x ) = 1 x 2
  2. g ( x ) = 1 x 2 + 2
  3. h ( x ) = 1 x 2 1
  1. f ( x ) = x
  2. g ( x ) = x
  3. h ( x ) = x

Graph (b) is the basic graph reflected about the x -axis; graph (c) is the basic graph reflected about the y -axis.

  1. f ( x ) = x 3
  2. g ( x ) = x 3
  3. h ( x ) = x 3

Each graph in Problems 25–26 is a variation of one of the eight basic graphs of Eight Basic Functions. Identify the basic graph for each problem.

six GC graphs
  1. x
  2. x 3
  3. | x |
  4. 1 x
  5. x 3
  6. 1 x 2
six GC graphs

In Problems 27–30, use the graph to estimate the solution to the equation or inequality. Show the solution or solutions on the graph. Then check your answers algebraically.

The figure shows a graph of f ( x ) = x 2 , for x > 0 . Solve the following:

square root shifted
  1. x 2 = 1.5
  2. x 2 = 2.25
  3. x 2 < 1
  4. x 2 > 0.25
  1. x 12
  2. x 18
  3. x < 9
  4. x > 3

The figure shows a graph of g ( x ) = 4 x + 2 , for x > 2 . Solve the following:

reciprocal shifted
  1. 4 x + 2 = 4
  2. 4 x + 2 = 0.8
  3. 4 x + 2 > 1
  4. 4 x + 2 < 3

The figure shows a graph of w ( t ) = 10 ( t + 1 ) 3 + 10 . Solve the following:

cubic transformed
  1. 10 ( t + 1 ) 3 + 10 = 100
  2. 10 ( t + 1 ) 3 + 10 = 140
  3. 10 ( t + 1 ) 3 + 10 > 50
  4. 20 < 10 ( t + 1 ) 3 + 10 < 40
  1. t 3.1
  2. t 1.5
  3. t < 0.8
  4. 2.4 < t < 0.4

The figure shows a graph of H ( z ) = 4 z 4 3 + 6 . Solve the following:

cube root transformed
  1. 4 z 4 3 + 6 = 2
  2. 4 z 4 3 + 6 = 12
  3. 4 z 4 3 + 6 > 14
  4. 4 z 4 3 + 6 < 6

For Problems 31–34, graph the function with the ZInteger setting. Use the graph to solve each equation or inequality. Check your solutions algebraically.

Graph     F ( x ) = 4 x 25 .

  1. Solve     4 x 25 = 16
  2. Solve     8 < 4 x 25 24
  1. x = 41
  2. 29 < x < 61

Graph     G ( x ) = 15 0.01 ( x 2 ) 3 .

  1. Solve     15 0.01 ( x 2 ) 3 = 18.75
  2. Solve     15 0.01 ( x 2 ) 3 25

Graph     H ( x ) = 24 0.25 ( x 6 ) 2 .

  1. Solve     24 0.25 ( x 6 ) 2 = 6.25
  2. Solve     24 0.25 ( x 6 ) 2 > 11.75
  1. x = 5 or x = 17
  2. 1 < x < 13

Graph     R ( x ) = 0.1 ( x + 12 ) 2 18 .

  1. Solve     0.1 ( x + 12 ) 2 18 = 14.4
  2. Solve     0.1 ( x + 12 ) 2 18 < 4.5

For Problems 35–40,

  1. Graph the equation by completing the table and plotting points.
  2. Does the equation define y as a function of x ? Why or why not?

x = y 2

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2
  1. x 4 1 1 4 0 1 4 1 4
    y 2 1 1 2 0 1 2 1 2
    parabola
  2. no

x = y 3

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2

x = | y |

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2
  1. x 2 1 1 2 0 1 2 1 2
    y 2 1 1 2 0 1 2 1 2
    absolute value rotated 90 degrees
  2. no

x = | y |

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2

x = 1 y

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2
  1. x 1 2 1 2 undefined 2 1 1 2
    y 2 1 1 2 0 1 2 1 2
    absolute value rotated 90 degrees
  2. yes

x = 1 y 2

x 000 000 000 000 000 000 000
y 2 1 1 2 0 1 2 1 2

For Problems 41–52, graph the following piecewise defined functions. Indicate whether the endpoints of each piece are included on the graph.

f ( x ) = { 2 if  x 1 x 3 if  x > 1

piecewise function

h ( x ) = { x + 2 if  x 1 3 if  x > 1

G ( t ) = { 3 t + 9 if  t < 2 3 1 2 t if  t 2

piecewise function

F ( s ) = { 1 3 s + 3 if  s < 3 2 s 3 if  s 3

H ( t ) = { t 2 if  t 1 1 2 t + 1 2 if  t > 1

piecewise function

g ( t ) = { 3 2 t + 7 if  t 2 t 2 if  t > 2

k ( x ) = { | x | if  x 2 x if  x > 2

piecewise function

S ( x ) = { 1 x if  x < 1 | x | if  x 1

D ( x ) = { | x | if  x < 1 x 3 if  x 1

piecewise function

m ( x ) = { x 2 if  x 1 2 | x | if  x > 1 2

P ( t ) = { t 3 if  t 1 1 t 2 if  t > 1

piecewise function

Q ( t ) = { t 2 if  t 1 t 3 if  t > 1

For Problems 53–58, write a piecewise definition for the function and sketch its graph.

f ( x ) = | 2 x 8 |

f ( x ) = { 8 2 x x < 4 2 x 8 x 4

piecewise function

g ( x ) = | 3 x + 6 |

g ( t ) = | 1 + t 3 |

g ( t ) = { 1 t 3 t < 3 1 + t 3 t 3

piecewise function

f ( t ) = | 1 2 t 3 |

F ( x ) = | x 3 |

F ( x ) = { x 3 x < 0 x 3 x 0

piecewise function

G ( x ) = | 1 x |

In Problems 59–64, decide whether each statement is true for all values of a and b . If the statement is true, give an algebraic justification. If it is false, find values of a and b to disprove it.

  1. f ( a + b ) = f ( a ) + f ( b )
  2. f ( a b ) = f ( a ) f ( b )

f ( x ) = x 2

  1. Not always true: f ( 1 + 2 ) f ( 1 ) + f ( 2 ) because 9 5 .
  2. True: ( a b ) 2 = a 2 b 2

f ( x ) = x 3

f ( x ) = 1 x

  1. Not always true: f ( 1 + 2 ) f ( 1 ) + f ( 2 ) because 1 3 3 2 .
  2. True: 1 a b = 1 a 1 b

f ( x ) = x

f ( x ) = m x + b

  1. Not always true (unless b = 0 ): f ( 1 + 2 ) f ( 1 ) + f ( 2 ) because 3 m + b 3 m + 2 b .
  2. Not always true: f ( 1 2 ) f ( 1 ) f ( 2 ) because 2 m + b 2 m 2 + 3 m b + b 2 .

f ( x ) = k x

Verify that | a b | gives the distance between a and b on a number line.

  1. a = 3 ,   b = 8
  2. a = 2 ,   b = 6
  3. a = 4 ,   b = 3
  4. a = 2 ,   b = 5
  1. number line
  2. number line
  3. number line
  4. number line

Which of the following statements is true for all values of a and b ?

  1. | a b | = | a | + | b |
  2. | a b | | a | + | b |
  3. | a b | | a | + | b |

Explain how the distributive law, a ( b + c ) = a b + a c , is different from the equation f ( a + b ) = f ( a ) + f ( b ) .

The distributive law shows a relationship between multiplication and addition that always holds. The equation f ( a + b ) = f ( a ) + f ( b ) is not about multiplication and may or may not be true.

For each function, decide whether f ( k x ) = k f ( x ) for all x 0 , where k 0 is a constant.

  1. f ( x ) = x 2
  2. f ( x ) = 1 x
  3. f ( x ) = x
  4. f ( x ) = | x |

Modeling, Functions, and Graphs by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.