# Optimization Problems in 2D Geometry

In geometry, there are many problems in which we want to find the largest or smallest value of a function. As a function, we can consider the perimeter or area of a figure or, for example, the volume of a body. As an independent variable of the function, we can take a parameter of the figure or body such as the length of a side, the angle between two sides, etc. Once the function is composed, it is necessary to investigate it for extreme values using derivatives. It is important to bear in mind that the functions in such problems usually exist on a finite interval, which is determined by the geometry of the system and/or the conditions of the problem.

In this topic, we consider optimization problems involving 2*D* geometry.

## Solved Problems

Click or tap a problem to see the solution.

### Example 1

The point \(A\left( {a,b} \right)\) is given in the first quadrant of the coordinate plane. Draw a straight line passing through this point, which cuts from the first quadrant the triangle with the smallest area (Figure \(1a\)).

### Example 2

Find the base \(a\) of an isosceles triangle with the legs \(b\) such that the inscribed circle has the largest possible area (Figure \(2a\)).

### Example 3

A farmer wants to enclose a rectangular field with a fence and divide it in half with a fence parallel to one of the sides (Figure \(3a\)). The total length of the fence is \(L.\) What is the largest area of the field?

### Example 4

An isosceles trapezoid is circumscribed about a circle of radius \(R\) (Figure \(4a\)). At what base angle \(\alpha\) the area of the shaded region is the smallest?

### Example 5

A windows has the shape of a rectangle and surmounted by a semicircle (Figure \(5a\)). The perimeter of the window is \(P.\) Determine the radius of the semicircle \(R\) that will allow the greatest amount of light to enter.

### Example 6

A rectangle with sides parallel to the coordinate axes and with one side lying along the \(x\)-axis is inscribed in the closed region bounded by the parabola \(y = c - {x^2}\) and the \(x\)-axis (Figure \(6a\)). Find the largest possible area of the rectangle.

### Example 7

Find the maximum possible area of a rectangle inscribed in a semicircle of radius \(R\) with one of its sides on the diameter of the semicircle (Figure \(7a\)).

### Example 8

A point \(A\) is given on the circumference of a circle of radius \(R\) (Figure \(8a\)). The chord \(BC\) is parallel to the tangent at \(A.\) Determine the distance between the point \(A\) and the chord \(BC\) at which the triangle \(ABC\) has the largest area.

### Example 1.

The point \(A\left( {a,b} \right)\) is given in the first quadrant of the coordinate plane. Draw a straight line passing through this point, which cuts from the first quadrant the triangle with the smallest area (Figure \(1a\)).

Solution.

Consider the triangles \(OBC\) and \(MBA.\) These triangles are similar. Consequently, the following relation holds:

where the coordinates \(x\) and \(y\) satisfy the inequalities \(x \gt a,\) \(y \gt b.\) From the last equation we express \(y\) in terms of \(x:\)

The area of the triangle is described by the function \(S\left( x \right):\)

Compute the derivative:

The function \(S\left( x \right)\) has the critical points \(x = 0,\) \(x = a,\) \(x = 2a.\) Since \(x \gt a,\) the solution is the point \(x = 2a.\) When passing through it the derivative changes sign from minus to plus, i.e. \(x = 2a\) is the minimum point of the function \(S\left( x \right).\)

Find the other leg of the triangle:

Thus, the triangle with the smallest area has legs equal to \(2a\) and \(2b.\)

### Example 2.

Find the base \(a\) of an isosceles triangle with the legs \(b\) such that the inscribed circle has the largest possible area (Figure \(2a\)).

Solution.

Let the area \(A\) of the triangle be the objective function to be maximized.

From the similar triangles \(\triangle OMC\) and \(\triangle CDB\) we get

or

where \(a\) is the base, \(h\) is the altitude, \(b\) is the leg of the isosceles triangle, \(r\) is the radius of the inscribed circle.

By Pythagorean theorem,

Then we have

The area of the triangle is given by

The derivative \(f^\prime\left( a \right)\) can be calculated using the quotient rule. It is written in the form

Determine the critical points:

Solve the quadratic equation:

There is only one non-trivial positive root:

Using the first derivative test, we find that \(a = b\left( {\sqrt 5 - 1} \right)\) is a point of maximum. Hence, the isosceles triangle has the largest area when \(a = b\left( {\sqrt 5 - 1} \right).\)

### Example 3.

A farmer wants to enclose a rectangular field with a fence and divide it in half with a fence parallel to one of the sides (Figure \(3a\)). The total length of the fence is \(L.\) What is the largest area of the field?

Solution.

The length of the fence is given by the formula

where \(x\) and \(y\) are the sides of the rectangle.

It follows from here that

Then the area of the rectangle is written as a function of one variable:

Take the derivative:

Determine the critical point:

We can use the Second Derivative Test to classify this critical point:

Hence, we have a maximum here. The other side of the rectangle is equal

The maximum area of the field is given by

### Example 4.

An isosceles trapezoid is circumscribed about a circle of radius \(R\) (Figure \(4a\)). At what base angle \(\alpha\) the area of the shaded region is the smallest?

Solution.

The area of an isosceles trapezoid is determined by the formula

where \(a, b\) are the bases of the trapezoid, \(h\) is its height. Obviously, \(h = 2R.\) The area of the circle is \({S_K} = \pi {R^2}.\) Then the area of the shaded region is

Since the trapezoid is circumscribed about a circle, the sum of opposite sides is the same, that is

Here \(\ell\) denotes the leg of the trapezoid. Substituting \(\left( {a + b} \right)\) in the previous relation, we get

Investigate the area \(S\left( \alpha \right)\) for extreme values. Calculate the derivative \(S'\left( \alpha \right):\)

It is evident that the derivative is zero provided

and when passing through this point (with increasing \(\alpha\)) the derivative changes sign from minus to plus. Consequently, \(\alpha = \frac{\pi }{2}\) is the minimum of the function \(S\left( \alpha \right).\) In this case, the trapezoid becomes a square. The minimum value of the area is determined by the formula

### Example 5.

A window has the shape of a rectangle and surmounted by a semicircle (Figure \(5a\)). The perimeter of the window is \(P.\) Determine the radius of the semicircle \(R\) that will allow the greatest amount of light to enter.

Solution.

Obviously, one side of the rectangle is equal to \(2R.\) We denote the other side by \(y.\) The perimeter of the window is given by

Hence, we find \(y:\)

The area of the window is as follows:

The resulting expression is a function \(S\left( R \right).\) We investigate its extreme points. Find the derivative:

Determine the stationary points:

Since the second derivative is negative:

then this point is a maximum, i.e. the area of the window will be the greatest at this value of \(R.\)

The maximum value of the area is equal to

### Example 6.

A rectangle with sides parallel to the coordinate axes and with one side lying along the \(x\)-axis is inscribed in the closed region bounded by the parabola \(y = c - {x^2}\) and the \(x\)-axis (Figure \(6a\)). Find the largest possible area of the rectangle.

Solution.

Let \(M\left( {x,y} \right)\) be the vertex of the rectangle belonging to the parabola (Figure \(6a\)).

The lengths of the sides of the rectangle are \(2x\) and \(y.\) Its area is

Investigate extreme values of the function \(S\left( x \right).\) The derivative is written as

Equating the derivative to zero, we find the stationary points:

Obviously, both roots correspond to the same rectangle. Make sure that the point \(\sqrt {\frac{c}{3}} \) is a maximum point of the function \(S\left( x \right).\) We check this by using the second derivative:

Since \(S^{\prime\prime}\left( x \right) \lt 0,\) then \(\sqrt {\frac{c}{3}} \) is the maximum point.

Calculate the maximum area of the inscribed rectangle:

### Example 7.

Find the maximum possible area of a rectangle inscribed in a semicircle of radius \(R\) with one of its sides on the diameter of the semicircle (Figure \(7a\)).

Solution.

Suppose that the area of the rectangle \(A = ab\) is the objective function. By Pythagorean theorem,

Hence, the area of the rectangle is given by

Check for the values at the endpoints:

Find the derivative using the product rule:

Determine the critical point(s):

We have two critical points \(a = \sqrt{2}R\) and \(a = 2R,\) but as at the second point \(a = 2R\) the area of the rectangle is zero, further we will consider only the first point \(a = \sqrt{2}R.\)

The derivative is positive to the left of this point, and negative to the right. Therefore \(a = \sqrt{2}R\) is a point of maximum. The maximum value of the area of the rectangle is given by

### Example 8.

A point \(A\) is given on the circumference of a circle of radius \(R\) (Figure \(8a\)). The chord \(BC\) is parallel to the tangent at \(A.\) Determine the distance between the point \(A\) and the chord \(BC\) at which the triangle \(ABC\) has the largest area.

Solution.

Let \(x\) denote the distance between the point \(A\) and the chord \(BC.\) The area of the triangle \(ABC\) is written as

Given that

and \(\left| {OB} \right| = R,\) we get by Pythagorean theorem:

Hence, the triangle's area is written in the form

Now we investigate the function \(A\left( x \right)\) for extreme values. Take the derivative

Determine the critical points:

Using the First Derivative Test, one can show that \({x = \frac{3}{2} R}\) is a point of maximum. Thus, the triangle has the largest area when the distance between the point of tangency and the chord is equal to \( \frac{3}{2} R.\)