Introduction to Calculus: Background You’ll Need 1

  • Evaluate piecewise functions given the graph

Evaluating Piecewise Functions from Graphs

A piecewise function is a function that is defined by different rules over different intervals of the input values. When a piecewise function is presented as a graph, each section of the graph represents a different rule.

To evaluate a piecewise function from a graph, the correct section of the graph must be identified for the given input value.

Piecewise function

A piecewise function uses different rules for different ranges of input values. Each rule applies only on its specified interval.

Interpreting the Graph

When evaluating from a graph, pay attention to:

  • The interval where each piece applies
  • Open circles, which indicate the value is not included
  • Closed circles, which indicate the value is included
Consider the graph of a piecewise function shown below.
The graph is made of two straight line segments that meet at a peak, forming an inverted V shape. The graph increases to a maximum point and then decreases. The graph passes through the points: (-5, -2), (-3,0), (-1,2), (0,3), (1, 4), (3,0), (5, -5) The highest point of the graph is at (1, 4).
Evaluate [latex]f(-1)[/latex].

Use the graph to evaluate the function at [latex]x = -2[/latex].
The graph shows a piecewise function made of two parts. One part is a horizontal line at y equals -1 that extends to the left and ends at an open circle at (-1, -1), indicating that point is not included. The second part is a line segment with positive slope that begins at a solid point at (-1, 1) and increases to the right. The graph includes the point (-1, 1) but does not include the point (-1, -1).