Application of Derivatives · Lesson 5 of 7
Building and Solving Optimization Models
“Build a one-variable objective from constraints and justify the greatest or least feasible outcome.”
• Choose variables, constraints, and feasible domains for optimization. • Build objectives for numbers, distances, areas, volumes, costs, and profit. • Use Pythagoras and similar triangles to eliminate extra variables. • Reject stationary roots that do not describe allowed configurations. • Justify a global optimum and report the original requested quantities.
From a Situation to a Function
Optimization means finding the greatest or least possible value while respecting given restrictions. The derivative is only one part of the work. First decide what may vary, what must remain fixed, and what output is being optimized. A correct derivative of the wrong model cannot solve the original problem.
Name the variable and state its feasible domain. Then use the constraint to remove extra variables. Once an objective function is written in one variable, find candidates, test them, and justify the comparison over the whole feasible set. Finish by translating the result back into the original quantities and units.
| Stage | Question to ask |
|---|---|
| Variable | Which dimension, position, or output is free to vary? |
| Constraint | What stays fixed, and how are variables linked? |
| Objective | Which function represents the requested area, volume, distance, cost, or profit? |
| Feasible set | Which inputs describe actual allowed configurations? |
| Extremum check | Why is the candidate greatest or least over the allowed set? |
| Interpretation | What dimensions or value does the original problem request? |
Numbers Subject to a Fixed Sum
A fixed total immediately connects two unknown numbers. Write the second in terms of the first, so that products or sums of powers become functions of one variable. Positivity matters: if both numbers must be positive, neither endpoint of the resulting interval represents an allowed pair.
Problem
Find two positive numbers with sum 15 whose sum of squares is least.
- 1.Let the numbers be and , with . The objective is .
- 2.Differentiate: , so the stationary candidate is . Since , it is a local minimum.
- 3.To establish the whole-domain result, complete the square: . It is at least for every allowed input.
- 4.Thus both numbers are . More generally, for positive numbers with sum , the least sum of squares occurs at .
The same setup can optimize a product. For a fixed sum , the product has derivative , positive before and negative after. Equal numbers give its greatest value. For weighted products such as , keep the powers in the objective instead of assuming equality will still be optimal.
Minimizing a Distance or Its Square
Distance formulas often contain square roots. Because square root is strictly increasing on nonnegative numbers, the smallest distance occurs at exactly the same configuration as the smallest squared distance. Optimizing the square can simplify differentiation, but the final requested distance still needs a square root.
Problem
Find the shortest distance from to , where .
- 1.Write a point on the parabola as with . Its squared distance is . Every corresponds to one or two points on the parabola.
- 2.Differentiate: , so the candidate is . It is feasible because .
- 3.Complete the square: . The first term is nonnegative, so the minimum over is .
- 4.The shortest distance is . If , the nearest points have and .
- 5.At , the optimum is the boundary , giving the single nearest point and distance . The boundary case must not be treated as an interior point.
Problem
Two vertical poles have heights 16 m and 22 m, with bases 20 m apart. Find on the segment between the bases minimizing the sum of squared distances to the tops.
- 1.Let , so and . Pythagoras gives and .
- 2.The objective is . Its derivative is , zero at 10; its second derivative is 4.
- 3.Equivalently, , so 10 gives the absolute minimum over the allowed segment.
- 4.Therefore m. The unequal pole heights add constants to the squared-distance objective and do not shift the optimum. This conclusion concerns the sum of squared distances, not the sum of distances.
An Area Model Built from Geometry
In a geometric optimization problem, the main relationship often comes from a right triangle or similar triangles. A labelled diagram should display the variable and the fixed measurements. Express the height in terms of that variable before writing the area.
Problem
A trapezium has its top side and both equal sloping sides of length 10 cm. Find its greatest area.
- 1.For the outward-sloping configuration, let the horizontal offset of each side be , with . The height is and the lower base is .
- 2.The area is . Differentiating gives .
- 3.The numerator is . Within the feasible interval, its sign is positive before 5 and negative after 5. The denominator is positive.
- 4.The area therefore rises to and then falls, proving a greatest value there. It equals cm².
- 5.An inward-sloping configuration has both height at most 10 and the other parallel side at most 10, so its area is at most 100 cm². It cannot improve on cm².
A Solid Inscribed in Another Solid
An inscribed cylinder cannot choose its radius and height independently. The boundary of the surrounding cone links them. Similar triangles in an axial cross-section turn that spatial restriction into a simple equation.
Problem
A coaxial right circular cylinder is inscribed in a cone of radius and height . Find its radius when its curved surface area is greatest.
- 1.Let the cylinder radius be and its height . Similar triangles give , so , with .
- 2.Its curved surface area is . This is the curved area only, excluding the circular ends.
- 3.Differentiate: . It is positive before and negative after, so the greatest area occurs at .
- 4.The associated cylinder height is . The area tends to zero at the degenerate endpoint configurations, consistent with the interior maximum.
A Folded Box and a Feasible Root
A derivative equation may have several algebraic roots, but some may not describe a real object. For a box folded from a sheet, the remaining length and breadth must both be positive. Write these conditions before accepting a stationary point.
Problem
Equal squares are removed from the corners of a 3 m by 8 m sheet, then its sides are folded. Find the greatest box volume.
- 1.Let each cut have side . The dimensions are , , and , so .
- 2.The volume is .
- 3.Differentiate: . The roots are 3 and , but 3 is outside the feasible domain.
- 4.On the derivative is positive, and on it is negative. Hence gives the greatest feasible volume.
- 5.The box dimensions are , , and metres. Their product is m³. The limiting volume at either endpoint is zero.
Keeping Surface Area and Volume Constraints Distinct
A curved surface excludes a solid’s circular base or ends; total surface area includes them when the solid is closed. An optimization result changes when those parts change. Write the exact area formula before eliminating a variable, especially in can and cone problems.
| Solid and quantity | Formula | Constraint used to reduce variables |
|---|---|---|
| Closed cylinder surface area | Fixed volume gives | |
| Cone curved area | Fixed volume gives | |
| Cone total area | Include its base when total area is fixed | |
| Cylinder inside a sphere of radius | An axial right triangle gives | |
| Cone inside a sphere of radius | Its base lies from the centre, so |
Problem
For a fixed volume , find the relation between radius and height of a closed cylinder with least total surface area.
- 1.From , eliminate height: , with .
- 2.The total area, including both ends, is . Differentiate: .
- 3.Multiplying the derivative by the positive shows its sign is the sign of . It changes from negative to positive at .
- 4.Thus this is the global minimum on . Substituting into the height formula gives .
- 5.For cm³, the dimensions are cm and cm. The least-material shape has height equal to diameter.
Profit Is Revenue Minus Cost
Selling more items increases the number sold but may require a lower unit price. Revenue is unit price multiplied by quantity, and profit subtracts total cost. Keep these three quantities separate while forming the model. For item counts, check that a proposed continuous optimum is also compatible with whole items.
Problem
A manufacturer sells items at unit price rupees. Total cost is rupees. Find the quantity giving greatest profit.
- 1.Revenue is , not just the unit price.
- 2.Profit is . Nonnegative quantity and price give a natural model domain .
- 3.Differentiate: . It is zero at . Also .
- 4.The profit is a downward-opening quadratic and increases before 240 and decreases after. Thus 240 is the global maximizer in the model domain.
- 5.The quantity 240 is a whole number, so no rounding comparison is needed. The greatest profit is rupees.
Problem
A path is modelled by , where is horizontal distance. Find its greatest height while the object is above ground.
- 1.The derivative is , zero at . The second derivative is .
- 2.The path rises before 30 and falls afterwards. Its height there is .
- 3.The point lies in the physical above-ground part of the path, so the greatest height is 75 in the given length units.
A profit model has a similar shape only if . Its stationary input is , but this represents a physical maximizing quantity only if it lies in the permitted domain. If the coefficients or domain do not satisfy those conditions, a different comparison is needed.
For the greatest or least feasible value, justify why other inputs cannot do better. A sign change across the entire feasible interval, comparison with endpoints, or a complete-square expression can supply that argument. A local second derivative test alone is not a comparison with every feasible input.
Check Your Understanding
Use these questions to check both your calculations and your interpretation of the ideas. Read the conditions carefully before choosing an answer.
Quiz
Two positive numbers sum to . Which expression gives their sum of squares?
Why can squared distance be minimized instead of distance?
A box is cut from a 3 m by 8 m sheet. Which is its feasible cut interval?
A cylinder of radius is inscribed coaxially in a cone of radius and height . What is its height?
Which is total revenue when is unit selling price?
A derivative equation gives one root outside the feasible domain. What should you do?
Practice Problems
- Find two positive numbers with sum 60 maximizing . Then solve the corresponding problem with sum 35 and product .
- Two positive numbers sum to 16. Find the least possible sum of their cubes and justify the global minimum.
- Find the best corner cut for an open box made from an 18 cm square, and then from a 45 cm by 24 cm rectangle. State both feasible domains.
- Show that a rectangle of greatest area inscribed in a fixed circle is a square.
- For a closed cylinder of fixed total surface area, show that greatest volume occurs when height equals diameter. State explicitly that the circular ends are included.
- Find the dimensions of a closed cylindrical can of volume 100 cm³ with least total surface area.
- A 28 m wire is divided to make a square and a circle. Minimize their combined area, and report the length assigned to each shape.
- Show that a cone of greatest volume inscribed in a sphere of radius has height and occupies of the sphere’s volume.
- A cone has fixed volume. Minimize its curved surface area and show that its height is times its radius.
- For a cone of fixed slant height, maximize volume and find its semi-vertical angle. Repeat for fixed total surface area, explicitly including the base.
- A rectangular tank has depth 2 m and volume 8 m³. Base material costs 70 rupees/m² and side material 45 rupees/m². Find its least construction cost.
- A window consists of a rectangle topped by a semicircle, with total outside perimeter 10 m. Find dimensions maximizing its area.
- Find the greatest area of an isosceles triangle inscribed in , with its vertex at an endpoint of the major axis. Assume .
- A cylinder is inscribed in a sphere of radius . Express volume in terms of cylinder height and find its greatest possible value.
- A right circular cylinder is inscribed coaxially in a cone of height and semi-vertical angle . Show that its greatest-volume height is .
- For a right triangle, a point on the hypotenuse is at perpendicular distances from the two legs. Express the hypotenuse length using its angle and show its minimum is .
Key Takeaways
• Optimization starts with a correct objective, a constraint, and a feasible domain. • Geometric relationships can reduce a model to one variable. • Minimizing nonnegative squared distance finds the same locations as minimizing distance. • Only feasible stationary points can answer the physical question. • Justify the global comparison and finish with the requested dimensions, values, and units.