The Derivative

Learning Objectives

  • Understand the physical meaning and historical context of the derivative.
  • Calculate derivatives using the formal limit definition.
  • Distinguish between left and right-hand derivatives.
  • Apply fundamental differentiation rules (Power, Product, Quotient, Chain).
  • Compute derivatives using implicit differentiation.
  • Interpret the meaning of higher-order derivatives.
The derivative represents the instantaneous rate of change of a function. It allows us to find the slope of a curve at any point, which corresponds to velocity in physics, marginal cost in economics, and many other rates in engineering.

Historical Context

The calculus of infinitesimals was developed independently by two great mathematical minds in the late 17th century: Isaac Newton and Gottfried Wilhelm Leibniz. While Newton's work ("fluxions") was heavily rooted in physics and motion, Leibniz focused more on the geometric interpretation (tangents to curves) and developed the notation (dydx\frac{dy}{dx}) that is widely used today. Their combined efforts established the rigorous foundation of differential and integral calculus.

Derivative Notation

Common Derivative Notations

  • Lagrange's Notation: f(x)f'(x), yy'. The prime notation indicates the derivative of a function.
  • Leibniz's Notation: dydx\frac{dy}{dx}, ddx[f(x)]\frac{d}{dx}[f(x)]. This explicitly shows the variables involved, useful in the chain rule and differential equations.
  • Newton's Notation: y˙\dot{y}, y¨\ddot{y}. The dot notation represents derivatives with respect to time, common in mechanics.

Physical Meaning of the Derivative

In civil engineering, derivatives are not just abstract mathematical concepts; they represent physical rates of change. For example:

Examples of Derivatives

  • Velocity: The derivative of position with respect to time (v=ds/dtv = ds/dt).
  • Acceleration: The derivative of velocity with respect to time (a=dv/dta = dv/dt).
  • Flow Rate: The derivative of volume with respect to time (Q=dV/dtQ = dV/dt). This represents the amount of water flowing through a pipe or channel per unit time.
  • Shear Force: In structural analysis, the shear force VV is the derivative of the bending moment MM with respect to distance xx along a beam (V=dM/dxV = dM/dx).

Definition of the Derivative

Secant Line

A straight line joining two points on a function. It represents the average rate of change between those two points.

Tangent Line

A straight line that touches a curve at a single point, representing the instantaneous rate of change or the slope of the curve at that exact point.

Derivative at a Point

The derivative of a function f(x)f(x) at xx, denoted by f(x)f'(x) or dydx\frac{dy}{dx}, is defined as the limit of the difference quotient:

Definition of the Derivative

The formal limit definition of the derivative based on the difference quotient.

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Variables

SymbolDescriptionUnit
f(x)f'(x)Derivative of the function at x-
f(x)f(x)Original function-
hhSmall change in x-
Provided the limit exists. This formula arises from the slope of the secant line passing through (x,f(x))(x, f(x)) and (x+h,f(x+h))(x+h, f(x+h)) as hh approaches zero. By continually bringing the second point closer (h0h \to 0), the secant line converges precisely into the tangent line.

Interactive Simulation

Interact with the simulation below to explore the definition of the derivative and see how secant lines converge to the tangent line.

Secant Line to Tangent Line

Adjust the distance h between the two points. As h → 0, the secant line (connecting two points) converges into the tangent line (touching one point), demonstrating the fundamental definition of the derivative. The curve is f(x) = x²/4 + 1.

Calculations:
Point 1: (x, f(x)) = (1, 1.25)
Point 2: (x+h, f(x+h)) = (3.00, 3.25)
Secant Slope: [f(x+h) - f(x)] / h = 1.000
Loading chart...

One-Sided Derivatives

Just as a function can have left and right-hand limits, it can have left and right-hand derivatives. This is crucial for analyzing the behavior of functions at points where they may not be smooth.

Left and Right Derivatives

The left-hand derivative (f(x)f'_-(x)) evaluates the limit of the difference quotient as h0h \to 0^-, while the right-hand derivative (f+(x)f'_+(x)) evaluates it as h0+h \to 0^+. For a function to be strictly differentiable at xx, both one-sided derivatives must exist and be equal.

Differentiability vs. Continuity

If the limit exists, we say that ff is differentiable at xx. Differentiability implies Continuity: If a function is differentiable at a point, it must be continuous there. However, the converse is not true (e.g., y=xy = |x| is continuous at x=0x=0 but not differentiable there because of the sharp corner, causing left and right derivatives to differ).

Visualizing Derivatives

