Skip to the page

Functions: question 22 of 25

An ACT® Math practice question. Pick an answer to check it, or open the answer and the worked explanation.

The question

FunctionsHarder

Priya will use exactly 60 meters of fencing to enclose a rectangular garden along a long, straight barn wall. The wall forms one side of the garden, and the fencing forms the other three sides. If each of the two fenced sides perpendicular to the wall is ww meters long, the area of the garden, in square meters, is A(w)=w(60−2w)A(w) = w(60 - 2w). In this context, every side of the garden must have a positive length. How many integer values of ww are in the domain of AA?
  1. A29
  2. B30
  3. C31
  4. D59

Choose an answer, then open the answer below to check it.

A place to start

Which lengths in the garden depend on ww, and what must be true about each of them?

Another hint

Write two inequalities: one saying ww is positive and one saying 60−2w60 - 2w is positive.

One more hint

The two conditions give 0<w<300 < w < 30. Neither endpoint is allowed, so count the whole numbers strictly between them.

Show the answer and explanation

Answer: A.29

Why A works

  1. Name the side lengths: the two perpendicular sides are each ww, and the side parallel to the wall is 60−2w60 - 2w.
  2. Each length must be positive: w>0w > 0 and 60−2w>060 - 2w > 0.
  3. Solve the second inequality: 60>2w60 > 2w, so w<30w < 30. The domain is 0<w<300 < w < 30.
  4. The integers strictly between 0 and 30 are 1,2,…,291, 2, \ldots, 29. That is 29 values, so the correct choice is 29.

Why the other choices are wrong

  • B. This counts w=30w = 30 (or w=0w = 0) as allowed. At w=30w = 30 the side parallel to the wall is 60−60=060 - 60 = 0 meters, and at w=0w = 0 there is no width, so neither endpoint is in the domain.
  • C. This counts every integer from 0 through 30. Both endpoints give a side of length 0, which the context rules out, so they must be left out.
  • D. This only requires ww to be between 0 and 60, the total amount of fencing. Two sides each use ww meters, so the third side, 60−2w60 - 2w, becomes zero or negative once ww reaches 30.

The rule

In a real-world model, the domain includes only the inputs that make every quantity in the situation meaningful.

Spot it next time

For a domain-in-context question, write one inequality for each real quantity (here, each side length) before counting, and check whether the endpoints are allowed.