Calculus for Engineers: Derivatives, Extrema, and Mean Value Theorems

Definition and Interpretations of the Derivative

  • Definition of the Derivative at a Point:   The derivative of a function ff at a point x0x_0, denoted f(x0)f'(x_0), is defined by the limit:   f(x0)=limh0f(x0+h)f(x0)hf'(x_0) = \lim_{h \rightarrow 0} \frac{f(x_0 + h) - f(x_0)}{h}   provided this limit exists.

  • Interpretations of the Difference Quotient Limit:   The limit of the difference quotient, limh0f(x0+h)f(x0)h\lim_{h \rightarrow 0} \frac{f(x_0 + h) - f(x_0)}{h}, represents four equivalent mathematical and physical concepts:

    1. The slope of the graph of y=f(x)y = f(x) at x=x0x = x_0

    2. The slope of the tangent line to the curve y=f(x)y = f(x) at x=x0x = x_0

    3. The instantaneous rate of change of f(x)f(x) with respect to xx at x=x0x = x_0

    4. The derivative value f(x0)f'(x_0) at a point

  • Definition of the Derivative Function:   The derivative of the function f(x)f(x) with respect to the variable xx is the function ff' whose value at xx is:   f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h}   provided the limit exists.

  • Worked Example 1 — Differentiating via Definition:   Differentiate the function f(x)=xx1f(x) = \frac{x}{x - 1}.      Solution Steps:

    1. Evaluate f(x+h)f(x + h):      f(x+h)=x+h(x+h)1f(x + h) = \frac{x + h}{(x + h) - 1}

    2. Apply the derivative definition:      f(x)=limh0f(x+h)f(x)h=limh0x+hx+h1xx1hf'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h} = \lim_{h \rightarrow 0} \frac{\frac{x + h}{x + h - 1} - \frac{x}{x - 1}}{h}

    3. Combine terms in the numerator using the algebraic identity abcd=adcbbd\frac{a}{b} - \frac{c}{d} = \frac{ad - cb}{bd}:      f(x)=limh01h(x+h)(x1)x(x+h1)(x+h1)(x1)f'(x) = \lim_{h \rightarrow 0} \frac{1}{h} \cdot \frac{(x + h)(x - 1) - x(x + h - 1)}{(x + h - 1)(x - 1)}

    4. Expand and simplify the numerator:      (x+h)(x1)x(x+h1)=(x2x+hxh)(x2+xhx)=h(x + h)(x - 1) - x(x + h - 1) = (x^2 - x + hx - h) - (x^2 + xh - x) = -h      f(x)=limh01hh(x+h1)(x1)f'(x) = \lim_{h \rightarrow 0} \frac{1}{h} \cdot \frac{-h}{(x + h - 1)(x - 1)}

    5. Cancel h0h \neq 0 and evaluate the limit as h0h \rightarrow 0:      f(x)=limh01(x+h1)(x1)=1(x1)2f'(x) = \lim_{h \rightarrow 0} \frac{-1}{(x + h - 1)(x - 1)} = \frac{-1}{(x - 1)^2}

Absolute Extrema and Domain Restraints

  • Definitions of Absolute Extrema:   Let ff be a function defined on domain DD:

    • ff has an absolute maximum value on DD at a point cc if:     f(x)f(c)for all xDf(x) \le f(c) \quad \text{for all } x \in D

    • ff has an absolute minimum value on DD at cc if:     f(x)f(c)for all xDf(x) \ge f(c) \quad \text{for all } x \in D

  • Comparative Examples with Function Rule y=x2y = x^2 Across Different Domains:

    • Case (a): Rule y=x2y = x^2, Domain D=(,)D = (-\infty, \infty)

    • Absolute Maximum: None

    • Absolute Minimum: 00 at x=0x = 0

    • Case (b): Rule y=x2y = x^2, Domain D=[0,2]D = [0, 2]

    • Absolute Maximum: 44 at x=2x = 2

    • Absolute Minimum: 00 at x=0x = 0

    • Case (c): Rule y=x2y = x^2, Domain D=(0,2]D = (0, 2]

    • Absolute Maximum: 44 at x=2x = 2

    • Absolute Minimum: None

    • Case (d): Rule y=x2y = x^2, Domain D=(0,2)D = (0, 2)

    • Absolute Maximum: None

    • Absolute Minimum: None

