Skip to content

Derivatives

The Derivative as a Limit (CED Unit 2)

The derivative of ff at x=ax = a is defined as:

Adjust the parameters in the graph above to explore the relationships between variables.

F′(a)=lim⁡{h→0}{f(a+h)−f(a)}{h}F'(a) = \lim_\{h \to 0\} \frac\{f(a+h) - f(a)\}\{h\}

Equivalently, using an alternate form:

F′(a)=lim⁡{x→a}{f(x)−f(a)}{x−a}F'(a) = \lim_\{x \to a\} \frac\{f(x) - f(a)\}\{x - a\}

If this limit exists, ff is said to be differentiable at aa.

Physical intuition. If s(t)s(t) is position at time tt Then s′(t)s'(t) is the instantaneous Velocity. The derivative answers: “how fast is ff changing right now?”

Geometric intuition. The derivative f′(a)f'(a) equals the slope of the tangent line to the graph of ff at the point (a,f(a))(a, f(a)).

Interpretations of the Derivative

  • Geometric: f′(a)f'(a) is the slope of the tangent line to y=f(x)y = f(x) at the point (a,f(a))(a, f(a)).
  • Physical: If s(t)s(t) is position, then s′(t)s'(t) is instantaneous velocity.
  • Rate of change: f′(a)f'(a) gives the instantaneous rate of change of ff with respect to xx at x=ax = a.

Common Pitfalls

  1. Forgetting the chain rule. When differentiating a composition, always account for the inner function’s derivative. For example, ddx[sin⁡(x2)]≠cos⁡(x2)\frac{d}{dx}[\sin(x^2)] \ne \cos(x^2).
  2. Incorrect sign in the quotient rule. Remember: “Low d-High minus High d-Low, draw a line and square below.”
  3. Confusing ddx[ex]\frac{d}{dx}[e^x] with ddx[xe]\frac{d}{dx}[x^e]. The former is exe^x; the latter is exe−1ex^{e-1}.
  4. Implicit differentiation: forgetting to apply the chain rule to yy terms. When differentiating y2y^2 with respect to xx The result is 2ydydx2y\frac{dy}{dx} Not 2y2y.
  5. Units in related rates. Always include units and check that they make dimensional sense.
  6. Not checking endpoints in optimization problems on closed intervals.
  7. Using the second derivative test when it is inconclusive (f′′(c)=0f''(c) = 0). Fall back to the first derivative test.
  8. Confusing the second derivative with the first. The second derivative tells you about concavity, not the slope.
  9. Dropping negative signs in implicit differentiation. Be systematic: write every yy term with dydx\frac{dy}{dx} attached.
  10. Linear approximation overreach. The approximation f(x)≈f(a)+f′(a)(x−a)f(x) \approx f(a) + f'(a)(x-a) is accurate only near x=ax = a. Using it far from aa can give wildly inaccurate results.

Practice Questions

  1. Find dydx\displaystyle\frac{dy}{dx} for exy+y=x2e^{xy} + y = x^2 using implicit differentiation.

  2. A spherical balloon is inflated at a rate of 10cm3/s10 \mathrm{ cm^3/\mathrm{s}}. How fast is the radius increasing when the radius is 5 cm? (V=43πr3V = \frac{4}{3}\pi r^3)

  3. Find all critical points of f(x)=x4−4x3+6x2−4x+1f(x) = x^4 - 4x^3 + 6x^2 - 4x + 1 and classify them using the second derivative test.

  4. Use the Mean Value Theorem to show that ∣sin⁡b−sin⁡a∣≤∣b−a∣|\sin b - \sin a| \le |b - a| for all a,ba, b.

  5. Find the equation of the tangent line to y=ln⁡(x2+1)y = \ln(x^2 + 1) at x=1x = 1.

  6. A 15 ft ladder leans against a wall. The bottom slides away at 2 ft/s. How fast is the angle between the ladder and the ground changing when the bottom is 9 ft from the wall?

  7. Find the absolute maximum and minimum of f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4 on [−1,4][-1, 4].

  8. Use linear approximation to estimate (1.02)10(1.02)^{10}.

  9. Find ddx[x2+1e2x]\displaystyle\frac{d}{dx}\left[\frac{x^2 + 1}{e^{2x}}\right] and find all stationary points.

  10. Find d2ydx2\displaystyle\frac{d^2y}{dx^2} for x3+y3=6xyx^3 + y^3 = 6xy at the point (3,3)(3, 3).

  11. A rectangular box with a square base has volume 500cm3500 \mathrm{ cm^3}. The material for the base costs twice as much as the material for the sides. Minimise the cost of the material.

  12. Prove that the derivative of f(x)=x3f(x) = x^3 is f′(x)=3x2f'(x) = 3x^2 from first principles.

  13. Find dydx\displaystyle\frac{dy}{dx} for sin⁡(x+y)=xcos⁡y\sin(x + y) = x \cos y.

  14. Find the inflection points of f(x)=x4−6x2+4f(x) = x^4 - 6x^2 + 4.

  15. A conical tank (vertex pointing down) has radius 5 ft at the top and height 10 ft. Water is pumped in at 3 ft3/min\mathrm{ft^3/\mathrm{min}}. How fast is the water level rising when the water is 6 ft deep?

  16. Find the dimensions of the rectangle of maximum area that can be inscribed in a semicircle of radius rr.

Practice Problems

Question 1: Implicit differentiation

Find dydx\frac{dy}{dx} for the curve x3+y3=6xyx^3 + y^3 = 6xy. Then find the equation of the tangent line at the point (3,3)(3, 3).

Answer

Differentiate implicitly: 3x2+3y2dydx=6y+6xdydx3x^2 + 3y^2 \frac{dy}{dx} = 6y + 6x \frac{dy}{dx}.

3y2dydx−6xdydx=6y−3x23y^2 \frac{dy}{dx} - 6x \frac{dy}{dx} = 6y - 3x^2.

dydx=6y−3x23y2−6x=2y−x2y2−2x\frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x}.

At (3,3)(3, 3): dydx=6−99−6=−33=−1\frac{dy}{dx} = \frac{6 - 9}{9 - 6} = \frac{-3}{3} = -1.

Tangent line: y−3=−1(x−3)y - 3 = -1(x - 3) So y=−x+6y = -x + 6.

Question 2: Related rates

A spherical balloon is being inflated at a rate of 100cm3/s100 \mathrm{ cm^3/s}. How fast is the radius increasing when the radius is 10cm10 \mathrm{ cm}?

Answer

V=43πr3V = \frac{4}{3}\pi r^3. Differentiate with respect to time: dVdt=4πr2drdt\frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt}.

100=4π(10)2drdt=400πdrdt100 = 4\pi(10)^2 \frac{dr}{dt} = 400\pi \frac{dr}{dt}.

drdt=100400π=14π≈0.080cm/s\frac{dr}{dt} = \frac{100}{400\pi} = \frac{1}{4\pi} \approx 0.080 \mathrm{ cm/s}.

Question 3: L’Hopital’s rule

Evaluate lim⁡x→0ex−1−xx2\displaystyle\lim_{x \to 0} \frac{e^x - 1 - x}{x^2}.

Answer

This is 0/00/0. Apply L’Hopital’s rule:

lim⁡x→0ex−12x\displaystyle\lim_{x \to 0} \frac{e^x - 1}{2x}.

Still 0/00/0. Apply again:

lim⁡x→0ex2=12\displaystyle\lim_{x \to 0} \frac{e^x}{2} = \frac{1}{2}.

Alternatively, this is the coefficient of x2/2!x^2/2! in the Taylor series of exe^x Confirming the answer.

Question 4: Optimisation with constraint

A rectangular box with a square base and no top is to have a volume of 108cm3108 \mathrm{ cm^3}. Find the dimensions that minimise the surface area.

Answer

Let base side = xx Height = hh. Volume: x2h=108x^2 h = 108 So h=108/x2h = 108/x^2.

Surface area: S=x2+4xh=x2+4x(108/x2)=x2+432/xS = x^2 + 4xh = x^2 + 4x(108/x^2) = x^2 + 432/x.

dSdx=2x−432/x2=0\frac{dS}{dx} = 2x - 432/x^2 = 0 So 2x = 432/x^2$$x^3 = 216$$x = 6 \mathrm{ cm}.

h=108/36=3cmh = 108/36 = 3 \mathrm{ cm}.

d2Sdx2=2+864/x3>0\frac{d^2S}{dx^2} = 2 + 864/x^3 \gt 0 at x=6x = 6 Confirming minimum.

Dimensions: 6×6×3cm6 \times 6 \times 3 \mathrm{ cm} Minimum surface area =36+432/6=108cm2= 36 + 432/6 = 108 \mathrm{ cm^2}.

Question 5: Mean Value Theorem

Verify that the function f(x)=x3−3x+1f(x) = x^3 - 3x + 1 satisfies the conditions of the Mean Value Theorem on [−2,2][-2, 2] And find all values of cc that satisfy the conclusion.

Answer

ff is a polynomial, so it is continuous on [−2,2][-2, 2] and differentiable on (−2,2)(-2, 2).

f(2)=8−6+1=3f(2) = 8 - 6 + 1 = 3. f(−2)=−8+6+1=−1f(-2) = -8 + 6 + 1 = -1.

f′(c)=f(2)−f(−2)2−(−2)=3−(−1)4=1f'(c) = \frac{f(2) - f(-2)}{2 - (-2)} = \frac{3 - (-1)}{4} = 1.

f′(x)=3x2−3=1f'(x) = 3x^2 - 3 = 1 So 3x^2 = 4$$x^2 = 4/3$$x = \pm 2/\sqrt{3} \approx \pm 1.155.

Both values are in (−2,2)(-2, 2). The MVT is satisfied at c=2/3c = 2/\sqrt{3} and c=−2/3c = -2/\sqrt{3}.


Intuition

The speedometer analogy: A derivative tells you how fast something is changing at any instant, just like a speedometer shows your current speed without needing to measure average speed over a distance.

Why it matters: Derivatives are everywhere, from finding the optimal price for a product to understanding how diseases spread. They allow us to model and predict change in any system.

The key insight: A derivative captures the instantaneous rate of change by shrinking the measurement interval to zero.

Cross-References

  • Limits and Continuity — The derivative is defined as a limit, making limits the foundational concept for all differentiation.
  • Integrals — Integration is the reverse process of differentiation, connecting the two fundamental operations of calculus.
  • Differential Equations — Derivatives appear in differential equations, linking rate-of-change analysis to modelling real-world phenomena.
  • AP Physics, Kinematics: Velocity is the derivative of position, and acceleration is the derivative of velocity, derivatives model all rates of change in mechanics.
  • AP Physics, Newton’s Laws: Force equals mass times acceleration, where acceleration is a second derivative of position, connecting differentiation directly to dynamics.