Math 1271: Applied Optimization Reference Notes

Page 1: Warm-Up on Local Extrema

  • Problem: Find the local extrema of the function:

F(x)=2x+1800x=2x+1800x−1F(x) = 2x + \frac{1800}{x} = 2x + 1800x^{-1}

  • First derivative:

F′(x)=2−1800x2F'(x) = 2 - \frac{1800}{x^2}

  • Critical numbers are found by setting F′(x)=0F'(x) = 0 or identifying where F′(x)F'(x) does not exist:

0=2−1800x2  ⟹  2=1800x2  ⟹  x2=900  ⟹  x=30 or x=−300 = 2 - \frac{1800}{x^2} \implies 2 = \frac{1800}{x^2} \implies x^2 = 900 \implies x = 30 \text{ or } x = -30

F′(0) does not existF'(0) \text{ does not exist}

  • First derivative sign test yields:

    • Local maximum at x=−30x = -30

    • Local minimum at x=30x = 30

  • ChimeIn reference: Chimein.cla.umn.edu (code: 832-314).

Page 2: Maximizing Parcel Volume (Preview Activity 3.4.1)

  • Postal constraint: Length plus girth of a parcel with a square end cannot exceed 108 in108\,\text{in}.

Rectangular parcel with square end of side length x and length y
  • System setup:

    • Quantity to maximize (Volume): V=x2yV = x^2 y

    • Constraint equation: 108=y+4x  ⟹  y=108−4x108 = y + 4x \implies y = 108 - 4x

    • Single-variable objective function: V(x)=x2(108−4x)=108x2−4x3V(x) = x^2(108 - 4x) = 108x^2 - 4x^3

    • Domain: x≥0x \ge 0 and y≥0  ⟹  x∈[0,27]y \ge 0 \implies x \in [0, 27]

  • Closed Interval Method:

    • Derivative: V′(x)=216x−12x2=12x(18−x)V'(x) = 216x - 12x^2 = 12x(18 - x)

    • Critical values in domain: x=0x = 0, x=18x = 18

    • Function evaluation:

    • V(0)=0V(0) = 0

    • V(18)=108(18)2−4(18)3=11664 in3V(18) = 108(18)^2 - 4(18)^3 = 11664\,\text{in}^3 (absolute maximum)

    • V(27)=0V(27) = 0

  • Optimal dimensions: x=18 inx = 18\,\text{in} and y=108−4(18)=36 iny = 108 - 4(18) = 36\,\text{in}.

Page 3: Applied Optimization Concepts and Current Applications

  • Calculus transformation: Calculus transforms hard algebra problems (locating maximum or minimum values) into easier problems (finding roots or zeros of derivatives).

  • Numerical solving: Computers typically utilize Newton's method to compute roots of derivative functions.

  • Challenging step: Determining the correct objective function and constraint setup from real-world contexts.

  • Related academic fields: Operations Research, Data science/engineering.

Page 4: Strategy for Solving Optimization Problems

  • General definition: Maximize or minimize an objective quantity subject to a given constraint.

  • Algorithmic procedure:

    • Step 0: Draw a diagram or sketch where relevant.

    • Step 1: Identify whether the goal is to maximize or minimize; identify the objective quantity and the constraint.

    • Step 2: Use the constraint equation to solve for one variable.

    • Step 3: Substitute this variable expression into the objective function.

    • Step 4: Differentiate and find all critical numbers.

    • Step 5: Confirm that the critical point is a maximum or minimum (e.g., using the Closed Interval Method or derivative tests).

    • Step 6: State the final answer clearly with proper units.

Page 5: Minimizing Fencing for a River-Bordered Field

  • Objective: Determine field dimensions that minimize fencing for an area of 1800 m21800\,\text{m}^2 bordering a straight river (no fencing on river side).

