Solved Exercises on Optimization Problems in Calculus 1

Master optimization problems: finding maxima and minima, critical points, applications of derivatives through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Rectangle Area
Exercise 1
Find the dimensions of the rectangle with maximum area that can be inscribed in a circle of radius 5.
Definition:

Optimization Problem: Find maximum or minimum values of a function subject to constraints.

Optimization Method:
  1. Identify variables and constraints
  2. Formulate objective function
  3. Express in terms of one variable
  4. Find critical points using derivatives
  5. Verify maximum/minimum using second derivative or endpoints
Variables
x, y (rectangle sides)
Constraint
x² + y² = 100
Objective
A = xy
Step 1: Set up constraint

Rectangle inscribed in circle of radius 5: x² + y² = 100 (diagonal = diameter = 10)

Step 2: Express y in terms of x

y² = 100 - x² → y = √(100 - x²)

Step 3: Formulate objective function

A(x) = x·√(100 - x²)

Step 4: Find critical points

A'(x) = √(100 - x²) + x·(-2x)/(2√(100 - x²))

A'(x) = √(100 - x²) - x²/√(100 - x²) = (100 - x² - x²)/√(100 - x²) = (100 - 2x²)/√(100 - x²)

Setting A'(x) = 0: 100 - 2x² = 0 → x² = 50 → x = 5√2

Step 5: Find y and verify

y = √(100 - 50) = √50 = 5√2

Second derivative test confirms this is a maximum

Maximum area occurs when x = y = 5√2 (square)
Final answer:

The rectangle with maximum area is a square with sides of length 5√2, giving area = 50 square units.

Applied rules:

• Constraint equation: Geometric relationship between variables

• Product rule: For differentiating A(x) = x·√(100 - x²)

• Critical points: Solve A'(x) = 0

• Maximum verification: Second derivative test or boundary analysis

2 Box Volume
Exercise 2
Find the dimensions of the rectangular box with maximum volume that can be made from a square sheet of cardboard with side length 24 inches by cutting equal squares from each corner and folding up the sides.
Definition:

Volume Optimization: Maximize V = length × width × height subject to material constraints.

Variable
x (cut size)
Dimensions
(24-2x) × (24-2x) × x
Volume
V(x) = x(24-2x)²
Step 1: Define variables

Let x = side length of cut squares

Base dimensions: (24-2x) × (24-2x)

Height: x

Step 2: Formulate objective function

V(x) = x(24-2x)² = x(576 - 96x + 4x²) = 576x - 96x² + 4x³

Step 3: Find critical points

V'(x) = 576 - 192x + 12x²

Setting V'(x) = 0: 12x² - 192x + 576 = 0

Dividing by 12: x² - 16x + 48 = 0

Using quadratic formula: x = (16 ± √(256-192))/2 = (16 ± √64)/2 = (16 ± 8)/2

So x = 12 or x = 4

Step 4: Verify feasible solution

Since x < 12 (to keep positive dimensions), x = 4 is valid

Second derivative: V''(x) = 24x - 192

V''(4) = 96 - 192 = -96 < 0, confirming maximum

Step 5: Find dimensions

Base: (24-8) × (24-8) = 16 × 16

Height: 4

Maximum volume: V(4) = 4 × 16² = 1024 cubic inches

Optimal dimensions: 16 × 16 × 4 with volume = 1024 cubic inches
Final answer:

The box with maximum volume has base dimensions 16 × 16 inches and height 4 inches, giving a volume of 1024 cubic inches.

Applied rules:

• Geometric modeling: Translate physical situation to mathematical function

• Quadratic formula: Solve V'(x) = 0

• Second derivative test: Confirm maximum (V''(x) < 0)

• Feasibility check: Ensure dimensions are physically meaningful

