Evaluating Functions (Linear or Quadratic Only)
1. Evaluate the function f(x) = 2x + 3 when x = -4.
2. Evaluate the function g(x) = x^2 - 5x + 6 at x = 3.
3. Given the function h(x) = -3x + 7, find the value of h(0).
4. Let p(x) = 4x^2 + 2x - 1. Find p(-2).
5. Find the value of m(x) = 5x - 9 when x = 1/2.
Piecewise Function Representation (Word Problems)
6. A delivery company charges a flat rate of ₱100 for the first 5 kilometers.
After 5 kilometers, they charge ₱20 for every additional kilometer up to 10 kilometers.
For any distance beyond 10 kilometers, they charge ₱15 per kilometer.
Write a piecewise function C(x) that represents the total delivery charge in pesos based
on the distance x kilometers.
7. A parking lot charges ₱50 for the first two hours.
After that, it charges ₱30 per hour for the next 3 hours.
Any time beyond 5 hours is charged ₱20 per hour.
Write a piecewise function P(t) that models the total parking fee in pesos with respect to
the number of hours t parked.
Answers
Evaluating Functions (Linear or Quadratic Only)
1. f(x) = 2x + 3, when x = -4
f(-4) = 2(-4) + 3 = -8 + 3 = -5
2. g(x) = x² - 5x + 6, when x = 3
g(3) = 3² - 5(3) + 6 = 9 - 15 + 6 = 0
3. h(x) = -3x + 7, when x = 0
h(0) = -3(0) + 7 = 0 + 7 = 7
4. p(x) = 4x² + 2x - 1, when x = -2
p(-2) = 4(-2)² + 2(-2) - 1 = 4(4) - 4 - 1 = 16 - 4 - 1 = 11
5. m(x) = 5x - 9, when x = 1/2
m(1/2) = 5(1/2) - 9 = 2.5 - 9 = -6.5
Piecewise Function Representation (Word Problems)
6. Delivery Charge Function C(x):
Let x = number of kilometers traveled.
C(x) =
100, if 0 < x ≤ 5
100 + 20(x - 5), if 5 < x ≤ 10
100 + 20(5) + 15(x - 10) = 200 + 15(x - 10), if x > 10
Final piecewise function:
C(x) =
{
100, if 0 < x ≤ 5
100 + 20(x - 5), if 5 < x ≤ 10
200 + 15(x - 10), if x > 10
}
7. Parking Fee Function P(t):
Let t = number of hours parked.
P(t) =
50, if 0 < t ≤ 2
50 + 30(t - 2), if 2 < t ≤ 5
50 + 30(3) + 20(t - 5) = 140 + 20(t - 5), if t > 5
Final piecewise function:
P(t) =
{
50, if 0 < t ≤ 2
50 + 30(t - 2), if 2 < t ≤ 5
140 + 20(t - 5), if t > 5
}