It is common to wonder what the best procedure for doing something is, or what the minimal cost of a process is, or even to ask oneself what is the shortest way between two points... This kind of problems concerning how to find the extreme value of something are called problems of optimization. To solve them, the steps are always the same.
Example
A public garden has a triangular form, and the sides measure
Step 1: Comprehension of the problem.
A drawing / scheme of the problem is normally useful.
Step 2: Construct the function.
One must identify the quantity to maximize or to minimize and to be able to write it mathematically. In this case one should maximize the area of the rectangle. Therefore, if we call
Step 3: Find relationships that allow us to write the function area with only one unknown.
Here we can be use the resemblance of the triangles (theorem of Thales).
Step 4: Rewrite the function, now with only one variable.
We change the value of
Step 5: Maximize (or minimize).
We will set the derivative of the function equal to zero and obtain the value of the variable.
Step 6: Find the value of other involved variables.
The solution has been
Step 7: Give the result.
The biggest playground in this area will have dimensions of
Example
Determine the minimal distance from the point
Step 1: Comprehension of the problem.
We want to find the distance between a parabola centred on the origin
Step 2: Construct the function.
We must minimize the distance, which we will call
The distance function - using Pythagoras' theorem - between points
Then,
Step 3: Find relationships that allow us to write the function area with only one unknown.
In this case we know that
Step 4: Rewrite the function, now with just one variable.
The function becomes
Step 5: Maximize (or minimize).
We will set the derivative of the function equal to zero and obtain the value of the variable. (See item for calculating derivatives if necessary)
If we continue with the calculation,
Step 6: Find the value of the other variables involved.
Every value of
Step 7: Get the result.
In this case there are three points placed at the same distance, which is the minimal distance. These three points are:
For all of them
In short, then, we have found a way of proceeding:
- Comprehension of the problem.
- Construct the function.
- Find relationships that allow us to write the function with only one unknown.
- Rewrite the function.
- Maximize (or minimize).
- Find the value of the other variables involved .
- Give and check the result.