<------ School Building------>
-------------------------------------
| |
x | | x
| |
-------------------------------------
80 - 2x
Let x meters be the width of the playground.
Then (80 - 2x) meters would remain for the side opposite to the school building, length.
Then the area A of the rectangular playground would be (80 - 2x) * x.
Then, to answer questions of the problem, we need to answer the question:
Which value of x will maximize the value of function f(x) = (80 - 2x) * x ?
f(x) = -2x2- + 80x, which is a quadratic with the inverse parabola graph, because
in ax2 + bx + c, here coefficient 'a' is negative (-2).
This function has maximum at its vertex (xv., yv).
xv = -b / 2a = -80 / -4 = 20 (width)
(80 - 2x ) = 40 (length)
A = 40 * 20 = 800 -> maximum area
Answer:
The dimensions that will maximize the area of the playground are 40 meters and 20 meters.
The maximum area is 800 m2.