Graphs of $y=x^2$ over different domains illustrating absolute extrema

Extreme Value Theorem and Local Extrema

  • Theorem 1 — The Extreme Value Theorem (EVT):   If ff is continuous on a closed interval [a,b][a, b], then ff attains both an absolute maximum value MM and an absolute minimum value mm in [a,b][a, b].   That is, there exist numbers x1x_1 and x2x_2 in [a,b][a, b] such that:   f(x1)=m,f(x2)=M,andmf(x)Mfor every x[a,b]f(x_1) = m, \quad f(x_2) = M, \quad \text{and} \quad m \le f(x) \le M \quad \text{for every } x \in [a, b]

  • Definitions of Local Extrema:

    • A function ff has a local maximum value at a point cc within its domain DD if f(x)f(c)f(x) \le f(c) for all xDx \in D lying in some open interval containing cc.

    • A function ff has a local minimum value at a point cc within its domain DD if f(x)f(c)f(x) \ge f(c) for all xDx \in D lying in some open interval containing cc.

  • Theorem 2 — The First Derivative Theorem for Local Extreme Values:   If ff has a local maximum or minimum value at an interior point cc of its domain, and if ff' is defined at cc, then:   f(c)=0f'(c) = 0

  • Definition of Critical Point:   An interior point of the domain of a function ff where ff' is zero or undefined is defined as a critical point of f$.\n\n# Finding Absolute Extrema on Closed Intervals\n\n- **Procedure to Find Absolute Extrema of Continuous Functions on Finite Closed Intervals:**\n 1. Evaluate f at all critical points and endpoints.\n 2. Compare all evaluated values: the largest value is the absolute maximum, and the smallest value is the absolute minimum.\n\n- **Worked Example 2:**\n  Find the absolute maximum and minimum values of f(x) = x^2onon[-2, 1].\n  \n  *Solution Steps:*\n 1. Compute derivative: f'(x) = 2x.\n 2. Set f'(x) = 0 \implies 2x = 0 \implies x = 0.Theonlycriticalpointis. The only critical point isx = 0.\n 3. Evaluate f at critical point and endpoints:\n - Critical point value: f(0) = 0\n - Endpoint values: f(-2) = 4,,f(1) = 1\n 4. Conclusion:\n - Absolute maximum value is 4atatx = -2\n - Absolute minimum value is 0atatx = 0\n\n- **Worked Example 3:**\n  Find the absolute maximum and minimum values of f(x) = 10x(2 - \ln(x))onintervalon interval[1, e^2].\n  \n  *Solution Steps:*\n 1. Calculate first derivative using product rule:\n     f'(x) = 10(2 - \ln(x)) - 10x \left(\frac{1}{x}\right) = 20 - 10\ln(x) - 10 = 10(1 - \ln(x))\n 2. Find critical points on [1, e^2]:\n     f'(x) = 0 \implies 10(1 - \ln(x)) = 0 \implies \ln(x) = 1 \implies x = e\n 3. Evaluate fatcriticalpointat critical pointx = eandendpointsand endpointsx = 1,,x = e^2:\n - Critical point value: f(e) = 10e(2 - \ln(e)) = 10e(2 - 1) = 10e \approx 27.2\n - Endpoint values:\n       f(1) = 10(1)(2 - \ln(1)) = 10(2 - 0) = 20\n       f(e^2) = 10e^2(2 - \ln(e^2)) = 10e^2(2 - 2) = 0\n 4. Conclusion:\n - Absolute maximum value is 10e \approx 27.2atinteriorcriticalpointat interior critical pointx = e\n - Absolute minimum value is 0atrightendpointat right endpointx = e^2\n\n- **Worked Example 4:**\n  Find the absolute maximum and minimum values of f(x) = x^{2/3}onintervalon interval[-2, 3].\n  \n  *Solution Steps:*\n 1. Calculate first derivative:\n     f'(x) = \frac{2}{3}x^{-1/3} = \frac{2}{3\sqrt[3]{x}}\n 2. f'(x)hasnozeros,butisundefinedatinteriorpointhas no zeros, but is undefined at interior pointx = 0.Hence,. Hence,x = 0 is a critical point.\n 3. Evaluate f at critical point and endpoints:\n - Critical point value: f(0) = 0\n - Endpoint values:\n       f(-2) = (-2)^{2/3} = \sqrt[3]{4} \approx 1.587\n       f(3) = (3)^{2/3} = \sqrt[3]{9} \approx 2.08\n 4. Conclusion:\n - Absolute maximum value is \sqrt[3]{9} \approx 2.08atrightendpointat right endpointx = 3\n - Absolute minimum value is 0atinteriorpointat interior pointx = 0 (where the graph exhibits a cusp)\n\n# Rolle's Theorem and the Mean Value Theorem\n\n- **Theorem 3 — Rolle's Theorem:**\n  Suppose that y = f(x)iscontinuousovertheclosedintervalis continuous over the closed interval[a, b]anddifferentiableateverypointofitsinteriorand differentiable at every point of its interior(a, b).If. Iff(a) = f(b),thenthereisatleastonenumber, then there is at least one numbercinin(a, b) at which:\n  f'(c) = 0\n\n![Geometric illustration of Rolle's Theorem](https://assets.knowt.com/pdf-flow-prod/778cdf99-80ce-4ecb-a05b-0e0e3c215cba-figures/8.jpg)\n\n- **Worked Example 1 — Application of Rolle's Theorem:**\n  Show that the equation x^3 + 3x + 1 = 0 has exactly one real solution.\n  \n  *Solution Steps:*\n 1. Define continuous function f(x) = x^3 + 3x + 1.\n 2. Evaluate f(-1) = (-1)^3 + 3(-1) + 1 = -3andandf(0) = 0^3 + 3(0) + 1 = 1.\n 3. By the Intermediate Value Theorem, because f(-1) < 0andandf(0) > 0,thegraphof, the graph offcrossesthexaxisatleastonceintheopenintervalcrosses the x-axis at least once in the open interval(-1, 0).\n 4. To prove uniqueness, assume for contradiction that there exist two roots x = aandandx = bwherewheref(a) = f(b) = 0.\n 5. By Rolle's Theorem, there would exist a point c \in (a, b)suchthatsuch thatf'(c) = 0\n 6. Compute derivative: f'(x) = 3x^2 + 3.Because. Because3x^2 + 3 \ge 3 > 0forallrealfor all realx,,f'(x) is never zero.\n 7. Since f'(x)cannotbezero,asecondrootcannotexist.Therefore,cannot be zero, a second root cannot exist. Therefore,f(x) = 0 has exactly one real solution.\n\n- **Theorem 4 — The Mean Value Theorem (MVT):**\n  Suppose y = f(x)iscontinuousoveraclosedintervalis continuous over a closed interval[a, b]anddifferentiableontheintervalsinteriorand differentiable on the interval's interior(a, b).Thenthereisatleastonepoint. Then there is at least one pointcinin(a, b) at which:\n  \frac{f(b) - f(a)}{b - a} = f'(c)\n\n- **Physical Interpretation of MVT:**\n  The quotient \frac{f(b) - f(a)}{b - a}representstheaveragerateofchangeofrepresents the average rate of change offoverover[a, b],and, andf'(c) represents an instantaneous rate of change. The Mean Value Theorem asserts that at some interior point, the instantaneous rate of change equals the average rate of change across the entire interval.\n\n- **Corollaries of the Mean Value Theorem:**\n - **Corollary 1:** If f'(x) = 0ateachpointat each pointxofanopenintervalof an open interval(a, b),then, thenf(x) = Cforallfor allx \in (a, b),where, whereC is a constant.\n - **Corollary 2:** If f'(x) = g'(x)ateachpointat each pointxinanopenintervalin an open interval(a, b),thenthereexistsaconstant, then there exists a constantCsuchthatsuch thatf(x) = g(x) + Cforallfor allx \in (a, b).Thatis,. That is,f - gisaconstantfunctiononis a constant function on(a, b).\n\n- **Worked Example 4 — Finding Functions from Derivatives:**\n  Find the function f(x)whosederivativeiswhose derivative is\sin(x)andwhosegraphpassesthroughthepointand whose graph passes through the point(0, 2).\n  \n  *Solution Steps:*\n 1. Identify g(x) = -\cos(x),whichhasderivative, which has derivativeg'(x) = \sin(x).\n 2. Since f'(x) = g'(x) = \sin(x),Corollary2implies, Corollary 2 impliesf(x) = -\cos(x) + Cforsomeconstantfor some constantC\n 3. Use point condition f(0) = 2:\n     f(0) = -\cos(0) + C = 2 \implies -1 + C = 2 \implies C = 3\n 4. Resulting function: f(x) = -\cos(x) + 3\n\n# Monotonicity and the First Derivative Test\n\n- **Corollary 3 — Increasing and Decreasing Function Criteria:**\n  Suppose that fiscontinuousonis continuous on[a, b]anddifferentiableonand differentiable on(a, b).\n - If f'(x) > 0ateachpointat each pointx \in (a, b),then, thenfisincreasingonis **increasing** on[a, b].\n - If f'(x) < 0ateachpointat each pointx \in (a, b),then, thenfisdecreasingonis **decreasing** on[a, b].\n\n- **Worked Example 1 — Intervals of Monotonicity:**\n  Find the critical points of f(x) = x^3 - 12x - 5andidentifyopenintervalsonwhichand identify open intervals on whichf is increasing and decreasing.\n  \n  *Solution Steps:*\n 1. Derivative: f'(x) = 3x^2 - 12 = 3(x^2 - 4) = 3(x + 2)(x - 2)\n 2. Critical points where f'(x) = 0::x = -2andandx = 2\n 3. Subdivide real line into non-overlapping open intervals: (-\infty, -2),,(-2, 2),and, and(2, \infty)\n 4. Evaluate sign of f' in each subinterval:\n - Interval (-\infty, -2):Evaluate: Evaluatef'(-3) = 15 > 0(Sign:(Sign:+))\implies f is increasing\n - Interval (-2, 2):Evaluate: Evaluatef'(0) = -12 < 0(Sign:(Sign:-))\implies f is decreasing\n - Interval (2, \infty):Evaluate: Evaluatef'(3) = 15 > 0(Sign:(Sign:+))\implies f is increasing\n\n- **First Derivative Test for Local Extrema:**\n  Suppose cisacriticalpointofacontinuousfunctionis a critical point of a continuous functionf,and, andfisdifferentiableateverypointinsomeintervalcontainingis differentiable at every point in some interval containingcexceptpossiblyatexcept possibly atc itself. Moving across this interval from left to right:\n 1. If f'changesfromnegativetopositiveatchanges from negative to positive atc,then, thenfhasalocalminimumathas a **local minimum** atc.\n 2. If f'changesfrompositivetonegativeatchanges from positive to negative atc,then, thenfhasalocalmaximumathas a **local maximum** atc.\n 3. If f'doesnotchangesignatdoes not change sign atc((f'ispositiveonbothsidesornegativeonbothsides),thenis positive on both sides or negative on both sides), thenfhasnolocalextremumathas **no local extremum** atc$.

  • Worked Example 2 — Applying First Derivative Test:   Find critical points of f(x)=x1/3(x4)=x4/34x1/3f(x) = x^{1/3}(x - 4) = x^{4/3} - 4x^{1/3}. Identify open intervals of increasing/decreasing, and find local and absolute extreme values.      Solution Steps:

    1. ff is continuous everywhere as a product of continuous functions.

    2. Compute derivative:      f(x)=ddx(x4/34x1/3)=43x1/343x2/3=43x2/3(x1)=4(x1)3x2/3f'(x) = \frac{d}{dx}\left(x^{4/3} - 4x^{1/3}\right) = \frac{4}{3}x^{1/3} - \frac{4}{3}x^{-2/3} = \frac{4}{3}x^{-2/3}(x - 1) = \frac{4(x - 1)}{3x^{2/3}}

    3. Identify critical points:

    • f(x)=0    x=1f'(x) = 0 \implies x = 1

    • f(x)f'(x) is undefined at x=0x = 0

    • Critical points: x=0x = 0 and x=1x = 1

    1. Test subinterval signs:

    • Interval x<0x < 0: Sign of ff' is -     f\implies f is decreasing

    • Interval 0<x<10 < x < 1: Sign of ff' is -     f\implies f is decreasing

    • Interval x>1x > 1: Sign of ff' is ++     f\implies f is increasing

    1. Extreme values analysis:

    • At x=0x = 0: ff' does not change sign (negative on both sides), so no local extremum at x=0x = 0.

    • At x=1x = 1: ff' changes from negative to positive, so ff has a local minimum at x=1x = 1. Value: f(1)=11/3(14)=3f(1) = 1^{1/3}(1 - 4) = -3.

  • Worked Example 3 — Comprehensive Monotonicity and Extrema Analysis:   Find critical points of f(x)=(x23)exf(x) = (x^2 - 3)e^x. Identify open intervals of increasing/decreasing, and find local and absolute extreme values.      Solution Steps:

    1. Function ff is continuous and differentiable for all real numbers.

    2. Compute derivative using product rule:      f(x)=(x23)ddx(ex)+ddx(x23)ex=(x23)ex+(2x)ex=(x2+2x3)exf'(x) = (x^2 - 3)\frac{d}{dx}(e^x) + \frac{d}{dx}(x^2 - 3) e^x = (x^2 - 3)e^x + (2x)e^x = (x^2 + 2x - 3)e^x

    3. Set f(x)=0f'(x) = 0. Since ex>0e^x > 0 for all xx:      x2+2x3=0    (x+3)(x1)=0x^2 + 2x - 3 = 0 \implies (x + 3)(x - 1) = 0      Critical points are x=3x = -3 and x=1x = 1

    4. Partition real line and test signs:

    • Interval x<3x < -3: Sign of ff' is ++     f\implies f is increasing

    • Interval 3<x<1-3 < x < 1: Sign of ff' is -     f\implies f is decreasing

    • Interval 1<x1 < x: Sign of ff' is ++     f\implies f is increasing

    1. Determine local and absolute extrema:

    • Local Maximum at x=3x = -3: Value f(3)=((3)23)e3=6e30.299f(-3) = ((-3)^2 - 3)e^{-3} = 6e^{-3} \approx 0.299

    • Local Minimum at x=1x = 1: Value f(1)=(123)e1=2e5.437f(1) = (1^2 - 3)e^1 = -2e \approx -5.437

    • Absolute Extrema: The local minimum value 2e5.437-2e \approx -5.437 at x=1x = 1 is also an absolute minimum because f(x)>0f(x) > 0 for x>3|x| > \sqrt{3}. There is no absolute maximum since limxf(x)=\lim_{x \to \infty} f(x) = \infty.