1. Functions
Piecewise Functions — Quiz
Test your understanding of piecewise functions with 5 practice questions.
Practice Questions
Question 1
Consider the piecewise function: $ f(x) = \begin{cases} 2x + 1 & x < 1 \\ x^2 & 1 \leq x < 3 \\ 4x - 7 & x \geq 3 \end{cases} $ What is $f(3)$?
Question 2
Consider the piecewise function: $ f(x) = \begin{cases} -x + 4 & x < 0 \\ x^2 - 2x + 3 & 0 \leq x < 2 \\ 3x - 5 & x \geq 2 \end{cases} $ What is $f(1)$?
Question 3
Which of the following piecewise functions is continuous at $x = 1$?
Question 4
Consider the piecewise function: $ f(x) = \begin{cases} x^2 - 4 & x < 2 \\ 3x - 5 & x \geq 2 \end{cases} $ What is $f(1)$?
Question 5
Consider the piecewise function: $ f(x) = \begin{cases} 2x - 3 & x < 0 \\ x^2 - 1 & 0 \leq x < 2 \\ -x + 5 & x \geq 2 \end{cases} $ What is $f(2)$?
