Now that we understand the derivative represents the instantaneous rate of change, or the slope of the tangent line at a point on a function's graph, let's look at how we write it down. Just like different programming languages have different syntax for similar concepts, mathematicians have developed a couple of common ways to denote the derivative. Knowing these notations is important because you'll encounter them frequently in machine learning literature and resources.
One of the most common and straightforward notations was introduced by Joseph-Louis Lagrange. If you have a function, say f(x), its derivative is often written as f′(x). You read this as "f prime of x".
The prime symbol (′) simply indicates that we are talking about the derivative of the original function f.
This notation is compact and clearly links the derivative back to the original function name (f, g, etc.). It's especially convenient when you're evaluating the derivative at a specific point. For example, f′(3) would mean "the derivative of the function f, evaluated at x=3."
Another widely used notation comes from Gottfried Wilhelm Leibniz, one of the inventors of calculus. This notation looks like a fraction:
dxdyYou typically read this as "the derivative of y with respect to x," or sometimes "dee y dee x."
Let's break this down:
So, dxdy visually represents the idea of an infinitesimal change in y resulting from an infinitesimal change in x. It emphasizes which variable the output (y) is changing with respect to (x).
If our function is explicitly written as f(x), like f(x)=x2, Leibniz notation might look like this:
dxdf(x)ordxd(x2)Here, dxd acts like an operator, meaning "take the derivative with respect to x of whatever follows." So, dxd(x2)=2x.
Both notations are useful in different contexts:
You don't need to exclusively pick one. You'll see both used, sometimes even together. The important thing is to recognize them and understand that f′(x) and dxdy (when y=f(x)) refer to the same fundamental concept: the derivative of the function f with respect to its input x.
In the next sections, we'll start using these notations as we learn the rules for actually calculating derivatives.
© 2025 ApX Machine Learning