Rectangular field bordered on one side by a river
  • Problem formulation:

    • Fencing function to minimize: F=2x+yF = 2x + y

    • Area constraint: 1800=xy  ⟹  y=1800x1800 = xy \implies y = \frac{1800}{x}

    • Single-variable objective: F(x)=2x+1800xF(x) = 2x + \frac{1800}{x}

    • Domain: x∈(0,∞)x \in (0, \infty)

  • Critical numbers and classification:

    • Derivative: F′(x)=2−1800x2F'(x) = 2 - \frac{1800}{x^2}

    • Setting F′(x)=0  ⟹  x=30F'(x) = 0 \implies x = 30 (x=−30x = -30 is discarded as non-physical)

    • First Derivative Test shows a local minimum at x=30x = 30. Since it is the only local extremum on (0,∞)(0, \infty), it is the global minimum.

  • Optimal dimensions: x=30 mx = 30\,\text{m} and y=180030=60 my = \frac{1800}{30} = 60\,\text{m}.

Page 6: Theorem on Single Local Extrema and Global Extrema

  • Extreme Value Theorem for a Single Local Extremum:

    • Let ff be continuous on an interval II.

    • If f(c)f(c) is the only local extremum of ff on II:

    • If f(c)f(c) is a local maximum, then f(c)f(c) is the global maximum of ff on II.

    • If f(c)f(c) is a local minimum, then f(c)f(c) is the global minimum of ff on II.

Page 7: Maximizing the Product of Two Numbers (Setup)

  • Problem statement: Find two positive numbers whose sum is 7070 and whose product is as large as possible.

  • Formulation:

    • Function to optimize: Maximize f(x,y)=xyf(x, y) = xy

    • Constraint: x+y=70x + y = 70 where x>0x > 0 and y>0y > 0

    • Domain for xx: x∈(0,70)x \in (0, 70)

Page 8: Maximizing the Product of Two Numbers (Solution)

  • Express as single-variable function:

y=70−xy = 70 - x

f(x)=x(70−x)=70x−x2f(x) = x(70 - x) = 70x - x^2

  • Calculus optimization:

    • Differentiate: f′(x)=70−2xf'(x) = 70 - 2x

    • Find critical points: 70−2x=0  ⟹  2x=70  ⟹  x=3570 - 2x = 0 \implies 2x = 70 \implies x = 35

    • Maximum verification: f′′(x)=−2<0f''(x) = -2 < 0 (concave down everywhere, confirming a global maximum)

  • Conclusion: The two positive numbers are 3535 and 3535, with maximum product 12251225.

Page 9: Activity 3.6.3: Minimizing Travel Time to Cabin (Setup)

  • Scenario: A hiker walks east from point PP along a road toward point QQ (3 km3\,\text{km} away) at a speed of 8 km/h8\,\text{km/h}. A cabin is 2 km2\,\text{km} north of QQ. The hiker turns into the woods at point ZZ between PP and QQ, traveling directly to the cabin at a speed of 3 km/h3\,\text{km/h}.

Hiker path diagram from point P through Z to the cabin
  • Modeling travel time:

    • Let xx be the distance from ZZ to QQ.

    • Distance on road: 3−x3 - x

    • Time on road: 3−x8\frac{3 - x}{8}

    • Distance in forest: 4+x2\sqrt{4 + x^2}

    • Time in forest: 4+x23\frac{\sqrt{4 + x^2}}{3}

    • Total time function: T(x)=3−x8+4+x23T(x) = \frac{3 - x}{8} + \frac{\sqrt{4 + x^2}}{3}

  • Derivative:

T′(x)=−18+x34+x2T'(x) = -\frac{1}{8} + \frac{x}{3\sqrt{4 + x^2}}

Page 10: Activity 3.6.3: Minimizing Travel Time to Cabin (Solution)

  • Critical point computation:

T′(x)=0  ⟹  x34+x2=18T'(x) = 0 \implies \frac{x}{3\sqrt{4 + x^2}} = \frac{1}{8}

8x=34+x28x = 3\sqrt{4 + x^2}

64x2=9(4+x2)=36+9x264x^2 = 9(4 + x^2) = 36 + 9x^2

55x2=36  ⟹  x2=3655  ⟹  x=65555x^2 = 36 \implies x^2 = \frac{36}{55} \implies x = \frac{6}{\sqrt{55}}

  • Conclusion: Travel time is minimized by turning into the woods at a distance of x=655 kmx = \frac{6}{\sqrt{55}}\,\text{km} west of point QQ, corresponding to walking 3−655 km3 - \frac{6}{\sqrt{55}}\,\text{km} along the road from point PP.