doPhysics.in
All chapters
Differentiation · Lesson 2 of 6

The Slope of the Tangent and the Power Rule

16 min read3 ideas6 checks2 figures to playBy Asheshanand Acharya
What you will learn 0 / 3
The derivative is the slope of the tangent
Look around
Reading speed off a curve

A remote-controlled toy car runs along a straight corridor. A phone films it, and its position every tenth of a second falls on a smooth curve. The car goes forward, stops, backs up, stops again and goes forward once more. No speedometer was fitted. Yet the curve alone knows how fast the car moved at every instant.

you will read the velocity at any instant as the slope of a tangent, and find it from the formula in one line.

The slope of a straight line

A straight line rises by the same amount for every unit it runs to the right. The ratio of the rise to the run is its slope. A line that goes up to the right has a positive slope, and one that goes down has a negative slope. A level line has zero slope. When both axes are drawn to the same scale, the slope is \(\tan\theta\), where \(\theta\) is the angle the line makes with the \(x\) axis.

A curve has no single slope, because its direction changes from point to point. At each point P, however, it has a tangent. Lesson 1 showed that the curve and its tangent cannot be told apart close to P. So the slope of the curve at P means the slope of its tangent at P. That slope is the derivative.

principle 4.1
The derivative is the slope of the tangent

On the graph of \(y\) against \(x\), the derivative \(dy/dx\) at a point equals the slope of the tangent there. The slope is measured in the units of the two axes.

RememberThe slope of the tangent
\[ m = \left.\dfrac{dy}{dx}\right|_{x = x_0} = \tan\theta \]
Holds whena smooth graph at \(x_0\). The slope \(m\) is rise over run in the units of the axes. It equals \(\tan\theta\) of the angle on paper only when both axes use the same scale.
Symbols\(m\) the slope of the tangent at \(x = x_0\); \(\theta\) the angle the tangent makes with the \(x\) axis; the bar with \(x = x_0\) means "evaluated at \(x_0\)"
Unitsthe unit of \(y\) divided by the unit of \(x\)

The derivative is itself a function

Let the toy car's position be \(x = t^3 - 6t^2 + 9t + 1\) metres, with \(t\) in seconds. In Fig 2.1 a tangent slides along the x-t graph. The slope of the tangent at each instant is plotted below it. The slopes form a second curve, the velocity-time graph. The derivative of a function is a new function.

The slope of the tangent draws the derivativeTop: the position-time graph of a toy car on a straight track, x = t³ − 6t² + 9t + 1 metres, from t = 0 to 4 s. The car moves forward to x = 5 m at t = 1 s, backs to x = 1 m at t = 3 s, and moves forward again. Press play. The tangent to the curve slides along it, and a dashed line drops from the point of contact to the graph below. Bottom: the slope of the tangent at each instant, plotted against time, draws itself as the tangent moves. It is the velocity v = 3t² − 12t + 9, which starts at 9 m/s, falls through zero at t = 1 s, reaches −3 m/s at t = 2 s, and rises through zero again at t = 3 s. Wherever the tangent is flat, the lower graph crosses the time axis.1234369−3Ot (s)v (m/s) 1234123456Ot (s)x (m) t = 0.00 s, slope = v = +9.00 m/s
Fig 2.1Press play. The tangent slides along the position of the toy car, \(x = t^3 - 6t^2 + 9t + 1\). Below, the slope of the tangent draws itself as the velocity. Wherever the tangent is flat, at \(t = 1\,\text{s}\) and \(t = 3\,\text{s}\), the velocity graph crosses zero.

Read Fig 2.1 at a few instants. At \(t = 0\) the curve is steep and rising, so the car moves forward fast, at \(9\,\text{m/s}\). At \(t = 1\,\text{s}\) the tangent is flat, so the car is at rest for an instant. Between \(1\) and \(3\,\text{s}\) the curve falls, so the velocity is negative and the car moves backward. It moves backward fastest at \(t = 2\,\text{s}\), where the falling curve is steepest.

Rising, falling or flat

The sign of the derivative gives a quick test. If \(dy/dx > 0\) at a point, then \(y\) increases as \(x\) increases through that point. If \(dy/dx < 0\), \(y\) decreases. If \(dy/dx = 0\), the tangent is flat and \(y\) is momentarily unchanged. So a sign tells us which way a quantity is going without drawing the graph.

The tangent and the normal

The line through P at right angles to the tangent is the normal to the curve at P. If the tangent has slope \(m\), the normal has slope \(-1/m\), because two perpendicular lines have slopes whose product is \(-1\). For \(y = x^2\) at \(x = 2\), the point is \((2, 4)\) and the tangent slope is \(4\). The tangent line is \(y = 4x - 4\). The normal has slope \(-1/4\), and its line is \(y = -x/4 + 9/2\). Physics meets the normal often: the normal force on a curved track, and a ray that strikes a curved mirror along its normal.

