To model the cost of renting a bouncy house as a piecewise function, we can outline the two scenarios based on the number of hours rented:
-
For rentals of 3 hours or less (i.e., \( 0 < x \leq 3 \)):
- The cost is \( y = 15x + 20 \) (where \( x \) is the number of hours).
-
For rentals of more than 3 hours (i.e., \( x > 3 \)):
- The cost is \( y = 12x \).
Thus, we can represent this as a piecewise function:
\[ y = \begin{cases} 15x + 20 & \text{for } 0 < x \leq 3 \ 12x & \text{for } x > 3 \end{cases} \]
Now, let's match this with the options given in your responses:
- \( y = { 15x + 20, 0 < x \leq 3; 12x, x > 3 } \)
- \( y = { 15 + 20, 0 < x \leq 3; 12, x > 3 } \)
- \( y = { 15 + 20x, 0 < x \leq 3; 12, x > 3 } \)
- \( y = { 15x + 20, 0 < x < 3; 12x, x \geq 3 } \)
The correct response is clearly the first one:
\[ y = { 15x + 20, 0 < x \leq 3; 12x, x > 3 } \]