Explore

Writing Piecewise Functions Solutions

  •    Piecewise    functions are functions that are constructed from two or more expressions over defined intervals of the domain.  

  • These functions allow you to model    real-life    situations more realistically because real-life scenarios can rarely be represented by just one function.

  • The    inequality    symbols for the domain intervals determine whether the function will have open points, closed points, or arrows (for continuous functions).

 fx=2if 5<x2x24if 2<x<21.5x+6if  x2.5

Note

Remember to use the VLT to check if a graph is a function. If an open and closed point are aligned vertically, then the piecewise graph is a function. 

  • To determine if an    ordered pair    is a solution to a piecewise function:

    • First check what part of the domain inequality interval the    x-value    is in.

    • Then substitute the x-value in the corresponding expression to find    f(x)   

Example 1

Write the expressions for the piecewise function given the graph and the intervals for the domain.

 fx=2x+5if x<1xif 1x<30.5x2.5if x3


Determine f (x) when x=0.5, 2.99, 3
10.5<3

 f0.5=0.5 f0.5=0.5 12.99<3 f2.99=2.99 f2.99=2.99 33 f3=0.532.5 f3=1

Example 2

Write the intervals for the domain given the graph and the expressions for the piecewise function.

 px=x+3+21x32+3if 5<x1if 1<x1if x2

Note

Pay careful attention to the open and closed points and the VLT to ensure that the domain inequalities result in a function.

Example 3

Write the piecewise function using the given graph.

 y=x+4if 4x<053x2if 0x<33if x>3

Customer Service

Monday–Thursday 8:30am–6pm ET