Checkpoint · numericUnanswered

The derivative of \(y = x^2\) is \(dy/dx = 2x\). Find the slope of the tangent to this curve at \(x = 1/2\).

± 2 %
CheckpointUnanswered

At \(t = 2\,\text{s}\) the tangent to the position-time graph of a bus slopes downward. What does this tell you?

CheckpointUnanswered

The tangent to \(y = x^3\) at \(x = 1\) has slope \(3\). What is the slope of the normal there?

Derivatives of powers and sums

One rule for every power

Lesson 1 found by a limit that \(5t^2\) has the derivative \(10t\). Doing a limit every time would be slow. Fortunately every power of \(x\) follows one pattern, and the derivation below proves it for a whole-number power. The power comes down in front as a factor, and the new power is one less.

RememberThe power rule
\[ \dfrac{d}{dx}\,x^n = n\,x^{n-1} \]
Holds whenfor any constant power \(n\), whole, fractional or negative, wherever \(x^n\) is defined; \(x > 0\) is always safe. The power must be a constant, not a variable.
Symbols\(x\) the variable; \(n\) a constant power
Unitsthe unit of \(x^n\) divided by the unit of \(x\)
Deriving \(\dfrac{d}{dx}\,x^n = n\,x^{n-1}\) step 1 of 3
1

\[ (x + h)^n = x^n + n\,x^{n-1}h + (\text{terms with } h^2, h^3, \ldots) \]

Why. multiply out the \(n\) brackets \((x + h)\). Taking \(h\) from exactly one bracket and \(x\) from the rest can be done in \(n\) ways, each giving \(x^{n-1}h\).

The proof above needs a whole-number power, but the rule holds for every constant power. So \(\sqrt{x} = x^{1/2}\) has the derivative \(\tfrac12 x^{-1/2} = 1/(2\sqrt{x})\). And \(1/x = x^{-1}\) has the derivative \(-x^{-2} = -1/x^2\). Physics uses this last one constantly, because fields and potentials fall off as powers of the distance.

Three simple rules complete the set. The derivative of a constant is zero, because a constant has a flat graph. A constant factor stays in front, because stretching a graph upward stretches every slope by the same factor. A sum is differentiated term by term, because the rises of the two parts add. For example, \(2x^{12} + 3x^{23}\) has the derivative \(24x^{11} + 69x^{22}\).

RememberConstants and sums
\[ \begin{gathered} \dfrac{d}{dx}\,c = 0 \\ \dfrac{d}{dx}\,(c\,u) = c\,\dfrac{du}{dx} \\ \dfrac{d}{dx}\,(u + v) = \dfrac{du}{dx} + \dfrac{dv}{dx} \end{gathered} \]
Holds when\(c\) a constant; \(u\) and \(v\) functions of \(x\) that have derivatives
Symbols\(c\) a constant; \(u\), \(v\) two functions of \(x\)
Unitseach term in the unit of its function divided by the unit of \(x\)
CheckpointUnanswered

What is \(\dfrac{d}{dx}\left(\dfrac{1}{x^2}\right)\)?

Checkpoint · numericUnanswered

A spring stores the energy \(U = 50x^2\) joules when it is stretched by \(x\) metres. The force of the spring is \(F = -dU/dx\). Find \(F\) at \(x = 0.1\,\text{m}\), in newtons.

N± 2 %

Back to physics

Motion in One Dimension differentiates three position functions in its lesson on instantaneous velocity. With the rules of this lesson, each takes one line.

ExampleThree position functions

This is the worked example of Motion in One Dimension, lesson 4, done with the tool. Find the velocity as a function of time, and its value at \(t = 2\,\text{s}\), for (a) \(x = 5t^3\), (b) \(x = 7t + 3\), (c) \(x = 2t^2 + 4t + 1\). Positions are in metres and times in seconds.

Try it on paper first. The solution is one tap away when you are ready.
The product and quotient rules

When two changing quantities multiply

A truck is loaded with sand from a chute while it moves. Its momentum is \(p = mv\), and both the mass and the speed change. How fast does the momentum change? Draw the momentum as the area of a rectangle, of width \(m\) and height \(v\). In a short time the width grows by \(\Delta m\) and the height by \(\Delta v\).

The product rule as a growing rectangleA rectangle whose width is the mass m = 4 of a truck being loaded with sand and whose height is its speed v = 2.5, so that its area is the momentum mv. In a short time the mass grows by Δm and the speed by Δv. The new rectangle is the old one plus a strip m·Δv along the top, a strip v·Δm down the right side, and a small corner Δm·Δv. Three chips make the change large, half as large, and a tenth as large. The two strips shrink in proportion to the change, but the corner shrinks as its square: it is 14 per cent of the gain for the large change and only 1.6 per cent for the smallest. In the limit only the two strips remain, which is the product rule.m v m Δm v Δv m Δv v Δm Δm Δv strips m Δv + v Δm = 6.60 corner Δm Δv = 1.08, 14.1 % of the gain
Fig 2.2The momentum \(mv\) as an area. When \(m\) and \(v\) grow, the new area adds a strip \(m\,\Delta v\), a strip \(v\,\Delta m\) and a small corner \(\Delta m\,\Delta v\). Use the chips to make the change smaller. The strips shrink in step with the change, but the corner shrinks much faster.

The gain of area in Fig 2.2 is \(m\,\Delta v + v\,\Delta m + \Delta m\,\Delta v\). Divide it by the time \(\Delta t\) and let \(\Delta t\) tend to zero. The first two terms become \(m\,dv/dt\) and \(v\,dm/dt\). The corner term is a product of two small changes, so it vanishes faster than the others. What remains is the product rule.

RememberThe product and quotient rules
\[ \begin{gathered} \dfrac{d}{dx}(uv) = u\,\dfrac{dv}{dx} + v\,\dfrac{du}{dx} \\ \dfrac{d}{dx}\left(\dfrac{u}{v}\right) = \dfrac{v\,\dfrac{du}{dx} - u\,\dfrac{dv}{dx}}{v^2} \end{gathered} \]
Holds when\(u\) and \(v\) functions of \(x\) that have derivatives; for the quotient, \(v \neq 0\).
Symbols\(u\), \(v\) two functions of the same variable \(x\)
Unitsthe unit of the product or the quotient divided by the unit of \(x\)

So \(F = d(mv)/dt = m\,dv/dt + v\,dm/dt\). For a body of fixed mass the second term is zero, and the law becomes \(F = ma\). For a belt or a truck that gains sand at a steady speed, the first term is zero, and \(F = v\,dm/dt\). The quotient rule follows from the product rule. For example, \(x^3/(x^2 + 1)\) has the derivative \((x^4 + 3x^2)/(x^2 + 1)^2\).

Checkpoint · numericUnanswered

Sand falls onto a conveyor belt at \(2\,\text{kg/s}\), and the belt keeps a steady speed of \(3\,\text{m/s}\). What force must drive the belt to carry away the new sand, in newtons? Ignore friction.

N± 2 %
Common mistake

The power rule needs a constant power of the variable itself. It does not apply to \(2^x\), where the variable sits in the power; that function is treated in lesson 3. It does not apply directly to \((3x + 1)^2\) either. The answer is not \(2(3x + 1)\), because the inside also changes with \(x\). Expand the square, or use the chain rule of lesson 3, to get \(6(3x + 1)\).

In the world
Where this tool works in physics

The slope of the tangent is the reading of almost every physics graph. In Motion in One Dimension and Graphical Understanding of Motion, the slope of an x-t graph is the velocity. The slope of a v-t graph is the acceleration. A force is minus the slope of a potential energy curve in Potential Energy and Conservation of Energy. An electric field is minus the slope of the potential, and a gravitational field too. The power rule turns \(\tfrac12 kx^2\) into Hooke's law and gives the force between the plates of a capacitor. The product rule gives Newton's law \(F = d(mv)/dt\) for a body whose mass changes.

Back to the toy car

The car of the opening has \(x = t^3 - 6t^2 + 9t + 1\). The power rule gives its velocity at once: \(v = 3t^2 - 12t + 9\). At \(t = 0.5\,\text{s}\) this is \(0.75 - 6 + 9 = 3.75\,\text{m/s}\), forward. The velocity is zero at \(t = 1\,\text{s}\) and \(t = 3\,\text{s}\), where the car stops and turns. No speedometer was needed, only the curve and one line of rules.

Exam traps
  1. Differentiating a constant term to 1.
    A constant has a flat graph, so its derivative is zero. In \(x = 7t + 3\), the 3 contributes nothing to the velocity.
  2. Raising the power instead of lowering it.
    The derivative of \(x^n\) is \(nx^{n-1}\). Raising the power belongs to integration.
  3. Writing the derivative of a product as the product of the derivatives.
    \(d(uv)/dx = u\,dv/dx + v\,du/dx\). Each factor is differentiated once while the other waits.

Where this tool works in the book

The physics that leans on this lesson. Each card opens the topic where the tool is at work.