The derivative of a weighted sum
Consider to given function and , and two constant numbers and . The new function
is called a weighted sum (or a linear combination) of and . The "weights" and are also called coefficients.
The derivative of weighted sums is as follows:
Assume a function can be written as a weighted sum of two other functions and , that is, . Then we have
Derivative of a weighted sum of functions
This is called the sum rule. It simply states that for forming , we have to replace and with their derivatives.
Proof
To prove the theorem, we first recall that for small (we normally use , but this letter is already used for the function ), we have
and
If we replace with in the expression above, we get
And this completes the proof!
The derivative of
is
In particular we have
The derivative of special weighted sums
Proof
- (set )
- (set )
- , where \rightarrow
Warning
The same law ist not correct for the multiplication of two functions. That is, if , then in general it is . See the problem below.
E.g. and , thus we have
But this is not
So how can we determine the derivative if two functions are multiplied? There is a specific rule for this case, which we will learn about later. However, for the product of power functions it is straight forward. See the example below.
Determine the derivative of the function
Solution
Again, to find we cannot simply multiply the derivative of with the derivative of . A common mistake!