Calculus Notes: Relative Extrema, Optimization, and Applications

Relative Extrema and Critical Points

  • Definition of Relative (Local) Extrema:

    • Relative Maximum: A function f(x)f(x) has a relative (local) maximum at an input value cc if f(c)f(c) is greater than any other output of the function within some interval or open neighborhood around cc.

    • Relative Minimum: A function f(x)f(x) has a relative (local) minimum at an input value cc if f(c)f(c) is less than any other output of the function within some interval or open neighborhood around cc.

  • Definition of a Critical Point:

    • A critical point on a continuous function f(x)f(x) is an input value cc in the domain of f(x)f(x) where either:

    • The derivative equals zero: f′(c)=0f'(c) = 0 (indicating a horizontal tangent line with slope 00).

    • The derivative does not exist: f′(c)f'(c) is undefined (such as at sharp corners, cusps, or vertical tangents).

  • Relationship Between Critical Points and Relative Extrema:

    • Any relative extremum of a function must occur at a critical point.

    • Not all critical points are relative extrema. A critical point can be a point where the function levels out (a saddle point or horizontal inflection point) without forming a local peak or valley.

The First Derivative Test

  • Purpose: The First Derivative Test classifies whether a critical point x=cx = c corresponds to a relative maximum, a relative minimum, or neither.

  • Sign Change Rules:

    • Relative Maximum: If f′(x)f'(x) changes sign from positive to negative as xx increases through cc, then f(x)f(x) has a relative maximum at x=cx = c.

    • Relative Minimum: If f′(x)f'(x) changes sign from negative to positive as xx increases through cc, then f(x)f(x) has a relative minimum at x=cx = c.

    • Neither Extrema (Saddle / Inflection Point): If f′(x)f'(x) does not change sign as xx increases through cc (remaining positive on both sides or negative on both sides), then x=cx = c is neither a relative maximum nor a relative minimum.

  • Non-Differentiable Critical Points:

    • If f′(c)f'(c) does not exist, an extremum can still exist provided that the function is continuous at cc and f′(x)f'(x) changes sign across cc.

    • If f′(c)f'(c) does not exist and no sign change occurs, there is no extremum at x=cx = c.

  • Procedural Steps to Find and Classify Relative Extrema:

    • 1. Compute the first derivative f′(x)f'(x).

    • 2. Determine all critical points by setting f′(x)=0f'(x) = 0 and solving for xx, as well as locating where f′(x)f'(x) does not exist.

    • 3. Divide the domain into intervals using the critical points as boundary values.

    • 4. Select test points within each interval to evaluate the sign of f′(x)f'(x).

    • 5. Apply the First Derivative Test criteria to identify local maxima, local minima, or points with no extrema.

Rates of Change and Product Rule Applications

  • Exponential Rate Models:

    • Population changes (such as tracking Uber driver supply) are modeled via exponential equations of the form P(t)=P0ertP(t) = P_0 e^{rt}, where the growth rate is evaluated using the first derivative of P(t)P(t).

  • Basketball Performance Application (Product Rule):

    • Variables:

    • Let aa equal the number of shot attempts per game (currently a=15a = 15 attempts).

    • Let pp equal the shooting percentage or success rate (currently p=0.72p = 0.72, representing a 72%72\% success rate).

    • Let SS equal total successful shots made, defined by S=p×aS = p \times a.

    • Marginal Changes:

    • Rate of change in attempts per game: a′=1a' = 1.

    • Adjustment in shooting success rate: p′=0.05p' = 0.05.

    • Application of the Product Rule:

    • To find the total change in shots made per game:       dSdt=p′×a+p×a′\frac{dS}{dt} = p' \times a + p \times a'

    • Interpretation: The total change consists of new shots made resulting from an increased success rate on baseline attempts (p′×ap' \times a) plus successful shots resulting from additional attempts at the current rate (p×a′p \times a').

Limits and Indeterminate Forms

  • Limits Involving Exponential and Rational Functions:

    • Evaluation of behavior as x→∞x \rightarrow \infty for expressions involving exe^x, such as limits of the form:     lim⁡x→∞exx\lim_{x \rightarrow \infty} \frac{e^x}{x}

  • Limits Involving Logarithmic Expressions:

    • Asymptotic behavior for expressions such as:     lim⁡x→∞ln⁡(x)x\lim_{x \rightarrow \infty} \frac{\ln(x)}{x}

  • Trigonometric Limits and L'Hôpital's Rule:

    • Evaluating limits of indeterminate forms (such as 00\frac{0}{0}):     lim⁡x→0sin⁡(3x)x\lim_{x \rightarrow 0} \frac{\sin(3x)}{x}

    • Applying differentiation to both numerator and denominator produces:     lim⁡x→03cos⁡(3x)1=3\lim_{x \rightarrow 0} \frac{3\cos(3x)}{1} = 3

