1.7 - Differentiating powers

1.7 - Differentiating powers

Chord gradients explain what a derivative means; rules make it quick to find one. You will differentiate rational powers, rewrite roots and fractions before differentiating, and find second derivatives. Keeping the original domain in view will prevent an algebraic answer being used where the function is undefined.

The power rule

How can you find the gradient of y=x3/2y=x^{3/2} without building a new chord table at every point? The same rule that gives 2x2x for x2x^2 works for rational powers, including fractions and negative numbers.

For positive integer powers, expanding a nearby value explains the pattern. For example, the chord gradient for x3x^3 at x=ax=a is 3a2+3ah+h23a^2+3ah+h^2; the terms containing hh vanish in the limit. The result is 3a23a^2. The rule below extends to rational exponents on intervals where the function is defined and differentiable.

The power rule

For a constant rational number nn,

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

Use the rule where the real power and its derivative are defined. A constant function has derivative zero.

In the formula booklet.

Multiply by the old exponent, then subtract 11 from that exponent. For instance, x5x^5 gives 5x45x^4, and x=x1x=x^1 gives 11. A constant such as 77 has a horizontal graph, so its derivative is 00.

Worked example 1: a fractional power

Question. Differentiate y=x3/2y=x^{3/2} for x>0x>0, and find the gradient at x=4x=4.

Plan. Apply the power rule, then substitute into the derivative.

dydx=32x3/2−1multiply and reduce the power=32x1/2dydx∣x=4=324=3.\begin{aligned} \frac{dy}{dx}&=\frac32x^{3/2-1} &&\text{multiply and reduce the power}\\ &=\frac32x^{1/2}\\ \left.\frac{dy}{dx}\right|_{x=4}&=\frac32\sqrt4=3. \end{aligned}

Answer. dy/dx=32xdy/dx=\frac32\sqrt{x}, with gradient 33 at x=4x=4.

Check. The nearby chord from x=4x=4 to 4.014.01 has gradient (4.013/2−8)/0.01≈3.00187(4.01^{3/2}-8)/0.01\approx3.00187, close to 33.

Change just the exponent's sign. A negative exponent makes the function fall on the positive domain.

Worked example 2: a negative fractional power

Question. Differentiate y=x−3/2y=x^{-3/2} for x>0x>0, and find the gradient at x=4x=4.

Plan. Keep the negative coefficient and subtract 11 from −3/2-3/2.

dydx=−32x−3/2−1=−32x−5/2dydx∣x=4=−32×132=−364.\begin{aligned} \frac{dy}{dx}&=-\frac32x^{-3/2-1}\\ &=-\frac32x^{-5/2}\\ \left.\frac{dy}{dx}\right|_{x=4}&=-\frac32\times\frac1{32}=-\frac3{64}. \end{aligned}

Answer. dy/dx=−3/(2x5/2)dy/dx=-3/(2x^{5/2}), with gradient −3/64-3/64 at x=4x=4.

Check. y=1/x3/2y=1/x^{3/2} decreases as positive xx grows, agreeing with the negative derivative. The nearby chord to 4.014.01 has gradient approximately −0.046729-0.046729, close to −3/64=−0.046875-3/64=-0.046875.

The domain matters. A reciprocal power excludes x=0x=0. For x\sqrt{x}, the real function allows x≥0x\ge0, but the formula 1/(2x)1/(2\sqrt{x}) gives a finite derivative only for x>0x>0. At 00, the curve has a vertical direction, not a finite gradient. Odd roots can allow negative inputs: d(x1/3)/dx=13x−2/3d(x^{1/3})/dx=\frac13x^{-2/3} for x≠0x\ne0.

Watch out

−32−1=−52-\frac32-1=-\frac52, not −12-\frac12. Subtracting 11 makes a negative exponent more negative. Write it with a common denominator if needed.

Apply that same change to a new negative fractional power.

Sums and multiples

A root or a fraction may hide a simple power. Rewrite it before applying the rule: x=x1/2\sqrt{x}=x^{1/2}, 1/x2=x−21/x^2=x^{-2}, and 1/x=x−1/21/\sqrt{x}=x^{-1/2}. Differentiate each term and keep any constant multiplier.

Why can terms be treated separately? A chord's total change in 3f(x)−2g(x)3f(x)-2g(x) is three times the change in ff minus twice the change in gg. Taking the limiting gradient preserves that combination.

Sums and constant multiples

Where ff and gg are differentiable and a,ba,b are constants,

ddx[af(x)+bg(x)]=af′(x)+bg′(x).\frac{d}{dx}[af(x)+bg(x)]=af'(x)+bg'(x).

The derivative of a constant is zero.

Not stated separately in the formula booklet: learn these rules.

Keep rewriting and differentiation as separate lines. This makes the exponents visible before they change.

Worked example 3: a root in a sum

Question. Differentiate f(x)=3x3−5x+8f(x)=3x^3-5\sqrt{x}+8, for x>0x>0.

Plan. Rewrite the root as a power and differentiate term by term.

f(x)=3x3−5x1/2+8f′(x)=3(3x2)−5(12x−1/2)+0=9x2−52x.\begin{aligned} f(x)&=3x^3-5x^{1/2}+8\\ f'(x)&=3(3x^2)-5\left(\frac12x^{-1/2}\right)+0\\ &=9x^2-\frac5{2\sqrt{x}}. \end{aligned}

Answer. f′(x)=9x2−5/(2x)f'(x)=9x^2-5/(2\sqrt{x}).

Check. Adding 88 only moves the graph upwards, so it should not alter any gradient. Its disappearance is appropriate.

Move only the root into the denominator. This changes its exponent and therefore the sign of its derivative contribution.

Worked example 4: a reciprocal root in a sum

Question. Differentiate g(x)=3x3−5/x+8g(x)=3x^3-5/\sqrt{x}+8, for x>0x>0.

Plan. Write the reciprocal root as x−1/2x^{-1/2}, then keep the two negative signs separate.

g(x)=3x3−5x−1/2+8g′(x)=9x2−5(−12x−3/2)=9x2+52x3/2.\begin{aligned} g(x)&=3x^3-5x^{-1/2}+8\\ g'(x)&=9x^2-5\left(-\frac12x^{-3/2}\right)\\ &=9x^2+\frac5{2x^{3/2}}. \end{aligned}

Answer. g′(x)=9x2+5/(2x3/2)g'(x)=9x^2+5/(2x^{3/2}).

Check. At x=1x=1, g′(1)=11.5g'(1)=11.5. The chord from 11 to 1.0011.001 has gradient approximately 11.507111.5071, consistent with this value.

Algebra may also remove an apparent quotient. For x≠0x\ne0, (x3+4x)/x=x2+4(x^3+4x)/x=x^2+4, so its derivative is 2x2x on the original domain. Cancelling does not put the excluded input x=0x=0 back into the original function.

Watch out

d(5x3)/dx=15x2d(5x^3)/dx=15x^2, not 5x25x^2. The original coefficient multiplies the exponent. Also, differentiating a constant gives 00, not that constant.

Rewrite first, then differentiate.

Repeated differentiation

The first derivative is another function, so apply the same rules to it to find the second derivative. Differentiate the complete first derivative before substituting a particular value of xx. Substituting too soon turns it into a number and loses how it changes.

Evaluating a derivative

f′(a)f'(a) means find the gradient function f′(x)f'(x), then evaluate it at x=ax=a. Similarly, f′′(a)f''(a) means evaluate the second derivative there. These are different from f(a)f(a), the function's height.

Use one line for each differentiation so that each change of exponent can be checked.

Worked example 5: two polynomial derivatives

Question. For y=2x4−3x2+7y=2x^4-3x^2+7, find dy/dxdy/dx, d2y/dx2d^2y/dx^2, and both derivatives at x=1x=1.

Plan. Differentiate twice, then substitute x=1x=1 into the two resulting functions.

dydx=8x3−6xd2ydx2=24x2−6y′(1)=8−6=2y′′(1)=24−6=18.\begin{aligned} \frac{dy}{dx}&=8x^3-6x\\ \frac{d^2y}{dx^2}&=24x^2-6\\ y'(1)&=8-6=2\\ y''(1)&=24-6=18. \end{aligned}

Answer. First derivative 8x3−6x8x^3-6x; second derivative 24x2−624x^2-6. Their values at 11 are 22 and 1818.

Check. The gradient changes from y′(0.999)≈1.98202y'(0.999)\approx1.98202 to y′(1.001)≈2.01802y'(1.001)\approx2.01802. Its change divided by 0.0020.002 is approximately 18.000018.0000, matching the second derivative.

Change only the exponent in the middle term from 22 to −2-2. Track its signs through both derivatives.

Worked example 6: differentiating a reciprocal twice

Question. For y=2x4−3x−2+7y=2x^4-3x^{-2}+7, x≠0x\ne0, find the first and second derivatives and their values at x=1x=1.

Plan. Apply the power rule separately at each differentiation.

dydx=8x3+6x−3d2ydx2=24x2−18x−4y′(1)=8+6=14y′′(1)=24−18=6.\begin{aligned} \frac{dy}{dx}&=8x^3+6x^{-3}\\ \frac{d^2y}{dx^2}&=24x^2-18x^{-4}\\ y'(1)&=8+6=14\\ y''(1)&=24-18=6. \end{aligned}

Answer. dy/dx=8x3+6/x3dy/dx=8x^3+6/x^3 and d2y/dx2=24x2−18/x4d^2y/dx^2=24x^2-18/x^4, for x≠0x\ne0. At 11, they are 1414 and 66.

Check. A centred change in the first derivative from 0.9990.999 to 1.0011.001, divided by 0.0020.002, is approximately 5.999955.99995, close to 66.

The opening function x3/2x^{3/2} now needs only one line: its gradient is 32x\frac32\sqrt{x} for x>0x>0. The limiting meaning remains the same even though the calculation is quicker.

Watch out

For y=x4y=x^4, the second derivative is 12x212x^2, not (4x3)2(4x^3)^2. Differentiate the first derivative; do not square it.

Keep xx until both differentiation steps are complete.

Quick Recap

  • For a rational exponent, multiply by nn and reduce the exponent by 11.
  • Rewrite roots and reciprocal terms as powers before differentiating.
  • Keep constant multipliers; the derivative of a constant is zero.
  • Differentiate again for a second derivative, then evaluate at the required input.
  • Preserve the original domain and check where the derivative is finite.

For y=x3/2y=x^{3/2}, the tangent gradient is 32x\frac32\sqrt{x} on x>0x>0.