Second Differentials Explained: How to Interpret d(dy) Correctly

    Understand what the second differential d(dy) means, how it differs from a second derivative or a second finite difference, and why its formula depends on the independent variable. This article develops the definition from first-order linearization, explains the additional term required for parametric variables, and verifies the formulas with a worked example. It also shows how second differentials relate to Taylor approximations and numerical error.

    The second differential is often written as (d(dy)) or (d^2y). The notation is compact, but its meaning is easy to blur.

    Two misunderstandings are especially common. One treats the second differential as an “increment of an increment,” leaving out the limiting process. The other differentiates a quantity that was held fixed in the first differential as though it were a variable, producing inconsistent formulas.

    To understand (d(dy)), first establish exactly what a first differential means. Then apply the same linearization principle a second time, making clear which quantities remain fixed.

    1. What a First Differential Represents

    Let (y=f(x)). When the independent variable changes from (x) to (x+\Delta x), the function increment is

    [
    \Delta y=f(x+\Delta x)-f(x).
    ]

    If the limit

    [
    A(x)=\lim_{\Delta x\to0}\frac{\Delta y}{\Delta x}
    ]

    exists, (f) is differentiable at that point, and (A(x)=f’(x)). The increment can then be written as

    [
    \Delta y=A(x)\Delta x+o(\Delta x),
    \qquad \Delta x\to0.
    ]

    The term (A(x)\Delta x) is the linear principal part of the increment. It is called the differential and denoted by (dy). The remainder (o(\Delta x)) approaches zero faster than (\Delta x).

    For the identity function (y=x), this gives

    [
    dx=\Delta x.
    ]

    Thus, when (x) is the independent variable,

    [
    dy=f’(x)\,dx.
    ]

    Three objects must remain distinct:

    • The increment (\Delta y) is the actual finite change in the function.
    • The derivative (f’(x)) is the local rate of change.
    • The differential (dy) is the linear approximation constructed from that rate.

    For small increments, (dy) approximates (\Delta y), but they are generally not equal at a finite step size. The derivative is the coefficient in that approximation, not the approximation itself.

    2. Defining the Second Differential

    The second differential is obtained by differentiating the first differential:

    [
    d^2y=d(dy).
    ]

    Once the treatment of (dx) is specified, (dy) can be regarded as a new dependent quantity. The same procedure used for a first differential applies again:

    1. Give the independent variable another increment, (\Delta_2x).
    2. Examine the corresponding increment (\Delta(dy)).
    3. Take the limit of (\Delta(dy)/\Delta_2x), if it exists.
    4. Use the resulting coefficient to form the linear principal part of (\Delta(dy)).

    Under the usual convention that (dx) is held constant with respect to (x),

    [
    dy=f’(x)\,dx.
    ]

    Differentiating again gives

    [
    d(dy)=d\bigl(f’(x)\bigr)\,dx.
    ]

    Using the same differential increment for both stages,

    [
    d(dy)=f’’(x)\,dx\,dx=f’’(x)(dx)^2.
    ]

    Therefore,

    [
    \boxed{d^2y=f’’(x)(dx)^2}
    ]

    under this convention.

    The right-hand side means “the second derivative multiplied by the square of (dx).” It does not mean “square (y) and then differentiate,” nor does it justify multiplying unrelated increments without specifying their roles.

    If the two stages are explicitly distinguished, the first differential may use (d_1x), held fixed while the base point changes by (\Delta_2x). Then

    [
    \Delta(dy)
    =
    \bigl[f’(x+\Delta_2x)-f’(x)\bigr]d_1x,
    ]

    whose linear principal part is

    [
    f’’(x)d_1x\,\Delta_2x.
    ]

    An expression such as (B(x)d_1x\,\Delta_2x) is meaningful only when it is clear that the first increment is fixed and the second linearization acts on the remaining dependence on (x). Otherwise, coefficients, differentials, and remainder terms can become mixed together.

    3. Why the Treatment of dx Matters

    Differential notation alone does not specify whether (dx) is held constant or varies with another parameter. Both conventions are consistent, but they lead to different formulas.

    Convention A: x Is Independent and dx Is Fixed

    Here,

    [
    d(dx)=d^2x=0.
    ]

    Consequently,

    [
    d^2y=d\bigl(f’(x)\,dx\bigr)=f’’(x)(dx)^2.
    ]

    This is the standard form used in single-variable calculus, including differential forms of Taylor approximations and error estimates.

    Convention B: x and y Depend on a Parameter t

    Suppose (x=x(t)) and (y=f(x(t))). With (dt) held fixed, the coefficient in

    [
    dx=x’(t)\,dt
    ]

    may vary with (t). It is therefore not valid to treat (dx) as constant when differentiating with respect to the parameter.

    Applying the product rule to (dy=f’(x)\,dx) gives

    [
    \begin{aligned}
    d^2y
    &=d\bigl(f’(x)\bigr)\,dx+f’(x)\,d(dx)\
    &=f’’(x)(dx)^2+f’(x)d^2x.
    \end{aligned}
    ]

    Thus,

    [
    \boxed{d^2y=f’’(x)(dx)^2+f’(x)d^2x}.
    ]

    The additional term (f’(x)d^2x) accounts for the second-order change in the intermediate variable (x).

    This fuller formula is needed for parametric equations, curvature calculations, and other situations in which (x) is not the independent variable. Omitting it can produce an incorrect result.

    There is therefore no convention-free answer to “What does (d(dy)) equal?” First identify the independent variable, specify which increment approaches zero, and state whether (dx) remains fixed.

    4. Second Differentials, Second Derivatives, and Second Differences

    The second derivative measures how the first derivative changes:

    [
    f’’(x)
    =
    \lim_{\Delta x\to0}
    \frac{f’(x+\Delta x)-f’(x)}{\Delta x},
    ]

    provided (f’) is differentiable at (x).

    When (dx) is held constant, the second differential is this rate multiplied by ((dx)^2):

    [
    d^2y=f’’(x)(dx)^2.
    ]

    In that setting, the familiar quotient notation is consistent with

    [
    f’’(x)=\frac{d^2y}{(dx)^2}.
    ]

    However, a second differential is not simply a finite difference taken twice without a limit.

    For a finite step (h), the second forward difference is

    [
    \Delta^2y=f(x+2h)-2f(x+h)+f(x).
    ]

    When the appropriate second-order expansion holds,

    [
    \Delta^2y=f’’(x)h^2+o(h^2).
    ]

    It therefore contains a remainder beyond its second-order principal part. Only in the limit does

    [
    \frac{\Delta^2y}{h^2}\to f’’(x).
    ]

    Finite differences are useful for intuition and numerical approximation, but they should not be confused with differentials. The limiting process and the extraction of the principal part are essential.

    5. A Worked Example: y = x³

    Take

    [
    f(x)=x^3.
    ]

    Then

    [
    f’(x)=3x^2,
    \qquad
    f’’(x)=6x.
    ]

    With (dx) held constant,

    [
    dy=3x^2\,dx,
    ]

    and

    [
    d(dy)=d(3x^2)\,dx=6x(dx)^2.
    ]

    This agrees with (f’’(x)(dx)^2).

    Now let

    [
    x=t^2,
    ]

    with (t) as the independent variable and (dt) held constant. Then

    [
    dx=2t\,dt,
    \qquad
    d^2x=2(dt)^2.
    ]

    Because (y=x^3=t^6), direct differentiation gives

    [
    \frac{dy}{dt}=6t^5,
    \qquad
    \frac{d^2y}{dt^2}=30t^4.
    ]

    The complete differential formula gives the same result:

    [
    \begin{aligned}
    d^2y
    &=f’’(x)(dx)^2+f’(x)d^2x\
    &=6x(2t\,dt)^2+3x^2\cdot2(dt)^2\
    &=6t^2\cdot4t^2(dt)^2+3t^4\cdot2(dt)^2\
    &=(24t^4+6t^4)(dt)^2\
    &=30t^4(dt)^2.
    \end{aligned}
    ]

    If we incorrectly used only (f’’(x)(dx)^2), we would obtain

    [
    24t^4(dt)^2,
    ]

    missing the contribution (f’(x)d^2x). The discrepancy is not a notation issue: it represents the omitted second-order change of (x) with respect to (t).

    6. A Checklist for Reading and Writing d(dy)

    Use the following checks before manipulating second differentials.

    • Identify the independent variable. If (x) is independent and its differential is fixed, then (d^2x=0). If (x) depends on another parameter, retain (d^2x) unless it actually vanishes.
    • Extract the linear principal part at each stage. The remainder (o(\Delta x)) is not part of the first differential.
    • Separate the derivative from the differential. The first differential is (A(x)dx). With fixed (dx), the second differential is (B(x)(dx)^2), where (B(x)=f’’(x)).
    • Do not confuse (d^2y) with ((dy)^2). In general,
      [
      (dy)^2=[f’(x)]^2(dx)^2
      ]
      is not equal to
      [
      d^2y=f’’(x)(dx)^2.
      ]
    • Use differential quotients with the correct convention. The relation (d^2y/(dx)^2=f’’(x)) applies directly when (d^2x=0). Otherwise, use the full formula or return to differentiation with respect to the parameter.
    • Keep differentiability terminology in context. In one real variable, differentiability and the existence of the derivative are equivalent. Stronger distinctions arise in multivariable calculus and normed spaces; they are not needed for the calculations here.

    7. What the Second Differential Contributes to an Approximation

    A second-order Taylor expansion is

    [
    f(x+\Delta x)
    =
    f(x)+f’(x)\Delta x
    +\frac12f’’(x)(\Delta x)^2
    +o\bigl((\Delta x)^2\bigr).
    ]

    When (x) is independent and (dx=\Delta x), the first-order term is (dy), and the second-order term is

    [
    \frac12d^2y.
    ]

    In engineering estimates, the first differential describes local linear sensitivity. The second differential supplies a curvature correction, helping assess whether a linear approximation is adequate or whether the step is too large.

    If the second-order term is no longer negligible relative to the first-order term, using (dy) alone to approximate (\Delta y) may be insufficient.

    Numerical estimates of (f’’(x)) also retain finite-step errors. For a central-difference approximation, sufficient smoothness gives a leading truncation error involving the fourth derivative and the square of the step size. Making the step too small can instead allow rounding error to dominate.

    The distinction remains the same: finite differences approximate differential quantities, but finite steps retain error terms.

    8. Replacing Common Shortcuts with Precise Statements

    “The second differential is the increment of the differential.”

    More precisely, it is the linear principal part of the increment of the first differential, under a stated convention. The remainder is excluded through the limiting process.

    “dx can always be replaced by Δx, so the same substitution works freely at second order.”

    The identification (dx=\Delta x) applies when (x) is the independent variable for that differential. In a parametric setting, the second-order change of (x) cannot simply be ignored.

    “d²y/(dx)² is only an indivisible symbol.”

    As notation for a second derivative, it can be treated as a single expression. Once (d^2y) and (dx) are also used as differential quantities, the quotient agrees directly with (f’’(x)) under the convention (d^2x=0). Outside that setting, informal cancellation is not justified.

    “Because Δx is independent of f at first order, every later increment must have a special independence property.”

    An increment is a chosen change in the independent variable, not a hidden quantity derived from the function. The important question is which quantity varies in the current limit and which is temporarily held fixed. That is a matter of variables and conventions, not an exception to the definition.

    9. Summary

    The meaning of (d(dy)) is to apply the differential construction again to the already linearized quantity (dy).

    With (x) independent and (dx) fixed,

    [
    d^2y=f’’(x)(dx)^2.
    ]

    When (x) depends on another independent variable, the complete expression is

    [
    d^2y=f’’(x)(dx)^2+f’(x)d^2x.
    ]

    The second derivative is a rate of change defined by a limit. The second differential is the associated second-order differential quantity. A second finite difference is a finite-step expression that still contains a remainder.

    Keeping increments, derivatives, differentials, and the choice of independent variable separate makes the notation unambiguous and allows each calculation to be checked using the product rule.