Data Fitting and Linear Regression Analysis

  • Data Points:

    • Independent variable (xx): 1010, 1515, 2020, 2727, 3030.

    • Dependent variable (yy): 8.38.3, 10.310.3, etc.

  • TI Calculator Execution Steps:

    • 1. Press STAT and select 1:Edit.

    • 2. Enter independent values (xx) into list L1.

    • 3. Enter dependent values (yy) into list L2.

    • 4. Press STAT, scroll to CALC, and select LinReg(ax+b).

    • 5. Execute Calculate to generate the linear parameters aa (slope) and bb (yy-intercept).

  • Statistical Diagnostic Metrics:

    • Linear Equation: y=ax+by = ax + b.

    • Coefficient of Determination (r2r^2): Quantifies the percentage or proportion of variation around the mean of the dependent variable that is explained by the estimated regression model.

    • Correlation Coefficient (rr): Measures the direction and strength of the linear association between the variables.

    • Diagnostic Activation: Enable DiagnosticOn via the calculator MODE or CATALOG menu to display rr and r2r^2 outputs.

Absolute Extrema on Closed Intervals

  • Definition: A function f(x)f(x) has an absolute maximum at cc on a closed interval [a,b][a, b] if f(c)≥f(x)f(c) \ge f(x) for all x∈[a,b]x \in [a, b]. A function has an absolute minimum at cc on [a,b][a, b] if f(c)≤f(x)f(c) \le f(x) for all x∈[a,b]x \in [a, b].

  • The Extreme Value Theorem: If a function f(x)f(x) is continuous on a closed interval [a,b][a, b], it is guaranteed to attain both an absolute maximum and an absolute minimum on that interval.

  • The Closed Interval Method (Four-Step Procedure):

    • 1. Compute the first derivative f′(x)f'(x) and identify all critical points in the open interval (a,b)(a, b) where f′(x)=0f'(x) = 0 or f′(x)f'(x) does not exist.

    • 2. Evaluate the function at both endpoints of the closed interval: calculate f(a)f(a) and f(b)f(b).

    • 3. Evaluate the function at all critical points cc located in the interval (a,b)(a, b): calculate f(c)f(c).

    • 4. Compare all values obtained from Steps 2 and 3:

    • The highest output value is the absolute maximum on [a,b][a, b].

    • The lowest output value is the absolute minimum on [a,b][a, b].

Absolute Extrema on Open Intervals and Optimization Models

  • Extrema on Open Intervals:

    • Over an open interval, an absolute extremum is not guaranteed by the Extreme Value Theorem.

    • Determine all relative extrema by solving f′(x)=0f'(x) = 0.

    • Evaluate the behavior of the function at the open boundaries (or as x→±∞x \rightarrow \pm\infty).

    • If the function approaches ∞\infty or −∞-\infty, the corresponding absolute extremum does not exist.

  • Gas Turbine Profit Maximization:

    • Objective: Find the electricity generation volume xx that maximizes total profit P(x)P(x).

    • Model Formulation:     P(x)=R(x)−C(x)P(x) = R(x) - C(x)     where R(x)R(x) is the revenue function and C(x)C(x) is the cost function.

    • Optimization Steps:

    • 1. Differentiate the profit function to obtain marginal profit: P′(x)=R′(x)−C′(x)P'(x) = R'(x) - C'(x).

    • 2. Set marginal profit equal to zero: P′(x)=0P'(x) = 0.

    • 3. Solve for xx using the quadratic formula when applicable:       x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

    • 4. Discard non-viable physical values (such as negative output or capacity violations).

    • 5. Test viable critical values against the turbine's operating boundaries (minimum operational capacity and maximum plant capacity) to establish absolute maximum profit.

  • Tax Revenue Maximization:

    • Model Formulation: Let R(t)R(t) represent government tax revenue as a function of the tax rate tt.

    • Optimization Procedure:

    • Set the first derivative of revenue with respect to the tax rate to zero: R′(t)=0R'(t) = 0.

    • Solve the critical equation for the optimal tax rate tt.

    • Verify that the critical value corresponds to the absolute maximum revenue by confirming a negative concavity or checking interval boundaries.

Concavity, Inflection Points, and the Second Derivative

  • Definition of an Inflection Point:

    • An inflection point is a point on a curve where the concavity changes (transitioning from concave upward to concave downward, or from concave downward to concave upward).

    • It represents a point where the first derivative f′(x)f'(x) transitions from increasing to decreasing (a local maximum of the derivative) or from decreasing to increasing (a local minimum of the derivative).

  • Second Derivative Test for Concavity:

    • If f′′(x)>0f''(x) > 0 on an interval, the function f(x)f(x) is concave upward on that interval.

    • If f′′(x)<0f''(x) < 0 on an interval, the function f(x)f(x) is concave downward on that interval.

  • Locating Inflection Points:

    • Candidate inflection points occur at values of xx where the second derivative equals zero (f′′(x)=0f''(x) = 0) or where the second derivative does not exist.

    • An inflection point occurs only if the second derivative f′′(x)f''(x) strictly changes sign across that point.