Math Lab
Home/Class XII/Ch 6/Applied optimisation

Applied optimisation

Optimisation is the chapter's payoff. Real problems , minimising the surface area of a box, maximising the revenue of a firm , become exercises in calculus once we write the quantity to optimise as a function of a single variable. This subtopic walks through the recipe and a gallery of classical examples.

The recipe

  1. Read carefully and identify what is to be maximised or minimised.
  2. Draw a diagram if geometric.
  3. Name the variables. Choose one as the independent variable.
  4. Express the target quantity as a function of the chosen variable, using any constraints.
  5. Differentiate and find critical points.
  6. Classify critical points (1st or 2nd derivative test).
  7. Check endpoints if applicable.
  8. State the answer with units.

Classic example: largest rectangle in a semicircle

Find the largest rectangle that can be inscribed in a semicircle of radius rr.

Let the rectangle have width 2x2x (so xXx-x \le X \le x where XX is the horizontal coordinate) and height yy where x2+y2=r2x^2 + y^2 = r^2.

Area A=2xy=2xr2x2A = 2xy = 2x \sqrt{r^2 - x^2}.

dAdx=2r2x2+2xxr2x2=2(r22x2)r2x2\dfrac{dA}{dx} = 2\sqrt{r^2 - x^2} + 2x \cdot \dfrac{-x}{\sqrt{r^2 - x^2}} = \dfrac{2(r^2 - 2x^2)}{\sqrt{r^2 - x^2}}.

Set to 00: r2=2x2r^2 = 2x^2, x=r/2x = r/\sqrt 2. Then y=r/2y = r/\sqrt 2.

Maximum area: 2r/2r/2=r22 \cdot r/\sqrt 2 \cdot r/\sqrt 2 = r^2.

Box from a sheet

Make an open box from a square sheet of side aa by cutting squares of side xx from each corner and folding. Find the value of xx that maximises the volume.

After folding, the box has base (a2x)×(a2x)(a - 2x) \times (a - 2x) and height xx.

V(x)=x(a2x)2V(x) = x(a - 2x)^2, 0<x<a/20 < x < a/2.

V(x)=(a2x)2+x2(a2x)(2)=(a2x)(a2x4x)=(a2x)(a6x)V'(x) = (a - 2x)^2 + x \cdot 2(a - 2x)(-2) = (a - 2x)(a - 2x - 4x) = (a - 2x)(a - 6x).

Set to 00: x=a/2x = a/2 (boundary, excluded) or x=a/6x = a/6.

Maximum at x=a/6x = a/6. Volume =(a/6)(2a/3)2=2a3/27= (a/6)(2a/3)^2 = 2a^3/27.

Worked examples

Example 1. Find two positive numbers whose sum is 2020 and whose product is maximum.

x+y=20x + y = 20, maximise xyxy. Substitute: y=20xy = 20 - x, P=x(20x)=20xx2P = x(20 - x) = 20x - x^2. P=202x=0x=10P' = 20 - 2x = 0 \Rightarrow x = 10. So x=y=10x = y = 10, max product 100100.

Example 2. Find the cylinder of largest volume inscribed in a sphere of radius RR.

Cylinder: radius rr, height 2h2h. From sphere: r2+h2=R2r^2 + h^2 = R^2. Volume V=πr2(2h)=2πh(R2h2)V = \pi r^2 (2h) = 2\pi h (R^2 - h^2).

V(h)=2π(R23h2)=0h=R/3V'(h) = 2\pi(R^2 - 3h^2) = 0 \Rightarrow h = R/\sqrt 3, r=R2/3r = R\sqrt{2/3}.

Max volume: 4πR333\dfrac{4\pi R^3}{3\sqrt 3}.

Example 3. A window has the shape of a rectangle topped by a semicircle. The perimeter is 1010 m. Find the dimensions that maximise the area of light admitted.

Let width =2r= 2r, rectangular height =h= h. Perimeter: 2r+2h+πr=102r + 2h + \pi r = 10, so h=(102rπr)/2h = (10 - 2r - \pi r)/2.

Area A=2rh+πr22=r(102rπr)+πr22=10r2r2πr22A = 2rh + \tfrac{\pi r^2}{2} = r(10 - 2r - \pi r) + \tfrac{\pi r^2}{2} = 10 r - 2 r^2 - \tfrac{\pi r^2}{2}.

dAdr=104rπr=0r=10/(4+π)\dfrac{dA}{dr} = 10 - 4r - \pi r = 0 \Rightarrow r = 10/(4 + \pi).

h=(102rπr)/2=10/(4+π)h = (10 - 2 r - \pi r)/2 = 10/(4 + \pi). So h=rh = r.

Width is 2r=20/(4+π)2r = 20/(4 + \pi).

Example 4. Find the point on y=x2y = x^2 closest to (0,1)(0, 1).

Distance squared: D=x2+(x21)2D = x^2 + (x^2 - 1)^2. Differentiate: D=2x+4x(x21)=2x(1+2(x21))=2x(2x21)D' = 2x + 4 x (x^2 - 1) = 2x(1 + 2(x^2 - 1)) = 2x(2x^2 - 1).

Critical points: x=0x = 0 or x=±1/2x = \pm 1/\sqrt 2. Values: D(0)=1D(0) = 1; D(±1/2)=1/2+1/4=3/4D(\pm 1/\sqrt 2) = 1/2 + 1/4 = 3/4.

Closest points: (±1/2,1/2)(\pm 1/\sqrt 2, 1/2).

Example 5. A wire of length 2424 m is cut into two pieces. One forms a square, the other a circle. Find the lengths to maximise total enclosed area.

Let one piece be xx (square side x/4x/4) and the other 24x24 - x (circle radius (24x)/(2π)(24 - x)/(2\pi)).

Area A=(x/4)2+π((24x)/(2π))2=x2/16+(24x)2/(4π)A = (x/4)^2 + \pi \cdot ((24 - x)/(2\pi))^2 = x^2/16 + (24 - x)^2/(4\pi).

dA/dx=x/8(24x)/(2π)=0x=96/(8+π)dA/dx = x/8 - (24 - x)/(2\pi) = 0 \Rightarrow x = 96/(8 + \pi) at minimum. Check second derivative: d2A/dx2=1/8+1/(2π)>0d^2 A/dx^2 = 1/8 + 1/(2\pi) > 0. So this is a min.

Maximum is at an endpoint: x=0x = 0 (all circle) gives A=242/(4π)=144/π45.84A = 24^2/(4\pi) = 144/\pi \approx 45.84. x=24x = 24 (all square) gives A=36A = 36. So all wire on circle for max area.

Example 6. A manufacturer can sell xx items at p=5x/100p = 5 - x/100 rupees each. Cost is C(x)=500+2xC(x) = 500 + 2x. Find xx that maximises profit.

Revenue R(x)=xp=x(5x/100)=5xx2/100R(x) = x p = x(5 - x/100) = 5x - x^2/100. Profit P(x)=RC=3xx2/100500P(x) = R - C = 3x - x^2/100 - 500.

P(x)=3x/50=0x=150P'(x) = 3 - x/50 = 0 \Rightarrow x = 150. Profit: 3(150)1502/100500=450225500=2753(150) - 150^2/100 - 500 = 450 - 225 - 500 = -275.

Wait , negative profit means losing money. Let me re-examine: max profit = 275-275 means even at the optimal production level, the firm loses 275275 rupees. The firm should not produce.

(Or the problem could have intended different numbers; the procedure is correct.)

Try it yourself

  1. Find two positive numbers whose product is 400400 and sum is minimum.
  2. A rectangular box with a square base, open at the top, has volume 3232 cm3^3. Find dimensions of minimum surface area.
  3. Find the maximum area of an isosceles triangle inscribed in an ellipse with axes a,ba, b.
  4. A wire of length LL is bent into a rectangle. Find the side ratio that maximises area.
  5. Find the shortest distance from (0,c)(0, c) to the parabola y=x2y = x^2.
  6. A right circular cylinder is inscribed in a cone of height hh and base radius rr. Find the cylinder's largest volume.
  7. A man 1.81.8 m tall walks toward a 4.54.5-m lamp post at 1.21.2 m/s. Find the rate at which the tip of his shadow moves.
  8. A wire is bent to form a rectangle of perimeter 2020. Find the rectangle of maximum area.
  9. Show: the rectangle of maximum perimeter that fits in a given square is the square itself.
  10. A cone of height hh has slant length \ell fixed. Find hh for maximum volume.
  11. A man in a boat 33 km from a straight shore wants to reach a point 55 km up the shore in minimum time. He rows at 22 km/h and walks at 55 km/h. Where should he land?
  12. Find the maximum area of a triangle with given perimeter.
  13. Show that of all rectangles of given diagonal, the square has maximum area.
  14. A box has square base and open top. Volume 108108 cm3^3. Find dimensions of minimum surface area.

Pitfalls / Tricks

  • Always write the target as a function of one variable using the constraint.
  • Use the second derivative test or first derivative test to confirm max vs min.
  • Check endpoints , the max often occurs at a boundary.
  • Negative profit / negative cost / negative dimensions are nonsensical answers; check.
  • For geometric problems, draw a picture and label all variables before computing.

This concludes the chapter. The next chapter on integrals is the antiderivative twin of differentiation.

Practice quiz

Quick check on this topic.

Quiz
Quick check — Applied optimisation
6 questions · pick the best answer
Q1

Of all rectangles with perimeter 40, the one with maximum area has dimensions:

Q2

A box of square base and open top has volume 32 m3^3. Minimum surface area occurs when side of base is:

Q3

Two positive numbers sum to 20. Their product is maximum when they are:

Q4

A right circular cone of fixed slant height ll has maximum volume when its height is:

Q5

Among isoperimetric closed curves of fixed perimeter, the maximum area is achieved by a:

Q6

A wire of length 28 cm is bent into a square and a circle. The square's side is aa, circle's radius rr. Total perimeter constraint is: