9A - Gradients and the power rule

9A - Gradients and the power rule

A straight line has one gradient, but a curve becomes steeper or flatter as you move along it. How can we assign a gradient at one point? You will connect nearby-point gradients to a tangent, learn to differentiate powers and their sums, and evaluate derivatives to describe a curve locally.

Gradient at a point

For y=x2y=x^2, the line joining (1,1)(1,1) to (2,4)(2,4) has gradient 33. That is an average gradient between two points. It does not describe the curve's exact direction at (1,1)(1,1).

A line through two curve points is a secant. Keep the first point fixed and move the second point closer. The secant approaches the tangent, the straight line with the curve's local direction. A tangent can cross the curve elsewhere; “touches once” is not its definition.

[DIAGRAM: asset_name: Secants approaching a tangent; asset_slug: secant-to-tangent; caption: Secants to y equals x squared approach the tangent at one comma one; description: Two panels show y equals x squared with P at one comma one. The left secant joins P to Q at two comma four and has gradient three. The right joins P to Q at one point two comma one point four four and has gradient two point two. Both panels include the tangent y equals two x minus one, with gradient two.]
Secants to y equals x squared approach the tangent at one comma one

Derivative

The derivative of y=f(x)y=f(x), written f′(x)f'(x) or dydx\dfrac{dy}{dx}, gives the tangent gradient at each input where that gradient exists. Finding it is called differentiation. At x=ax=a, the particular gradient is f′(a)f'(a).

The symbol dy/dxdy/dx is derivative notation, not an instruction to divide the ordinary coordinates yy and xx. A derivative need not exist at every point: for example, the sharp corner of y=∣x∣y=|x| at zero has no single tangent gradient. Our rules will be used where the function has a finite derivative.

Worked example 1: approaching a positive gradient

Question. Estimate the tangent gradient to y=x2y=x^2 at (1,1)(1,1) using nearby points with x=1.1x=1.1 and x=0.9x=0.9.

Plan. Calculate the two secant gradients using rise divided by run.

mright=1.21−11.1−1=2.1,mleft=0.81−10.9−1=1.9.m_{\text{right}}=\frac{1.21-1}{1.1-1}=2.1, \qquad m_{\text{left}}=\frac{0.81-1}{0.9-1}=1.9.

Closer points at 1.011.01 and 0.990.99 give 2.012.01 and 1.991.99. The gradients approach 22.

Answer. The tangent gradient is estimated as 22; the power rule below will give f′(1)=2f'(1)=2 exactly.

Check. The line y=2x−1y=2x-1 passes through (1,1)(1,1). Its vertical difference from the curve is x2−(2x−1)=(x−1)2x^2-(2x-1)=(x-1)^2, very small near x=1x=1, consistent with the pictured tangent.

Reflecting the curve in the horizontal axis reverses the rises while keeping the same runs.

Worked example 2: approaching a negative gradient

Question. Estimate the tangent gradient to y=−x2y=-x^2 at (1,−1)(1,-1), again using x=1.1x=1.1 and x=0.9x=0.9.

Plan. Use the new curve heights and retain the signs of both differences.

mright=−1.21−(−1)1.1−1=−2.1,mleft=−0.81−(−1)0.9−1=−1.9.m_{\text{right}}=\frac{-1.21-(-1)}{1.1-1}=-2.1, \qquad m_{\text{left}}=\frac{-0.81-(-1)}{0.9-1}=-1.9.

At 1.011.01 and 0.990.99, the corresponding gradients are −2.01-2.01 and −1.99-1.99.

Answer. The tangent gradient is estimated as −2-2.

Check. The curve falls as xx increases near 11, so the gradient must be negative. Reflection of the first curve changes its tangent gradient from 22 to −2-2.

Nearby-point calculations explain the meaning; a formal limiting proof is not needed to use the differentiation rules. Check that meaning before calculating algebraically.

Differentiating powers

A rule can replace repeated nearby-point calculations. For y=x2y=x^2, it gives dy/dx=2xdy/dx=2x: the gradient is 22 at x=1x=1, 66 at x=3x=3, and changes continuously between them.

Power rule

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

Multiply by the old power, then subtract 11 from that power. Apply the rule at inputs where the real function and its derivative are defined.

This standard derivative must be learnt; it is not on the provided formulae sheet.

The exponent can be negative or fractional. Rewrite carefully: 1/x2=x−21/x^2=x^{-2}, x=x1/2\sqrt{x}=x^{1/2}, and 1/x=x−1/21/\sqrt{x}=x^{-1/2}. The first requires x≠0x\ne0; the last requires x>0x>0. Although x\sqrt{x} exists at zero, its derivative 1/(2x)1/(2\sqrt{x}) does not have a finite value there. For fractional powers, work within a real interval on which the power and derivative are defined; x>0x>0 always avoids the fractional-power boundary issues used here.

Worked example 3: a positive integer power

Question. Differentiate f(x)=x5f(x)=x^5.

Plan. Multiply by 55 and reduce the exponent to 44.

f′(x)=5x5−1=5x4.f'(x)=5x^{5-1}=5x^4.

Answer. f′(x)=5x4f'(x)=5x^4, for all real xx.

Check. Near x=1x=1, the secant from 11 to 1.0011.001 has gradient (1.0015−1)/0.001≈5.010(1.001^5-1)/0.001\approx5.010, close to f′(1)=5f'(1)=5.

The next exponent is negative and fractional. Subtracting 11 makes it more negative.

Worked example 4: a reciprocal square root

Question. Differentiate g(x)=1/xg(x)=1/\sqrt{x}, for x>0x>0.

Plan. Rewrite as x−1/2x^{-1/2}, then apply the same power rule.

g(x)=x−1/2,g′(x)=−12x−1/2−1=−12x−3/2=−12x3/2.g(x)=x^{-1/2}, \qquad g'(x)=-\frac12x^{-1/2-1}=-\frac12x^{-3/2}=-\frac{1}{2x^{3/2}}.

Answer. g′(x)=−1/(2x3/2)g'(x)=-1/(2x^{3/2}), for x>0x>0.

Check. At x=4x=4 the derivative is −1/16-1/16. The nearby-point gradient (1/4.001−1/2)/0.001≈−0.062488(1/\sqrt{4.001}-1/2)/0.001\approx-0.062488, close to −0.0625-0.0625. Its negative sign matches the decreasing reciprocal root.

Continue this lesson.

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

Create free account