Skip to content

Area as a function of a side: the largest area

Area as a function of a side: the largest area

A pen with 40 metres of fence

A farm wants to fence a rectangular pen for goats, and has 40 metres of fence.

  • One side of the rectangle is x\displaystyle x metres.
  • Two neighbouring sides are half the perimeter, 20 metres, so the other side is 20−x\displaystyle 20-x metres.
  • The area, in m²: A=x(20−x)\displaystyle {A}={x(20-x)}.
x\displaystyle x (metres)2\displaystyle 25\displaystyle 58\displaystyle 810\displaystyle 1012\displaystyle 1215\displaystyle 1518\displaystyle 18
A\displaystyle A (m²)36\displaystyle 3675\displaystyle 7596\displaystyle 96100\displaystyle 10096\displaystyle 9675\displaystyle 7536\displaystyle 36
y=x(20−x)\displaystyle y=x(20-x)
V=(10,100)\displaystyle V=(10,100)
  • With the brackets opened, A=−x2+20x\displaystyle {A}={-x^{2}+20x}: a quadratic model with a=−1<0\displaystyle {a}={-1<0}, so it has a largest area.
  • x=−202⋅(−1)=10\displaystyle {x}={-\frac{20}{2\cdot(-1)}}={10}, and the other side is 20−10=10\displaystyle {20-10}={10}: the largest pen is a square, 10 by 10, of area 100 m².
  • A long narrow rectangle, say 2 by 18, takes the same fence and gives only 36 m².
A pen against a wall

If the pen is against the wall of the cowshed, the side along the wall needs no fence.

  • The two sides at right angles to the wall – x\displaystyle x metres each.
  • The side opposite the wall – 40−2x\displaystyle 40-2x metres.
  • The area: A=x(40−2x)=−2x2+40x\displaystyle {A}={x(40-2x)}={-2x^{2}+40x}.
  • x=−402⋅(−2)=10\displaystyle {x}={-\frac{40}{2\cdot(-2)}}={10}, and the side opposite the wall is 40−20=20\displaystyle {40-20}={20}.

The largest pen is 10 by 20, of area 200 m² – twice the square’s area without the wall. This time it is not a square.

The sides of a given area

Which sides give a pen of 96 m² with 40 metres of fence? We solve the equation:

x(20−x)=96x(20-x)=96
  • −x2+20x−96=0\displaystyle {-x^{2}+20x-96}={0}, and multiplied by −1\displaystyle -1: x2−20x+96=0\displaystyle {x^{2}-20x+96}={0}.
  • x=8\displaystyle {x}={8} or x=12\displaystyle {x}={12}.

Both solutions give the same rectangle: 8 by 12. Once x\displaystyle x is the short side, once the long one.

Exercise 1

A school vegetable garden has 60 metres of fence.
One side of the garden is x\displaystyle x metres, and its area in m² is A=x(30−x)\displaystyle {A}={x(30-x)}

a

Mark the graph’s highest point on the board, and check. What are the sides of the largest garden, and what is its area?

y=x(30−x)\displaystyle y=x(30-x)

b

Which sides give a garden of 200 m²?

    The shorter side

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      The longer side

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 2

        A farmer has 24 metres of fence.
        He builds a rectangular chicken run against the wall of a shed, and fences only the other three sides.
        Each of the two sides at right angles to the wall is x\displaystyle x metres.

        a

        Write the length of the side opposite the wall, and the run’s area, using x\displaystyle x.

        b

        Work out the x\displaystyle x that gives the largest run.

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          c

          What is the area of the largest run?

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            Exercise 3

            Pupils mark out a rectangular playground with a rope 30 metres long.
            Noa says: “The longer the long side, the larger the area”.

            Is she right? Explain using the formula of the area or a table.