A bottle holds 48 tsp of vanilla. The amount A of vanilla remaining in the bottle decreases by 2 tsp per batch b of cookies.

Write a function rule to represent this situation.

How much vanilla remains after 12 batches of cookies?

The function rule that represents this situation can be expressed as:

A(b) = 48 - 2b

This function rule states that the amount of vanilla remaining, A(b), is equal to the initial amount of vanilla in the bottle (48 tsp), minus the amount lost per batch of cookies (2 tsp) multiplied by the number of batches of cookies made, which is represented by b.

To find out how much vanilla remains after 12 batches of cookies, we can substitute b = 12 into the function:

A(12) = 48 - 2(12)
A(12) = 48 - 24
A(12) = 24

Therefore, after 12 batches of cookies, 24 tsp of vanilla would remain in the bottle.