Mathwords logoMathwords

Derivatives: dy/dx Notation — Definition, Formula & Examples

dy/dx notation is a way of writing the derivative of y with respect to x, expressing how y changes as x changes. Introduced by Leibniz, it treats the derivative as a ratio of infinitesimal changes in y and x, making it especially useful for chain rule applications and separable differential equations.

If y=f(x)y = f(x) is a differentiable function, then dydx\dfrac{dy}{dx} denotes the limit limΔx0ΔyΔx=limΔx0f(x+Δx)f(x)Δx\displaystyle\lim_{\Delta x \to 0} \frac{\Delta y}{\Delta x} = \lim_{\Delta x \to 0} \frac{f(x + \Delta x) - f(x)}{\Delta x}. Although written as a fraction, dydx\dfrac{dy}{dx} is defined as a single limit operation. The symbols dydy and dxdx individually are called differentials and can be given rigorous meaning, but the derivative itself is the limit of the difference quotient, not literally a division.

Key Formula

dydx=limΔx0f(x+Δx)f(x)Δx\frac{dy}{dx} = \lim_{\Delta x \to 0} \frac{f(x + \Delta x) - f(x)}{\Delta x}
Where:
  • yy = The dependent variable, where y = f(x)
  • xx = The independent variable
  • Δx\Delta x = A small change in x approaching zero
  • f(x)f(x) = The function being differentiated

How It Works

You read dydx\frac{dy}{dx} as "the derivative of y with respect to x" or "dy dx." When you see dydx=3x2\frac{dy}{dx} = 3x^2, it tells you the instantaneous rate of change of yy for each value of xx. One major advantage of this notation is that it keeps track of which variable you are differentiating with respect to—critical when a problem involves multiple variables. It also makes the chain rule look like fraction cancellation: dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. In physics and engineering, you will often see dsdt\frac{ds}{dt} for velocity or dPdV\frac{dP}{dV} for pressure change, all following the same pattern.

Worked Example

Problem: Find dy/dx if y = x³ + 5x.
Step 1: Apply the power rule to each term separately.
ddx(x3)=3x2ddx(5x)=5\frac{d}{dx}(x^3) = 3x^2 \qquad \frac{d}{dx}(5x) = 5
Step 2: Add the results together.
dydx=3x2+5\frac{dy}{dx} = 3x^2 + 5
Step 3: Evaluate at a specific point if needed. At x = 2:
dydxx=2=3(4)+5=17\frac{dy}{dx}\bigg|_{x=2} = 3(4) + 5 = 17
Answer: dy/dx = 3x² + 5, and at x = 2 the slope is 17.

Another Example

Problem: Use dy/dx notation and the chain rule to differentiate y = (2x + 1)⁴.
Step 1: Let u = 2x + 1 so that y = u⁴.
u=2x+1,y=u4u = 2x + 1, \quad y = u^4
Step 2: Find dy/du and du/dx separately.
dydu=4u3,dudx=2\frac{dy}{du} = 4u^3, \qquad \frac{du}{dx} = 2
Step 3: Apply the chain rule by multiplying the two derivatives.
dydx=dydududx=4u32=8(2x+1)3\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 4u^3 \cdot 2 = 8(2x+1)^3
Answer: dy/dx = 8(2x + 1)³

Visualization

Why It Matters

dy/dx notation is the dominant notation in AP Calculus AB/BC, university calculus, physics, and engineering courses. It becomes essential when working with implicit differentiation, related rates, and differential equations because it clearly shows which variable depends on which. Whenever you see formulas like v=dsdtv = \frac{ds}{dt} for velocity or dTdx\frac{dT}{dx} for a temperature gradient, you are reading Leibniz notation in action.

Common Mistakes

Mistake: Treating dy/dx as two separate quantities that can be independently cancelled or rearranged in any algebraic expression.
Correction: dy/dx behaves like a fraction only in specific, well-defined operations (chain rule, separation of variables). In general, treat it as a single operator notation and follow the rules your course teaches for when separation is valid.
Mistake: Confusing d/dx (an operator that acts on a function) with dy/dx (the result of applying that operator to y).
Correction: Write ddx[x3]=3x2\frac{d}{dx}[x^3] = 3x^2 when showing the operation, and dydx=3x2\frac{dy}{dx} = 3x^2 when stating the derivative of y=x3y = x^3. The first is an instruction; the second is a result.