Kanan-Solutions of Optimization
Kanan-Solutions of Optimization
2
What is Optimization?
Optimization is the process of finding maximum
and minimum values given constraints using
calculus.
For example, you’ll be given a situation where
you’re asked to find:
The Maximum Profit
The Minimum Travel Time
Or Possibly The Least Costly Enclosure
It is our job to translate the problem or picture into
usable functions to find the extreme values
3
What is Optimization?
Many important applied problems involve finding the
best way to accomplish some task. Often this involves
finding the maximum or minimum value of some
function: the minimum time to make a certain
journey, the minimum cost for doing a task, the
maximum power that can be generated by a device,
and so on. Many of these problems can be solved by
finding the appropriate function and then using
techniques of calculus to find the maximum or the
minimum value required.
This is the method used in the first example In this method we also will need an
above. Recall that in order to use this method interval of possible values of the
the interval of possible values of the independent variable in the
independent variable in the function we are function we are optimizing, I.
optimizing, let’s call it I, must have finite However, in this case, unlike the
endpoints. Also, the function we’re optimizing previous method the endpoints do
(once it’s down to a single variable) must be not need to be finite. Also, we will
need to require that the function be
continuous on I, including the endpoints. If these
continuous on the interior of the
conditions are met then we know that the
optimal value, either the maximum or minimum interval I and we will only need
depending on the problem, will occur at either the function to be continuous at
the endpoints of the range or at a critical point the end points if the endpoint is
that is inside the range of possible solutions. finite and the function actually
exists at the endpoint. We’ll see
several problems where the
function we’re optimizing doesn’t
7
actually exist at one of the
Example for Solutions
Solution
Let x denote the length of the side of the garden perpendicular to the rock wall
and y denote the length of the side parallel to the rock wall. Then the area of the
garden is
A= x ⋅ y
We want to find the maximum possible area subject to the
constraint
that the total fencing is 100ft. the total amount of fencing used will be 2x+y. Therefore, the
Constraint equation is 2x+y=100
Solving this equation for y, we have y=100−2x. . Thus, we can write the area as
(Figure 4.7.1)
A(x)=x⋅(100−2x)=100x−2x sq.
8
Example for Solutions
Before trying to maximize the area
Function A(x)=100x−2x sq, we need to determine the domain under consideration.
To construct a rectangular garden, we certainly need the lengths of both sides to be
positive. Therefore, we need x>0 and y>0. Since y=100−2x, if y>0, then x<50.
Therefore, we are trying to determine the maximum value of A(x) for x over the
open interval (0,50). We do not know that a function necessarily has a maximum
value over an open interval. However, we do know that a continuous function has
an absolute maximum (and absolute minimum) over a closed interval. Therefore,
let’s consider the function A(x)=100x−2x sq. over the closed interval [0,50]. If the
maximum value occurs at an interior point, then we have found the value x in the
open interval (0,50) that maximizes the area of the garden. Therefore, we consider
the following problem:
Maximize A(x)=100x−2x sq. over the interval [0,50].
As mentioned earlier, since A is a continuous function on a closed, bounded interval,
by the extreme value theorem, it has a maximum and a minimum. These extreme
values occur either at endpoints or critical points. At the endpoints, A(x)=0. Since the
area is positive for all x in the open interval (0,50), the maximum must occur at
a critical point. Differentiating the function A(x), we obtain A'(x)=100−4x. Therefore, (Figure 4.7.2)
the only critical point is x=25 (Figure 4.7.2). We conclude that the maximum area
must occur when x=25.
Then we have y=100−2x=100−2(25)=50. To maximize the area of the garden,
let x=25ft and y=50ft. The area of this garden is 1250ft sq.
9
Thank you
27/12/2023 10