The cost of renting a bicycle is $8 per hour for the first 3 hours and $5 per hour for each additional hour. What is the total cost, in dollars, of renting a bicycle for 7 hours?
Student-entered answer44
Why that answer is right
First 3 hours: 3 × $8 = $24. Additional 4 hours: 4 × $5 = $20. Total = $24 + $20 = $44. The result follows directly from the numbers and operations given in the problem.
A piecewise function is defined as: f(x) = x^2 - 1 for x < 2, and f(x) = 3x - 5 for x >= 2. What is f(2) + f(-1)?
- A0
- B1Correct
- C2
- D3
Why B is right
f(2): Since 2 >= 2, use 3x - 5 = 3(2) - 5 = 1. f(-1): Since -1 < 2, use x^2 - 1 = (-1)^2 - 1 = 0. Sum: 1 + 0 = 1. The algebra follows directly from the givens once the expression is simplified correctly.
Why the other 3 choices miss
- A
- Incorrect because 0 results from using x^2 - 1 for f(2) = 3 and subtracting f(-1) = 0, rather than adding.
- C
- Incorrect because 2 results from using the wrong branch for f(-1), e.g., applying 3(-1) - 5 = -8 and adding incorrectly, or computing f(-1) = 1 by forgetting to subtract 1.
- D
- Incorrect because 3 would require f(2) = 3, which comes from applying x^2 - 1 = 4 - 1 = 3 (the wrong branch for x = 2).
A function f is defined as: f(x) = -x + 3 for x < 0, and f(x) = x^2 - 1 for x >= 0. What is f(-2) - f(3)?
- A2
- B-2
- C3
- D-3Correct
Why D is right
f(-2): since -2 < 0, use -x+3 = 2+3 = 5. f(3): since 3 >= 0, use x^2-1 = 9-1 = 8. f(-2) - f(3) = 5 - 8 = -3. The algebra follows directly from the givens once the expression is simplified correctly.
Why the other 3 choices miss
- A
- Incorrect because 2 results from applying the wrong branch to both inputs, e.g., using x^2-1 for f(-2) = 3 and then getting 3 - 8 = -5, or other branch-selection errors.
- B
- Incorrect because -2 results from using x^2-1 for f(-2): (-2)^2-1=3, then 3-8=-5, which is also not -2; alternatively from computing f(-2)=1 by forgetting to subtract 1 in the wrong branch.
- C
- Incorrect because 3 arises from swapping the subtraction order: f(3) - f(-2) = 8 - 5 = 3.