Fiveable

โˆซCalculus I Unit 4 Review

QR code for Calculus I practice questions

4.7 Applied Optimization Problems

4.7 Applied Optimization Problems

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
โˆซCalculus I
Unit & Topic Study Guides

Optimization Problems

Optimization problems ask you to find the maximum or minimum value of some quantity, given a set of real-world restrictions. This is one of the most practical topics in Calculus I because it connects derivatives directly to problems like designing containers, maximizing revenue, or minimizing material costs.

Setup of Optimization Problems

Every optimization problem has the same core ingredients:

  • Objective function: the quantity you want to maximize or minimize (profit, area, volume, cost, distance, etc.), written as a function of one or more variables.
  • Constraints: restrictions the problem places on your variables (a fixed amount of material, a budget cap, a required volume). These are usually equations or inequalities.
  • Decision variables: the quantities you're free to adjust in order to optimize the objective function (the length and width of a box, the number of units produced, etc.).

Your job is to combine these pieces so that the objective function depends on just one variable, then use derivatives to find its extreme values.

Step-by-step process for solving an optimization problem:

  1. Read carefully and draw a picture if the problem is geometric. Label every quantity with a variable.
  2. Write down the objective function โ€” the thing you're maximizing or minimizing.
  3. Write down the constraint equation(s) relating your variables.
  4. Use the constraint to eliminate a variable. Solve the constraint for one variable and substitute into the objective function so it depends on a single variable.
  5. Determine the domain. Based on the physical context, figure out what values the remaining variable can take. Lengths must be positive, quantities can't be negative, etc.
  6. Differentiate the objective function and set the derivative equal to zero to find critical points.
  7. Check critical points and endpoints. Evaluate the objective function at each critical point within the domain and at the endpoints (if the domain is closed). The largest value is the absolute maximum; the smallest is the absolute minimum.
  8. Answer the question that was asked. The problem might ask for the dimensions, the maximum area, the minimum cost โ€” make sure you give the right quantity with units.

Common mistake: Students often skip step 5 and forget to check endpoints. On a closed interval, the absolute max or min can occur at an endpoint, not just at a critical point.

Setup of optimization problems, Quadric Surfaces ยท Calculus

Application of Derivatives for Optimization

Many real-world situations translate naturally into optimization problems. Here are two classic types:

Geometric optimization โ€” You're given a fixed amount of material (fencing, cardboard, wire) and need to find dimensions that maximize area or volume. For example: A farmer has 200 m of fencing and wants to enclose the largest possible rectangular area against a barn wall. The constraint is the total fencing, and the objective function is area.

Economic optimization โ€” You want to maximize profit or minimize cost given production limits or pricing relationships. For example: A company's revenue is R(x)=50xโˆ’0.5x2R(x) = 50x - 0.5x^2 and its cost is C(x)=10x+100C(x) = 10x + 100. Find the production level that maximizes profit. Here, profit is P(x)=R(x)โˆ’C(x)P(x) = R(x) - C(x), and you differentiate to find the optimal xx.

In both cases, the process is the same:

  1. Identify what you're optimizing and write it as a function.
  2. Identify the constraint and use it to reduce to one variable.
  3. Differentiate, find critical points, and test them.
  4. Interpret your answer in context โ€” state what the optimal dimensions are, or what the maximum profit equals.
Setup of optimization problems, Section 12.1 Question 2 โ€“ Math FAQ

Analysis of Unbounded Optimization Domains

Not every optimization problem gives you a nice closed interval to work on. When the domain extends to infinity in at least one direction, you're dealing with an unbounded domain, and the Extreme Value Theorem no longer guarantees that absolute extrema exist.

To handle these problems:

  1. Find the critical points as usual by setting the derivative equal to zero.
  2. Analyze the behavior of the objective function as the variable approaches โˆž\infty or โˆ’โˆž-\infty (or whichever direction is unbounded). Evaluate limโกxโ†’โˆžf(x)\lim_{x \to \infty} f(x) and/or limโกxโ†’โˆ’โˆžf(x)\lim_{x \to -\infty} f(x).
  3. If the function approaches โˆž\infty in the unbounded direction, then no absolute maximum exists on that side. If it approaches โˆ’โˆž-\infty, no absolute minimum exists on that side.
  4. If the limit is finite, compare that limiting value to the function values at your critical points to determine whether an absolute extremum exists.

For example, if f(x)โ†’0f(x) \to 0 as xโ†’โˆžx \to \infty and ff has a single critical point where f=5f = 5, then f=5f = 5 is the absolute maximum on that domain.

Practical note: Even when a mathematical domain is unbounded, the real-world problem often has implicit constraints. A company can't produce infinitely many units โ€” there's market demand, warehouse space, or labor limits. Recognizing these hidden boundaries can turn an unbounded problem into a bounded one.

Calculus Concepts in Optimization

These core calculus ideas come together in every optimization problem:

  • Functions: You express the quantity to optimize as a function of your decision variable(s).
  • Domain: You determine the set of valid inputs by considering both explicit constraints (given in the problem) and implicit constraints (physical reality โ€” lengths are positive, quantities are non-negative).
  • Derivatives: Setting fโ€ฒ(x)=0f'(x) = 0 locates critical points where extrema can occur. The second derivative test (fโ€ฒโ€ฒ(x)>0f''(x) > 0 means local min, fโ€ฒโ€ฒ(x)<0f''(x) < 0 means local max) can confirm the nature of a critical point without checking endpoints.
  • Limits: When the domain is unbounded, limits tell you whether the function grows without bound or levels off, which determines whether absolute extrema exist.