3 Distance Minimization
Exercise 3
A man launches his boat from point A on a bank of a straight river, 3 km wide, and wants to reach point B, 8 km downstream on the opposite bank as quickly as possible. He can row at 6 km/h and run at 8 km/h. Where should he land on the opposite bank to minimize travel time?
Definition:

Time Minimization: Minimize total time T = distance₁/speed₁ + distance₂/speed₂

Variable
x (distance downstream)
Rowing distance
√(9 + x²)
Running distance
8 - x
Step 1: Define the problem

Let x = distance downstream from point directly across from A to landing point

Rowing distance: √(3² + x²) = √(9 + x²)

Running distance: 8 - x

Step 2: Formulate time function

T(x) = (rowing distance)/(rowing speed) + (running distance)/(running speed)

T(x) = √(9 + x²)/6 + (8 - x)/8

Step 3: Find critical points

T'(x) = x/[6√(9 + x²)] - 1/8

Setting T'(x) = 0: x/[6√(9 + x²)] = 1/8

8x = 6√(9 + x²)

64x² = 36(9 + x²) = 324 + 36x²

28x² = 324

x² = 324/28 = 81/7

x = 9/√7 ≈ 3.4 km

Step 4: Verify minimum

Since T''(x) > 0 for x > 0, this is indeed a minimum

Step 5: Interpret result

The man should land 9/√7 ≈ 3.4 km downstream from the point directly across from A

Land at x = 9/√7 ≈ 3.4 km downstream for minimum time
Final answer:

The man should land approximately 3.4 km downstream from the point directly across from A to minimize his travel time.

Applied rules:

• Distance formula: Pythagorean theorem for rowing distance

• Time equation: Time = Distance/Speed

• Chain rule: For differentiating √(9 + x²)

• Algebraic manipulation: Solve rational equation involving radicals

Optimization Problems - Core Concepts
If f'(c) = 0 and f''(c) < 0, then f(c) is a local maximum
Maximum Test
Maximum
f'(c) = 0 and f''(c) < 0
Local maximum
Minimum
f'(c) = 0 and f''(c) > 0
Local minimum
Critical Point
f'(c) = 0 or f'(c) DNE
Potential extrema
Key definitions:

Objective Function: The function to be maximized or minimized

Constraint: Equation that relates variables in the problem

Critical Point: Point where derivative is zero or undefined

Local Extremum: Local maximum or minimum value

Global Extremum: Absolute maximum or minimum over the domain

Complete methodology:
  1. Read carefully: Identify what needs to be optimized
  2. Define variables: Assign symbols to unknown quantities
  3. Write constraint: Find relationships between variables
  4. Formulate objective: Write function to optimize in terms of one variable
  5. Find critical points: Solve f'(x) = 0
  6. Verify extrema: Use second derivative test or check endpoints
  7. State answer: Provide complete answer with units
Tip 1: Draw a diagram to visualize the problem and label all variables.
Tip 2: Check that critical points are in the domain and make physical sense.
Tip 3: Consider endpoints when the domain is closed and bounded.
Tip 4: Use the second derivative test to confirm maximum/minimum.
Geometric interpretation: Optimization finds peaks and valleys of functions.
Physical interpretation: Many real-world problems involve maximizing efficiency or minimizing cost.
Critical Point Analysis:

• First derivative test: Sign change in f' indicates local extrema

• Second derivative test: f''(c) < 0 for maximum, f''(c) > 0 for minimum

• Candidates: Critical points and endpoints of domain

• Global extrema: Compare all candidates

Solution: Exercises 4 to 5
4 Cylindrical Can
Exercise 4
Find the dimensions of a cylindrical can with volume 1000 cm³ that minimizes the surface area (material used).
Definition:

Surface Area Minimization: Minimize S = 2πr² + 2πrh subject to volume constraint.

Variables
r (radius), h (height)
Constraint
πr²h = 1000
Objective
S(r) = 2πr² + 2000/r
Step 1: Set up constraint

Volume: V = πr²h = 1000 → h = 1000/(πr²)

Step 2: Express surface area in terms of r

S = 2πr² + 2πrh = 2πr² + 2πr·[1000/(πr²)] = 2πr² + 2000/r

Step 3: Find critical points

S'(r) = 4πr - 2000/r²

Setting S'(r) = 0: 4πr = 2000/r²

4πr³ = 2000

r³ = 500/π

r = ∛(500/π)

Step 4: Find height

h = 1000/(πr²) = 1000/[π·∛(500/π)²] = 1000/[π·(500/π)^(2/3)]

h = 1000/[π·500^(2/3)·π^(-2/3)] = 1000·π^(-1/3)/500^(2/3) = 2·500^(1/3)/π^(1/3) = 2·∛(500/π)

So h = 2r, meaning the height equals the diameter

Step 5: Verify minimum

S''(r) = 4π + 4000/r³ > 0 for r > 0, confirming minimum

Minimum surface area when r = ∛(500/π), h = 2∛(500/π)
Final answer:

The can with minimum surface area has radius r = ∛(500/π) ≈ 5.42 cm and height h = 2∛(500/π) ≈ 10.84 cm.

Applied rules:

• Volume constraint: Express one variable in terms of another

• Surface area formula: S = 2πr² + 2πrh (including top and bottom)

• Power rule: For differentiating r^n terms

• Algebraic simplification: Manipulate radical expressions

5 Profit Maximization
Exercise 5
A company's profit function is P(x) = -2x² + 400x - 2000 where x is the number of units produced (in thousands). Find the production level that maximizes profit and the maximum profit.
Definition:

Profit Function: P(x) = Revenue(x) - Cost(x), typically quadratic with negative leading coefficient.

Profit Function
P(x) = -2x² + 400x - 2000
Derivative
P'(x) = -4x + 400
Maximum
x = 100
Step 1: Find derivative

P'(x) = -4x + 400

Step 2: Find critical points

Setting P'(x) = 0: -4x + 400 = 0 → x = 100

Step 3: Verify maximum

P''(x) = -4 < 0, confirming x = 100 gives a maximum

Step 4: Calculate maximum profit

P(100) = -2(100)² + 400(100) - 2000

P(100) = -20000 + 40000 - 2000 = 18000

Step 5: Interpret result

Producing 100 thousand units maximizes profit at $18,000 thousand = $18 million

Maximum profit of $18,000,000 at x = 100,000 units
Final answer:

The company should produce 100 thousand units to maximize profit, achieving a maximum profit of $18 million.

Applied rules:

• Quadratic functions: Maximum occurs at vertex x = -b/(2a)

• Business applications: Profit = Revenue - Cost

• Second derivative test: Negative second derivative confirms maximum

• Unit conversion: Carefully track units throughout calculation

Comprehensive Summary: Optimization Problems
f'(c) = 0 and f''(c) < 0 ⇒ f(c) is local maximum
Second Derivative Test
Key definitions:

Optimization Problem: Finding the maximum or minimum value of a function subject to constraints.

Objective Function: The function to be maximized or minimized (e.g., area, volume, profit).

Constraint: An equation that relates the variables in the problem (e.g., perimeter fixed, volume given).

Critical Point: A point where f'(x) = 0 or f'(x) does not exist.

Local Maximum: A point where function value is greater than nearby points.

Local Minimum: A point where function value is less than nearby points.

Global Maximum/Minimum: The highest/lowest value over the entire domain.

Complete methodology:
  1. Understand the problem: Read carefully, identify what is to be maximized/minimized
  2. Draw a diagram: Visualize the situation and label all variables
  3. Define variables: Assign symbols to unknown quantities
  4. Write constraint equation: Find relationship between variables
  5. Formulate objective function: Write the quantity to optimize in terms of one variable
  6. Find domain: Determine feasible values for the variable
  7. Find critical points: Solve f'(x) = 0
  8. Test critical points: Use first or second derivative test
  9. Check endpoints: If domain is closed and bounded
  10. State final answer: Include units and interpret in context
