Core practice ← Back to lesson

Piecewise Functions: Core practice

10 practice problems for this lesson. Work on paper, use hints when you need them, and check the answer or the full solution when you are ready.

Difficulty: Core (core-course level)

0 of 10 completed

Progress saved in this browser.

Problem 1 of 10
  1. Problem 1 The function machine

    Let f(x)=x+2f(x)=x+2 for x<0x<0, and f(x)=3−xf(x)=3-x for x≥0x\ge0. Find f(f(−1))f(f(-1)).

  2. Problem 2 The hidden threshold

    A function ff returns 55 when x<tx<t and −1-1 when x≥tx\ge t, where tt is real. The records say f(2)=5f(2)=5 and f(3)=−1f(3)=-1. Find all possible tt.

  3. Problem 3 Which piece owns the input

    Let f(x)=−x−1f(x)=-x-1 for x≤−3x\le-3, let f(x)=x2−2f(x)=x^2-2 for −3<x≤1-3<x\le1, and let f(x)=2x+3f(x)=2x+3 for x>1x>1. Find f(−5)f(-5), f(−3)f(-3), f(0)f(0), f(1)f(1), and f(4)f(4).

  4. Problem 4 The cropped graph

    Let f(x)=2−xf(x)=2-x for x≤3x\le3, and f(x)=(x−3)2−1f(x)=(x-3)^2-1 for x>3x>3. On the axes in the figure, sketch only the part with 1≤x≤51\le x\le5. State the range of the part you draw and whether the two pieces connect at x=3x=3.

    A blank grid for x from 0 to 6 and y from -2 to 4A square grid with gridlines at every whole number, equal unit lengths on both axes, tick marks and number labels at every whole number from 0 to 6 on the horizontal x-axis and from -2 to 4 on the vertical y-axis, and the origin labeled 0. No points, lines or curves are drawn.xy0123456-2-11234
    A blank grid for 0≤x≤60 \le x \le 6 and −2≤y≤4-2 \le y \le 4.
    Text description of this figure

    A blank coordinate grid with equal unit lengths on both axes. The horizontal x-axis runs from 0 to 6 and the vertical y-axis runs from negative two to four, with gridlines, tick marks and number labels at every whole number, the origin labeled 0, an arrowhead at the right end of the x-axis and an arrowhead at the top of the y-axis. Nothing is plotted on the grid: no points, segments, curves or equations.

  5. Problem 5 The three segments

    The figure shows all of a piecewise function. Write its rule with one formula for each drawn segment, and state its domain and range.

    A piecewise graph drawn as three segmentsOn a square grid with the x-axis numbered from -5 to 5 and the y-axis from -2 to 6, three straight segments are drawn: from a filled dot at (-4, 2) down to a hollow dot at (-1, -1); from a filled dot at (-1, 3) across to a filled dot at (2, 3); and from that same filled dot at (2, 3) up to a filled dot at (4, 5). Every endpoint carries its coordinates, and no formulas are shown.xy0-5-4-3-2-112345-2-1123456(-4, 2)(-1, -1)(-1, 3)(2, 3)(4, 5)
    The complete graph of the function, drawn as three segments.
    Text description of this figure

    A square coordinate grid with equal unit lengths on both axes, gridlines, tick marks and number labels at every whole number, the horizontal x-axis running from negative five to five and the vertical y-axis from negative two to six, the origin labeled 0 and arrowheads on both ends of each axis. Three straight segments are drawn. The first falls from a filled dot at the point (negative 4, 2) down to a hollow dot at the point (negative 1, negative 1). The second is horizontal at height 3, from a filled dot at the point (negative 1, 3) across to a filled dot at the point (2, 3). The third rises from that same filled dot at the point (2, 3) up to a filled dot at the point (4, 5). Each of those five endpoints is labeled with its coordinates. Nothing else is drawn: no formulas, no domain or range labels and no graph outside these three segments.

  6. Problem 6 The limited display

    A display takes any real reading xx. It reports −2-2 if x<−2x<-2, reports 33 if x>3x>3, and otherwise reports the reading unchanged. Write a piecewise rule, find the displayed values for inputs −5-5, 11, and 44, and state the range.

  7. Problem 7 The step labels

    A function equals −2-2 on −2<x≤−1-2<x\le-1, −1-1 on −1<x≤0-1<x\le0, 00 on 0<x≤10<x\le1, and 11 on 1<x≤21<x\le2. Write one formula using a ceiling and state its domain. Explain how its endpoint ownership agrees with that formula.

  8. Problem 8 The alternative rule

    Let g(x)=x−1g(x)=x-1 for x≥1x\ge1, and g(x)=1−xg(x)=1-x for x<1x<1. Tariq claims that g(x)=∣x∣−1g(x)=|x|-1 for every real input. Is he correct? Explain.

  9. Problem 9 Ben's adjustment

    A function agrees with ⌊x⌋\lfloor x\rfloor at every real input except 00, where its value is changed to −1/2-1/2. Ben claims this change joins the two floor steps on either side of 00. Is he correct? Explain using the nearby pieces.

  10. Problem 10 The studio rental fee

    A studio charges a flat bb dollars for any rental of up to and including 33 hours, and 4h−34h-3 dollars for a rental of hh hours when h>3h>3, where bb is a positive constant and h>0h>0. Find the value of bb that makes the cost graph connect at h=3h=3, and describe what happens to the cost at 33 hours if the studio sets b=10b=10 instead.