In an optimisation problem one seeks the maximum or minimum of a geometric or physical quantity, which is expressed as a function of one variable (or of a parameter). The method is: (1) write the objective function; (2) differentiate; (3) set the derivative equal to zero; (4) check that it is indeed a maximum or a minimum (with or with the sign table).
Example — Minimum hypotenuse
A right-angled triangle has a leg of height . Let be the projection of this leg onto the hypotenuse. Find that minimises the length of the hypotenuse .
The leg is the altitude relative to the hypotenuse; is the projection of one leg, that of the other.
Solution
Setting up. From the second Euclid theorem: . Hence: Note: if a fraction has several terms in the numerator, before differentiating it is convenient to turn it into a sum of fractions. Here it is already done: .
Derivative: .
(we discard because ).
Check: for : the function is convex, so is a minimum.
.
Links
Topics: Derivatives
Concepts: Objective function · Maximum and minimum · Stationary point
Methods: Maximum minimum via derivative
Skills: Modelling · Studying a function