1. Home
  2. Explore
  3. Mathematics
  4. Derivative Applications Practice

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Derivative Applications Practice

Derivative Applications: Comprehensive Study Notes

Related Rates

Related rates problems involve finding the rate of change of one quantity in terms of the rate of change of another quantity. The key steps are:

  1. Identify all given rates and the rate to be found.

  2. Find an equation that relates the variables.

  3. Use similar triangles or geometric relationships to eliminate extra variables.

  4. Differentiate implicitly with respect to time.

  5. Substitute known values and solve for the unknown rate.

Example 1: Conical Tank Filling

Water is pumped into an inverted conical tank at a rate of 2 m3/min2 \text{ m}^3/\text{min}2 m3/min. The tank has height 6 m6 \text{ m}6 m and base radius 4 m4 \text{ m}4 m. Find how fast the water level is rising when the water is 2 m2 \text{ m}2 m deep.

Given:

  • dVdt=2 m3/min\frac{dV}{dt} = 2 \text{ m}^3/\text{min}dtdV​=2 m3/min (positive because volume increases)

  • Tank height H=6 mH = 6 \text{ m}H=6 m, base radius R=4 mR = 4 \text{ m}R=4 m

  • Water depth h=2 mh = 2 \text{ m}h=2 m (at the moment of interest)

  • Find dhdt\frac{dh}{dt}dtdh​.

Equation: Volume of a cone: V=13πr2hV = \frac{1}{3}\pi r^2 hV=31​πr2h

The equation has three variables (VVV, rrr, hhh), but only dVdt\frac{dV}{dt}dtdV​ is known; drdt\frac{dr}{dt}dtdr​ is not given. Use similar triangles to express rrr in terms of hhh.

Consider the cross-section of the cone. The large triangle (full tank) has radius 444 and height 666. The small triangle (water level) has radius rrr and height hhh. Because the triangles share the same angles:

rh=46=23⇒r=23h\frac{r}{h} = \frac{4}{6} = \frac{2}{3} \quad \Rightarrow \quad r = \frac{2}{3}hhr​=64​=32​⇒r=32​h

Substitute into the volume formula:

V=13π(23h)2h=13π⋅49h2⋅h=427πh3V = \frac{1}{3}\pi \left(\frac{2}{3}h\right)^2 h = \frac{1}{3}\pi \cdot \frac{4}{9}h^2 \cdot h = \frac{4}{27}\pi h^3V=31​π(32​h)2h=31​π⋅94​h2⋅h=274​πh3

Differentiate with respect to time ttt:

dVdt=427π⋅3h2dhdt=49πh2dhdt\frac{dV}{dt} = \frac{4}{27}\pi \cdot 3h^2 \frac{dh}{dt} = \frac{4}{9}\pi h^2 \frac{dh}{dt}dtdV​=274​π⋅3h2dtdh​=94​πh2dtdh​

Solve for dhdt\frac{dh}{dt}dtdh​:

dhdt=94πh2dVdt\frac{dh}{dt} = \frac{9}{4\pi h^2} \frac{dV}{dt}dtdh​=4πh29​dtdV​

Now plug in h=2 mh = 2 \text{ m}h=2 m and dVdt=2\frac{dV}{dt} = 2dtdV​=2:

dhdt=94π(2)2⋅2=1816π=98π m/min\frac{dh}{dt} = \frac{9}{4\pi (2)^2} \cdot 2 = \frac{18}{16\pi} = \frac{9}{8\pi} \text{ m/min}dtdh​=4π(2)29​⋅2=16π18​=8π9​ m/min

The water level is rising at a rate of 98π\frac{9}{8\pi}8π9​ meters per minute.

Example 2: Shadow Movement Problem

A street light is mounted at the top of a 15 ft15 \text{ ft}15 ft pole. A 6 ft6 \text{ ft}6 ft tall person walks away from the pole at a speed of 4 ft/s4 \text{ ft/s}4 ft/s. Find how fast the tip of the person's shadow is moving when the person is 30 ft30 \text{ ft}30 ft from the pole.

Given:

  • dxdt=4 ft/s\frac{dx}{dt} = 4 \text{ ft/s}dtdx​=4 ft/s (person's speed away from pole)

  • Find dLdt\frac{dL}{dt}dtdL​ when x=30 ftx = 30 \text{ ft}x=30 ft, where LLL is the distance from the pole to the tip of the shadow.

Diagram variables:

  • Let xxx = distance from person to pole.

  • Let LLL = distance from pole to tip of shadow.

Similar triangles: Two triangles share the same angles. The large triangle has height 151515 and base LLL. The small triangle (the person's shadow) has height 666 and base L−xL - xL−x. The proportion:

15L=6L−x\frac{15}{L} = \frac{6}{L - x}L15​=L−x6​

Cross-multiply:

15(L−x)=6L⇒15L−15x=6L⇒9L=15x⇒L=53x15(L - x) = 6L \quad \Rightarrow \quad 15L - 15x = 6L \quad \Rightarrow \quad 9L = 15x \quad \Rightarrow \quad L = \frac{5}{3}x15(L−x)=6L⇒15L−15x=6L⇒9L=15x⇒L=35​x

Differentiate with respect to time:

dLdt=53dxdt=53⋅4=203 ft/s\frac{dL}{dt} = \frac{5}{3} \frac{dx}{dt} = \frac{5}{3} \cdot 4 = \frac{20}{3} \text{ ft/s}dtdL​=35​dtdx​=35​⋅4=320​ ft/s

Notice that the answer does not depend on the value of x=30 ftx = 30 \text{ ft}x=30 ft. The tip of the shadow moves at a constant rate of 203\frac{20}{3}320​ feet per second regardless of the person's position.


Linearization

The linearization of a function f(x)f(x)f(x) at x=ax = ax=a is the linear function that best approximates fff near aaa. It is given by:

L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)L(x)=f(a)+f′(a)(x−a)

The graph of L(x)L(x)L(x) is the tangent line to fff at x=ax = ax=a. For values of xxx close to aaa, f(x)≈L(x)f(x) \approx L(x)f(x)≈L(x).

Example 1: Polynomial Linearization

Find the linearization of f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4f(x)=x3−3x2+4 at a=1a = 1a=1.

  • f(1)=1−3+4=2f(1) = 1 - 3 + 4 = 2f(1)=1−3+4=2

  • f′(x)=3x2−6xf'(x) = 3x^2 - 6xf′(x)=3x2−6x, so f′(1)=3−6=−3f'(1) = 3 - 6 = -3f′(1)=3−6=−3

Thus:

L(x)=2+(−3)(x−1)=2−3(x−1)L(x) = 2 + (-3)(x - 1) = 2 - 3(x - 1)L(x)=2+(−3)(x−1)=2−3(x−1)

This linearization is useful for approximating f(x)f(x)f(x) when xxx is near 111 (the graphs are nearly identical locally).

Example 2: Trigonometric Linearization

Find the linearization of f(x)=sin⁡xf(x) = \sin xf(x)=sinx at a=π6a = \frac{\pi}{6}a=6π​.

  • f(π6)=sin⁡(π6)=12f\left(\frac{\pi}{6}\right) = \sin\left(\frac{\pi}{6}\right) = \frac{1}{2}f(6π​)=sin(6π​)=21​

  • f′(x)=cos⁡xf'(x) = \cos xf′(x)=cosx, so f′(π6)=cos⁡(π6)=32f'\left(\frac{\pi}{6}\right) = \cos\left(\frac{\pi}{6}\right) = \frac{\sqrt{3}}{2}f′(6π​)=cos(6π​)=23​​

Thus:

L(x)=12+32(x−π6)L(x) = \frac{1}{2} + \frac{\sqrt{3}}{2}\left(x - \frac{\pi}{6}\right)L(x)=21​+23​​(x−6π​)

Error Estimates

When a measured quantity xxx has a small error dxdxdx, the maximum error in a calculated function y=f(x)y = f(x)y=f(x) is approximated by the differential:

dy=f′(x) dxdy = f'(x) \, dxdy=f′(x)dx

The relative error is dyy\frac{dy}{y}ydy​, and the percentage error is dyy×100%\frac{dy}{y} \times 100\%ydy​×100%.

Example: Circular Disc Area

The radius of a circular disc is measured as 24 cm24 \text{ cm}24 cm with a maximum error of 0.2 cm0.2 \text{ cm}0.2 cm. Estimate the maximum error, relative error, and percentage error in the calculated area.

  • Area: A=πr2A = \pi r^2A=πr2

  • Differential: dA=2πr drdA = 2\pi r \, drdA=2πrdr

  • Given r=24r = 24r=24, dr=0.2dr = 0.2dr=0.2

Maximum error:

dA=2π(24)(0.2)=9.6π cm2dA = 2\pi (24)(0.2) = 9.6\pi \text{ cm}^2dA=2π(24)(0.2)=9.6π cm2

Relative error:

dAA=2πr drπr2=2 drr=2(0.2)24=0.424≈0.0167\frac{dA}{A} = \frac{2\pi r \, dr}{\pi r^2} = \frac{2\, dr}{r} = \frac{2(0.2)}{24} = \frac{0.4}{24} \approx 0.0167AdA​=πr22πrdr​=r2dr​=242(0.2)​=240.4​≈0.0167

Percentage error:

0.0167×100%=1.67%0.0167 \times 100\% = 1.67\%0.0167×100%=1.67%

Thus, a 0.2 cm0.2 \text{ cm}0.2 cm error in radius leads to approximately 1.67%1.67\%1.67% error in area.


Critical Numbers

A critical number of a function f(x)f(x)f(x) is a value x=cx = cx=c in the domain of fff where either f′(c)=0f'(c) = 0f′(c)=0 or f′(c)f'(c)f′(c) does not exist. Critical numbers are used to locate potential local extrema and to determine intervals of increase/decrease.

Method: Find f′(x)f'(x)f′(x), set f′(x)=0f'(x) = 0f′(x)=0 (and consider where f′f'f′ is undefined), then solve for xxx.

Example 1: f(x)=x3+x2−xf(x) = x^3 + x^2 - xf(x)=x3+x2−x

  • f′(x)=3x2+2x−1f'(x) = 3x^2 + 2x - 1f′(x)=3x2+2x−1

  • Set f′(x)=0f'(x) = 0f′(x)=0: 3x2+2x−1=03x^2 + 2x - 1 = 03x2+2x−1=0

  • Factor: (3x−1)(x+1)=0(3x - 1)(x + 1) = 0(3x−1)(x+1)=0

  • Critical numbers: x=13x = \frac{1}{3}x=31​ and x=−1x = -1x=−1

At these points, the slope is zero; the function has a local maximum at x=−1x = -1x=−1 and a local minimum at x=13x = \frac{1}{3}x=31​.

Example 2: f(x)=x3+x2+xf(x) = x^3 + x^2 + xf(x)=x3+x2+x

  • f′(x)=3x2+2x+1f'(x) = 3x^2 + 2x + 1f′(x)=3x2+2x+1

  • Set f′(x)=0f'(x) = 0f′(x)=0: Use the quadratic formula:

    x=−2±4−4(3)(1)2(3)=−2±4−126=−2±−86x = \frac{-2 \pm \sqrt{4 - 4(3)(1)}}{2(3)} = \frac{-2 \pm \sqrt{4 - 12}}{6} = \frac{-2 \pm \sqrt{-8}}{6}x=2(3)−2±4−4(3)(1)​​=6−2±4−12​​=6−2±−8​​
  • The discriminant is negative, so no real roots. The function has no critical numbers and is strictly increasing for all xxx.


Absolute Maximum and Minimum Values (Closed Interval Method)

To find the absolute (global) maximum and minimum of a continuous function on a closed interval [a,b][a, b][a,b]:

  1. Find all critical numbers of fff in (a,b)(a, b)(a,b).

  2. Evaluate fff at all critical numbers in the interval and at the endpoints aaa and bbb.

  3. The largest value is the absolute maximum; the smallest is the absolute minimum.

Example: f(x)=x3−6x2+9x+2f(x) = x^3 - 6x^2 + 9x + 2f(x)=x3−6x2+9x+2 on [−1,2][-1, 2][−1,2]

Step 1: Critical numbers

  • f′(x)=3x2−12x+9f'(x) = 3x^2 - 12x + 9f′(x)=3x2−12x+9

  • Set f′(x)=0f'(x) = 0f′(x)=0: 3(x2−4x+3)=0⇒(x−1)(x−3)=03(x^2 - 4x + 3) = 0 \Rightarrow (x - 1)(x - 3) = 03(x2−4x+3)=0⇒(x−1)(x−3)=0

  • Critical numbers: x=1x = 1x=1 (in [−1,2][-1,2][−1,2]), x=3x = 3x=3 (not in interval).

Step 2: Evaluate function

  • f(1)=1−6+9+2=6f(1) = 1 - 6 + 9 + 2 = 6f(1)=1−6+9+2=6

  • f(−1)=−1−6−9+2=−14f(-1) = -1 - 6 - 9 + 2 = -14f(−1)=−1−6−9+2=−14

  • f(2)=8−24+18+2=4f(2) = 8 - 24 + 18 + 2 = 4f(2)=8−24+18+2=4

Step 3: Compare

  • Largest: 666 at x=1x = 1x=1 → absolute maximum

  • Smallest: −14-14−14 at x=−1x = -1x=−1 → absolute minimum

The graph shows a horizontal tangent at x=1x = 1x=1 (critical point) and the endpoints.


Rolle's Theorem

Rolle's Theorem states: If fff is continuous on [a,b][a, b][a,b], differentiable on (a,b)(a, b)(a,b), and f(a)=f(b)f(a) = f(b)f(a)=f(b), then there exists at least one ccc in (a,b)(a, b)(a,b) such that f′(c)=0f'(c) = 0f′(c)=0.

Hypotheses to verify:

  1. fff is continuous on the closed interval [a,b][a, b][a,b].

  2. fff is differentiable on the open interval (a,b)(a, b)(a,b).

  3. f(a)=f(b)f(a) = f(b)f(a)=f(b).

The conclusion guarantees a horizontal tangent line at some interior point.

Example: f(x)=x3−3x2+2x+1f(x) = x^3 - 3x^2 + 2x + 1f(x)=x3−3x2+2x+1 on [0,2][0, 2][0,2]

Check hypotheses:

  1. fff is a polynomial → continuous on [0,2][0,2][0,2].

  2. fff is a polynomial → differentiable on (0,2)(0,2)(0,2).

  3. f(0)=1f(0) = 1f(0)=1, f(2)=8−12+4+1=1f(2) = 8 - 12 + 4 + 1 = 1f(2)=8−12+4+1=1 → f(0)=f(2)f(0) = f(2)f(0)=f(2).

Find ccc such that f′(c)=0f'(c) = 0f′(c)=0:

  • f′(x)=3x2−6x+2f'(x) = 3x^2 - 6x + 2f′(x)=3x2−6x+2

  • Set f′(x)=0f'(x) = 0f′(x)=0: 3x2−6x+2=03x^2 - 6x + 2 = 03x2−6x+2=0

  • Use quadratic formula:

    x=6±36−246=6±126=6±236=1±33x = \frac{6 \pm \sqrt{36 - 24}}{6} = \frac{6 \pm \sqrt{12}}{6} = \frac{6 \pm 2\sqrt{3}}{6} = 1 \pm \frac{\sqrt{3}}{3}x=66±36−24​​=66±12​​=66±23​​=1±33​​
  • Both values lie in (0,2)(0,2)(0,2): 1−33≈0.4231 - \frac{\sqrt{3}}{3} \approx 0.4231−33​​≈0.423 and 1+33≈1.5771 + \frac{\sqrt{3}}{3} \approx 1.5771+33​​≈1.577.

  • Therefore, c=1±33c = 1 \pm \frac{\sqrt{3}}{3}c=1±33​​ satisfy the conclusion.

The graph confirms horizontal tangents at these points.


Mean Value Theorem

Mean Value Theorem (MVT): If fff is continuous on [a,b][a, b][a,b] and differentiable on (a,b)(a, b)(a,b), then there exists at least one ccc in (a,b)(a, b)(a,b) such that:

f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}f′(c)=b−af(b)−f(a)​

That is, the instantaneous rate of change at ccc equals the average rate of change over the interval.

Hypotheses:

  1. fff continuous on [a,b][a, b][a,b]

  2. fff differentiable on (a,b)(a, b)(a,b)

Example: f(x)=x3+x2+1f(x) = x^3 + x^2 + 1f(x)=x3+x2+1 on [−1,1][-1, 1][−1,1]

Verify hypotheses:

  1. Polynomial → continuous on [−1,1][-1,1][−1,1].

  2. Polynomial → differentiable on (−1,1)(-1,1)(−1,1).

Find ccc:

  • Average rate of change:

    f(1)−f(−1)1−(−1)=(1+1+1)−(−1+1+1)2=3−12=1\frac{f(1) - f(-1)}{1 - (-1)} = \frac{(1+1+1) - (-1 + 1 + 1)}{2} = \frac{3 - 1}{2} = 11−(−1)f(1)−f(−1)​=2(1+1+1)−(−1+1+1)​=23−1​=1
  • f′(x)=3x2+2xf'(x) = 3x^2 + 2xf′(x)=3x2+2x

  • Set f′(c)=1f'(c) = 1f′(c)=1: 3c2+2c=1⇒3c2+2c−1=03c^2 + 2c = 1 \Rightarrow 3c^2 + 2c - 1 = 03c2+2c=1⇒3c2+2c−1=0

  • Factor: (3c−1)(c+1)=0(3c - 1)(c + 1) = 0(3c−1)(c+1)=0

  • Solutions: c=13c = \frac{1}{3}c=31​ and c=−1c = -1c=−1.

  • Only c=13c = \frac{1}{3}c=31​ lies in the open interval (−1,1)(-1,1)(−1,1) (endpoint c=−1c = -1c=−1 is not included).

  • Thus c=13c = \frac{1}{3}c=31​ satisfies the MVT.

The graph shows the secant line from (−1,f(−1))(-1, f(-1))(−1,f(−1)) to (1,f(1))(1, f(1))(1,f(1)) and a tangent line at x=13x = \frac{1}{3}x=31​ with the same slope.


Increasing and Decreasing Intervals

A function fff is increasing on an interval if f′(x)>0f'(x) > 0f′(x)>0 for all xxx in the interval, and decreasing if f′(x)<0f'(x) < 0f′(x)<0.

Method:

  1. Find critical numbers (where f′(x)=0f'(x) = 0f′(x)=0 or undefined).

  2. Place critical numbers on a number line and test the sign of f′f'f′ in each subinterval.

  3. If f′>0f' > 0f′>0, fff is increasing; if f′<0f' < 0f′<0, fff is decreasing.

Example 1: f(x)=3x4−4x3−12x2+5f(x) = 3x^4 - 4x^3 - 12x^2 + 5f(x)=3x4−4x3−12x2+5

Step 1: Find f′(x)f'(x)f′(x) and critical numbers.

  • f′(x)=12x3−12x2−24x=12x(x2−x−2)=12x(x+1)(x−2)f'(x) = 12x^3 - 12x^2 - 24x = 12x(x^2 - x - 2) = 12x(x+1)(x-2)f′(x)=12x3−12x2−24x=12x(x2−x−2)=12x(x+1)(x−2)

  • Set f′(x)=0f'(x) = 0f′(x)=0: x=0,−1,2x = 0, -1, 2x=0,−1,2

Step 2: Sign chart for f′(x)f'(x)f′(x) (using factors xxx, x+1x+1x+1, x−2x-2x−2):

Interval

Test point

Signs of factors

Sign of f′f'f′

Behavior

(−∞,−1)(-\infty, -1)(−∞,−1)

x=−2x = -2x=−2

(−)(−)(−)=−(-)(-)(-) = -(−)(−)(−)=−

Negative

Decreasing

(−1,0)(-1, 0)(−1,0)

x=−0.5x = -0.5x=−0.5

(−)(+)(−)=+(-)(+)(-) = +(−)(+)(−)=+

Positive

Increasing

(0,2)(0, 2)(0,2)

x=1x = 1x=1

(+)(+)(−)=−(+)(+)(-) = -(+)(+)(−)=−

Negative

Decreasing

(2,∞)(2, \infty)(2,∞)

x=3x = 3x=3

(+)(+)(+)=+(+)(+)(+) = +(+)(+)(+)=+

Positive

Increasing

Step 3: Write intervals:

  • Increasing on: (−1,0)(-1, 0)(−1,0) and (2,∞)(2, \infty)(2,∞)

  • Decreasing on: (−∞,−1)(-\infty, -1)(−∞,−1) and (0,2)(0, 2)(0,2)

The graph shows local max/min at the critical points where the function changes from increasing to decreasing or vice versa.

Example 2: f(x)=2+(x−5)3f(x) = 2 + (x - 5)^3f(x)=2+(x−5)3

  • f′(x)=3(x−5)2f'(x) = 3(x - 5)^2f′(x)=3(x−5)2

  • f′(x)=0f'(x) = 0f′(x)=0 at x=5x = 5x=5; elsewhere f′(x)>0f'(x) > 0f′(x)>0 (square is always non-negative, zero only at x=5x=5x=5).

  • Critical number: x=5x = 5x=5.

  • Since f′(x)>0f'(x) > 0f′(x)>0 for x≠5x \neq 5x=5, the function is increasing on (−∞,5)(-\infty, 5)(−∞,5) and (5,∞)(5, \infty)(5,∞).

  • At x=5x = 5x=5, the derivative is zero but the function does not change behavior (it has a horizontal tangent but is not a local extremum).


First Derivative Test

The First Derivative Test uses the sign of f′f'f′ around critical numbers to classify local maxima and minima.

  • If f′f'f′ changes from positive to negative at ccc, then fff has a local maximum at ccc.

  • If f′f'f′ changes from negative to positive at ccc, then fff has a local minimum at ccc.

  • If f′f'f′ does not change sign, then ccc is neither a local max nor min.

Example: f(x)=x3−6x2+5f(x) = x^3 - 6x^2 + 5f(x)=x3−6x2+5

Step 1: Critical numbers

  • f′(x)=3x2−12x=3x(x−4)f'(x) = 3x^2 - 12x = 3x(x - 4)f′(x)=3x2−12x=3x(x−4)

  • Set f′(x)=0f'(x) = 0f′(x)=0: x=0,4x = 0, 4x=0,4

Step 2: Sign of f′f'f′

  • For x<0x < 0x<0: test x=−1x = -1x=−1 → f′(−1)=3+12=15>0f'(-1) = 3+12 = 15 > 0f′(−1)=3+12=15>0

  • For 0<x<40 < x < 40<x<4: test x=1x = 1x=1 → f′(1)=3−12=−9<0f'(1) = 3 - 12 = -9 < 0f′(1)=3−12=−9<0

  • For x>4x > 4x>4: test x=5x = 5x=5 → f′(5)=75−60=15>0f'(5) = 75 - 60 = 15 > 0f′(5)=75−60=15>0

Step 3: Classify

  • At x=0x = 0x=0: f′f'f′ changes from positive to negative → local maximum

  • At x=4x = 4x=4: f′f'f′ changes from negative to positive → local minimum

Compute function values:

  • f(0)=5f(0) = 5f(0)=5 → local maximum value = 555

  • f(4)=64−96+5=−27f(4) = 64 - 96 + 5 = -27f(4)=64−96+5=−27 → local minimum value = −27-27−27


Concavity and Inflection Points

Concavity is determined by the second derivative:

  • If f′′(x)>0f''(x) > 0f′′(x)>0 on an interval, the graph is concave up (like a cup).

  • If f′′(x)<0f''(x) < 0f′′(x)<0 on an interval, the graph is concave down (like a frown).

An inflection point is a point where the concavity changes (i.e., f′′(x)f''(x)f′′(x) changes sign). At such points, f′′(x)=0f''(x) = 0f′′(x)=0 or is undefined.

Method:

  1. Find f′′(x)f''(x)f′′(x), set f′′(x)=0f''(x) = 0f′′(x)=0 to find potential inflection points.

  2. Test the sign of f′′f''f′′ on intervals around these points.

  3. Where f′′f''f′′ changes sign, there is an inflection point; compute f(x)f(x)f(x) at that xxx.

Example: f(x)=x4−4x3f(x) = x^4 - 4x^3f(x)=x4−4x3

Step 1: Derivatives

  • f′(x)=4x3−12x2f'(x) = 4x^3 - 12x^2f′(x)=4x3−12x2

  • f′′(x)=12x2−24x=12x(x−2)f''(x) = 12x^2 - 24x = 12x(x - 2)f′′(x)=12x2−24x=12x(x−2)

  • Set f′′(x)=0f''(x) = 0f′′(x)=0: x=0x = 0x=0 and x=2x = 2x=2

Step 2: Sign chart for f′′f''f′′

Interval

Test point

Sign of f′′f''f′′

Concavity

(−∞,0)(-\infty, 0)(−∞,0)

x=−1x = -1x=−1

12(−1)(−3)=36>012(-1)(-3) = 36 > 012(−1)(−3)=36>0

Concave up

(0,2)(0, 2)(0,2)

x=1x = 1x=1

12(1)(−1)=−12<012(1)(-1) = -12 < 012(1)(−1)=−12<0

Concave down

(2,∞)(2, \infty)(2,∞)

x=3x = 3x=3

12(3)(1)=36>012(3)(1) = 36 > 012(3)(1)=36>0

Concave up

Step 3: Inflection points

  • Concavity changes at x=0x = 0x=0 and x=2x = 2x=2.

  • f(0)=0f(0) = 0f(0)=0 → inflection point at (0,0)(0, 0)(0,0)

  • f(2)=16−32=−16f(2) = 16 - 32 = -16f(2)=16−32=−16 → inflection point at (2,−16)(2, -16)(2,−16)

Intervals of concavity:

  • Concave up on: (−∞,0)(-\infty, 0)(−∞,0) and (2,∞)(2, \infty)(2,∞)

  • Concave down on: (0,2)(0, 2)(0,2)


Second Derivative Test

The Second Derivative Test is an alternative to the First Derivative Test for classifying critical numbers when the second derivative is easy to compute.

If ccc is a critical number (f′(c)=0f'(c) = 0f′(c)=0):

  • If f′′(c)>0f''(c) > 0f′′(c)>0, then fff has a local minimum at ccc.

  • If f′′(c)<0f''(c) < 0f′′(c)<0, then fff has a local maximum at ccc.

  • If f′′(c)=0f''(c) = 0f′′(c)=0, the test is inconclusive; use the First Derivative Test.

Example: f(x)=x3−6x2+5f(x) = x^3 - 6x^2 + 5f(x)=x3−6x2+5

Step 1: Critical numbers

  • f′(x)=3x2−12x=3x(x−4)f'(x) = 3x^2 - 12x = 3x(x - 4)f′(x)=3x2−12x=3x(x−4) → c=0,4c = 0, 4c=0,4

Step 2: Second derivative

  • f′′(x)=6x−12f''(x) = 6x - 12f′′(x)=6x−12

  • f′′(0)=−12<0f''(0) = -12 < 0f′′(0)=−12<0 → local maximum at x=0x = 0x=0

  • f′′(4)=24−12=12>0f''(4) = 24 - 12 = 12 > 0f′′(4)=24−12=12>0 → local minimum at x=4x = 4x=4

Step 3: Function values

  • f(0)=5f(0) = 5f(0)=5 → local maximum value 555

  • f(4)=−27f(4) = -27f(4)=−27 → local minimum value −27-27−27


L'Hôpital's Rule

L'Hôpital's Rule is used to evaluate limits that yield indeterminate forms 00\frac{0}{0}00​ or ∞∞\frac{\infty}{\infty}∞∞​. The rule states: if lim⁡x→af(x)g(x)\lim_{x \to a} \frac{f(x)}{g(x)}limx→a​g(x)f(x)​ is of one of these forms, then

lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}limx→a​g(x)f(x)​=limx→a​g′(x)f′(x)​

provided the limit on the right exists (or is ±∞\pm\infty±∞). The rule may be applied repeatedly as long as the indeterminate form persists.

Example 1: Basic 00\frac{0}{0}00​ Form

Evaluate lim⁡x→2x2+x−6x−2\displaystyle \lim_{x \to 2} \frac{x^2 + x - 6}{x - 2}x→2lim​x−2x2+x−6​.

  • Direct substitution gives 4+2−60=00\frac{4+2-6}{0} = \frac{0}{0}04+2−6​=00​ → apply L'Hôpital.

  • Differentiate numerator and denominator: ddx(x2+x−6)=2x+1\frac{d}{dx}(x^2+x-6) = 2x+1dxd​(x2+x−6)=2x+1, ddx(x−2)=1\frac{d}{dx}(x-2)=1dxd​(x−2)=1.

  • Limit becomes lim⁡x→22x+11=2(2)+1=5\displaystyle \lim_{x \to 2} \frac{2x+1}{1} = 2(2)+1 = 5x→2lim​12x+1​=2(2)+1=5.

Example 2: Trigonometric 00\frac{0}{0}00​

Evaluate lim⁡x→0cos⁡x−1x\displaystyle \lim_{x \to 0} \frac{\cos x - 1}{x}x→0lim​xcosx−1​.

  • Direct substitution: 1−10=00\frac{1-1}{0} = \frac{0}{0}01−1​=00​ → apply L'Hôpital.

  • ddx(cos⁡x−1)=−sin⁡x\frac{d}{dx}(\cos x - 1) = -\sin xdxd​(cosx−1)=−sinx, ddx(x)=1\frac{d}{dx}(x) = 1dxd​(x)=1.

  • Limit becomes lim⁡x→0−sin⁡x1=−sin⁡0=0\displaystyle \lim_{x \to 0} \frac{-\sin x}{1} = -\sin 0 = 0x→0lim​1−sinx​=−sin0=0.

Example 3: 0⋅∞0 \cdot \infty0⋅∞ Form

Evaluate lim⁡x→0+sin⁡x⋅ln⁡x\displaystyle \lim_{x \to 0^+} \sin x \cdot \ln xx→0+lim​sinx⋅lnx.

  • Direct substitution: sin⁡0⋅(−∞)=0⋅(−∞)\sin 0 \cdot (-\infty) = 0 \cdot (-\infty)sin0⋅(−∞)=0⋅(−∞) → indeterminate.

  • Rewrite as a fraction: lim⁡x→0+ln⁡x1/sin⁡x=−∞∞\displaystyle \lim_{x \to 0^+} \frac{\ln x}{1/\sin x} = \frac{-\infty}{\infty}x→0+lim​1/sinxlnx​=∞−∞​.

  • Now apply L'Hôpital:

    • Derivative of numerator: ddxln⁡x=1x\frac{d}{dx} \ln x = \frac{1}{x}dxd​lnx=x1​

    • Derivative of denominator: ddxcsc⁡x=−csc⁡xcot⁡x\frac{d}{dx} \csc x = -\csc x \cot xdxd​cscx=−cscxcotx

  • Simplify: lim⁡x→0+1/x−csc⁡xcot⁡x=lim⁡x→0+−sin⁡2xxcos⁡x\displaystyle \lim_{x \to 0^+} \frac{1/x}{-\csc x \cot x} = \lim_{x \to 0^+} \frac{-\sin^2 x}{x \cos x}x→0+lim​−cscxcotx1/x​=x→0+lim​xcosx−sin2x​

  • This is still 00\frac{0}{0}00​; apply L'Hôpital again:

    • Numerator derivative: ddx(−sin⁡2x)=−2sin⁡xcos⁡x\frac{d}{dx}(-\sin^2 x) = -2\sin x \cos xdxd​(−sin2x)=−2sinxcosx

    • Denominator derivative: ddx(xcos⁡x)=cos⁡x−xsin⁡x\frac{d}{dx}(x \cos x) = \cos x - x \sin xdxd​(xcosx)=cosx−xsinx

  • Limit becomes lim⁡x→0−2sin⁡xcos⁡xcos⁡x−xsin⁡x\displaystyle \lim_{x \to 0} \frac{-2\sin x \cos x}{\cos x - x \sin x}x→0lim​cosx−xsinx−2sinxcosx​.

  • Substitute x=0x=0x=0: numerator 000, denominator 1−0=11-0=11−0=1 → limit = 000.

Thus the original limit is 000.

Example 4: ∞−∞\infty - \infty∞−∞ Form

Evaluate lim⁡x→∞(xe1/x−x)\displaystyle \lim_{x \to \infty} \left( x e^{1/x} - x \right)x→∞lim​(xe1/x−x).

  • Direct substitution: ∞⋅e0−∞=∞−∞\infty \cdot e^0 - \infty = \infty - \infty∞⋅e0−∞=∞−∞ → indeterminate.

  • Factor out xxx: lim⁡x→∞x(e1/x−1)\displaystyle \lim_{x \to \infty} x \left( e^{1/x} - 1 \right)x→∞lim​x(e1/x−1) → now ∞⋅0\infty \cdot 0∞⋅0 form.

  • Rewrite as fraction: lim⁡x→∞e1/x−11/x\displaystyle \lim_{x \to \infty} \frac{e^{1/x} - 1}{1/x}x→∞lim​1/xe1/x−1​ → 00\frac{0}{0}00​ as x→∞x\to\inftyx→∞.

  • Apply L'Hôpital:

    • Derivative of numerator: ddx(e1/x−1)=e1/x⋅(−1x2)\frac{d}{dx}(e^{1/x} - 1) = e^{1/x} \cdot \left(-\frac{1}{x^2}\right)dxd​(e1/x−1)=e1/x⋅(−x21​)

    • Derivative of denominator: ddx(1/x)=−1x2\frac{d}{dx}(1/x) = -\frac{1}{x^2}dxd​(1/x)=−x21​

  • The −1x2-\frac{1}{x^2}−x21​ factors cancel, leaving lim⁡x→∞e1/x=e0=1\displaystyle \lim_{x \to \infty} e^{1/x} = e^0 = 1x→∞lim​e1/x=e0=1.

Thus the limit is 111.

Example 5: 1∞1^\infty1∞ Indeterminate Power

Evaluate lim⁡x→0(cos⁡3x)5/x\displaystyle \lim_{x \to 0} (\cos 3x)^{5/x}x→0lim​(cos3x)5/x.

  • Direct substitution: cos⁡0=1\cos 0 = 1cos0=1, exponent 50\frac{5}{0}05​ → 1∞1^\infty1∞ form.

  • Use the technique: let y=(cos⁡3x)5/xy = (\cos 3x)^{5/x}y=(cos3x)5/x. Take the natural logarithm:

    ln⁡y=5xln⁡(cos⁡3x)\ln y = \frac{5}{x} \ln(\cos 3x)lny=x5​ln(cos3x)
  • Compute lim⁡x→0ln⁡y=lim⁡x→05ln⁡(cos⁡3x)x\displaystyle \lim_{x \to 0} \ln y = \lim_{x \to 0} \frac{5 \ln(\cos 3x)}{x}x→0lim​lny=x→0lim​x5ln(cos3x)​ → 00\frac{0}{0}00​ form.

  • Apply L'Hôpital:

    • Derivative of numerator: 5⋅1cos⁡3x⋅(−sin⁡3x⋅3)=−15tan⁡3x5 \cdot \frac{1}{\cos 3x} \cdot (-\sin 3x \cdot 3) = -15 \tan 3x5⋅cos3x1​⋅(−sin3x⋅3)=−15tan3x

    • Derivative of denominator: 111

  • So lim⁡x→0ln⁡y=lim⁡x→0(−15tan⁡3x)=−15⋅0=0\displaystyle \lim_{x \to 0} \ln y = \lim_{x \to 0} (-15 \tan 3x) = -15 \cdot 0 = 0x→0lim​lny=x→0lim​(−15tan3x)=−15⋅0=0.

  • Therefore ln⁡y→0\ln y \to 0lny→0, so y→e0=1y \to e^0 = 1y→e0=1.

The limit is 111.


Optimization Problems

Optimization involves maximizing or minimizing a quantity subject to constraints. The general approach:

  1. Read the problem, identify what is to be optimized and the constraint.

  2. Draw a diagram and assign variables.

  3. Write equations for the quantity to be optimized and the constraint.

  4. Use the constraint to express the optimization equation in one variable.

  5. Determine the domain (often from physical constraints).

  6. Find critical numbers and test (using first or second derivative test, and endpoints if present).

  7. State the final answer in a complete sentence.

Example 1: Largest Volume of a Box with Square Base and Open Top

A box with a square base and open top is made from 1200 cm21200 \text{ cm}^21200 cm2 of material. Find the maximum possible volume.

Variables:

  • Let xxx = side length of square base (cm)

  • Let yyy = height of box (cm)

Constraint (surface area): base x2x^2x2 plus four sides 4xy4xy4xy equals 120012001200:

x2+4xy=1200x^2 + 4xy = 1200x2+4xy=1200

Optimize: Volume V=x2yV = x^2 yV=x2y

Express VVV in one variable: Solve constraint for yyy:

y=1200−x24xy = \frac{1200 - x^2}{4x}y=4x1200−x2​

Then

V=x2⋅1200−x24x=x4(1200−x2)=300x−34x3V = x^2 \cdot \frac{1200 - x^2}{4x} = \frac{x}{4}(1200 - x^2) = 300x - \frac{3}{4}x^3V=x2⋅4x1200−x2​=4x​(1200−x2)=300x−43​x3

Domain: x>0x > 0x>0 (no negative lengths). Also y>0y>0y>0 implies 1200−x2>01200 - x^2 > 01200−x2>0, so 0<x<1200≈34.640 < x < \sqrt{1200} \approx 34.640<x<1200​≈34.64.

Find critical numbers:

V′(x)=300−94x2V'(x) = 300 - \frac{9}{4}x^2V′(x)=300−49​x2

Set V′(x)=0V'(x) = 0V′(x)=0:

300=94x2⇒x2=12003=400⇒x=20 cm300 = \frac{9}{4}x^2 \quad \Rightarrow \quad x^2 = \frac{1200}{3} = 400 \quad \Rightarrow \quad x = 20 \text{ cm}300=49​x2⇒x2=31200​=400⇒x=20 cm

(Only positive root considered.)

Second derivative test:

V′′(x)=−92xV''(x) = -\frac{9}{2}xV′′(x)=−29​x

At x=20x = 20x=20, V′′(20)=−90<0V''(20) = -90 < 0V′′(20)=−90<0 → concave down → local maximum.

Find dimensions:

y=1200−(20)24(20)=1200−40080=80080=10 cmy = \frac{1200 - (20)^2}{4(20)} = \frac{1200 - 400}{80} = \frac{800}{80} = 10 \text{ cm}y=4(20)1200−(20)2​=801200−400​=80800​=10 cm

Maximum volume:

V=202⋅10=4000 cm3V = 20^2 \cdot 10 = 4000 \text{ cm}^3V=202⋅10=4000 cm3

Answer: The largest possible volume is 4000 cm34000 \text{ cm}^34000 cm3 when the base side is 20 cm20 \text{ cm}20 cm and height is 10 cm10 \text{ cm}10 cm.

Example 2: Largest Rectangle Inscribed in a Right Triangle

Find the area of the largest rectangle that can be inscribed in a right triangle with legs of length 3 cm3 \text{ cm}3 cm and 4 cm4 \text{ cm}4 cm, with two sides of the rectangle along the legs.

Diagram: Right triangle with legs along axes: vertical leg 333 (height) and horizontal leg 444 (base). The rectangle has sides parallel to the legs, with width xxx along the base and height yyy along the vertical leg.

Variables:

  • xxx = width of rectangle (along base)

  • yyy = height of rectangle (along vertical leg)

Constraint (similar triangles): The large triangle has base 444 and height 333. The small triangle above the rectangle has base xxx and height 3−y3 - y3−y (the part of the vertical leg not covered by the rectangle). By proportionality:

34=3−yx\frac{3}{4} = \frac{3 - y}{x}43​=x3−y​

Cross-multiply:

3x=4(3−y)=12−4y⇒4y=12−3x⇒y=12−3x43x = 4(3 - y) = 12 - 4y \quad \Rightarrow \quad 4y = 12 - 3x \quad \Rightarrow \quad y = \frac{12 - 3x}{4}3x=4(3−y)=12−4y⇒4y=12−3x⇒y=412−3x​

Optimize: Area A=xyA = xyA=xy.

Substitute yyy:

A=x⋅12−3x4=3x−34x2A = x \cdot \frac{12 - 3x}{4} = 3x - \frac{3}{4}x^2A=x⋅412−3x​=3x−43​x2

Domain: 0≤x≤40 \le x \le 40≤x≤4 (rectangle must fit inside triangle; at x=0x=0x=0 or x=4x=4x=4, area is zero).

Find critical numbers:

A′(x)=3−32xA'(x) = 3 - \frac{3}{2}xA′(x)=3−23​x

Set A′(x)=0A'(x) = 0A′(x)=0:

3=32x⇒x=2 cm3 = \frac{3}{2}x \quad \Rightarrow \quad x = 2 \text{ cm}3=23​x⇒x=2 cm

Check endpoints:

  • A(0)=0A(0) = 0A(0)=0

  • A(2)=3(2)−34(4)=6−3=3A(2) = 3(2) - \frac{3}{4}(4) = 6 - 3 = 3A(2)=3(2)−43​(4)=6−3=3

  • A(4)=12−34(16)=12−12=0A(4) = 12 - \frac{3}{4}(16) = 12 - 12 = 0A(4)=12−43​(16)=12−12=0

The maximum area occurs at the critical point x=2x = 2x=2.

Find yyy:

y=12−3(2)4=12−64=64=1.5 cmy = \frac{12 - 3(2)}{4} = \frac{12 - 6}{4} = \frac{6}{4} = 1.5 \text{ cm}y=412−3(2)​=412−6​=46​=1.5 cm

Maximum area:

A=2⋅1.5=3 cm2A = 2 \cdot 1.5 = 3 \text{ cm}^2A=2⋅1.5=3 cm2

Answer: The area of the largest rectangle is 3 cm23 \text{ cm}^23 cm2, achieved when the rectangle is 2 cm2 \text{ cm}2 cm wide and 1.5 cm1.5 \text{ cm}1.5 cm tall.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent