The price of a pizza is $7.99 plus an additional $1.35 for each topping.

Write a function rule
f that gives the total price as a function of the number of toppings,
x.

f(x)=
number of toppings (x)
price f(x)
0
1
2
6
10
x

1 answer

To write a function rule \( f \) that gives the total price of a pizza as a function of the number of toppings \( x \), we need to consider both the base price of the pizza and the cost of each topping.

The base price of the pizza is $7.99 and each topping costs $1.35.

The total price can be described with the following equation:

\[ f(x) = 7.99 + 1.35x \]

Where:

  • \( f(x) \) is the total price of the pizza,
  • \( x \) is the number of toppings.

Now we can use this function to calculate the total price for various numbers of toppings:

  • For \( x = 0 \): \[ f(0) = 7.99 + 1.35 \cdot 0 = 7.99 \]

  • For \( x = 1 \): \[ f(1) = 7.99 + 1.35 \cdot 1 = 7.99 + 1.35 = 9.34 \]

  • For \( x = 2 \): \[ f(2) = 7.99 + 1.35 \cdot 2 = 7.99 + 2.70 = 10.69 \]

  • For \( x = 6 \): \[ f(6) = 7.99 + 1.35 \cdot 6 = 7.99 + 8.10 = 16.09 \]

  • For \( x = 10 \): \[ f(10) = 7.99 + 1.35 \cdot 10 = 7.99 + 13.50 = 21.49 \]

So the function rule for the total price of the pizza based on the number of toppings is:

\[ f(x) = 7.99 + 1.35x \]