Final Exam PrepRegister Now

Calculus · Optimization

Optimization: every type of problem

Nothing here is for memorizing. See many problems, and a new one will look like one you have already seen.

Problems seen0 of 16

The same 7 steps, every time

Each step is done on the same small example.

The exampleA rectangle has a perimeter of 2020 m. What is the largest area it can have?

  1. 1

    See that it is an optimization problem. Look for words like "largest", "smallest", "least", "most", "cheapest", "closest". The question wants something as big or as small as possible.

    Example"Largest" is the word.

  2. 2

    What am I optimizing? Ask this question first. Name the quantity, and say if you want it largest or smallest.

    ExampleThe area. We want it as large as possible.

  3. 3

    Draw a sketch and write the equation. Draw the picture. On a length you can choose, write a letter. On a length that is fixed, write its number. Then write the equation of the quantity you are optimizing.

    ExampleDraw a rectangle with sides xx and yy. Its area is A=xyA = xy.

  4. 4

    Find the constraint, if you need one. Does your equation have more than one variable? Then you need a constraint. Ask: can I choose anything I like? No. Something in the story does not allow it. Write that as an equation.

    ExampleA=xyA = xy has two variables. The perimeter must be 2020: 2x+2y=202x + 2y = 20.

  5. 5

    Keep only one variable. This is the purpose of the constraint: it lowers the number of variables. Solve the constraint for one letter and put the result into your equation. Then write which values are allowed.

    Exampley=10−xy = 10 - x, so A=x(10−x)=10x−x2A = x(10 - x) = 10x - x^2. Allowed: 0<x<100 < x < 10.

  6. 6

    Find the critical point. Differentiate. Set the derivative equal to 00 and solve. Keep a critical point only if it is one of the allowed values.

    ExampleA′=10−2xA' = 10 - 2x. Then 10−2x=010 - 2x = 0 gives x=5x = 5.

  7. 7

    Check that it is the one you want. Look at the end points of the allowed values too. Show that the critical point gives the largest value, or the smallest. Then answer the question that was asked.

    ExampleNear x=0x = 0 and near x=10x = 10 the area is almost 00. At x=5x = 5 it is 2525. The largest area is 2525 m2^2.

What is a constraint? Ask yourself: can I choose anything I like? Can I make the area as large as I want, or the cost zero? No. Something in the story does not allow it: a fixed length of fence, a fixed volume, a point that must stay on a curve. That is the constraint. Write it as an equation. Its purpose is to lower the number of variables. After that, the quantity you optimize has only one variable. More on the constraint

More of the same kind: related rates, every type of problem. One recipe per kind of question: the Math 100 Problem Playbook.