The Derivative

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

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:
f(x)=limh0f(x+h)f(x)h f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
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.

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...

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

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

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.

Function vs Derivative

f(x) = x²
f(x)0.00
f'(x)0.00

Blue Line: The function f(x)f(x).

Red Line: The derivative f(x)f'(x). Notice that when f(x)f(x) has a peak or valley, f(x)=0f'(x) = 0.

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:
dydx=f(g(x))g(x) \frac{dy}{dx} = f'(g(x)) \cdot g'(x)
Or in Leibniz notation, if yy is a function of uu, and uu is a function of xx:
dydx=dydududx \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

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 gears!

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

Implicit Differentiation

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).

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).