Pure 7.2 - Derivatives of standard functions

Pure 7.2 - Derivatives of standard functions

Build a small, reliable toolkit for differentiating powers, exponentials, logarithms and trigonometric functions. Learn to rewrite an expression before you differentiate, keep its real domain in view, and recognise which formulae you need to remember.

The core differentiation rules

How can a graph keep exactly the same shape when you differentiate it? The function exe^x does that. Before reaching this unusual example, start with a familiar graph: x3x^3 has gradient function 3x23x^2. Its power has decreased by one.

You already know

First principles gives ddx(x2)=2x\frac{\mathrm{d}}{\mathrm{d}x}(x^2)=2x and ddx(x3)=3x2\frac{\mathrm{d}}{\mathrm{d}x}(x^3)=3x^2. Index laws give x=x1/2\sqrt{x}=x^{1/2} and 1/x2=x−21/x^2=x^{-2}.

The same power rule works for rational powers on intervals where the real function is differentiable. Constants contribute zero; sums can be differentiated term by term.

Power rule and linearity

For rational nn, on an interval where the real power is differentiable,

ddx(xn)=nxn−1\frac{\mathrm{d}}{\mathrm{d}x}(x^n)=nx^{n-1}

For differentiable f,gf,g and constant cc,

(cf)′=cf′,(f±g)′=f′±g′,ddx(c)=0(cf)'=cf',\qquad (f\pm g)'=f'\pm g',\qquad \frac{\mathrm{d}}{\mathrm{d}x}(c)=0

Not in the formula booklet: learn it.

For x>0x>0, every rational power is straightforward. Even-root functions need a non-negative input to be real, and their derivatives may fail at zero. Negative powers exclude zero; odd roots can allow negative inputs. Thus x1/3x^{1/3} exists at zero but has no finite derivative there, whereas x4/3x^{4/3} has derivative zero there. Check the expression, not just its appearance.

Worked example 1: fractional and negative powers

Question. Differentiate y=5x4−3x1/2+8x−2y=5x^4-3x^{1/2}+8x^{-2}, for x>0x>0.

Plan. Apply the power rule to each term with its coefficient and sign attached.

dydx=5(4)x3−3(12)x−1/2+8(−2)x−3lower each power by one=20x3−32x−1/2−16x−3collect coefficients\begin{aligned} \frac{\mathrm{d}y}{\mathrm{d}x} &=5(4)x^3-3\left(\frac12\right)x^{-1/2}+8(-2)x^{-3} && \text{lower each power by one}\\ &=20x^3-\frac32x^{-1/2}-16x^{-3} && \text{collect coefficients} \end{aligned}

Why this step? A negative exponent decreases too: −2−1=−3-2-1=-3, not −1-1.

Answer. 20x3−32x−1/2−16x−320x^3-\frac32x^{-1/2}-16x^{-3}.

Check. At x=1x=1, the gradient is 20−3/2−16=5/220-3/2-16=5/2; all terms are defined on the stated domain.

Change only the middle power from 1/21/2 to 3/23/2. This changes both its multiplier and the remaining power.

Worked example 2: a larger fractional power

Question. Differentiate y=5x4−3x3/2+8x−2y=5x^4-3x^{3/2}+8x^{-2}, for x>0x>0.

Plan. Keep the two unchanged derivative terms and recompute the middle one.

dydx=20x3−3(32)x1/2−16x−3power rule=20x3−92x1/2−16x−3simplify\begin{aligned} \frac{\mathrm{d}y}{\mathrm{d}x} &=20x^3-3\left(\frac32\right)x^{1/2}-16x^{-3} && \text{power rule}\\ &=20x^3-\frac92x^{1/2}-16x^{-3} && \text{simplify} \end{aligned}

Why this step? The derivative of x3/2x^{3/2} is 32x1/2\frac32x^{1/2}, not 32x3/2\frac32x^{3/2}.

Answer. 20x3−92x−16x−320x^3-\frac92\sqrt{x}-16x^{-3}.

Check. At x=1x=1, its value is −1/2-1/2, exactly 33 below the first example's derivative there.

Do not turn the special case of a constant into a negative power: the derivative of 88 is zero.

Watch out

Wrong: (x−2)′=−2x−1(x^{-2})'=-2x^{-1}. The power is reduced by 11, so the correct derivative is −2x−3-2x^{-3}. Bring the old power down, then subtract one.

Change the coefficient of the same fractional term once more.

Prepare algebraic expressions first

A product can hide a simple polynomial. For example,

(2x+5)(x−1)=2x2+3x−5(2x+5)(x-1)=2x^2+3x-5

so its derivative is 4x+34x+3. Expanding first avoids learning a new rule for this calculation. For a fraction with a single power downstairs, divide each numerator term by that power instead.

Sum of powers

A sum of powers of xx has terms of the form cxncx^n, with constant c,nc,n. For example, 14+34x−1−54x−2\frac14+\frac34x^{-1}-\frac54x^{-2} is such a sum. The expression 1/(x+1)1/(x+1) is not a single power of xx.

Your first decision is algebraic: make the power rule visible without changing the original domain.

Worked example 3: dividing by a square

