Solved Exercises on Maximum and Minimum Values in College Algebra

Master maximum and minimum values: local and global extrema, optimization problems through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Quadratic function extrema
Exercise 1
Find the maximum and minimum values of the function \(f(x) = -x^2 + 6x - 8\) on the interval \([0, 5]\).
Definition:

Global maximum: The highest value a function achieves on its entire domain or specified interval

Global minimum: The lowest value a function achieves on its entire domain or specified interval

Local maximum: A point where the function value is higher than nearby values

Local minimum: A point where the function value is lower than nearby values

Extrema finding method:
  1. Find the critical points by setting the derivative equal to zero
  2. Check the endpoints of the interval if it's a closed interval
  3. Evaluate the function at all critical points and endpoints
  4. Compare all values to determine the global maximum and minimum
  5. For quadratic functions, use vertex formula: \(x = -\frac{b}{2a}\)
Given function
\(f(x) = -x^2 + 6x - 8\)
Find critical points
\(f'(x) = 0\)
Step 1: Find the derivative

\(f'(x) = -2x + 6\)

Step 2: Set derivative equal to zero

\(-2x + 6 = 0\)

\(2x = 6\)

\(x = 3\)

Step 3: Check if critical point is in the interval

Since \(x = 3\) is in the interval \([0, 5]\), we include it in our evaluation

Step 4: Evaluate function at critical point and endpoints

At \(x = 0\): \(f(0) = -0^2 + 6(0) - 8 = -8\)

At \(x = 3\): \(f(3) = -3^2 + 6(3) - 8 = -9 + 18 - 8 = 1\)

At \(x = 5\): \(f(5) = -5^2 + 6(5) - 8 = -25 + 30 - 8 = -3\)

Step 5: Compare values

Values: \(f(0) = -8\), \(f(3) = 1\), \(f(5) = -3\)

Highest value: \(1\) at \(x = 3\)

Lowest value: \(-8\) at \(x = 0\)

Global maximum: \(1\) at \(x = 3\)
Global minimum: \(-8\) at \(x = 0\)
Final answer:

Global maximum: \(f(3) = 1\), Global minimum: \(f(0) = -8\)

Applied rules:

• First derivative test: Critical points occur where derivative equals zero

• Endpoint consideration: For closed intervals, endpoints must be evaluated

• Quadratic behavior: Since coefficient of \(x^2\) is negative, parabola opens downward

2 Cubic function extrema
Exercise 2
Find all local and global extrema of \(g(x) = x^3 - 6x^2 + 9x + 2\) on the interval \([-1, 4]\).
Definition:

Cubic function: A polynomial function of degree 3

Given function
\(g(x) = x^3 - 6x^2 + 9x + 2\)
Find critical points
\(g'(x) = 0\)
Step 1: Find the derivative

\(g'(x) = 3x^2 - 12x + 9\)

Step 2: Set derivative equal to zero

\(3x^2 - 12x + 9 = 0\)

Divide by 3: \(x^2 - 4x + 3 = 0\)

Factor: \((x - 1)(x - 3) = 0\)

So \(x = 1\) or \(x = 3\)

Step 3: Check if critical points are in the interval

Both \(x = 1\) and \(x = 3\) are in the interval \([-1, 4]\)

Step 4: Use second derivative test to classify critical points

\(g''(x) = 6x - 12\)

At \(x = 1\): \(g''(1) = 6(1) - 12 = -6 < 0\) → local maximum

At \(x = 3\): \(g''(3) = 6(3) - 12 = 6 > 0\) → local minimum

Step 5: Evaluate function at critical points and endpoints

At \(x = -1\): \(g(-1) = (-1)^3 - 6(-1)^2 + 9(-1) + 2 = -1 - 6 - 9 + 2 = -14\)

At \(x = 1\): \(g(1) = 1^3 - 6(1)^2 + 9(1) + 2 = 1 - 6 + 9 + 2 = 6\)

At \(x = 3\): \(g(3) = 3^3 - 6(3)^2 + 9(3) + 2 = 27 - 54 + 27 + 2 = 2\)

At \(x = 4\): \(g(4) = 4^3 - 6(4)^2 + 9(4) + 2 = 64 - 96 + 36 + 2 = 6\)

Step 6: Determine global extrema

Values: \(g(-1) = -14\), \(g(1) = 6\), \(g(3) = 2\), \(g(4) = 6\)

Global maximum: \(6\) at \(x = 1\) and \(x = 4\)

Global minimum: \(-14\) at \(x = -1\)

Local maximum: \(6\) at \(x = 1\)
Local minimum: \(2\) at \(x = 3\)
Global maximum: \(6\) at \(x = 1, 4\)
Global minimum: \(-14\) at \(x = -1\)
Final answer:

Local max: \(g(1) = 6\), Local min: \(g(3) = 2\), Global max: \(g(1) = g(4) = 6\), Global min: \(g(-1) = -14\)

Applied rules:

• Second derivative test: If \(g''(c) < 0\), then \(x = c\) is a local maximum

• Multiple extrema: Functions can have multiple points with the same extremum value

• Endpoint extrema: Endpoints can be global extrema even if they're not critical points

3 Rational function extrema
Exercise 3
Find the extrema of \(h(x) = \frac{x^2}{x^2 + 1}\) on the interval \((-\infty, \infty)\).
Definition:

Rational function: A function expressed as the ratio of two polynomials

Given function
\(h(x) = \frac{x^2}{x^2 + 1}\)
Find critical points
\(h'(x) = 0\)
Step 1: Find the derivative using quotient rule

\(h'(x) = \frac{(2x)(x^2 + 1) - (x^2)(2x)}{(x^2 + 1)^2} = \frac{2x^3 + 2x - 2x^3}{(x^2 + 1)^2} = \frac{2x}{(x^2 + 1)^2}\)

Step 2: Set derivative equal to zero

\(\frac{2x}{(x^2 + 1)^2} = 0\)

This is zero when the numerator is zero: \(2x = 0\), so \(x = 0\)

Step 3: Analyze behavior at critical point

At \(x = 0\): \(h(0) = \frac{0^2}{0^2 + 1} = \frac{0}{1} = 0\)

Step 4: Analyze behavior as x approaches infinity

As \(x \to \pm\infty\): \(\lim_{x \to \pm\infty} \frac{x^2}{x^2 + 1} = \lim_{x \to \pm\infty} \frac{1}{1 + \frac{1}{x^2}} = 1\)

Step 5: Determine the nature of critical point

For \(x < 0\): \(h'(x) < 0\) (decreasing)

For \(x > 0\): \(h'(x) > 0\) (increasing)

Therefore, \(x = 0\) is a local minimum

Step 6: Determine global extrema

Since the function approaches 1 as \(x \to \pm\infty\) but never reaches 1, and has a minimum value of 0 at \(x = 0\), we have:

Global minimum: \(0\) at \(x = 0\)

Global maximum: Does not exist (function approaches 1 but never reaches it)

Global minimum: \(0\) at \(x = 0\)
Global maximum: Does not exist
Local minimum: \(0\) at \(x = 0\)
Final answer:

Global minimum: \(h(0) = 0\), Global maximum: Does not exist

Applied rules:

• Quotient rule: \(\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}\)

• Horizontal asymptotes: May indicate potential global extrema

• Limit behavior: Important for functions on infinite intervals

Key Concepts, Rules, and Methods
\(f'(c) = 0 \Rightarrow \text{critical point at } x = c\)
Critical Point Definition
First Derivative Test
If \(f'(c) = 0\) and changes sign
Local extremum at x=c
Second Derivative Test
\(f''(c) < 0 \Rightarrow \text{local max}\)
Classify extrema
Closed Interval Method
Compare critical points and endpoints
Find global extrema
Key definitions:

Global maximum: The largest value a function takes on its entire domain or specified interval

Global minimum: The smallest value a function takes on its entire domain or specified interval

Local maximum: A point where the function value is greater than or equal to all nearby values

Local minimum: A point where the function value is less than or equal to all nearby values

Critical point: A point where the derivative is zero or undefined

Extreme value theorem: Continuous functions on closed intervals have both global maximum and minimum values

Complete methodology:

Finding Local Extrema:

  1. Find critical points: Solve \(f'(x) = 0\) and identify where \(f'(x)\) is undefined
  2. Classify critical points: Use first derivative test or second derivative test
  3. First derivative test: Check sign change of \(f'(x)\) around each critical point
  4. Second derivative test: If \(f'(c) = 0\) and \(f''(c) < 0\), then local maximum; if \(f''(c) > 0\), then local minimum

Finding Global Extrema:

  1. For closed intervals: Evaluate function at all critical points and endpoints, then compare values
  2. For open intervals or infinite domains: Consider limits at endpoints and critical points
  3. Compare all candidates: Include critical points, endpoints, and limiting values
Tip 1: Always check the endpoints when finding extrema on closed intervals.
Tip 2: Remember that critical points are candidates for extrema, but not all critical points are extrema.
Tip 3: For functions on infinite domains, check the behavior as x approaches ±∞.
Tip 4: Graph the function to verify your analytical results.
Common errors: Forgetting to check endpoints, assuming all critical points are extrema, not considering limiting behavior on infinite domains.
Memorization aid: "Critical points + Endpoints = Candidates for extrema".
Essential rules to know:

Classification Tests:

• First derivative test: If \(f'(x)\) changes from positive to negative at \(c\), then \(f(c)\) is a local maximum

• Second derivative test: If \(f'(c) = 0\) and \(f''(c) < 0\), then \(f(c)\) is a local maximum

• Extreme value theorem: Continuous functions on closed intervals attain their maximum and minimum values

Special Cases:

• Quadratic functions: Have exactly one extremum (maximum if coefficient of \(x^2\) is negative, minimum if positive)

• Cubic functions: Can have at most two local extrema

• Polynomial functions: Degree n can have at most \(n-1\) local extrema

Solution: Exercises 4 to 5
4 Absolute value function extrema
Exercise 4
Find the extrema of \(p(x) = |x - 2| + 3\) on the interval \([0, 5]\).
Definition:

Absolute value function: A function containing the absolute value of an expression

Given function
\(p(x) = |x - 2| + 3\)
Rewrite piecewise
Piecewise form
Step 1: Rewrite as piecewise function

\(p(x) = |x - 2| + 3 = \begin{cases} -(x - 2) + 3 = -x + 5 & \text{if } x < 2 \\ (x - 2) + 3 = x + 1 & \text{if } x \geq 2 \end{cases}\)

Step 2: Analyze each piece separately

For \(x < 2\): \(p(x) = -x + 5\), which is decreasing (slope = -1)

For \(x > 2\): \(p(x) = x + 1\), which is increasing (slope = 1)

Step 3: Identify critical points

The derivative doesn't exist at \(x = 2\) (sharp corner), so this is a critical point

There are no points where the derivative equals zero

Step 4: Evaluate function at critical points and endpoints

At \(x = 0\): \(p(0) = |0 - 2| + 3 = 2 + 3 = 5\)

At \(x = 2\): \(p(2) = |2 - 2| + 3 = 0 + 3 = 3\)

At \(x = 5\): \(p(5) = |5 - 2| + 3 = 3 + 3 = 6\)

Step 5: Determine extrema

Since the function decreases for \(x < 2\) and increases for \(x > 2\), the minimum occurs at \(x = 2\)

Comparing all values: \(p(0) = 5\), \(p(2) = 3\), \(p(5) = 6\)

Global minimum: \(3\) at \(x = 2\)

Global maximum: \(6\) at \(x = 5\)

Global minimum: \(3\) at \(x = 2\)
Global maximum: \(6\) at \(x = 5\)
Local minimum: \(3\) at \(x = 2\)
Final answer:

Global minimum: \(p(2) = 3\), Global maximum: \(p(5) = 6\)

Applied rules:

• Absolute value critical points: Sharp corners where derivative doesn't exist

• Piecewise analysis: Handle each piece separately and consider transition points

• Corner extrema: Absolute value functions often have extrema at corner points

5 Optimization word problem
Exercise 5
A rectangular garden with area 200 square feet needs to be fenced. One side costs $5 per foot and the other three sides cost $3 per foot. Find the dimensions that minimize the total cost.
Definition:

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

Define variables
Let length = l, width = w
Set up constraint
lw = 200
Step 1: Define variables and constraints

Let length = \(l\), width = \(w\)

Constraint: \(lw = 200\), so \(w = \frac{200}{l}\)

Step 2: Set up cost function

Assume the expensive side (costing $5/ft) is one of the lengths

Cost = (1 length at $5) + (2 widths at $3) + (1 length at $3)

Cost = \(5l + 3(2w) + 3l = 8l + 6w\)

Step 3: Express cost in terms of one variable

Substitute \(w = \frac{200}{l}\):

\(C(l) = 8l + 6 \cdot \frac{200}{l} = 8l + \frac{1200}{l}\)

Step 4: Find critical points

\(C'(l) = 8 - \frac{1200}{l^2}\)

Set \(C'(l) = 0\): \(8 - \frac{1200}{l^2} = 0\)

\(8 = \frac{1200}{l^2}\)

\(8l^2 = 1200\)

\(l^2 = 150\)

\(l = \sqrt{150} = 5\sqrt{6}\)

Step 5: Find corresponding width

\(w = \frac{200}{l} = \frac{200}{5\sqrt{6}} = \frac{40}{\sqrt{6}} = \frac{40\sqrt{6}}{6} = \frac{20\sqrt{6}}{3}\)

Step 6: Verify it's a minimum

\(C''(l) = \frac{2400}{l^3}\)

Since \(l > 0\), we have \(C''(l) > 0\), confirming this is a minimum

Length: \(5\sqrt{6} \approx 12.25\) ft
Width: \(\frac{20\sqrt{6}}{3} \approx 16.33\) ft
Minimum cost: \(8(5\sqrt{6}) + 6(\frac{20\sqrt{6}}{3}) = 40\sqrt{6} + 40\sqrt{6} = 80\sqrt{6}\)
Final answer:

The dimensions that minimize cost are length = \(5\sqrt{6}\) ft ≈ 12.25 ft and width = \(\frac{20\sqrt{6}}{3}\) ft ≈ 16.33 ft

Applied rules:

• Optimization strategy: Express objective function in terms of one variable using constraints

• Second derivative test: Confirm critical point is minimum or maximum

• Real-world constraints: Dimensions must be positive

Comprehensive Summary: Maximum and Minimum Values
\(\text{If } f'(c) = 0 \text{ and } f''(c) < 0, \text{ then } f(c) \text{ is local maximum}\)
Second Derivative Test
Key definitions:

Extremum (plural: extrema): A maximum or minimum value of a function, representing the highest or lowest point in a particular region or over the entire domain.

Global extremum: The absolute highest (global maximum) or lowest (global minimum) value of a function over its entire domain or specified interval.

Local extremum: A maximum or minimum value that is relative to nearby points, but not necessarily the absolute highest or lowest value of the function.

Critical point: Any point where the derivative is zero or undefined, which are the primary candidates for local extrema.

Optimization: The process of finding the maximum or minimum value of a function, often applied to real-world problems.

Complete methodologies:

Method for Finding Local Extrema:

  1. Find critical points: Solve \(f'(x) = 0\) and identify points where \(f'(x)\) is undefined
  2. Classify each critical point: Use either the first derivative test or second derivative test
  3. First derivative test: Examine the sign of \(f'(x)\) before and after each critical point
  4. Second derivative test: Evaluate \(f''(x)\) at each critical point where \(f'(x) = 0\)

Method for Finding Global Extrema:

  1. For closed intervals: Evaluate the function at all critical points within the interval and at the endpoints
  2. For open intervals or infinite domains: Consider critical points along with limits at boundaries
  3. Compare all values: The largest value is the global maximum, the smallest is the global minimum
  4. Check for non-existence: Some functions may not have global extrema on infinite domains
Tip 1: Always remember that endpoints of closed intervals must be considered as candidates for global extrema.
Tip 2: Not all critical points are extrema - some may be inflection points.
Tip 3: For optimization problems, clearly define your objective function and constraints before beginning.
Tip 4: Verify that your solution makes sense in the context of the problem (e.g., dimensions must be positive).
Tip 5: Graph the function to visually confirm your analytical results.
Common errors: Forgetting to check endpoints, assuming all critical points are extrema, not considering limiting behavior on infinite domains, failing to verify that solutions satisfy constraints in optimization problems.
Exam preparation: Practice with various function types (polynomial, rational, radical, absolute value), memorize differentiation rules, master the extreme value theorem.
Memory aids: "Critical points + Endpoints = Candidates for extrema", "Derivative positive = increasing, Derivative negative = decreasing".
Essential rules and formulas:

Classification Tests:

• First derivative test: If \(f'(x)\) changes from positive to negative at \(c\), then \(f(c)\) is a local maximum

• Second derivative test: If \(f'(c) = 0\) and \(f''(c) < 0\), then \(f(c)\) is a local maximum

• Extreme value theorem: If \(f\) is continuous on a closed interval \([a, b]\), then \(f\) has both a global maximum and minimum on that interval

Special Cases by Function Type:

• Quadratic functions: \(f(x) = ax^2 + bx + c\) has one extremum at \(x = -\frac{b}{2a}\)

• Cubic functions: Can have 0, 1, or 2 local extrema

• Polynomial functions: Degree \(n\) can have at most \(n-1\) local extrema

• Absolute value functions: Often have extrema at points where the expression inside the absolute value equals zero

• Rational functions: May have extrema affected by horizontal asymptotes

Extrema Finding Workflow

📊
Finding Extrema Steps
1
Find Critical Points
2
Classify Critical Points
3
Check Endpoints
Classification Methods
1
First Derivative Test
2
Second Derivative Test
3
Compare Values
Visual Representation
Highest point = maximum | Lowest point = minimum | Critical points = candidates
📚 Practice Makes Perfect!

Questions & Answers

Question: I'm confused about the difference between local and global extrema. Can you explain when something is a local vs. global extremum?

Answer: The key difference lies in scope:

  • Local extremum: A point where the function value is higher (for maximum) or lower (for minimum) than all nearby points. It's the "highest hill" or "lowest valley" in its immediate neighborhood.
  • Global extremum: A point where the function value is the absolute highest (for maximum) or lowest (for minimum) compared to ALL points in the domain or specified interval.

Think of it this way: A local maximum is like the top of a small mountain in a mountain range, while a global maximum is like the highest peak in the entire country.

Every global extremum is also a local extremum, but not every local extremum is a global extremum. A function can have multiple local extrema but only one global maximum and one global minimum (though multiple points can achieve the same global extremum value).

Example: The function \(f(x) = x^3 - 3x^2\) on \([-1, 3]\) has a local maximum at \(x = 0\) and a local minimum at \(x = 2\), but the global maximum occurs at \(x = 3\) and the global minimum occurs at \(x = -1\).

Question: When do I use the first derivative test versus the second derivative test to classify critical points?

Answer: Both tests are valuable, but they serve different purposes:

  1. First derivative test: Examine the sign of \(f'(x)\) before and after the critical point
    • Changes from positive to negative → local maximum
    • Changes from negative to positive → local minimum
    • No sign change → not an extremum
  2. Second derivative test: Evaluate \(f''(c)\) where \(f'(c) = 0\)
    • \(f''(c) < 0\) → local maximum
    • \(f''(c) > 0\) → local minimum
    • \(f''(c) = 0\) → test inconclusive

Use the second derivative test when \(f''(c) \neq 0\) because it's faster. Use the first derivative test when \(f''(c) = 0\) (second derivative test is inconclusive) or when you want to be more thorough about the function's behavior around the critical point.

The first derivative test is more robust because it works even when the second derivative is zero or undefined.

Question: How do I handle optimization problems with multiple constraints?

Answer: For optimization problems with multiple constraints, follow this systematic approach:

  1. Identify the objective function: What you want to maximize or minimize
  2. List all constraints: All conditions that must be satisfied
  3. Reduce variables: Use constraints to express the objective function in terms of the fewest possible variables
  4. Solve sequentially: Use one constraint to eliminate one variable at a time
  5. Optimize: Find critical points of the reduced function

Example: If you need to maximize volume \(V = lwh\) subject to constraints \(2lw + 2lh + 2wh = S\) (surface area) and \(l = 2w\) (length is twice width), substitute the second constraint into both the objective function and the first constraint to reduce to two variables, then proceed with optimization.

For complex problems with many constraints, advanced techniques like Lagrange multipliers may be necessary, but for college algebra problems, sequential substitution usually suffices.

Always verify that your solution satisfies all original constraints and makes practical sense in the context of the problem.