2
$\begingroup$

"The derivative of a sum is the sum of derivatives"

Above theorem can be mathematically expressed as:

$$h'(x)=f'(x)+g'(x)$$

where $f(x)$ and $g(x)$ are two differentiable functions. What is the right way to express the statement of this theorem in Leibniz notation? Is it $$\frac{d}{dx}h=\frac{d}{dx}(f+g)=\frac{d}{dx}f+\frac{d}{dx}g$$

OR

$$\frac{d}{dx}h(x)=\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}f(x)+\frac{d}{dx}g(x)?$$

In other words, is it permissible to write the derivative of functions in such a way so as to express the variable(s) on which they depend?

$\endgroup$
2
  • $\begingroup$ Related. The notation in the middle on the last line is wrong by every account. The ones on the first line are correct. The remaining ones are correct if properly interpreted. $\endgroup$
    – Git Gud
    Apr 22, 2014 at 12:49
  • $\begingroup$ @GitGud, I disagree; see my answer. $\endgroup$ May 22, 2014 at 14:37

5 Answers 5

3
$\begingroup$

Honestly, you should also write $$h'=f'+g',$$ since you take derivative of functions, and not of values of functions. Anyway, Leibniz' notation emphasizes the variable (you can't write $\frac{d}{dx} \sin t = \cos t$), so you might prefer to write $\frac{d}{dx}h(x) = \frac{d}{dx} f(x) + \frac{d}{dx}g(x)$. My favorite notation remains $Dh=Df+Dg$, which is rather common in infinite-dimensional settings: it stresses the functional nature of differentiation.

$\endgroup$
1
$\begingroup$

it's common to write the variable to express that it's the variable you are deriving according to. but anyway it's not that critical

$\endgroup$
2
  • $\begingroup$ are both right? $\endgroup$ Apr 21, 2014 at 17:04
  • 2
    $\begingroup$ Also, $(f+g)'=f'+g'$ is common $\endgroup$ Apr 21, 2014 at 17:07
0
$\begingroup$

I have only seen $\frac{d}{dx}h(x)=\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}f(x)+\frac{d}{dx}g(x)$.

Even with the prime notation, you don't say $h'=f'+g'$, unless it is for shorthand for scrap work. If it is being graded, I would always specify that the function is some function of a variable- in this case $x$.

$\endgroup$
1
  • $\begingroup$ In some sense $h'=f'+g'$ is the correct notation... $\endgroup$
    – Siminore
    Apr 21, 2014 at 17:10
0
$\begingroup$

$f(x)$ is a value, not a function, so technically it's wrong to say that $f(x)$ is differentiable. To be precise you should say "$h'(x) = f'(x) + g'(x)$ for any $x \in D$ for any differentiable functions $f,g$ where $h(x) = f(x) + g(x)$ for any $x \in D$", but it is more concise and equally precise to say "$(f+g)' = f' + g'$ on D". Likewise the middle line with $\frac{d}{dx} f$ is probably the 'original' Leibniz notation, but it makes no sense if $f,g,h$ are strictly functions; the only way to get the correct semantic meaning is to interpret $f,g,h$ not as functions but as values that are determined by $x$. Historically $\frac{df}{dx}$ meant the change in $f$ divided by the change in $x$, with "d" standing for "Δ" / "δ" (delta). But if you want to interpret $f,g,h$ as true (1-variable) functions, then none of them are externally bound to any variables, so $x$ has no relation to $f,g,h$.

At the same time, Wikipedia says that Leibniz's notation is indeed in the form of the last line, but again we cannot interpret $f(x)$ within the $\frac{d}{dx}$ as the value of $f$ on input $x$, but rather have to interpret $\frac{d}{dx}(f(x))$ as something more like $\frac{d}{dx}($"f(x)"$)$ where $\frac{d}{dx}$ behaves like a procedure that looks at how the value described by the input string containing some occurrences of "$x$" depends on the value of $x$. This somewhat strange abuse of notation is quite common in many areas of mathematics, which you should be aware of, and when using such notation you should be clear about which expressions denote the objects themselves, which denote their descriptions, and which denote their state as bound to the state of other objects.

$\endgroup$
0
$\begingroup$

There's a distinction between function and expression.

If $f$ and $g$ are differentiable functions $f,g : I \rightarrow \mathbb{R}$ where $I$ is an open set, then the correct notation is:

$$\frac{d}{dx}(f(x)+g(x)) = \frac{d}{dx}f(x) + \frac{d}{dx}g(x)$$

If, on the other hand, $f$ and $g$ are expressions of type $\mathbb{R}$ having a free variable $x$ bound to the set $I$, and if $f$ and $g$ are furthermore differentiable in $x$, then the correct notation is:

$$\frac{d}{dx}(f+g) = \frac{d}{dx}f + \frac{d}{dx}g$$

$\endgroup$
10
  • $\begingroup$ In the first interpretation, $\dfrac{\mathrm d}{\mathrm dx}$ is an operator which takes functions as inputs. As you said $f(x)+g(x)$ is not a function. Correct would be $\dfrac{\mathrm d}{\mathrm dx}(f+g)(x)$. $\endgroup$
    – Git Gud
    May 22, 2014 at 14:41
  • $\begingroup$ @GitGud, actually $f(x)+g(x)$ can be viewed as a function, namely a function $I^{\{x\}} \rightarrow \mathbb{R}$ where $x$ is a formal symbol. This explains why $\forall xPx$ is a well-formed expression in predicate calculus; $Px$ isn't being viewed as a truthvalue, but rather as a function of type $D^{\{x\}} \rightarrow \{\mbox{True},\mbox{False}\}$ where $D$ is the domain of discourse. $\endgroup$ May 22, 2014 at 14:46
  • $\begingroup$ But then $\color{red}I^{\{x\}}$ the codomain is wrong, since you're actually thinking about a string of symbols and not an interval. $\endgroup$
    – Git Gud
    May 22, 2014 at 14:50
  • $\begingroup$ @GitGud, I'm not sure I understand what you mean. To ensure that everything makes sense, we need to think of $I$ as a set, and $x$ as a formal symbol. Of course, to be truly rigorous, we should really tell the reader that this is how we're defining things. "Dear reader, $x$ is going to be used as a formal symbol for the duration of this proof." $\endgroup$ May 22, 2014 at 14:53
  • $\begingroup$ Perhaps I misinterpreted what you meant as $I$. At any rate this purely syntactic interpretation completely avoids the objects at hand, namely real differentiable functions of real variable. $\endgroup$
    – Git Gud
    May 22, 2014 at 14:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .