5

I'm having trouble with understanding what exactly a differential really is.

  1. For example, if we have the following function, $f(x,y)=x^2+xy+\frac{37}{x} +5$, does this differential, $df=\frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy$, mean anything in relation to the original function? In this example $\frac{\partial f}{\partial x} = 2x+y-\frac{37}{x^2}$ and $\frac{\partial f}{\partial y} = x$.

  2. Is the differential form a valid way of writing the original function?

  3. It appears as though you lose information of any constants if you only have the differential form, so in what way(s) is a differential useful? The original function seems like it would be far more useful to use.

I should add that I only have a typical physics major's background in math: 3 semesters calculus, 1 semester ODE, 1 semester PDE, 1 semester linear algebra, 1 semester discrete math.

  • 1
    $(1)$ The differential tells you how the function changes due to small changes in its arguments. $(2)$ Differentials give you some information about your original function, but they don't encode exactly the same information if that's what you're asking. $(3)$ See answer to $#1$. –  Mar 18 '15 at 21:56
  • 1
    Here, here, and here are some other questions from this site that might give you some more insight. –  Mar 18 '15 at 22:00
  • I imagine approximating a surface $f(x,y)$ with a tangent plane at a point $f(x_0,y_0)$. $df$ is the change in the tangent plane whereas $\Delta f$ is the change in $f$. This is as much as I understand and I'm sure there are better explanations. – Karl Mar 18 '15 at 22:03
  • 1
    At each point $P$, you can remember $f(P)$. This doesn't forget any information about $f$, but if you want to know about the shape of $f$, you have to "reconstruct" the function first and work with it as a whole. You could instead remember $(f(P), (\mathrm{d}f)(P))$. You still haven't forgotten any information, and now you can still understand a fair bit about the shape of $f$ near $P$ without having to "reconstruct" the function. –  Aug 29 '16 at 00:25

1 Answers1

1

What is a differential?

Let us consider a function in one variable to begin, say $f(x) = x^{2}$. The derivative, usually written $f'(x)$ or $\mathrm{d}f/\mathrm{d}x$, is the function that describe the gradient of the function $f$. To clarify, we say that the gradient of $f$ at the point $x$ is the slope of the tangent line to $f$ at the point $\big(x, f(x)\big)$. For example, the derivative of $f$ is $$ f'(x) = \frac{\mathrm{d}f}{\mathrm{d}x} = 2x. $$ This tell us that at the point $x = 3$, the gradient of the straight line tangent to $f$ at the point $(3, 9)$ is $6$, and so on. Notice that an additive constant doesn't change the gradient of the tangent lines, it only changes how high or low the graph is and so it makes sense that it would not appear in the derivative.

This makes sense, since $\mathrm{d}f$ denotes a small increment in $f$ and $\mathrm{d}x$ denotes a small increment in $x$, so that $\mathrm{d}f/\mathrm{d}x$ can be understand as the ratio of how much $f$ increases/decreases with a little increase in $x$. The higher the number, the more steeply $f$ changes with respect to $x$, so that the graph itself will be steep. In this case, we have that $\mathrm{d}f/\mathrm{d}x = 2x$ so that $\mathrm{d}f = 2x \mathrm{d}x$. This is just the function that tells us how much the function $f$ changes as $x$ changes.

Why are they important?

This interpretion becomes particularly useful in optimisation problems: say that you have the (arbitrary) price function $P = 5 + 5x - x^{2}$ where $P$ is the profit made from some variable $x$. The variable $x$ could represent the number of units of product produced. An equation similar to this is natural in this setting --- by plotting the graph, we see that if $x$ is too small then the profit is reduced, and similarly if $x$ is too large then the profit is also reduced. In words: if too little product is produced, there is not enough supply to meet demand and profit is not maximised; similarly if too much product is produced, there is not enough demand for the product to make it profitable. It is clear that there is some value of $x$ that corresponds to making just the right amount of product that you meet demand without supplying too much, and by looking at the graph it is fairly easy to get a rough estimate for this value.

Differentials become useful for determining the value of $x$ without having to graph the function. In this example, the optimal value corresponds to the tip of the peak of the graph. The gradient of the tangent line at this point is clearly zero, so we find the $x$ value by solving $$ \frac{\mathrm{d}P}{\mathrm{d}x} = 0. $$ We see that $$ \frac{\mathrm{d}P}{\mathrm{d}x} = 5 - 2x = 0 $$ gives the value $x = 2.5$. This means that when $x = 2.5$, the function $P$ is maximised.

Differentials are not another way of expressing the function

Having just the derivative of a function is usually not as helpful as having the function itself (since if you have a function, it's generally easy to compute its derivative), and this is why the theory of solutions to differential equations is important. In Physics, there are many situations in which only a differential equation is known, and the objective is to find the function that satisfies the differential equation. One cannot in general write a function in terms of its derivative --- consider $f(x) = x^{2}$ again, whose derivative is $f'(x) = 2x$ and whose differential is $$ \mathrm{d}f = 2x \mathrm{d}x. $$ This shows that the original function and its derivative are different, so that $f$ and $\mathrm{d}f$ are (generally) different equations and that $\mathrm{d}f$ is not just "another way of writing $f$".

Several Variables

These intuitions naturally extend to functions of several variables. If $f(x, y) = x^{2} + xy + y^{2}$, then $$ \mathrm{d}f = (2x + y)\mathrm{d}x + (x + 2y)\mathrm{d}y. $$ As $f$ is a function of two variables, there are two directions that one can increment and the above function describes how the surface of $f$ changes as one increases $x$ and/or $y$. This is helpful because it is sometimes not obvious how the shape of $f$ varies with respect to each coordinate when one only has the original function.

Bilbottom
  • 2,658
  • 2
  • 15
  • 33