Tip 1: Always draw a diagram to visualize the problem and identify relationships.
Tip 2: Express the objective function in terms of a single variable using constraints.
Tip 3: Verify that critical points make physical sense (positive lengths, etc.).
Tip 4: Use the second derivative test: f''(c) < 0 for maximum, f''(c) > 0 for minimum.
Tip 5: Don't forget to check endpoints if the domain is closed and bounded.
Geometric interpretation: Optimization finds peaks and valleys of functions representing real-world quantities.
Physical interpretation: Many real-world problems involve maximizing efficiency or minimizing cost/resources.
Business applications: Profit maximization, cost minimization, revenue optimization.
Critical Point Analysis:

• First derivative test: Sign change from positive to negative indicates local maximum

• Second derivative test: f''(c) < 0 indicates local maximum, f''(c) > 0 indicates local minimum

• Candidates for extrema: Critical points and endpoints of the domain

• Global extrema: Compare all candidates to find absolute maximum/minimum

• Quadratic functions: Maximum occurs at vertex x = -b/(2a) when coefficient of x² is negative

Simple Example: Rectangle with Fixed Perimeter

Problem: Maximize area of rectangle with perimeter 20.

Solution: Let x, y be sides. Constraint: 2x + 2y = 20 → y = 10 - x

Area: A(x) = x(10 - x) = 10x - x²

A'(x) = 10 - 2x = 0 → x = 5

Since A''(x) = -2 < 0, this is a maximum.

Rectangle is a square: 5 × 5 with area 25.

Advanced Example: Pipeline Routing

Problem: Minimize cost of pipeline from point A to point B across a river.

Solution: Similar to Exercise 3, use distance formula and time minimization.

Key insight: Optimal path follows Snell's law of refraction in physics.

Minimizes total weighted distance: (water distance)/(water speed) + (land distance)/(land speed).

Questions & Answers

Question: How do I know whether a critical point is a maximum or minimum? Sometimes the second derivative test doesn't work.

Answer: You have several options to determine the nature of critical points:

  • Second derivative test: If f''(c) > 0, then c is a local minimum; if f''(c) < 0, then c is a local maximum
  • First derivative test: Examine the sign of f'(x) on either side of the critical point. If f' changes from positive to negative, it's a maximum; if from negative to positive, it's a minimum
  • Boundary analysis: For closed intervals, compare function values at critical points and endpoints
  • Contextual reasoning: In word problems, sometimes the physical situation tells you whether you expect a maximum or minimum

If f''(c) = 0, the second derivative test is inconclusive, so use the first derivative test or evaluate function values near the critical point.

Question: What if I have multiple variables in my optimization problem? Can I still use calculus?

Answer: Yes, but the approach depends on the number of variables:

  • Single constraint: Use substitution to reduce to a single-variable problem (as shown in our exercises)
  • Multiple constraints: In advanced calculus, use Lagrange multipliers
  • Two variables: Find partial derivatives ∂f/∂x = 0 and ∂f/∂y = 0, then use the second partial derivative test

For Calculus 1, focus on reducing multi-variable problems to single-variable ones using constraints. This is exactly what we did in our exercises by expressing one variable in terms of another.

Question: Why do we need to check endpoints when optimizing? Don't critical points always give the maximum or minimum?

Answer: Critical points are only candidates for local extrema, but global extrema (absolute maximum/minimum) can occur at endpoints even when there are critical points inside the interval.

Consider this example: f(x) = x² on the interval [1, 3]. The critical point is at x = 0 (outside the interval), but the minimum occurs at x = 1 and the maximum at x = 3 (both endpoints).

When the domain is closed and bounded (like [a,b]), always compare function values at:

  • All critical points inside the interval
  • The left endpoint
  • The right endpoint

The largest value is the global maximum, and the smallest is the global minimum.