The constant, power, constant multiple, sum and difference rules, where the power rule is valid on the real line, and how they give the derivative of any polynomial and of the absolute value away from zero.
Going back to the limit definition for every derivative works, but it is slow and easy to get wrong. A handful of rules, each proved once from the definition, let you differentiate every polynomial in a single line. The only care needed is to know exactly where each rule applies.
Key terms
Constant rule
Definition If f(x)=c for every real x, where c is a constant, then f′(x)=0 for every x. In Leibniz notation,
dxd(c)=0.
Proof. The difference quotient is hc−c=0 for every h=0, so its limit is 0.
In plain words A horizontal line has slope zero, and a quantity that never changes has rate of change zero.
Example Both of these derivatives are zero,
dxd(7)=0,dxd(π2)=0.
The number π2 looks complicated but it does not depend on x.
Power rule and its real-domain restrictions
Definition The formula
dxd(xr)=rxr−1
holds in the following cases.
If r=n is a positive integer, it holds for every real x, reading x0 as 1 when n=1.
If r=n is a negative integer, it holds for every x=0.
If r=qp is a rational number in lowest terms with q>0 odd, then xr=(qx)p is defined for negative x too, and the formula holds for every x=0. If moreover r>1, it also holds at x=0, where both sides equal 0.
For every real r, with xr defined through exponentials and logarithms when r is irrational, it holds for every x>0.
For a positive integer n the proof uses the binomial theorem, which gives
(x+h)n−xn=nxn−1h+(terms with h2 or higher).
Dividing by h and letting h→0 leaves nxn−1. The other cases are proved later in the course, and we use them now.
In plain words Bring the exponent down in front and lower it by one. Then check that the input is allowed. The derivative can have a smaller domain than the function, especially at x=0 and for negative x.
Example The rule gives dxd(x5)=5x4 everywhere, and dxd(x−2)=−2x−3 for x=0. For x2/3, defined for all real x, the derivative is 32x−1/3 for x=0, and at x=−8 this gives 32⋅(−21)=−31. At x=0 the formula breaks down, which matches the cusp of x2/3 at the origin. Finally x1/2=x is defined on [0,∞), but its derivative 21x−1/2 exists only for x>0.
Constant multiple rule
Definition If f is differentiable at x and c is a constant, then cf is differentiable at x and
dxd(cf(x))=cf′(x).
Proof. As h→0,
hcf(x+h)−cf(x)=c⋅hf(x+h)−f(x)→cf′(x).
In plain words Stretching a graph vertically by a factor c multiplies every slope by c.
Example For a cubic term the rule gives dxd(4x3)=4⋅3x2=12x2. For x>0, writing x5=5x−1/2 gives
dxd(x5)=5⋅(−21)x−3/2=−25x−3/2.
Sum and difference rules
Definition If f and g are both differentiable at x, then so are f+g and f−g, and
dxd(f(x)±g(x))=f′(x)±g′(x).
Proof. The difference quotient of f+g is the sum of the difference quotients of f and g, and the limit of a sum is the sum of the limits. The difference works the same way. By induction the rule extends to any finite sum.
In plain words Differentiate term by term. The rate of change of a total is the total of the rates.
Example Term by term,
dxd(x4+x)=4x3+2x1for x>0,
and
dxd(x3−x−1)=3x2+x−2for x=0.
Derivatives of polynomials
Definition Every polynomial
p(x)=anxn+an−1xn−1+⋯+a1x+a0
is differentiable at every real x, and
p′(x)=nanxn−1+(n−1)an−1xn−2+⋯+a1.
This follows from the power, constant multiple, sum and constant rules. If an=0 and n≥1, so that p has degree n, then p′ has degree n−1.
In plain words Handle each term on its own. The constant term disappears.
Example Let p(x)=4x3−5x2+7x−2. Then p′(x)=12x2−10x+7. At x=1 we get p(1)=4 and p′(1)=9, so the tangent line there is y=4+9(x−1), or y=9x−5.
Derivative of the absolute value away from zero
Definition The absolute value is differentiable at every x=0, with
dxd∣x∣=∣x∣x={1,−1,x>0,x<0,
and it is not differentiable at x=0. More generally, if f is differentiable at a and f(a)=0, then ∣f∣ is differentiable at a with
∣f∣′(a)=∣f(a)∣f(a)f′(a).
The reason is that f is continuous at a, so it keeps the sign of f(a) on some open interval around a, and there ∣f∣ equals f or −f. Where f(a)=0 the rule says nothing. Then ∣f∣ may fail to be differentiable, as ∣x∣ does at 0, or it may be differentiable, as ∣x3∣ is at 0 with derivative 0.
In plain words Away from the points where the inside is zero, the absolute value just leaves the function alone or flips its sign, and the derivative follows along.
Example Take g(x)=∣x2−4∣ at x=1. There x2−4=−3<0, so near x=1 we have g(x)=4−x2 and g′(1)=−2⋅1=−2. At x=2, where x2−4=0, the rule does not apply, and in fact g has a corner there.
Check yourself
Differentiate f(x)=3x4−x2+6 and state where your answer is valid.
Show the answer
Rewrite the function as f(x)=3x4−2x−1+6. Then f′(x)=12x3+2x−2, valid for every x=0.
Find the equation of the tangent line to y=x3−3x+1 at x=2.
Show the answer
The derivative is y′=3x2−3, so the slope at x=2 is 9. The point is (2,3), and the tangent line is y=3+9(x−2), or y=9x−15.
Where is f(x)=3x differentiable, and what is f′(−1)?
Show the answer
The power rule gives f′(x)=31x−2/3 for every x=0. At 0 the graph has a vertical tangent and no derivative. Since (−1)−2/3=1, the value is f′(−1)=31.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details