Grade 12 IB Math is live, AA and AI · see the IB course

Grade 12 · MCV4U · Calculus & Vectors

MCV4U: Optimization Problems

An optimization problem asks for the biggest or smallest possible value of something: the most area, the least material, the shortest distance. Derivatives find it, because a maximum or minimum sits where the slope is zero or at an end of the interval.

How It Works

The lesson's method, in order. Every step earns marks on a test, so write them all down.

1. Name what you are optimizing. "Maximize the area AA." Draw a diagram and label it.

2. Write a formula for it. Usually it has two variables, like A=xyA = xy.

3. Use the constraint to get one variable. The problem always gives a fixed amount: a perimeter, a volume, a curve the point must sit on. Solve that for one variable and substitute, so the formula has only one.

4. State the domain. Lengths are positive, and you cannot cut more than the sheet. The domain gives you the endpoints to check.

5. Differentiate, set the derivative to zero, solve, and verify. Compare the function at each critical number and at the endpoints, or use the second derivative test: f′′>0f''> 0 is a minimum and f′′<0f'' < 0 is a maximum.

Then answer the question that was asked. If it asks for the dimensions, give both, with units. A bare x=60x = 60 is not an answer.

Where students lose marks: skipping the domain, so a critical number outside it sneaks into the answer; never checking it is a max rather than a min; and keeping two variables, so there is nothing to differentiate.

A shortcut for distance: to find the point on a curve closest to another point, minimize the distance squared. It has the same minimum, and it gets rid of the square root before you differentiate.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Two positive numbers add to 2424. Find them so that their product is as large as possible.
    Show solution
    1. Maximize P=xyP = xy with x+y=24x + y = 24, so y=24−xy = 24 - x.
    2. P=x(24−x)=24x−x2P = x(24 - x) = 24x - x^2 on 0<x<240 < x < 24.
    3. P′=24−2x=0P' = 24 - 2x = 0 gives x=12x = 12.
    4. P′′=−2<0P'' = -2 < 0, so it is a maximum. y=12y = 12 and P=144P = 144.

    Answer: 1212 and 1212, with product 144144.

  2. Easy

    A farmer has 240240 m of fence for a rectangular pen along a river. The river side needs no fence. Find the dimensions with the largest area.
    Show solution
    1. Let xx be each side perpendicular to the river and yy the side parallel to it. Fence: 2x+y=2402x + y = 240, so y=240−2xy = 240 - 2x.
    2. A=xy=x(240−2x)=240x−2x2A = xy = x(240 - 2x) = 240x - 2x^2 on 0≤x≤1200 \le x \le 120.
    3. A′=240−4x=0A' = 240 - 4x = 0 gives x=60x = 60.
    4. Check: A(0)=0A(0) = 0, A(120)=0A(120) = 0, A(60)=60×120=7200A(60) = 60 \times 120 = 7200. The maximum is at x=60x = 60, where y=120y = 120.

    Answer: 6060 m by 120120 m (the 120120 m side along the river), for an area of 72007200 m².

  3. Medium

    An open box is made from a 2424 cm by 2424 cm sheet by cutting equal squares from the corners and folding up the sides. Find the largest possible volume.
    Show solution
    1. Let xx be the side of each cut square. The base is 24−2x24 - 2x on each side and the height is xx.
    2. V=x(24−2x)2V = x(24 - 2x)^2 on 0≤x≤120 \le x \le 12.
    3. Product and chain rule: V′=(24−2x)2−4x(24−2x)=(24−2x)(24−6x)V' = (24 - 2x)^2 - 4x(24 - 2x) = (24 - 2x)(24 - 6x).
    4. V′=0V' = 0 at x=12x = 12 or x=4x = 4. At x=12x = 12 the base vanishes.
    5. Check: V(0)=0V(0) = 0, V(12)=0V(12) = 0, V(4)=4×162=1024V(4) = 4 \times 16^2 = 1024.

    Answer: Cut 44 cm squares, for a maximum volume of 10241024 cm³.

  4. Medium

    A box with a square base and no top must hold 32 00032\,000 cm³. Find the dimensions that use the least material.
    Show solution
    1. Let the base be xx by xx and the height hh. Minimize the surface area S=x2+4xhS = x^2 + 4xh.
    2. Volume constraint: x2h=32 000x^2h = 32\,000, so h=32 000x2h = \frac{32\,000}{x^2}.
    3. Substitute: S=x2+128 000xS = x^2 + \frac{128\,000}{x} for x>0x > 0.
    4. S′=2x−128 000x2=0S' = 2x - \frac{128\,000}{x^2} = 0 gives x3=64 000x^3 = 64\,000, so x=40x = 40.
    5. S′′=2+256 000x3>0S'' = 2 + \frac{256\,000}{x^3} > 0, so it is a minimum. h=32 0001600=20h = \frac{32\,000}{1600} = 20, and S=1600+3200=4800S = 1600 + 3200 = 4800.

    Answer: Base 4040 cm by 4040 cm, height 2020 cm, using 48004800 cm² of material.

  5. Test level

    Find the points on the parabola y=x2y = x^2 closest to the point (0,2)(0, 2).
    Show solution
    1. A point on the curve is (x,x2)(x, x^2). Minimize the distance squared: D=x2+(x2−2)2D = x^2 + (x^2 - 2)^2.
    2. D′=2x+2(x2−2)(2x)=2x(2x2−3)D' = 2x + 2(x^2 - 2)(2x) = 2x(2x^2 - 3).
    3. D′=0D' = 0 at x=0x = 0 or x2=32x^2 = \frac{3}{2}, so x=±62x = \pm\frac{\sqrt{6}}{2}.
    4. Compare: D(0)=4D(0) = 4, while D(±62)=32+14=74D\left(\pm\frac{\sqrt{6}}{2}\right) = \frac{3}{2} + \frac{1}{4} = \frac{7}{4}. So x=0x = 0 is a local maximum of DD, a trap, and the minimum is at x=±62x = \pm\frac{\sqrt{6}}{2}.
    5. There y=x2=32y = x^2 = \frac{3}{2}, and the distance is 74=72\sqrt{\frac{7}{4}} = \frac{\sqrt{7}}{2}.

    Answer: (62,32)\left(\frac{\sqrt{6}}{2}, \frac{3}{2}\right) and (−62,32)\left(-\frac{\sqrt{6}}{2}, \frac{3}{2}\right), at distance 72\frac{\sqrt{7}}{2}.

Learn It on Martian Lab

Martian Lab teaches this in the Optimization 1 lesson of its MCV4U Optimization unit. Watch it, then take the Optimization practice tests to see if it stuck.

Watch the Optimization 1 lesson free

Start Practicing

No credit card required to start.

Get started