Understanding the relationship between a function and its derivative graph is crucial. When f(x)f(x) is increasing, f(x)f'(x) is positive. When f(x)f(x) is decreasing, f(x)f'(x) is negative. At local peaks or valleys (extrema), f(x)=0f'(x) = 0.

Interactive Simulation

Interact with the simulation below to visualize the slope of a tangent line along a curve.

Secant to Tangent Visualizer

0.013.0
Secant Slope2.0000
Tangent Slope1.0000
Difference1.0000

As h approaches 0, the secant slope approaches the tangent slope (the derivative).

h

Differentiation Rules

Computing derivatives using the limit definition is tedious. We use these fundamental rules instead:

Power and Basic Rules

  • Constant Rule: ddx[c]=0\frac{d}{dx}[c] = 0
  • Power Rule: ddx[xn]=nxn1\frac{d}{dx}[x^n] = nx^{n-1}
  • Constant Multiple Rule: ddx[cf(x)]=cf(x)\frac{d}{dx}[cf(x)] = c f'(x)
  • Sum/Difference Rule: ddx[f(x)±g(x)]=f(x)±g(x)\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)

Product and Quotient Rules

  • Product Rule: ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)
  • Quotient Rule: ddx[f(x)g(x)]=g(x)f(x)f(x)g(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{g(x)f'(x) - f(x)g'(x)}{[g(x)]^2} (Mnemonic: "Low d-High minus High d-Low, over Low Low")

Chain Rule

The chain rule allows us to differentiate composite functions. If y=f(g(x))y = f(g(x)), then:

Chain Rule

Derivative of a composite function.

dydx=f(g(x))g(x)\frac{dy}{dx} = f'(g(x)) \cdot g'(x)

Variables

SymbolDescriptionUnit
ffOuter function-
g(x)g(x)Inner function-
Or in Leibniz notation, if yy is a function of uu, and uu is a function of xx:

Chain Rule (Leibniz Notation)

Chain rule expressed using differentials.

dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Variables

SymbolDescriptionUnit
yyOuter function defined in terms of u-
uuInner function defined in terms of x-
xxThe independent variable-

Interactive Simulation

Interact with the simulation below to explore how the Chain Rule represents a cascade of scaling factors in composite functions.

Chain Rule: Rates of Change as Gears

Composite Functions

The chain rule states that the derivative of a composite function is the product of the derivatives of its parts — just like interlocking gears!

1.0
SlowFast
dfdt=dfdgdgdt\frac{df}{dt} = \frac{df}{dg} \cdot \frac{dg}{dt}
dg/dt (Inner)= 2
df/dg (Outer)= 3
df/dt (Total)= 6.0
x
Input
g(x)
Inner
f(g(x))
Outer

Implicit Differentiation

Implicit Differentiation Concepts

When yy is not explicitly defined as a function of xx (e.g., x2+y2=25x^2 + y^2 = 25), we differentiate term by term with respect to xx, keeping in mind that yy is a function of xx. This means whenever we differentiate a term with yy, we must multiply by yy' (Chain Rule).

Steps for Implicit Differentiation

  1. Differentiate both sides of the equation with respect to xx.
  2. Apply the Chain Rule by multiplying by dydx\frac{dy}{dx} (or yy') every time you differentiate a term containing yy.
  3. Group all terms with dydx\frac{dy}{dx} on one side of the equation and move everything else to the other side.
  4. Factor out dydx\frac{dy}{dx}.
  5. Solve for dydx\frac{dy}{dx} by dividing.

Common Mistake: Forgetting the Chain Rule

When implicitly differentiating, it is easy to differentiate y2y^2 as just 2y2y. Remember that yy is a function of xx, so the derivative of y2y^2 with respect to xx is 2ydydx2y \cdot \frac{dy}{dx}.

Higher-Order Derivatives

The derivative of f(x)f'(x) is called the second derivative, denoted f(x)f''(x). We can continue this process.

Common Higher-Order Derivatives

  • First Derivative (ff'): Slope, Velocity (v(t)v(t)).
  • Second Derivative (ff''): Concavity, Acceleration (a(t)a(t)).
  • Third Derivative (ff'''): Jerk (Rate of change of acceleration).
Key Takeaways
  • The derivative is the instantaneous rate of change or the slope of the tangent line.
  • Left and right-hand derivatives evaluate smoothness. They must be equal for the function to be fully differentiable.
  • Differentiability implies continuity, but continuity does not guarantee differentiability. Sharp corners or cusps are points of non-differentiability.
  • Master the Power, Product, Quotient, and Chain Rules to differentiate efficiently.
  • Use Implicit Differentiation when yy cannot be easily isolated.
  • Higher-order derivatives describe the rate of change of the rate of change (e.g., acceleration or jerk).