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 (dxdy) 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), y′. The prime notation indicates the derivative of a function.
Leibniz's Notation:dxdy, dxd[f(x)]. This explicitly shows the variables involved, useful in the chain rule and differential equations.
Newton's Notation:y˙, 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/dt).
Acceleration: The derivative of velocity with respect to time (a=dv/dt).
Flow Rate: The derivative of volume with respect to time (Q=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 V is the derivative of the bending moment M with respect to distance x along a beam (V=dM/dx).
Definition of the Derivative
Derivative at a Point
The derivative of a function f(x) at x, denoted by f′(x) or dxdy, is defined as the limit of the difference quotient:
Definition of the Derivative
The limit of the difference quotient.
f′(x)=h→0limhf(x+h)−f(x)
Variables
Symbol
Description
Unit
f′(x)
Derivative of the function at x
-
f(x)
Original function
-
h
Small change in x
-
Provided the limit exists. This formula arises from the slope of the secant line passing through (x,f(x)) and (x+h,f(x+h)) as h approaches zero. By continually bringing the second point closer (h→0), the secant line converges precisely into the tangent line.
Interact with the simulation below to explore the definition of the derivative.
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)) evaluates the limit of the difference quotient as h→0−, while the right-hand derivative (f+′(x)) evaluates it as h→0+. For a function to be strictly differentiable at x, both one-sided derivatives must exist and be equal.
Differentiability
If the limit exists, we say that f is differentiable at x.
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=∣x∣ is continuous at x=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) is increasing, f′(x) is positive. When f(x) is decreasing, f′(x) is negative. At local peaks or valleys (extrema), f′(x)=0.
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).
Differentiation Rules
Computing derivatives using the limit definition is tedious. We use these fundamental rules instead:
Power and Basic Rules
Constant Rule:dxd[c]=0
Power Rule:dxd[xn]=nxn−1
Constant Multiple Rule:dxd[cf(x)]=cf′(x)
Sum/Difference Rule:dxd[f(x)±g(x)]=f′(x)±g′(x)
Product and Quotient Rules
Product Rule:dxd[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)
Quotient Rule:dxd[g(x)f(x)]=[g(x)]2g(x)f′(x)−f(x)g′(x)(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)), then:
Chain Rule
Derivative of a composite function.
dxdy=f′(g(x))⋅g′(x)
Variables
Symbol
Description
Unit
f
Outer function
-
g(x)
Inner function
-
Or in Leibniz notation, if y is a function of u, and u is a function of x:
Chain Rule (Leibniz Notation)
Chain rule expressed using differentials.
dxdy=dudy⋅dxdu
Variables
Symbol
Description
Unit
y
Function in terms of u
-
u
Function in terms of x
-
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
dtdf=dgdf⋅dtdg
dg/dt (Inner)= 2
df/dg (Outer)= 3
df/dt (Total)= 6.0
x
Input
g(x)
Inner
f(g(x))
Outer
Implicit Differentiation
When y is not explicitly defined as a function of x (e.g., x2+y2=25), we differentiate term by term with respect to x, keeping in mind that y is a function of x. This means whenever we differentiate a term with y, we must multiply by y′ (Chain Rule).
Higher-Order Derivatives
The derivative of f′(x) is called the second derivative, denoted f′′(x). We can continue this process.
Common Higher-Order Derivatives
First Derivative (f′): Slope, Velocity (v(t)).
Second Derivative (f′′): Concavity, Acceleration (a(t)).
Third Derivative (f′′′): 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 y cannot be easily isolated.
Higher-order derivatives describe the rate of change of the rate of change (e.g., acceleration or jerk).