Question. Differentiate y=(x2+3x−5)/(4x2)y=(x^2+3x-5)/(4x^2), for x>0x>0.

Plan. Split the fraction into powers, then differentiate term by term.

y=14+34x−1−54x−2subtract exponentsdydx=−34x−2+52x−3power rule\begin{aligned} y&=\frac14+\frac34x^{-1}-\frac54x^{-2} && \text{subtract exponents}\\ \frac{\mathrm{d}y}{\mathrm{d}x} &=-\frac34x^{-2}+\frac52x^{-3} && \text{power rule} \end{aligned}

Why this step? The denominator is one power, so each term can be divided separately.

Answer. −34x2+52x3-\frac{3}{4x^2}+\frac{5}{2x^3}.

Check. At x=1x=1, the derivative is −3/4+5/2=7/4-3/4+5/2=7/4; the constant 1/41/4 has disappeared.

Change only the denominator's power from 22 to 1/21/2. This is the same rewriting method, now with fractional exponents.

Worked example 4: dividing by a square root

Question. Differentiate y=(x2+3x−5)/(4x)y=(x^2+3x-5)/(4\sqrt{x}), for x>0x>0.

Plan. Write the denominator as 4x1/24x^{1/2} and subtract 1/21/2 from each numerator exponent.

y=14x3/2+34x1/2−54x−1/2index lawsdydx=38x1/2+38x−1/2+58x−3/2power rule\begin{aligned} y&=\frac14x^{3/2}+\frac34x^{1/2}-\frac54x^{-1/2} && \text{index laws}\\ \frac{\mathrm{d}y}{\mathrm{d}x} &=\frac38x^{1/2}+\frac38x^{-1/2}+\frac58x^{-3/2} && \text{power rule} \end{aligned}

Why this step? The negative coefficient and negative exponent in the last term give a positive derivative term.

Answer. 38x1/2+38x−1/2+58x−3/2\frac38x^{1/2}+\frac38x^{-1/2}+\frac58x^{-3/2}.

Check. At x=1x=1, the derivative is 11/811/8. Zero is excluded because the original denominator vanishes there.

Combining the earlier product and fraction is still just term-by-term differentiation. For example, (3x−1)(x+4)+(x2−2x+5)/(2x2)(3x-1)(x+4)+(x^2-2x+5)/(2x^2) rewrites as 3x2+11x−7/2−x−1+(5/2)x−23x^2+11x-7/2-x^{-1}+(5/2)x^{-2}, whose derivative is 6x+11+x−2−5x−36x+11+x^{-2}-5x^{-3}.

Watch out

Wrong: x2/x=x5/2x^2/\sqrt{x}=x^{5/2}. Division subtracts exponents, so it is x3/2x^{3/2}. Also, cancelling factors never restores an input excluded by the original expression.

Change one numerator coefficient in the square-root fraction.

Exponential and logarithmic rules

The opening surprise has a precise form: the height of exe^x equals its gradient at every real input. For other positive bases, a constant factor ln⁡a\ln a appears. This is why the base ee is so useful in growth models.

Exponential and logarithmic derivatives

For constant kk and positive constant aa,

ddx(ekx)=kekx,ddx(akx)=k(ln⁡a)akx\frac{\mathrm{d}}{\mathrm{d}x}(e^{kx})=ke^{kx},\qquad \frac{\mathrm{d}}{\mathrm{d}x}(a^{kx})=k(\ln a)a^{kx}

For x>0x>0,

ddx(ln⁡x)=1x\frac{\mathrm{d}}{\mathrm{d}x}(\ln x)=\frac1x

Not in the formula booklet: learn it.

The booklet supplies exln⁡a=axe^{x\ln a}=a^x, which explains the extra factor: akx=e(kln⁡a)xa^{kx}=e^{(k\ln a)x}. It does not print the derivative rules above. If a=1a=1, the function is constant and ln⁡1=0\ln1=0, so the same formula gives zero.

Worked example 5: three rule families

Question. Differentiate y=4e−3x−25x+3ln⁡xy=4e^{-3x}-2^{5x}+3\ln x, for x>0x>0.

Plan. Differentiate each term, including the exponent multiplier and the logarithm of the base.

dydx=4(−3)e−3x−5(ln⁡2)25x+3xapply the three rules=−12e−3x−5(ln⁡2)25x+3xsimplify\begin{aligned} \frac{\mathrm{d}y}{\mathrm{d}x} &=4(-3)e^{-3x}-5(\ln2)2^{5x}+\frac3x && \text{apply the three rules}\\ &=-12e^{-3x}-5(\ln2)2^{5x}+\frac3x && \text{simplify} \end{aligned}

Why this step? The variable is in an exponent in 25x2^{5x}; the power rule for xnx^n does not apply.

Answer. −12e−3x−5(ln⁡2)25x+3/x-12e^{-3x}-5(\ln2)2^{5x}+3/x.

Check. 25x=e(5ln⁡2)x2^{5x}=e^{(5\ln2)x} gives exactly the same middle derivative. The logarithm requires x>0x>0.

Change only the base 22 to 33. Both the exponential and its logarithmic multiplier change.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account