The problem of maximizing the area of a rectangular garden is examined using three approaches: numerical, graphical and analytical. A discussion to compare the three methods is also presented.

Problem: A farmer needs 150 meters of fencing to fence three adjacent gardens. . a) What is the relationship between x and y?b) Write the total area A of the three gardens as a function of x. c) Find the domain of the function A(x). d) Complete the table of values shown below by calculating the area A given values of x.
f) Graph A and approximate, from the graph obtained, the value of x for which A is maximum. g) Find the vertex of the graph of A analytically and use it to find the exact value of x for which A is maximum. h) Compare the values of x for which A is maximum found in part e) numerically, f) graphically and part h) analytically. i) Compare the three methods.
Solution to Problem :
e) Examining the above table, it seems that the maximum is somewhere between 10 and 15. Let us find some more values of A for x between 10 and 15.
The above values suggest that the value of x that makes A maximum is somewhere between 12 and 13 and may be approximated by 12.5. f) The graph of A(x) is shown below. . From the graph it seems that the value of x that makes A maximum is somewhere between 10 and 15. It can be approximated by 12.5 g) A(x) is a quadratic function which may be written as A(x) = (9 / 2) x^{ 2} + (225 / 2) x For a quadratic function of the form ax^{ 2} + bx + c, the vertex (h , k) of its graph is given by h =  b / 2a When applied to A, h is given by h = (225/2) / 2(9/2) = 12.5 Since the leading coefficient of A(x) is negative, the vertex is a maximum point and therefore the exact value of x that makes A maximum is equal to h = 12.5 h) The numerical and graphical methods gave only approximations to the value of x that makes A maximum: around 12.5 however the analytical method gave the exact value of 12.5 i) 1) Using a computer, the numerical and graphical methods may be easily used to obtain an answer to the problem. However the analytical method needs some work to be done analytically. 2) There are many problems that cannot be solved analytically. However numerical and graphical methods have a wider use in problem solving. 3) Many of the analytical methods give the exact answer however numerical and graphical methods give approximate answers. The use of computers and calculators have made it possible to obtain answers with high precision. More math problems with detailed solutions in this site. 
Home Page