Understanding the Differentials dx and dy: Meaning and Why They Work in Calculus
A clear explanation of what the differentials dx and dy actually mean in calculus, why dy/dx equals f'(x), why the chain rule seems to allow "cancellation," and how to use these symbols correctly in derivation, integration, and engineering approximations without falling into common pitfalls.
Understanding the Differentials dx and dy: Meaning and Why They Work in Calculus
In calculus, dx and dy look like tiny, innocuous symbols, yet they constantly cause confusion: Are they “infinitesimals,” ordinary increments, or purely formal notation? Why can dy/dx be written as f'(x)? Why does the du in the chain rule appear to “cancel out”? If you treat dx and dy merely as abbreviations, it is easy to get lost in formal derivations; if you treat them only as rigorous mathematical objects, you may overlook how efficient this notation is in practical computation. The key to understanding these two symbols is grasping two properties at once: they compress a complicated limiting process into compact notation, and they are operable — they follow a set of rules that keeps formal manipulation consistent with the underlying mathematics.
1. The Bottom Line: dx and dy Are Not Ordinary Small Numbers
In standard single-variable calculus, the most common statements are:
dy = f'(x) dxdy/dx = f'(x)
But this does not mean dx and dy are real numbers you can freely multiply and divide. More rigorously, for a function y = f(x), the differential dy is the linear main part of the function’s increment Δy = f(x+Δx) - f(x):
Δy = f'(x)Δx + o(Δx)dy = f'(x)Δx
When the differential of the independent variable x is written as dx, we typically take dx = Δx in single-variable coordinates, giving:
dy = f'(x) dx
So dy and Δy are not exactly equal: dy is the part of Δy that is linear in Δx, and the two differ by a higher-order small quantity. When engineers say “for small increments, Δy ≈ dy,” they are essentially ignoring this higher-order error.
2. Three Levels of Understanding dx and dy
2.1 The Increment View: Intuitive but Not Rigorous
At the introductory level, you can think of dx as a small increment of the independent variable and dy as the corresponding small change in the function. For example:
y = x²dy = 2x dx
When x = 1 and dx = 0.01, we get dy = 0.02, while the true increment is Δy = (1.01)² - 1² = 0.0201. The two are very close, and the difference 0.0001 is a higher-order small quantity. This view works well for estimation and physical modeling, but remember: dx is not an “infinitely small real number,” and dy is not the true increment itself.
2.2 The Linear Main Part View: The Rigorous Core
The more rigorous definition: the differential of f at a point x is a linear map that sends an increment h of the independent variable to f'(x)h:
df_x(h) = f'(x) h
Since dx, the differential of the coordinate function x, satisfies dx(h) = h, we have:
df_x = f'(x) dx
Here dy is just another way of writing df. This definition does not rely on “infinitesimals” — only on derivatives and linear approximation. Nor is dy/dx a division of two real numbers; it is the ratio of the coefficients of two linear maps under the standard coordinate basis. In the single-variable case, that coefficient ratio happens to be exactly f'(x).
2.3 The Differential Form View: Suited to Substitution and Multivariable Extensions
In more modern language, dx and dy are basis vectors of the cotangent space — that is, differential 1-forms. For y = f(x):
dy = f'(x) dx
For a multivariable function f(x, y):
df = ∂f/∂x dx + ∂f/∂y dy
Here dx and dy are no longer “very small numbers” but linear objects that participate in formal manipulation. The exterior product dx∧dy can represent an area element and obeys the antisymmetric rule dx∧dx = 0. This language unifies directional derivatives, substitution in integrals, and line and surface integrals — a clear demonstration of the notation’s “operability.”
3. Why dy/dx Equals f’(x)
The derivative is defined as:
f'(x) = lim(Δx→0) [f(x+Δx) - f(x)] / Δx
And the differential gives:
dy = f'(x) dx
Under standard single-variable coordinates, dx corresponds to the increment of the independent variable, so formally:
dy/dx = f'(x)
The key here is not “moving dx to the right side” or “cancelling dx.” Rather, the notation was designed so that the quotient form matches the derivative. In other words, dy/dx is a “derivative quotient” notation: it reminds us that dy and dx are the differentials of the function and the independent variable respectively, and the ratio of their coefficients is the derivative. In rigorous computation, you first have the derivative or the differential map, then interpret this ratio as the coefficient; formal manipulation is simply an efficient way of expressing a rigorous result.
For y = x²:
dy = 2x dxdy/dx = 2x
This matches (x²)' = 2x exactly. Here the notation serves its “compression” role: differential operations can be carried out directly without writing out the limiting process every time.
4. Why the Chain Rule Seems to Allow “Cancellation”
Let y = f(u) and u = g(x). The chain rule is written as:
dy/dx = (dy/du)(du/dx)
Formally, the middle du appears to cancel. The rigorous explanation is that differential maps compose: a small change in x first becomes a change in u through g, then a change in y through f. The linear main part of the composite map equals the product of the coefficients of the two linear maps:
f'(g(x)) · g'(x)
Therefore:
dy/dx = f'(u) · g'(x) = (dy/du)(du/dx)
The “cancellation” works because, in the single-variable case, all differentials lie along the same one-dimensional direction, so the coefficients simply multiply. It is not unconditional cancellation of ordinary fractions, but the multiplication that arises from composing differential maps in coordinate form. In the multivariable case, you cannot casually cancel partial derivative symbols. For example:
∂z/∂x
is not a quotient of two infinitesimals, and the chain rule must be written as a sum or matrix product:
dz/dt = ∂z/∂x · dx/dt + ∂z/∂y · dy/dt
You cannot simply cancel ∂z/∂x against dx. The symbols are operable, but only under the rules of dimension, coordinates, and composition.
5. What dx Means in Integration
In the integral ∫ f(x) dx, dx plays at least two roles. First, it indicates that the integration variable is x, corresponding to the Δx in the Riemann sum limit:
∫ f(x) dx = lim Σ f(x_i) Δx
Second, in the language of differential forms, dx is the 1-form to which the integrand is “attached.” The substitution formula:
∫ f(g(x)) g'(x) dx = ∫ f(u) du
is precisely an instance of formal manipulation agreeing with the true integral. Here du = g'(x) dx looks like a substitution, but it is really the pullback of the differential form under the change of variables. dx is not an optional decoration: it determines the integration variable, the measure, and the substitution rules.
6. Higher-Order Differentials and Common Misconceptions
Higher-order differentials require more care. For y = f(x):
d²y = f''(x)(dx)² + f'(x)d²x
When x is the independent variable, d²x = 0, so:
d²y = f''(x)(dx)²d²y/dx² = f''(x)
But if x is itself a function of another variable, d²x is not necessarily zero, and the second derivative cannot be casually written as a simple quotient. Common misconceptions include:
- Treating dx as zero. If
dx = 0, thendy/dxbecomes meaningless;dxis a nonzero increment parameter, or the argument of a linear map. - Equating dy with Δy. They differ by a higher-order small quantity; approximation errors should be stated explicitly.
- Cancelling freely in multivariable or partial derivatives. Partial derivative notation is not an ordinary fraction; the chain rule requires sums or matrix multiplication.
- Treating the product of differential forms as ordinary multiplication. The exterior product is antisymmetric:
dx∧dyanddy∧dxdiffer in sign. - Ignoring coordinate conditions.
dy/dx = f'(x)holds in standard single-variable coordinates; on general manifolds, it must be expressed through coordinate charts.
7. How These Symbols Are Used in Engineering
In numerical computation and engineering approximation, dy ≈ f'(x) dx is highly practical. For example, to estimate the increment of f(x) = x² at x = 1 with h = 0.01, use the linear main part:
def linear_approx(f, f_prime, x, h):delta_y = f(x + h) - f(x)dy = f_prime(x) * hreturn delta_y, dy, abs(delta_y - dy)delta_y, dy, error = linear_approx(lambda x: x * x, lambda x: 2 * x, 1.0, 0.01)# delta_y ≈ 0.0201, dy = 0.02, error ≈ 0.0001
The error is on the order of O(h²), which is exactly what “linear main part” means. When using dx and dy in engineering, be clear about whether you are dealing with a differential approximation or a rigorous linear map. Use the formal rules to speed up derivations, but when implementing algorithms, pay attention to step size, truncation error, and numerical stability.
8. Conclusion
The meaning of dx and dy can be understood consistently at three levels: in the increment view, they signal small changes; in the linear main part view, dy is the linear approximation of the function’s increment and dx is the coordinate representation of the independent variable’s differential; in the differential form view, they are first-order objects that participate in formal manipulation. dy = f'(x) dx is not arbitrary rearrangement but the natural expression of the definition of the differential; dy/dx = f'(x) reflects how the notation was designed to make the derivative quotient consistent with the derivative; and the “cancellation” in the chain rule is the coordinate-level manifestation of composing differential maps.
Good mathematical notation both compresses complex concepts and supports reliable computation. dx and dy are exactly such symbols: they present limiting processes, linear approximation, substitution in integrals, and the chain rule in compact form — but using them correctly requires knowing the rigorous rules behind them. Take “linear main part” as the core understanding, “formal manipulation” as the efficiency tool, and “multivariable and higher-order conditions” as the boundary, and you will write derivations quickly and compute correctly in both theory and engineering practice.
