Loading

Chapter 12

Limits and Derivatives

How fast is a falling stone moving at the exact moment it has fallen for 2 seconds? A speedometer answers at a glance, yet an instant has no time in it. This chapter builds the idea of a limit, first from tables of values and then with rules, and uses it to define the derivative: the rate of change at one instant and the slope of the tangent to a graph. It ends with the rules that differentiate polynomials, products, quotients and the trigonometric functions in a line.

  • The intuitive idea of a derivative: the velocity of a falling body at one instant, from averages over shorter and shorter times
  • Limits from tables of values, and the left hand and right hand limits of a function
  • When a limit fails to exist, and why the limit at a point can differ from the value there
  • The algebra of limits, and the limits of polynomials and rational functions, including the form 0/0
  • The standard limits of (xⁿ − aⁿ)/(x − a), sin x/x and (1 − cos x)/x, with the sandwich theorem
  • The derivative at a point and the derivative function from the first principle, as a rate and as the slope of a tangent
  • The sum, difference, product and quotient rules, and the power rule with two proofs
  • The derivatives of polynomials and of sin x, cos x, tan x, sec x, cosec x and cot x
  • Every exercise of the chapter solved in full, and a mixed practice set with dead ends
Class 11, MathematicsOpen the original PDF

StartBefore you start: twelve ideas you already know

This chapter is the start of calculus, the mathematics of change. It asks how fast something changes at one single moment. Most of the tools it needs are already yours, from Class 9, Class 10 and the earlier chapters of this book. Each one is refreshed below with a small example. Read them once now; they come back again and again.

1. Functions and their graphs (Chapter 2)

A function f gives each input x exactly one output, written f(x). Example: f(x) = x² gives f(3) = 9 and f(−3) = 9. The graph of f is the set of points (x, f(x)); for f(x) = x² it is a U-shaped curve with its lowest point at (0, 0).

2. Average speed (Class 9 Science)

Average speed = distance ÷ time. Example: a bus that covers 150 km in 3 hours has an average speed of 50 km/h. For a body moving along a straight line in one direction, its velocity is this speed with the direction attached; the book uses velocity for a body falling straight down.

3. The slope of a line (Chapter 9)

The slope of the line through (x₁, y₁) and (x₂, y₂) is (y₂ − y₁)/(x₂ − x₁): the rise divided by the run. Example: through (1, 1) and (2, 4) the slope is (4 − 1)/(2 − 1) = 3. A steeper line has a larger slope.

4. Factorising (Class 9, Chapter 4, and Class 10, Chapter 2)

x² − a² = (x − a)(x + a), and x³ − a³ = (x − a)(x² + ax + a²). A quadratic such as x² − 5x + 6 factorises as (x − 2)(x − 3). Example: x² − 4 = (x − 2)(x + 2). Factorising is the main tool for limits in this chapter.

5. Cancelling a common factor

A factor that appears on the top and the bottom of a fraction can be cancelled, but only where it is not zero. Example: (x² − 4)/(x − 2) = (x − 2)(x + 2)/(x − 2) = x + 2 for every x except 2. At x = 2 the fraction is 0/0, which has no value at all.

6. Radians (Chapter 3)

π radians = 180°, so π/2 radians = 90°. In a circle of radius 1, an angle of x radians at the centre cuts an arc exactly x units long. Example: 1 radian is about 57.3°. Every trigonometric limit in this chapter measures angles in radians.

7. Trigonometric values (Chapter 3)

sin 0 = 0, cos 0 = 1, sin(π/2) = 1 and cos(π/2) = 0. Also tan x = sin x/cos x, sec x = 1/cos x, cosec x = 1/sin x and cot x = cos x/sin x. Example: tan(π/4) = 1.

8. Trigonometric identities (Chapter 3)

sin²x + cos²x = 1; sin(A + B) = sin A cos B + cos A sin B; cos 2x = 1 − 2 sin²x; and sin A − sin B = 2 cos((A + B)/2) sin((A − B)/2). Example: putting 2A = x in cos 2A = 1 − 2 sin²A gives 1 − cos x = 2 sin²(x/2), which this chapter uses.

9. The binomial theorem (Chapter 7)

(x + h)ⁿ = xⁿ + n xⁿ⁻¹ h + (terms with h², h³, ..., hⁿ). Example: (x + h)³ = x³ + 3x²h + 3xh² + h³. This gives the derivative of xⁿ in section 12.5.

10. The laws of exponents (Class 10, Chapter 1)

xᵐ × xⁿ = xᵐ⁺ⁿ, x⁻ⁿ = 1/xⁿ, and √x is x to the power one half. Example: x⁻³ = 1/x³, and x⁵ × x⁻⁹ = x⁻⁴ = 1/x⁴. Many derivatives come out with negative powers, so this rule is used often.

11. Absolute value (Class 9, Chapter 1, and Chapter 2)

|x| = x when x ≥ 0, and |x| = −x when x < 0, so |x| is never negative. Example: |−3| = 3, and |x|/x = −1 for every negative x but +1 for every positive x.

12. Adding 1 + 2 + ... + n (Class 10, Chapter 5)

1 + 2 + 3 + ... + n = n(n + 1)/2. Example: 1 + 2 + ... + 50 = 50 × 51/2 = 1275. This sum appears when the derivative of 1 + x + x² + ... + x⁵⁰ is found at x = 1.

Words you will meet

WordMeaning
Calculusthe mathematics of change: limits, derivatives and integrals
Limitthe value a function approaches as x approaches a number
Left hand limit, right hand limitthe values approached from below and from above
Derivativethe rate of change of a function at a point: the slope of its tangent there
First principlefinding a derivative from its definition, as a limit
Product rule, quotient rulethe rules for differentiating products and fractions of functions

By the end of this chapter you will be able to

  • explain the idea of a derivative as the speed of a falling body at one instant, and as the slope of a tangent;
  • find limits from tables of values, and tell left hand and right hand limits apart;
  • use the algebra of limits to find limits of sums, differences, products and quotients;
  • find limits of polynomials and rational functions, cancelling the factor that causes 0/0;
  • use the limits of (xⁿ − aⁿ)/(x − a), sin x/x and (1 − cos x)/x, and the sandwich theorem;
  • find derivatives from the first principle, and with the sum, product and quotient rules;
  • differentiate polynomials, xⁿ, and sin x, cos x, tan x and their combinations.

12.1Introduction: the mathematics of change

A thought to begin with

The chapter opens with a line by the philosopher and mathematician A. N. Whitehead: "With the Calculus as a key, Mathematics can be successfully applied to the explanation of the course of Nature". Nature is full of change: a falling stone gains speed, a river rises in the rains, a planet moves along its orbit. Calculus is the tool that measures such change exactly, so it unlocks the explanation of how things move and grow.

Sir Isaac Newton (1642 to 1727), who shares the credit for inventing calculus with Leibnitz (the book's portrait; the book spells his name Issac).

What calculus studies

This chapter is an introduction to calculus. Calculus is the branch of mathematics that mainly studies the change in the value of a function as the points of its domain change. Example: as the time t changes from 1 second to 2 seconds, the distance a dropped stone has fallen changes from 4.9 m to 19.6 m. Calculus asks how fast that distance is changing at each moment.

The plan of the chapter

The book follows a clear path, and it helps to know it from the start.

  1. First, an intuitive idea of the derivative, the speed of change at one instant, without defining it yet (section 12.2).
  2. Then a simple, working definition of a limit, and the algebra of limits (sections 12.3 and 12.4).
  3. Then back to a proper definition of the derivative, and the algebra of derivatives (section 12.5).
  4. Finally, the derivatives of some standard functions: powers, polynomials and trigonometric functions.

A picture to keep

Look at a car's speedometer on the Mumbai to Pune expressway. It shows the speed at this very instant, say 80 km/h, not an average over the whole trip. Yet speed is distance divided by time, and an instant has no time in it. How can there be a speed at one instant? Answering that puzzle exactly is what limits and derivatives do.

Examples

Worked example 1

Direct: a train from Delhi travels 120 km in its first 2 hours. Find its average speed.

What we know: Average speed = distance ÷ time.

What we need: The average speed.

The plan: Divide.

  1. 120 ÷ 2 = 60.

60 km/h.

Check: An average hides the details: the train may have stopped at a signal and then run at 90 km/h. The average alone cannot tell us its speed at any one moment.

Worked example 2

Story: a phone's battery shows 80% at 9 a.m. and 50% at noon. At what average rate did it change?

What we know: The change is 50 − 80 = −30 percentage points in 3 hours.

What we need: The average rate of change.

The plan: Change ÷ time.

  1. −30 ÷ 3 = −10.

−10 percentage points an hour: the charge fell by 10 points each hour on average.

Check: A negative rate means the quantity is going down. Calculus measures rates of change of every kind: speeds, growth, charging and draining.

Worked example 3

Picture: on a graph of distance against time, a chord joins the points for t = 1 hour (30 km) and t = 3 hours (150 km). What does its slope tell us?

What we know: The slope of a chord is rise ÷ run.

What we need: The meaning and the value of the slope.

The plan: Rise is distance, run is time.

  1. Slope = (150 − 30)/(3 − 1) = 120/2 = 60.
  2. Distance ÷ time is the average speed over that interval.

The slope, 60, is the average speed in km/h between the first and the third hour.

Check: Section 12.2 shrinks such chords until they become a tangent: its slope will be the speed at a single instant.

Worked example 4

Reverse: a cyclist keeps an average speed of 15 km/h for 2.5 hours. How far does the cyclist ride?

What we know: Distance = average speed × time.

What we need: The distance.

The plan: Multiply.

  1. 15 × 2.5 = 37.5.

37.5 km.

Check: Going backwards from a rate to an amount is the other half of calculus, met in Class 12.

Worked example 5

Exam: a car covers 30 km in the half hour after 10 a.m., and 45 km in the three quarters of an hour after 10 a.m. Can we say how fast it was going at exactly 10 a.m.?

What we know: Both averages are over intervals that start at 10 a.m.

What we need: Whether the speed at 10 a.m. is known.

The plan: Compute both averages and compare.

  1. 30 ÷ (1/2) = 60 km/h, and 45 ÷ (3/4) = 60 km/h.
  2. Both intervals give 60 km/h, but each is still an average over a stretch of time.

Not exactly: we only know averages. Shorter and shorter intervals would close in on the speed at 10 a.m., and that closing-in is a limit.

Check: Section 12.2 does exactly this for a falling body, with intervals of a hundredth of a second.

Common mistake: an average is not a reading

An average speed over an hour says nothing certain about any single moment in that hour. A speed at one instant needs a new idea: the limit of averages over shorter and shorter times.

When you are stuck: rates of change

Change ÷ time gives an average rate over an interval.

A negative rate means the quantity is going down.

On a graph, the average rate is the slope of the chord between the two points.

Your turn

A tank holds 200 litres at 6 a.m. and 140 litres at 9 a.m. Find the average rate of change of the water in the tank.Tap to reveal
  1. Change: 140 − 200 = −60 litres.
  2. Rate: −60 ÷ 3 = −20 litres an hour.

−20 litres an hour: the tank loses 20 litres each hour on average.

Check: After 3 hours at that rate, 200 − 3 × 20 = 140 litres, as given.

In one line

Calculus studies how fast a function changes; averages over intervals lead, through limits, to the rate of change at a single instant.

12.2The intuitive idea of derivatives

Why we need it

A speedometer shows a speed at one instant, but speed is distance ÷ time, and an instant has no time in it. This section finds such a speed for a real motion, using only a table of distances and averages over shorter and shorter times. The number it closes in on is the first derivative of the chapter.

A body falls from a cliff

Experiments confirm that a body dropped from a tall cliff falls 4.9t² metres in t seconds. So the distance s, in metres, is a function of the time t, in seconds:

Read it as "s equals four point nine t squared". The table gives the distance fallen at various times. (The book's text calls it "Table 13.1", a number left over from an older edition; it is Table 12.1.)

Table 12.1 (from the book)

t (seconds)011.51.81.91.952
s (metres)04.911.02515.87617.68918.6322519.6
t (seconds)2.052.12.22.534
s (metres)20.5922521.60923.71630.62544.178.4

The goal is to find the velocity of the body at exactly t = 2 seconds from these numbers.

Average velocity over an interval

Average velocity

The average velocity between the times t₁ and t₂ is the distance travelled between them divided by the time taken, t₂ − t₁. Example: in the first two seconds the body falls 19.6 − 0 = 19.6 m, so its average velocity is 19.6 ÷ 2 = 9.8 m/s.

In the same way, between t = 1 and t = 2 it falls 19.6 − 4.9 = 14.7 m in 1 second, an average velocity of 14.7 m/s. Doing this for intervals that end at t = 2 and start closer and closer to it gives the next table. (The book's text calls it "Table 13.2"; it is Table 12.2.)

Table 12.2 (from the book): the average velocity v between t = t₁ and t = 2 seconds

t₁011.51.81.91.951.99
v (m/s)9.814.717.1518.6219.1119.35519.551

The averages grow as the interval shrinks: 9.8, 14.7, 17.15, and so on up to 19.551 for the last hundredth of a second. If nothing dramatic happens between 1.99 and 2 seconds, the velocity at t = 2 should be just above 19.551 m/s.

Checking from the other side

The book strengthens this with intervals that start at t = 2 and end later. For an end time t₂, the average velocity is (distance fallen by t₂ − 19.6) ÷ (t₂ − 2).

Table 12.3 (from the book): the average velocity v between t = 2 seconds and t = t₂

t₂432.52.22.12.052.01
v (m/s)29.424.522.0520.5820.0919.84519.649

Now the averages shrink as the interval shrinks: 29.4, 24.5, and so on down to 19.649. On physical grounds both lists must close in on one common value. So the velocity at t = 2 lies between 19.551 m/s and 19.649 m/s.

Instantaneous velocity and the derivative

The velocity at one instant is called the instantaneous velocity. It is the rate of change of the distance at that instant. Here, the instantaneous velocity at t = 2 is between 19.551 m/s and 19.649 m/s.

We say that the derivative of the distance function s = 4.9t² at t = 2 is between 19.551 and 19.649. Section 12.5 will find it exactly: 19.6.

The same idea on a graph

Fig 12.1 plots the distance s against the time t. Take the point A at t = 2 and nearby points B₁, B₂, B₃, ... on the curve, at times h₁, h₂, h₃, ... later. The ratio C₁B₁ ÷ AC₁ is the distance fallen in the time h₁ divided by h₁: an average velocity, and also the slope of the chord AB₁.

Book Figure 12.1: The distance s fallen against the time t for the body dropped from a cliff: as the time intervals h₁, h₂, ... shrink to zero, the ratios C₁B₁/AC₁, C₂B₂/AC₂, ... approach the slope of the tangent to the curve at A (the book labels this figure only with its number).

As the intervals h₁, h₂, ... shrink to zero, the chords AB₁, AB₂, ... turn towards one line: the tangent to the curve at A, the line that just touches the curve there. So the averages approach the slope of that tangent. In other words, the instantaneous velocity at t = 2 equals the slope of the tangent to the curve s = 4.9t² at t = 2.

tsA(2, 19.6)B(3, 44.1)chord: slope 24.5tangent: slope 19.6
The chord from A to B has slope 24.5 m/s, the average velocity between t = 2 and t = 3. The tangent at A has slope 19.6 m/s, the velocity at the instant t = 2.

Our drawing shows one chord and the tangent with numbers. The chord from A(2, 19.6) to B(3, 44.1) has slope (44.1 − 19.6)/1 = 24.5. The tangent at A is less steep, with slope 19.6. As B slides down towards A, the chord turns until it lies along the tangent.

Examples of every kind

Worked example 6

Direct: find the average velocity of the falling body between t = 1.5 s and t = 2 s.

What we know: s(1.5) = 11.025 m and s(2) = 19.6 m (Table 12.1).

What we need: The average velocity.

The plan: Distance fallen ÷ time taken.

  1. Distance: 19.6 − 11.025 = 8.575 m.
  2. Time: 2 − 1.5 = 0.5 s.
  3. 8.575 ÷ 0.5 = 17.15.

17.15 m/s.

Check: This is the third entry of Table 12.2.

Worked example 7

Story: a stone is dropped into a deep stepwell in Rajasthan and falls freely, so s = 4.9t². Find its average velocity during the third second, from t = 2 to t = 3.

What we know: s(2) = 19.6 m and s(3) = 44.1 m.

What we need: The average velocity over that second.

The plan: Distance fallen ÷ 1 second.

  1. 44.1 − 19.6 = 24.5 m in 1 s.

24.5 m/s.

Check: It is more than 19.6 m/s, the speed at t = 2, because the stone keeps speeding up during that second.

Worked example 8

Picture: in our drawing, find the slopes of the chord AB and of the tangent at A, and say what each means.

What we know: A is (2, 19.6) and B is (3, 44.1); the tangent at A is marked with slope 19.6.

What we need: Two slopes and their meanings.

The plan: Rise ÷ run for the chord.

  1. Chord AB: (44.1 − 19.6)/(3 − 2) = 24.5.
  2. Tangent at A: 19.6, as marked.

24.5 m/s is the average velocity from t = 2 to t = 3; 19.6 m/s is the velocity at the instant t = 2.

Check: 19.6 lies between 19.551 and 19.649, the bounds found from the tables.

Worked example 9

Reverse: an interval ends at t = 2 and the average velocity over it is 18.62 m/s. When does the interval start?

What we know: The average velocity from t₁ to 2 is 4.9(4 − t₁²)/(2 − t₁) = 4.9(2 + t₁).

What we need: t₁.

The plan: Solve 4.9(2 + t₁) = 18.62.

  1. 2 + t₁ = 18.62 ÷ 4.9 = 3.8.
  2. t₁ = 1.8.

The interval starts at t = 1.8 s.

Check: Table 12.2 lists 18.62 against t₁ = 1.8. The factorising step 4 − t₁² = (2 − t₁)(2 + t₁) is idea 4 of Before you start.

Worked example 10

Exam: show that the average velocity over the interval from t = 2 to t = 2 + h is 19.6 + 4.9h, and say what happens as h shrinks to 0.

What we know: s(2 + h) = 4.9(2 + h)² and s(2) = 19.6.

What we need: The average velocity, simplified, and its behaviour.

The plan: Expand, subtract, divide by h.

  1. s(2 + h) = 4.9(4 + 4h + h²) = 19.6 + 19.6h + 4.9h².
  2. Distance fallen: 19.6h + 4.9h².
  3. Average velocity: (19.6h + 4.9h²) ÷ h = 19.6 + 4.9h, for h ≠ 0.
  4. As h shrinks to 0, 4.9h shrinks to 0, and the average closes in on 19.6.

The average is 19.6 + 4.9h, and it approaches 19.6 m/s as h approaches 0.

Check: h = 0.01 gives 19.649, the last entry of Table 12.3. On the other side, the interval from 2 − h to 2 gives 19.6 − 4.9h; h = 0.01 gives 19.551, the last entry of Table 12.2.

Common mistake: dividing the total distance by the time

19.6 ÷ 2 = 9.8 m/s is the average velocity over the first two seconds, not the velocity at t = 2. The body starts from rest and speeds up, so it is moving much faster at t = 2 than its average so far.

When you are stuck: an average or an instantaneous velocity

Average velocity: distance fallen between two times ÷ the time between them.

Shrink the interval towards the instant from both sides and watch where the averages settle.

On a graph, an average is the slope of a chord; the instantaneous velocity is the slope of the tangent.

Your turn

Find the average velocity of the falling body between t = 3 and t = 4 seconds.Tap to reveal
  1. s(3) = 44.1 m and s(4) = 78.4 m.
  2. (78.4 − 44.1) ÷ 1 = 34.3.

34.3 m/s.

Check: It is larger than the 24.5 m/s of the third second: the body keeps gaining speed.

Using s = 4.9t², find the distance fallen in 5 seconds and the average velocity over those 5 seconds.Tap to reveal
  1. s(5) = 4.9 × 25 = 122.5 m.
  2. 122.5 ÷ 5 = 24.5 m/s.

122.5 m; 24.5 m/s on average.

Check: By the pattern of the exam example, the velocity at the instant t = 5 is 4.9 × 2 × 5 = 49 m/s, twice the average, as section 12.5 will confirm.

In one line

Averages over shorter and shorter intervals close in on the velocity at one instant: the derivative, which on a graph is the slope of the tangent.

12.3Limits

Why we need it

Section 12.2 closed in on 19.6 by looking at averages over shorter and shorter intervals. That closing-in needs a name and some rules, so that we can do it exactly instead of guessing from tables. The name is a limit. This section starts from simple examples and builds the idea one step at a time.

A first example: x² near 0

Take f(x) = x². When x takes values very close to 0, such as 0.1, 0.01 and 0.001, the values of f(x) are 0.01, 0.0001 and 0.000001: they move towards 0 too. Negative values such as −0.01 give the same squares. (The graph of y = x² in Chapter 2 shows this: the curve comes down to the point (0, 0).) We write

Read it as "the limit of f(x) as x tends to zero equals zero". The arrow → is read "tends to". Think of the limit of f(x) as x tends to 0 as the value f(x) should have at x = 0, judged from the values close by.

Limit (from the book)

In general, if f(x) approaches a number l as x approaches a, then l is called the limit of the function f(x) as x tends to a, and we write lim f(x) = l as x → a. Example: as x tends to 0, x² tends to 0, so the limit of x² at 0 is 0.

Writing a limit

Read it as "the limit of f of x, as x tends to a, is l".

It describes the values of f(x) for x near a, not the value at a itself.

A limit can exist where the function does not

Take g(x) = |x| with x ≠ 0, so that g(0) is not defined at all. For x very near 0 on either side, |x| is very near 0. (The graph of y = |x| in Chapter 2 is a V with its corner at the origin.) So the limit of g(x) as x tends to 0 is 0, even though g has no value at 0.

Now take h(x) = (x² − 4)/(x − 2), x ≠ 2. At x = 2 the fraction is 0/0, so h(2) is not defined. But for x near 2 the values are near 4:

x1.91.991.9992.0012.012.1
h(x)3.93.993.9994.0014.014.1

The graph of y = h(x) (Fig 12.2) supports this: it is the straight line y = x + 2 with one point missing, at (2, 4). The reason is idea 5 of Before you start: for x ≠ 2, h(x) = (x − 2)(x + 2)/(x − 2) = x + 2.

Book Figure 12.2: The graph of h(x) = (x² − 4)/(x − 2), x ≠ 2: for x near 2 its values are near 4 (the book labels this figure only with its number).

Left and right

In the examples so far, the value the function should take at x = a did not depend on how x approached a. But there are two ways to approach a number a: from the left, through values less than a, or from the right, through values greater than a. This leads to two limits.

Left hand limit and right hand limit (from the book)

The right hand limit of f(x) at a is the value dictated by the values of f(x) as x tends to a from the right. It is written with x → a⁺, read "x tends to a from the right" (or "a plus").

The left hand limit is the same from the left, written with x → a⁻, read "x tends to a from the left" (or "a minus").

Example: for f(x) = x + 2, both are 3 at a = 1.

To see the difference, take the function

Read it as "f of x is 1 when x is at most 0, and 2 when x is greater than 0". Its graph is Fig 12.3: a step that jumps at 0.

Book Figure 12.3: The graph of f(x) = 1 for x ≤ 0 and f(x) = 2 for x > 0: the left hand limit at 0 is 1 and the right hand limit is 2 (the book labels this figure only with its number).

The values of f(x) with x ≤ 0 are all 1, so the left hand limit of f at 0 is 1. The values with x > 0 are all 2, so the right hand limit at 0 is 2. The two one-sided limits are different, so we say that the limit of f(x) as x tends to 0 does not exist, even though the function is defined at 0 (f(0) = 1).

Summary (from the book)

The limit of f(x) as x → a⁻ is the expected value of f at x = a, given the values of f near a to the left of a. It is the left hand limit of f at a.

The limit of f(x) as x → a⁺ is the expected value of f at x = a, given the values of f near a to the right of a. It is the right hand limit of f at a.

If the right and left hand limits coincide, that common value is the limit of f(x) at x = a.

When a limit exists

Read it as "the limit is l exactly when the left hand limit and the right hand limit are both l".

If the two one-sided limits differ, or either one fails to exist, the limit does not exist.

Examples of every kind

Worked example 11

Direct: use a table to find the limit of 2x + 1 as x tends to 3.

What we know: We look at values of x close to 3 on both sides.

What we need: The limit.

The plan: Tabulate, then read where the values settle.

  1. x = 2.9, 2.99, 3.01 and 3.1 give 6.8, 6.98, 7.02 and 7.2.
  2. From the left the values rise towards 7; from the right they fall towards 7.

The limit is 7.

Check: Both one-sided limits are 7, so the limit exists. It also equals the value 2 × 3 + 1 = 7, as it will for every straight line.

Worked example 12

Story: a mall in Bengaluru charges ₹20 for parking up to 1 hour, and ₹40 for more than 1 hour, up to 2 hours. Let C(t) be the charge for t hours. Find the left and right hand limits of C at t = 1. Does the limit exist?

What we know: C(t) = 20 for 0 < t ≤ 1 and C(t) = 40 for 1 < t ≤ 2.

What we need: The one-sided limits at 1.

The plan: Look at times just under and just over 1 hour.

  1. Just under 1 hour, such as 0.99 hours, the charge is ₹20: the left hand limit is 20.
  2. Just over 1 hour, such as 1.01 hours, the charge is ₹40: the right hand limit is 40.

Left hand limit 20, right hand limit 40: the limit at t = 1 does not exist.

Check: The jump in the price is exactly the gap between the two one-sided limits, as in Fig 12.3.

Worked example 13

Picture: in Fig 12.3, read the left and right hand limits at 0 and the value f(0).

What we know: The graph is 1 for x ≤ 0 and 2 for x > 0.

What we need: Three numbers.

The plan: Read each piece of the graph near 0.

  1. The left piece is at height 1: left hand limit 1.
  2. The right piece is at height 2: right hand limit 2.
  3. f(0) is on the left piece, since 0 ≤ 0: f(0) = 1.

Left hand limit 1, right hand limit 2, f(0) = 1; the limit does not exist.

Check: f(0) agrees with the left hand limit only; a value at a point never decides the limit by itself.

Worked example 14

Reverse: f(x) = 3 for x < 2 and f(x) = kx for x ≥ 2. Find k so that the limit of f(x) as x → 2 exists.

What we know: The left hand limit at 2 is 3; the right hand limit is k × 2 = 2k.

What we need: k.

The plan: Make the two one-sided limits equal.

  1. 2k = 3, so k = 3/2.

k = 3/2, and then the limit is 3.

Check: With k = 3/2, values just right of 2 are about (3/2) × 2.01 = 3.015, close to 3.

Worked example 15

Exam: f(x) = x + 1 for x < 1 and f(x) = 3 − x for x > 1. Find the left and right hand limits at 1. Does the limit exist?

What we know: The left piece is x + 1; the right piece is 3 − x.

What we need: Both one-sided limits.

The plan: Tabulate each piece near 1.

  1. Left: x = 0.9 and 0.99 give 1.9 and 1.99, closing in on 2.
  2. Right: x = 1.1 and 1.01 give 1.9 and 1.99, closing in on 2.

Both one-sided limits are 2, so the limit at 1 is 2, even though f(1) is not defined.

Check: The two pieces meet at the point (1, 2), with a hole there: the graph has no break apart from that missing point.

A path that fails: putting x = 1 into one formula only, and stopping. Each side must use its own piece.

Common mistakes with limits

Thinking that the limit at a is the same as the value f(a): the limit looks at nearby values, and f(a) may be different, or not defined at all.

Checking only one side: a limit needs both one-sided limits, and they must agree.

When you are stuck: a limit from a table

Tabulate f(x) at a − 0.1, a − 0.01, a − 0.001 and at a + 0.001, a + 0.01, a + 0.1.

Read each side: where do the values settle as x gets closer?

Compare the sides: equal means the limit exists; different means it does not.

For a piecewise function, use each piece only on its own side.

Your turn

Find the left and right hand limits at 2 of f(x) = 5 − x for x < 2 and f(x) = x² for x > 2. Does the limit exist?Tap to reveal
  1. Left: x = 1.9, 1.99 give 3.1, 3.01, closing in on 3.
  2. Right: x = 2.1, 2.01 give 4.41, 4.0401, closing in on 4.

Left hand limit 3, right hand limit 4: the limit does not exist.

Check: 5 − 2 = 3 and 2² = 4: the two pieces miss each other at x = 2.

In one line

The limit of f(x) as x tends to a is the value f(x) closes in on from both sides; if the left hand and right hand limits differ, the limit does not exist.

12.3Limits from tables: Illustrations 1 to 5

Why we need it

Before any rules, the book builds a feel for limits with ten worked illustrations. Each makes a table of values on both sides of a point and reads where they settle. This section covers the first five, and they all share a pattern worth noticing.

Illustration 1 (from the book)

Find the limit of f(x) = x + 10 at x = 5.

x4.94.954.994.9955.0015.015.1
f(x)14.914.9514.9914.99515.00115.0115.1

What we know: Points near 5 on the left are 4.9, 4.95, 4.99, 4.995; on the right, 5.001, 5.01, 5.1.

What we need: The left hand limit, the right hand limit and the limit at 5.

The plan: Tabulate f(x) at those points (Table 12.4) and read where the values settle.

  1. From the left, the values 14.9, 14.95, 14.99, 14.995 climb towards 15: the left hand limit is 15.
  2. From the right, 15.1, 15.01, 15.001 come down towards 15: the right hand limit is 15.
  3. So the value at 5 should be more than 14.995 and less than 15.001, if nothing dramatic happens in between.

Both one-sided limits are 15, so the limit of x + 10 as x → 5 is 15.

Check: The graph of f(x) = x + 10 (in Chapter 2) approaches the point (5, 15) from both sides. Notice that f(5) = 15 as well.

Illustration 2 (from the book)

Find the limit of f(x) = x³ at x = 1.

x0.90.990.9991.0011.011.1
f(x)0.7290.9702990.9970029991.0030030011.0303011.331

What we know: Points near 1 on both sides.

What we need: The limit at 1.

The plan: Tabulate (Table 12.5).

  1. From the left, 0.729, 0.970299, 0.997002999 climb towards 1.
  2. From the right, 1.331, 1.030301, 1.003003001 come down towards 1.

Both one-sided limits are 1, so the limit of x³ as x → 1 is 1.

Check: The graph of y = x³ (in Chapter 2) approaches (1, 1) from both sides, and again f(1) = 1.

Illustration 3 (from the book)

Find the limit of f(x) = 3x at x = 2.

x1.91.951.991.9992.0012.012.1
f(x)5.75.855.975.9976.0036.036.3

What we know: Points near 2 on both sides.

What we need: The limit at 2.

The plan: Tabulate (Table 12.6).

  1. From the left the values approach 6; from the right they approach 6.

The left hand limit, the right hand limit and the limit at 2 are all 6.

Check: The graph in Fig 12.4 strengthens this, and once more the value f(2) = 6 equals the limit.

Book Figure 12.4: The graph of f(x) = 3x: as x approaches 2 from either side, f(x) approaches 6 (the book labels this figure only with its number).

Illustration 4 (from the book)

Find the limit of the constant function f(x) = 3 at x = 2.

What we know: A constant function takes the same value, 3, everywhere.

What we need: The limit at 2.

The plan: Look at the values near 2.

  1. At every point close to 2, on either side, the value is 3.
  2. So both one-sided limits are 3.

The limit is 3. In fact, the limit of the constant function 3 is 3 at every real number a.

Check: The graph of f(x) = 3 is the line parallel to the x-axis through (0, 3), drawn in Chapter 2: it stays at height 3 everywhere.

Illustration 5 (from the book)

Find the limit of f(x) = x² + x as x → 1.

x0.90.990.9991.011.11.2
f(x)1.711.97011.9970012.03012.312.64

What we know: Points near 1 on both sides.

What we need: The limit at 1.

The plan: Tabulate (Table 12.7).

  1. From the left the values approach 2; from the right they approach 2.

The limit of x² + x as x → 1 is 2.

Check: Fig 12.5 shows the graph approaching (1, 2) as x approaches 1, and once more the limit equals f(1) = 1 + 1 = 2.

Book Figure 12.5: The graph of f(x) = x² + x: as x approaches 1, the graph approaches the point (1, 2) (the book labels this figure only with its number).

Three facts, and what they hint at

The book now asks us to convince ourselves of three facts, each easy from a table:

Put them together with Illustration 5. The limit of x² plus the limit of x is 1 + 1 = 2, which is exactly the limit of x² + x. Also, the limit of x times the limit of (x + 1) is 1 × 2 = 2, which is the limit of x(x + 1) = x² + x. So limits seem to respect adding and multiplying. Section 12.3.1 states this as a theorem.

The pattern so far

In all five illustrations the limit at the point equals the value of the function there: lim f(x) = f(a). That is true for every polynomial, as section 12.3.2 proves. It is not true for every function: Illustration 10 in the next section breaks the pattern.

More examples, of every kind

Worked example 16

Direct: use a table to find the limit of x² − 3x as x → 4.

What we know: Points near 4 on both sides.

What we need: The limit.

The plan: Tabulate and read.

  1. x = 3.9 and 3.99 give 3.51 and 3.9501.
  2. x = 4.1 and 4.01 give 4.51 and 4.0501.
  3. Both sides close in on 4.

The limit is 4.

Check: f(4) = 16 − 12 = 4: once more the limit equals the value, as for every polynomial.

Worked example 17

Story: a taxi in Kolkata charges ₹30 to start and ₹15 for each kilometre, so the fare for d km is f(d) = 30 + 15d. What does the fare approach as the distance approaches 4 km?

What we know: f(d) = 30 + 15d.

What we need: The limit as d → 4.

The plan: Tabulate near 4.

  1. d = 3.9, 3.99 and 4.01 give ₹88.50, ₹89.85 and ₹90.15.
  2. The fares close in on ₹90 from both sides.

The fare approaches ₹90.

Check: 30 + 15 × 4 = 90, the fare for exactly 4 km.

Worked example 18

Picture: in Fig 12.5, as x approaches 1 from either side, which point does the graph approach, and what does that say about the limit?

What we know: Fig 12.5 is the graph of f(x) = x² + x.

What we need: The point and the limit.

The plan: Read the graph near x = 1.

  1. The graph closes in on the point (1, 2) from both sides.

The point (1, 2): the limit of x² + x at 1 is 2, its height there.

Check: Table 12.7 agrees: 1.997001 from the left and 2.0301 from the right.

Worked example 19

Reverse: the limit of kx + 1 as x → 2 is 7. Find k.

What we know: For this straight line the limit at 2 is its value there, 2k + 1.

What we need: k.

The plan: Solve 2k + 1 = 7.

  1. 2k = 6, so k = 3.

k = 3.

Check: With k = 3: x = 1.99 gives 6.97, close to 7.

Worked example 20

Exam: check that the limit of x² + 3x as x → 2 equals the limit of x² plus the limit of 3x.

What we know: The limit of x² at 2 is 4, and the limit of 3x is 6 (Illustration 3).

What we need: The limit of the sum, and a comparison.

The plan: Find the limit of x² + 3x from its value; compare.

  1. The limit of x² + 3x at 2 is 4 + 6 = 10 (its value there, as for every polynomial).
  2. The limit of x² plus the limit of 3x is also 4 + 6 = 10.

Both are 10: the limit of the sum is the sum of the limits.

Check: This is Theorem 1 (i) of section 12.3.1, met here in one case.

Common mistake: trusting one side

A table with values on one side only can hide a jump. Always take points on both sides of a, as every illustration does.

When you are stuck: a limit from a table

Choose points closer and closer to a, on both sides: a − 0.1, a − 0.01, ... and a + 0.01, a + 0.1, ...

Watch the digits that stop changing: they show the limit.

Check the value f(a) at the end: for polynomials it equals the limit.

Your turn

Find the limit of (x + 1)(x − 1) as x → 3, from a table.Tap to reveal
  1. x = 2.9 gives 3.9 × 1.9 = 7.41; x = 3.1 gives 4.1 × 2.1 = 8.61.
  2. Closer points close in on 8 from both sides.

The limit is 8.

Check: (3 + 1)(3 − 1) = 8, the value at 3.

In one line

In Illustrations 1 to 5 the tables close in on the same number from both sides, and that limit equals the function's value: the pattern of every polynomial.

12.3Limits from tables: Illustrations 6 to 10

Why we need it

The first five illustrations all behaved well: the limit equalled the value. The next five show what else can happen. A trigonometric function behaves well too; then a function grows without any bound; then the two sides disagree; and finally the limit and the value at the point are different numbers.

Illustration 6 (from the book)

Find the limit of f(x) = sin x as x → π/2, with the angle measured in radians.

xπ/2 − 0.1π/2 − 0.01π/2 + 0.01π/2 + 0.1
f(x)0.99500.99990.99990.9950

What we know: Points near π/2 on both sides: π/2 − 0.1, π/2 − 0.01, π/2 + 0.01, π/2 + 0.1.

What we need: The limit.

The plan: Tabulate the approximate values (Table 12.8).

  1. From both sides the values close in on 1.
  2. So the left hand limit, the right hand limit and the limit at π/2 are all 1.

The limit of sin x as x → π/2 is 1.

Check: The graph of sin x (in Chapter 3) peaks at height 1 at π/2, and sin(π/2) = 1: the limit equals the value. One small point: sin(π/2 ± 0.01) = cos 0.01 = 0.99995..., which rounds to 1.0000; the book cuts it to 0.9999.

Illustration 7 (from the book)

Find the limit of f(x) = x + cos x as x → 0.

x−0.1−0.01−0.0010.0010.010.1
f(x)0.89500.989950.99899951.00099951.009951.0950

What we know: Points near 0 on both sides.

What we need: The limit.

The plan: Tabulate the approximate values (Table 12.9).

  1. From the left the values rise towards 1; from the right they fall towards 1.

The limit of x + cos x as x → 0 is 1, which is also f(0) = 0 + cos 0 = 1.

Check: The book asks whether the limit of x + cos x equals the limit of x plus the limit of cos x. It does: 0 + 1 = 1. Two book slips here: its text calls this "Table 13.9", and its table prints 0.9850 for x = −0.1, where −0.1 + cos 0.1 = 0.8950 (two digits swapped); our table shows the correct value.

Illustration 8 (from the book)

Find the limit of f(x) = 1/x² as x → 0, where the domain is all positive real numbers (x > 0).

x10.10.0110⁻ⁿ
f(x)110010,00010²ⁿ

What we know: Only positive x are allowed, so x can approach 0 only from the right.

What we need: What happens to f(x).

The plan: Tabulate f(x) for positive x close to 0 (Table 12.10; n stands for any positive integer).

  1. As x shrinks towards 0, f(x) grows: 1, 100, 10,000, and 10²ⁿ when x = 10⁻ⁿ.
  2. f(x) can be made larger than any number we choose, by taking x close enough to 0.

f(x) grows without bound; we write that the limit is +∞ (read "plus infinity").

Check: +∞ is not a number: it says the values keep growing. The book adds that we will not meet such limits in this course.

Illustration 9 (from the book)

Find the limit as x → 0 of f(x) = x − 2 for x < 0, f(0) = 0, and f(x) = x + 2 for x > 0.

x−0.1−0.01−0.0010.0010.010.1
f(x)−2.1−2.01−2.0012.0012.012.1

What we know: For negative x we use x − 2; for positive x we use x + 2.

What we need: Both one-sided limits, and the limit.

The plan: Tabulate (Table 12.11).

  1. The first three entries, −2.1, −2.01, −2.001, close in on −2: the left hand limit is −2.
  2. The last three, 2.1, 2.01, 2.001 read backwards, close in on 2: the right hand limit is 2.
  3. The two one-sided limits do not agree.

Left hand limit −2, right hand limit 2: the limit at 0 does not exist, even though f(0) = 0 is defined.

Check: Fig 12.6 shows the jump. The book words it as the values "decreasing to −2" and "increasing from 2"; read with x moving towards 0, the values rise to −2 from the left and fall to 2 from the right.

Book Figure 12.6: Illustration 9: f(x) = x − 2 for x < 0, f(0) = 0 and f(x) = x + 2 for x > 0; the left and right hand limits at 0 are −2 and 2 (the book labels this figure only with its number).

Illustration 10 (from the book)

Find the limit as x → 1 of f(x) = x + 2 for x ≠ 1, with f(1) = 0.

x0.90.990.9991.0011.011.1
f(x)2.92.992.9993.0013.013.1

What we know: Near 1, but not at 1, f(x) = x + 2.

What we need: The limit at 1.

The plan: Tabulate (Table 12.12).

  1. From the left the values close in on 3; from the right they close in on 3.
  2. The left and right hand limits agree.

The limit at 1 is 3, while the value f(1) is 0.

Check: Fig 12.7 shows the line y = x + 2 with its point at x = 1 moved down to (1, 0). The lesson: at a point, the value of a function and its limit can be different, even when both are defined.

Book Figure 12.7: Illustration 10: f(x) = x + 2 for x ≠ 1 and f(1) = 0; the limit at 1 is 3, while the value there is 0 (the book labels this figure only with its number).
IllustrationLimit at the pointValue at the pointWhat it shows
6: sin x at π/211trigonometric functions can behave well
7: x + cos x at 011limits respect sums
8: 1/x² at 0 (x > 0)grows without boundnot defineda limit can fail to be a number
9: jump at 0does not exist (−2 and 2)0the two sides can disagree
10: x + 2, with f(1) = 030the limit and the value can differ

More examples, of every kind

Worked example 21

Direct: use a table to find the limit of sin x as x → π.

What we know: Points near π on both sides, in radians.

What we need: The limit.

The plan: Tabulate and read.

  1. x = π − 0.1 and π − 0.01 give about 0.0998 and 0.0100.
  2. x = π + 0.01 and π + 0.1 give about −0.0100 and −0.0998.
  3. Both sides close in on 0.

The limit is 0, which is sin π.

Check: The values are positive just before π and negative just after it, as the sine graph crosses the axis there.

Worked example 22

Story: a force of 2 newtons pushes a pin into a board. The pressure under the point is P = 2/x newtons per cm², where x is the area of the point in cm². What happens to P as x → 0⁺?

What we know: P = 2/x for x > 0.

What we need: The behaviour of P.

The plan: Tabulate for small areas.

  1. x = 0.1, 0.01 and 0.001 cm² give P = 20, 200 and 2000.
  2. P can be made larger than any number by making the point sharp enough.

P grows without bound, like Illustration 8.

Check: This is why a sharp needle goes in so easily: a tiny area turns a small force into a huge pressure.

Worked example 23

Picture: in Fig 12.6, read the left and right hand limits at 0 and the value f(0).

What we know: Fig 12.6 shows Illustration 9's function.

What we need: Three numbers.

The plan: Read each piece near 0.

  1. The left piece ends near the height −2.
  2. The right piece starts near the height 2.
  3. The single point at x = 0 sits at height 0.

Left hand limit −2, right hand limit 2, f(0) = 0: no limit at 0.

Check: The value 0 lies between the two one-sided limits, but that does not help: a limit needs the two sides to agree.

Worked example 24

Reverse: f(x) = x + 2 for x ≠ 1, and f(1) = k. For which k does the limit of f at 1 equal f(1)?

What we know: Illustration 10 found the limit at 1 to be 3 whatever f(1) is.

What we need: k.

The plan: Set f(1) equal to the limit.

  1. The limit is 3, so we need k = 3.

k = 3; then the graph has no break at x = 1.

Check: With k = 0 (the book's choice) the value and the limit differ; with k = 3 they agree.

Worked example 25

Exam: f(x) = (x² − 9)/(x − 3) for x ≠ 3, and f(3) = 5. Find the limit of f at 3 and compare it with f(3).

What we know: For x ≠ 3, (x² − 9)/(x − 3) = (x − 3)(x + 3)/(x − 3) = x + 3.

What we need: The limit, and a comparison.

The plan: Use the simplified form near 3.

  1. Near 3, f(x) = x + 3, which closes in on 6.
  2. A table agrees: x = 2.99 gives 5.99 and x = 3.01 gives 6.01.

The limit is 6, but f(3) = 5: the limit and the value differ.

Check: This is Illustration 10's lesson again, with other numbers.

A path that fails: putting x = 3 into the fraction. It gives 0/0, which says nothing; the factor x − 3 must be cancelled first, which is allowed because x ≠ 3 near the point.

Common mistakes

Reading the limit off f(a): Illustration 10 has limit 3 and value 0.

Writing +∞ as if it were a number to add or multiply: it only says that the values grow without bound.

When you are stuck: an unusual limit

Values growing without bound: the limit is not a number (+∞ or −∞).

A piecewise function: use each piece on its own side, then compare the sides.

A single odd value at a: ignore it; the limit depends only on the values near a.

0/0 on putting x = a: cancel the common factor, then look again.

Your turn

f(x) = x² for x ≠ 2, and f(2) = 1. Find the limit of f at 2 and compare it with f(2).Tap to reveal
  1. Near 2 (but not at 2), f(x) = x², which closes in on 4: x = 1.9 gives 3.61, x = 2.1 gives 4.41.
  2. The value at 2 is 1.

The limit is 4, while f(2) = 1.

Check: The single point (2, 1) does not change the limit, which only looks at nearby values.

In one line

A limit can equal the value, can grow without bound, can fail because the sides disagree, or can differ from the value at the point: always look at the nearby values on both sides.

12.3.1The algebra of limits

Why we need it

Tables are slow, and they only suggest a limit. The illustrations hinted at something better: the limit of x² + x was the limit of x² plus the limit of x. If limits always respect adding, subtracting, multiplying and dividing, we can find most limits with algebra instead of tables. This is not a coincidence, and the book states it as a theorem.

Theorem 1 (from the book)

Let f and g be two functions such that both the limit of f(x) and the limit of g(x) as x → a exist. Then:

(i) The limit of a sum is the sum of the limits. (ii) The limit of a difference is the difference of the limits. (iii) The limit of a product is the product of the limits. (iv) The limit of a quotient is the quotient of the limits, whenever the limit of the denominator is not zero.

Example: the limit of x² + x as x → 1 is 1 + 1 = 2, by (i).

The limit of a sum and of a difference

Read it as "the limit of f plus (or minus) g is the limit of f plus (or minus) the limit of g".

Example: the limit of x + cos x as x → 0 is 0 + 1 = 1.

The limit of a product

Read it as "the limit of f times g is the limit of f times the limit of g".

Example: the limit of x(x + 1) as x → 1 is 1 × 2 = 2.

The limit of a quotient

Read it as "the limit of f over g is the limit of f over the limit of g, provided the bottom limit is not zero".

Example: the limit of (x² + 1)/(x + 100) as x → 1 is 2/101.

Why the rules are believable

The book states the theorem without proof, and the proof belongs to higher classes. But here is the idea behind it. Suppose f(x) is very close to l and g(x) is very close to m whenever x is close to a. Then f(x) + g(x) is very close to l + m: two small errors added make a small error. In the same way f(x) g(x) is close to l m, and f(x)/g(x) is close to l/m, as long as m is not 0 (a number close to 0 on the bottom can make a fraction huge).

Note (from the book)

A special case of (iii): when g is the constant function g(x) = λ (read "lambda", a fixed real number), the limit of λ f(x) as x → a is λ times the limit of f(x). A constant factor comes out of a limit. Example: the limit of 5x² as x → 2 is 5 × 4 = 20.

When the rules may not be used

Each rule needs both limits to exist, and the quotient rule also needs the bottom limit to be non-zero. Example: the limit of (x² − 4)/(x − 2) as x → 2 has a bottom limit of 0, so rule (iv) cannot be used as it stands. We must cancel the factor x − 2 first, as section 12.3.2 shows; the answer is then 4.

Examples of every kind

Worked example 26

Direct: find the limit of x² + 3x as x → 2 using the rules.

What we know: The limit of x as x → 2 is 2.

What we need: The limit.

The plan: x² = x × x, so rule (iii) gives the limit of x²; rule (i) adds the parts.

  1. Limit of x²: 2 × 2 = 4, by (iii).
  2. Limit of 3x: 3 × 2 = 6, by the Note.
  3. Limit of the sum: 4 + 6 = 10, by (i).

10.

Check: A table agrees: x = 1.99 gives 3.9601 + 5.97 = 9.9301, close to 10.

Worked example 27

Story: a trip from Pune costs ₹105 for each litre of petrol plus a ₹50 toll, so C(x) = 105x + 50 for x litres. What does C(x) approach as x → 20?

What we know: The limit of x as x → 20 is 20, and the limit of the constant 50 is 50.

What we need: The limit of C.

The plan: Use the Note and rule (i).

  1. Limit of 105x: 105 × 20 = 2100.
  2. Limit of C(x): 2100 + 50 = 2150.

₹2150.

Check: That is also the cost for exactly 20 litres: C(20) = 2150.

Worked example 28

Picture: in Fig 12.5 the graph of x² + x approaches (1, 2). Split the height 2 into the parts that the two terms contribute.

What we know: As x → 1, x² → 1 and x → 1.

What we need: The two parts.

The plan: Rule (i).

  1. The term x² brings 1 and the term x brings 1.
  2. 1 + 1 = 2, the height the graph approaches.

1 from x² and 1 from x, together 2.

Check: Each part is itself a limit that exists, so rule (i) applies.

Worked example 29

Reverse: as x → a, the limit of f(x) is 3 and the limit of f(x) + g(x) is 10. Find the limit of g(x), if it exists.

What we know: g(x) = [f(x) + g(x)] − f(x), and both of those limits exist.

What we need: The limit of g(x).

The plan: Rule (ii) on that difference.

  1. Limit of g(x) = 10 − 3 = 7.

7.

Check: Then rule (i) gives 3 + 7 = 10, as stated.

Worked example 30

Exam: as x → a, the limit of f(x) is 4 and the limit of g(x) is −2. Find the limit of [3f(x) − f(x) g(x)] ÷ [g(x) + 5].

What we know: Both limits exist, and the bottom limit is −2 + 5 = 3, not zero.

What we need: The limit.

The plan: Rules (i) to (iv), step by step.

  1. Top: 3 × 4 − 4 × (−2) = 12 + 8 = 20.
  2. Bottom: −2 + 5 = 3.
  3. Quotient: 20/3.

20/3.

Check: The quotient rule is allowed because the bottom limit, 3, is not zero.

A path that fails: using the rules when the bottom limit is 0. Then the quotient rule says nothing, and the expression must be rewritten first.

Common mistakes

Using the quotient rule when the limit of the bottom is 0.

Using the rules on pieces whose limits do not exist: a sum can have a limit even when its two parts do not, so the rules only work one way.

When you are stuck: a limit built from simpler ones

Split it into sums, differences, products and quotients of simpler functions.

Find each simple limit: x → a, a constant → itself.

Check the bottom before dividing: its limit must not be 0.

Constants come out: the limit of λf is λ times the limit of f.

Your turn

As x → 3, the limit of f(x) is 2. Find the limit of 3f(x)/(f(x) + 1) and the limit of 5x − 2f(x).Tap to reveal
  1. 3 × 2 ÷ (2 + 1) = 6/3 = 2.
  2. 5 × 3 − 2 × 2 = 15 − 4 = 11.

2 and 11.

Check: The bottom limit 2 + 1 = 3 is not zero, so the quotient rule applies.

Find the limit of (x² + 1)/(x − 1) as x → 3, giving the rule used at each step.Tap to reveal
  1. Top: 3 × 3 + 1 = 10, by (iii) and (i).
  2. Bottom: 3 − 1 = 2, by (ii); it is not zero.
  3. Quotient: 10/2 = 5, by (iv).

5.

Check: A table agrees: x = 3.01 gives 10.0601/2.01, about 5.005.

In one line

Limits respect sums, differences, products and quotients (with a non-zero bottom), and constants come out: so most limits can be found by algebra.

12.3.2Limits of polynomials and rational functions

Why we need it

Section 12.3.1 gave rules for sums, products and quotients. Polynomials are built from x and numbers by exactly those operations, and rational functions are quotients of polynomials. So the rules settle their limits almost completely. The only hard case is a fraction that becomes 0/0, and that is the case that leads to derivatives.

Polynomials

Polynomial function (from the book)

A function f is a polynomial function of degree n if f(x) = a₀ + a₁x + a₂x² + ... + aₙxⁿ, where the aᵢ are real numbers and aₙ ≠ 0, for some natural number n. Example: f(x) = x³ − x² + 1 is a polynomial of degree 3.

We know that the limit of x as x → a is a. By the product rule, the limit of x² = x × x is a × a = a². Repeating the same step, one more factor of x each time, gives the limit of xⁿ as aⁿ; the book calls this an easy exercise in induction on n.

Now take a polynomial f(x) = a₀ + a₁x + a₂x² + ... + aₙxⁿ, and think of each term as a function. The book asks us to make sure we understand the reason for each step:

  1. The limit of the sum is the sum of the limits of the terms (rule (i)).
  2. Each term aᵢxⁱ is a constant times xⁱ, so its limit is aᵢ times the limit of xⁱ (the Note).
  3. The limit of xⁱ is aⁱ (the line above).
  4. Adding up: a₀ + a₁a + a₂a² + ... + aₙaⁿ, which is f(a).
The limit of a polynomial

Read it as "for a polynomial, the limit at a is just the value at a".

Example: the limit of x³ − x² + 1 as x → 1 is 1 − 1 + 1 = 1.

Rational functions

Rational function (from the book)

A function f is a rational function if f(x) = g(x)/h(x), where g(x) and h(x) are polynomials and h(x) ≠ 0. Example: (x² + 1)/(x + 100) is a rational function.

If h(a) ≠ 0, the quotient rule applies, and the limit is g(a)/h(a): put x = a in the top and the bottom. The trouble comes when h(a) = 0. Then there are two cases.

  1. g(a) ≠ 0. The top settles near a non-zero number while the bottom shrinks to 0, so the fraction grows without bound. The limit does not exist.
  2. g(a) = 0. Both the top and the bottom vanish: the form 0/0. Then x − a is a factor of both (by the factor theorem). Write g(x) = (x − a)ᵏ g₁(x) and h(x) = (x − a)ˡ h₁(x), where k and l are the largest powers of (x − a) in g and h, so g₁(a) ≠ 0 and h₁(a) ≠ 0. Cancel the common powers, which is allowed because x ≠ a.
Case (top power k, bottom power l)After cancellingThe limit as x → a
k > l(x − a)ᵏ⁻ˡ g₁(x)/h₁(x)0, since (x − a)ᵏ⁻ˡ → 0
k = lg₁(x)/h₁(x)g₁(a)/h₁(a)
k < lg₁(x)/[(x − a)ˡ⁻ᵏ h₁(x)]not defined: the bottom still → 0

The book treats the cases k > l and k < l and leaves out k = l. But k = l is the most common case of all: (x² − 4)/(x − 2) has k = l = 1, and its limit at 2 is g₁(2)/h₁(2) = (2 + 2)/1 = 4.

The rule in one sentence

If x = a gives 0/0, find the factor x − a that causes it, cancel it from the top and the bottom, and try x = a again.

The book's examples

Example 1 (from the book)

Find the limits: (i) lim [x³ − x² + 1] as x → 1; (ii) lim [x(x + 1)] as x → 3; (iii) lim [1 + x + x² + ... + x¹⁰] as x → −1.

What we know: All three are polynomial functions.

What we need: Three limits.

The plan: For a polynomial, the limit is the value at the point.

  1. (i) 1³ − 1² + 1 = 1.
  2. (ii) 3(3 + 1) = 3 × 4 = 12.
  3. (iii) 1 + (−1) + (−1)² + ... + (−1)¹⁰ = 1 − 1 + 1 − ... + 1. The eleven terms pair off as (1 − 1) five times, leaving the last 1.

(i) 1; (ii) 12; (iii) 1.

Check: In (iii) the even powers of −1 give +1 and the odd powers give −1; there are six even powers (0, 2, ..., 10) and five odd ones, so the sum is 6 − 5 = 1.

Example 2 (from the book)

Find the limits. (i) (x² + 1)/(x + 100) as x → 1. (ii) (x³ − 4x² + 4x)/(x² − 4) as x → 2. (iii) (x² − 4)/(x³ − 4x² + 4x) as x → 2. (iv) (x³ − 2x²)/(x² − 5x + 6) as x → 2. (v) [(x − 2)/(x² − x) − 1/(x³ − 3x² + 2x)] as x → 1.

What we know: All are rational functions. The plan of the book: evaluate at the point first; if it gives 0/0, cancel the factor that causes it.

What we need: Five limits.

The plan: Value first, then factorise and cancel where needed.

  1. (i) The bottom is not 0 at 1: (1² + 1)/(1 + 100) = 2/101.
  2. (ii) At 2 it is 0/0. Top: x(x − 2)²; bottom: (x + 2)(x − 2). Cancel x − 2 (x ≠ 2): x(x − 2)/(x + 2) → 2 × 0/4 = 0. (Here k = 2 > l = 1.)
  3. (iii) At 2 it is 0/0. Top: (x + 2)(x − 2); bottom: x(x − 2)². Cancel: (x + 2)/[x(x − 2)] → 4/0, which is not defined. (Here k = 1 < l = 2.)
  4. (iv) At 2 it is 0/0. Top: x²(x − 2); bottom: (x − 2)(x − 3). Cancel: x²/(x − 3) → 4/(−1) = −4. (Here k = l = 1.)
  5. (v) First combine into one fraction. x² − x = x(x − 1) and x³ − 3x² + 2x = x(x − 1)(x − 2), so the expression is [(x − 2)² − 1]/[x(x − 1)(x − 2)] = (x² − 4x + 3)/[x(x − 1)(x − 2)].
  6. At 1 it is 0/0. The top is (x − 3)(x − 1). Cancel x − 1 (x ≠ 1): (x − 3)/[x(x − 2)] → (1 − 3)/[1 × (1 − 2)] = −2/−1 = 2.

(i) 2/101; (ii) 0; (iii) not defined; (iv) −4; (v) 2.

Check: Each cancelled factor is non-zero near the point, which is what allows the cancelling. One slip in the book: in part (v) its "Hence" line prints the first numerator as x² − 2; the question and the line before have x − 2.

An important limit

The next limit is used again and again, both for limits and, in section 12.5, for the derivative of xⁿ. The book states it as a theorem.

Theorem 2 (from the book)

For any positive integer n, the limit of (xⁿ − aⁿ)/(x − a) as x → a is n aⁿ⁻¹. Example: the limit of (x² − 9)/(x − 3) as x → 3 is 2 × 3 = 6.

Theorem 2

Read it as "the limit of x to the n minus a to the n, over x minus a, as x tends to a, is n times a to the power n minus one".

Memory aid: bring the power down in front and lower it by one.

Why it is true (the book's proof). Putting x = a gives 0/0, so we look for the factor x − a. Dividing xⁿ − aⁿ by x − a gives

Check it with n = 2: x² − a² = (x − a)(x + a), the familiar identity. Cancelling x − a (allowed, as x ≠ a), the fraction becomes the bracket, which is a polynomial. Its limit is its value at x = a: each of the n terms becomes aⁿ⁻¹, so the total is n aⁿ⁻¹.

Remark (from the book)

The same formula is true even when n is any rational number and a is positive. Example: for n = 1/2 and a = 1, the limit of (√x − 1)/(x − 1) as x → 1 is (1/2) × 1 = 1/2.

Example 3 (from the book)

Evaluate: (i) the limit of (x¹⁵ − 1)/(x¹⁰ − 1) as x → 1; (ii) the limit of (√(1 + x) − 1)/x as x → 0.

What we know: Both give 0/0 at the point; Theorem 2 and its Remark apply.

What we need: Two limits.

The plan: (i) Divide the top and the bottom by x − 1 and use Theorem 2 on each. (ii) Put y = 1 + x, so that y → 1 as x → 0.

  1. (i) (x¹⁵ − 1)/(x¹⁰ − 1) = [(x¹⁵ − 1)/(x − 1)] ÷ [(x¹⁰ − 1)/(x − 1)].
  2. By Theorem 2 with a = 1: the top tends to 15 × 1¹⁴ = 15 and the bottom to 10 × 1⁹ = 10.
  3. The quotient tends to 15 ÷ 10 = 3/2.
  4. (ii) With y = 1 + x, x = y − 1, and the expression is (√y − 1)/(y − 1) = (y to the power 1/2 − 1 to the power 1/2)/(y − 1).
  5. By the Remark with n = 1/2 and a = 1: the limit is (1/2) × 1 to the power −1/2 = 1/2.

(i) 3/2; (ii) 1/2.

Check: (ii) can be checked another way: multiply the top and the bottom by √(1 + x) + 1. The top becomes (1 + x) − 1 = x, so the expression is 1/(√(1 + x) + 1), which tends to 1/2.

Examples of every kind

Worked example 31

Direct: find the limit of (x⁶ − 64)/(x − 2) as x → 2.

What we know: 64 = 2⁶, so this is Theorem 2 with n = 6 and a = 2.

What we need: The limit.

The plan: Write n aⁿ⁻¹.

  1. 6 × 2⁵ = 6 × 32 = 192.

192.

Check: Writing the plain number as a power first (64 = 2⁶) is the key step; without it the pattern is hidden.

Worked example 32

Story: a square tile from a factory in Morbi has side x cm. Near x = 5, the change in area for each centimetre of change in side is (x² − 25)/(x − 5). What does it approach as x → 5?

What we know: This is Theorem 2 with n = 2 and a = 5.

What we need: The limit.

The plan: n aⁿ⁻¹.

  1. 2 × 5 = 10.

10 cm² of area for each cm of side.

Check: Directly: (x² − 25)/(x − 5) = x + 5 for x ≠ 5, which tends to 10. This is the rate of change of the area, the subject of section 12.5.

Worked example 33

Picture: the chord of the curve y = x³ from (2, 8) to a nearby point (x, x³) has slope (x³ − 8)/(x − 2). What does the slope approach as x → 2?

What we know: 8 = 2³: Theorem 2 with n = 3 and a = 2.

What we need: The limiting slope.

The plan: n aⁿ⁻¹.

  1. 3 × 2² = 12.

12: the slope of the tangent to y = x³ at (2, 8).

Check: x = 2.01 gives (8.120601 − 8)/0.01 = 12.0601, already close to 12.

Worked example 34

Reverse: the limit of (xⁿ − 2ⁿ)/(x − 2) as x → 2 is 80, for a positive integer n. Find n.

What we know: By Theorem 2 the limit is n × 2ⁿ⁻¹.

What we need: n.

The plan: Try n = 1, 2, 3, ... until n × 2ⁿ⁻¹ = 80.

  1. n = 3 gives 12; n = 4 gives 32; n = 5 gives 5 × 16 = 80.

n = 5.

Check: n × 2ⁿ⁻¹ grows as n grows, so no other n gives 80.

Worked example 35

Exam: find all real a for which the limit of (x⁹ − a⁹)/(x − a) as x → a is 9.

What we know: By Theorem 2 the limit is 9a⁸.

What we need: Every possible a.

The plan: Solve 9a⁸ = 9.

  1. a⁸ = 1.
  2. The real solutions are a = 1 and a = −1, since an even power hides the sign.

a = 1 or a = −1.

Check: With a = −1: 9 × (−1)⁸ = 9.

A path that fails: answering only a = 1. The eighth power of −1 is also 1, so −1 works too.

The three cases of 0/0, side by side

Worked example 36

Exam: find the limit at 2 of (i) (x² − 4)/(x − 2); (ii) (x² − 4x + 4)/(x − 2); (iii) (x − 2)/(x² − 4x + 4).

What we know: All three give 0/0 at 2. x² − 4 = (x − 2)(x + 2) and x² − 4x + 4 = (x − 2)².

What we need: Three limits.

The plan: Find k and l, cancel, then put x = 2.

  1. (i) k = l = 1: x + 2 → 4.
  2. (ii) k = 2 > l = 1: x − 2 → 0.
  3. (iii) k = 1 < l = 2: 1/(x − 2), whose bottom → 0: not defined.

(i) 4; (ii) 0; (iii) not defined.

Check: In (iii), x = 2.01 gives 100 and x = 1.99 gives −100: the values run off in opposite directions, so no limit exists.

Common mistakes

Stopping at 0/0 and calling it 0, or 1, or "undefined": 0/0 means the work has only started.

Cancelling x − a without noticing that the cancelled form may still have 0 on the bottom, as in case k < l.

When you are stuck: a limit of a fraction

Put x = a first. A non-zero bottom gives the answer at once.

0/0? Factorise the top and the bottom and cancel x − a.

Powers? Look for (xⁿ − aⁿ)/(x − a): write numbers as powers, then use n aⁿ⁻¹.

Roots? Substitute y = (the inside of the root), or multiply by the partner expression with the opposite sign.

Your turn

Find the limit of (x⁵ − 32)/(x³ − 8) as x → 2.Tap to reveal
  1. Divide the top and the bottom by x − 2: the top tends to 5 × 2⁴ = 80 and the bottom to 3 × 2² = 12.
  2. 80/12 = 20/3.

20/3.

Check: This is the method of Example 3 (i), with a = 2 instead of 1.

In one line

A polynomial's limit is its value; a rational function's limit is its value unless the bottom is 0, and for 0/0 we cancel x − a; the limit of (xⁿ − aⁿ)/(x − a) is n aⁿ⁻¹.

12.4Limits of trigonometric functions

Why we need it

Putting x = 0 in sin x/x gives 0/0, but there is nothing to factorise: sin x is not a polynomial. A new tool is needed. The idea is to trap sin x/x between two simpler functions whose limits we know. Two theorems about functions in general make this work.

Limits keep an inequality

Theorem 3 (from the book)

Let f and g be two real valued functions with the same domain such that f(x) ≤ g(x) for all x in the domain. For some a, if both the limits of f(x) and g(x) as x → a exist, then the limit of f(x) is at most the limit of g(x). Example: x² ≤ x² + 1 everywhere, and the limits at 2 are 4 ≤ 5.

Book Figure 12.8: Theorem 3: when f(x) ≤ g(x), the limit of f at a is at most the limit of g at a (the book labels this figure only with its number).

Fig 12.8 shows the idea: one graph stays on or below the other, so the heights they approach keep the same order. A limit cannot jump over the other one.

The sandwich theorem

Theorem 4: the sandwich theorem (from the book)

Let f, g and h be real functions such that f(x) ≤ g(x) ≤ h(x) for all x in their common domain. For some real number a, if the limit of f(x) and the limit of h(x) as x → a are both equal to l, then the limit of g(x) as x → a is also l. Example: if 2 − x² ≤ g(x) ≤ 2 + x² near 0, then g(x) → 2.

Book Figure 12.9: Theorem 4, the sandwich theorem: g lies between f and h, which have the same limit l at a, so g has the limit l at a too (the book labels this figure only with its number).

Why it must be so: g is the filling of a sandwich. The bottom slice f and the top slice h both close in on the same height l, and g is always between them. There is no room left for g to go anywhere else. (Theorem 3, used on both sides, says the same: l ≤ lim g ≤ l.)

The sandwich theorem

Read it as "if g is squeezed between f and h, and f and h both tend to l, then g tends to l too".

Both outer limits must be the same number; otherwise nothing follows.

A beautiful inequality

The book now proves, by a geometric argument, the inequality that traps sin x/x:

Read it as "cos x is less than sin x over x, which is less than 1". The range 0 < |x| < π/2 says that x is not 0 and lies between −π/2 and π/2. The book proves it only for 0 < x < π/2 and remarks why that is enough: sin(−x) = −sin x and cos(−x) = cos x, so replacing x by −x changes neither cos x nor sin x/x. Whatever is true for small positive x is then true for small negative x too.

xy = 1y = sin x / xy = cos xall three meet at 1
cos x lies below sin x / x, which lies below 1. As x approaches 0, the outer two both approach 1, so the middle one is squeezed to 1.

The proof (the book's, step by step). In Fig 12.10, O is the centre of a circle of radius 1, and the angle AOC is x radians, with 0 < x < π/2. The segments BA and CD are perpendicular to OA, and A is joined to C.

Book Figure 12.10: The unit circle with centre O and the angle AOC of x radians; BA and CD are perpendicular to OA, and AC is joined (the book labels this figure only with its number).
  1. Look at three shapes that fit inside one another: the triangle OAC lies inside the sector OAC, and the sector lies inside the triangle OAB. So their areas are in the same order: area of triangle OAC < area of sector OAC < area of triangle OAB.
  2. The triangle OAC has base OA and height CD, so its area is ½ OA × CD.
  3. The sector is the fraction x/(2π) of the whole circle, whose area is π(OA)². So its area is (x/2π) × π(OA)² = ½ x (OA)².
  4. The triangle OAB has base OA and height AB, so its area is ½ OA × AB.
  5. Putting these in and dividing by ½ OA (which is positive): CD < x × OA < AB.
  6. In the right triangle OCD, sin x = CD/OC = CD/OA (as OC = OA, both radii). So CD = OA sin x. Also tan x = AB/OA, so AB = OA tan x.
  7. Hence OA sin x < OA × x < OA tan x, and dividing by OA: sin x < x < tan x.
  8. For 0 < x < π/2, sin x is positive, so we may divide by it: 1 < x/sin x < 1/cos x.
  9. Taking reciprocals reverses the inequalities (all three are positive): cos x < sin x/x < 1.

This completes the proof. The middle step, sin x < x < tan x, is worth remembering on its own: for a small positive angle in radians, the half-chord is shorter than the arc, and the arc is shorter than the tangent segment. Example: for x = 0.5, sin 0.5 ≈ 0.4794 < 0.5 < tan 0.5 ≈ 0.5463.

The two important limits

Theorem 5 (from the book)

(i) The limit of sin x/x as x → 0 is 1. (ii) The limit of (1 − cos x)/x as x → 0 is 0. In both, x is measured in radians. Example: for x = 0.01, sin x/x ≈ 0.99998.

The limit of sin x over x

Read it as "the limit of sine x over x, as x tends to zero, is one".

In words: for a small angle in radians, sin x is almost exactly x.

The companion limit

Read it as "the limit of one minus cos x, over x, as x tends to zero, is zero".

It is used, with the first, for the derivatives of sin x and cos x.

Proof of (i). The inequality (*) says that sin x/x is sandwiched between cos x and the constant function 1. As x → 0, cos x → 1, and the constant 1 stays 1. Both slices tend to 1, so by the sandwich theorem sin x/x → 1.

Proof of (ii). Recall the identity 1 − cos x = 2 sin²(x/2). Then

As x → 0, the first factor tends to 1 by part (i), and the second factor, sin(x/2), tends to sin 0 = 0. By the product rule for limits, the whole tends to 1 × 0 = 0.

You may wonder why part (i) applies to sin(x/2)/(x/2). The book points out a step used quietly here: x → 0 is the same as x/2 → 0. Put y = x/2; then sin(x/2)/(x/2) = sin y/y, and y → 0, so the limit is 1.

The book's example

Example 4 (from the book)

Evaluate: (i) the limit of sin 4x/sin 2x as x → 0; (ii) the limit of tan x/x as x → 0.

What we know: Theorem 5 (i): sin y/y → 1 whenever y → 0.

What we need: Two limits.

The plan: (i) Make each sine match its own angle: multiply and divide by 4x and 2x. (ii) Write tan x as sin x/cos x.

  1. (i) sin 4x/sin 2x = [sin 4x/(4x)] ÷ [sin 2x/(2x)] × (4x/2x) = [sin 4x/(4x)] ÷ [sin 2x/(2x)] × 2.
  2. As x → 0, 4x → 0 and 2x → 0, so both brackets tend to 1.
  3. The limit is 2 × 1 ÷ 1 = 2.
  4. (ii) tan x/x = (sin x/x) × (1/cos x).
  5. The first factor tends to 1 and the second to 1/cos 0 = 1, so the limit is 1 × 1 = 1.

(i) 2; (ii) 1.

Check: (i) can be checked with the identity sin 4x = 2 sin 2x cos 2x: the fraction is 2 cos 2x, which tends to 2 cos 0 = 2.

A general rule

The book ends the section with a rule worth keeping. Suppose the limit of f(x)/g(x) as x → a exists and we want to find it. First check f(a) and g(a). If both are 0, look for the factor that makes them vanish: write f(x) = f₁(x) f₂(x) with f₁(a) = 0 and f₂(a) ≠ 0, and g(x) = g₁(x) g₂(x) with g₁(a) = 0 and g₂(a) ≠ 0. Cancel the common factors (if possible) and write f(x)/g(x) = p(x)/q(x), with q(a) ≠ 0. Then the limit is p(a)/q(a).

Examples of every kind

Worked example 37

Direct: find the limit of sin 3x/x as x → 0.

What we know: sin y/y → 1 as y → 0.

What we need: The limit.

The plan: Multiply and divide by 3.

  1. sin 3x/x = 3 × [sin 3x/(3x)].
  2. As x → 0, 3x → 0, so the bracket tends to 1.

3.

Check: x = 0.01 gives sin 0.03/0.01 ≈ 2.99955, close to 3.

Worked example 38

Story: engineers in a clock factory in Rajkot use sin x ≈ x for a pendulum that swings through small angles. How good is this at x = 0.1 radian (about 5.7°)?

What we know: Theorem 5 (i) says sin x/x → 1 as x → 0.

What we need: The size of the error at 0.1.

The plan: Compute sin 0.1/0.1.

  1. sin 0.1 ≈ 0.0998.
  2. sin 0.1/0.1 ≈ 0.99833: sin x is less than x by under 0.2%.

Very good: the error is less than 0.2%.

Check: The approximation gets better as the angle gets smaller, exactly as the limit promises; it would be poor for large swings.

Worked example 39

Picture: in our drawing, compare the heights of the three curves at x = 1.2, and say what happens as x → 0.

What we know: The curves are y = cos x, y = sin x/x and y = 1.

What we need: Three heights, and the behaviour near 0.

The plan: Compute, then use the sandwich theorem.

  1. At x = 1.2: cos 1.2 ≈ 0.362, sin 1.2/1.2 ≈ 0.777, and 1.
  2. So 0.362 < 0.777 < 1, in the order (*) promises.
  3. As x → 0 the outer curves both rise to 1, squeezing the middle one to 1.

0.362 < 0.777 < 1 at x = 1.2; all three meet at 1 as x → 0.

Check: The gaps between the curves shrink as x → 0, which is what a sandwich needs.

Worked example 40

Reverse: the limit of sin kx/(3x) as x → 0 is 2. Find k.

What we know: sin kx/(3x) = (k/3) × [sin kx/(kx)], and the bracket tends to 1.

What we need: k.

The plan: Solve k/3 = 2.

  1. k/3 = 2, so k = 6.

k = 6.

Check: sin 6x/(3x) = 2 × [sin 6x/(6x)] → 2.

Worked example 41

Exam: find the limit of (1 − cos 4x)/x² as x → 0.

What we know: 1 − cos 4x = 2 sin² 2x (the identity 1 − cos y = 2 sin²(y/2) with y = 4x).

What we need: The limit.

The plan: Rewrite, then make each sine match its angle.

  1. (1 − cos 4x)/x² = 2 sin² 2x/x² = 2 × [sin 2x/x]².
  2. sin 2x/x = 2 × [sin 2x/(2x)] → 2.
  3. So the limit is 2 × 2² = 8.

8.

Check: x = 0.01 gives (1 − cos 0.04)/0.0001 ≈ 7.9989, close to 8.

A path that fails: using Theorem 5 (ii) at once. That theorem has x, not x², on the bottom, and gives (1 − cos 4x)/x → 0, which says nothing about this limit.

Common mistakes

Working in degrees: with x in degrees, sin x/x tends to π/180, not 1.

Cancelling the x in sin x/x as if sin were a number multiplying x.

Matching the wrong angle: sin 5x/(2x) needs a factor 5/2, giving 5/2, not 1.

When you are stuck: a trigonometric limit

Match each sine to its own angle: sin kx goes with kx, then sin kx/(kx) → 1.

tan becomes sin/cos; 1 − cos becomes 2 sin² of half the angle.

Keep track of the extra factors made by matching angles; they give the answer.

A sandwich helps when a factor stays between fixed bounds, such as −1 ≤ sin(anything) ≤ 1.

Your turn

Find the limit of tan 5x/sin 2x as x → 0.Tap to reveal
  1. tan 5x/sin 2x = [sin 5x/(5x)] × [1/cos 5x] × [(2x)/sin 2x] × (5x/2x).
  2. The three brackets tend to 1, and 5x/2x = 5/2.

5/2.

Check: x = 0.01: tan 0.05/sin 0.02 ≈ 0.050042/0.019999 ≈ 2.502.

Find the limit of x/tan x as x → 0.Tap to reveal
  1. x/tan x = (x/sin x) × cos x.
  2. x/sin x → 1 (the reciprocal of sin x/x → 1) and cos x → 1.

1.

Check: It is the reciprocal of tan x/x, whose limit is 1 by Example 4 (ii).

In one line

sin x/x → 1 and (1 − cos x)/x → 0 as x → 0 (in radians), proved by squeezing sin x/x between cos x and 1; match each sine to its own angle to use them.

Ex 12.1Exercise 12.1, Questions 1 to 22, solved in full

Every answer below agrees with the book's answer key. Questions 1 to 12 are polynomial and rational limits: put the number in first, and cancel the factor that causes 0/0 when it appears. Questions 13 to 22 are trigonometric limits: match each sine to its own angle.

1. Evaluate the limit of x + 3 as x → 3.Tap to reveal

What we know: x + 3 is a polynomial.

What we need: The limit.

The plan: For a polynomial, the limit is the value at the point.

  1. 3 + 3 = 6.

6.

Check: A table agrees: x = 2.99 and 3.01 give 5.99 and 6.01, closing in on 6 from both sides. No step here needs more than the rule for polynomials from section 12.3.2.

2. Evaluate the limit of x − 22/7 as x → π.Tap to reveal

What we know: x − 22/7 is a polynomial of degree 1; π is just a number.

What we need: The limit.

The plan: Put x = π.

  1. The limit is π − 22/7.

π − 22/7.

Check: 22/7 is only an approximation to π: 22/7 ≈ 3.142857 and π ≈ 3.141593, so the answer is a tiny negative number, about −0.00126. It is not 0, which is the tempting wrong answer if 22/7 is treated as π.

3. Evaluate the limit of πr² as r → 1.Tap to reveal

What we know: πr² is a constant π times the polynomial r².

What we need: The limit.

The plan: Constants come out; then put r = 1.

  1. π × 1² = π.

π.

Check: This is the area of a circle as its radius approaches 1 unit: it approaches π square units. The variable is called r here, but the rules do not care what letter is used.

4. Evaluate the limit of (4x + 3)/(x − 2) as x → 4.Tap to reveal

What we know: A rational function; its bottom at 4 is 4 − 2 = 2, which is not 0.

What we need: The limit.

The plan: Quotient rule: put x = 4 in the top and the bottom.

  1. Top: 4 × 4 + 3 = 19.
  2. Bottom: 4 − 2 = 2.
  3. 19/2.

19/2.

Check: Always check the bottom first: since it is not 0, no factorising is needed. x = 4.01 gives 19.04/2.01 ≈ 9.47, close to 9.5.

5. Evaluate the limit of (x¹⁰ + x⁵ + 1)/(x − 1) as x → −1.Tap to reveal

What we know: A rational function; the bottom at −1 is −2, not 0.

What we need: The limit.

The plan: Put x = −1, keeping careful track of the signs of the powers.

  1. (−1)¹⁰ = 1 (an even power) and (−1)⁵ = −1 (an odd power).
  2. Top: 1 − 1 + 1 = 1.
  3. Bottom: −1 − 1 = −2.
  4. 1/(−2) = −1/2.

−1/2.

Check: Even powers of −1 are 1 and odd powers are −1; mixing them up is the usual slip here, and it would give 3/(−2) instead.

6. Evaluate the limit of [(x + 1)⁵ − 1]/x as x → 0.Tap to reveal

What we know: At x = 0 it is 0/0. Theorem 2: (yⁿ − aⁿ)/(y − a) → n aⁿ⁻¹.

What we need: The limit.

The plan: Put y = x + 1, so that y → 1 as x → 0, and x = y − 1.

  1. The expression becomes (y⁵ − 1⁵)/(y − 1).
  2. By Theorem 2 with n = 5 and a = 1, the limit is 5 × 1⁴ = 5.

5.

Check: By the binomial theorem, (x + 1)⁵ − 1 = 5x + 10x² + 10x³ + 5x⁴ + x⁵; dividing by x leaves 5 + 10x + ..., which tends to 5.

7. Evaluate the limit of (3x² − x − 10)/(x² − 4) as x → 2.Tap to reveal

What we know: At x = 2: top 12 − 2 − 10 = 0, bottom 0: the form 0/0, so x − 2 is a factor of both.

What we need: The limit.

The plan: Factorise, cancel x − 2, then put x = 2.

  1. 3x² − x − 10 = (x − 2)(3x + 5).
  2. x² − 4 = (x − 2)(x + 2).
  3. Cancel x − 2 (x ≠ 2): (3x + 5)/(x + 2).
  4. Put x = 2: 11/4.

11/4.

Check: Multiply back: (x − 2)(3x + 5) = 3x² + 5x − 6x − 10 = 3x² − x − 10. A table: x = 2.001 gives about 2.750.

8. Evaluate the limit of (x⁴ − 81)/(2x² − 5x − 3) as x → 3.Tap to reveal

What we know: At x = 3: top 81 − 81 = 0, bottom 18 − 15 − 3 = 0: the form 0/0.

What we need: The limit.

The plan: Factorise both, cancel x − 3.

  1. x⁴ − 81 = (x² − 9)(x² + 9) = (x − 3)(x + 3)(x² + 9).
  2. 2x² − 5x − 3 = (x − 3)(2x + 1).
  3. Cancel: (x + 3)(x² + 9)/(2x + 1).
  4. Put x = 3: 6 × 18/7 = 108/7.

108/7.

Check: Another way: the top alone, divided by x − 3, tends to 4 × 3³ = 108 by Theorem 2, and the bottom divided by x − 3 is 2x + 1 → 7.

9. Evaluate the limit of (ax + b)/(cx + 1) as x → 0.Tap to reveal

What we know: The bottom at 0 is 1, not 0. a, b and c are fixed numbers.

What we need: The limit.

The plan: Put x = 0.

  1. Top: a × 0 + b = b.
  2. Bottom: c × 0 + 1 = 1.
  3. b/1 = b.

b.

Check: The answer does not depend on a or c, because both multiply x, which is tending to 0. Letters in place of numbers change nothing in the method.

10. Evaluate the limit of (z to the power 1/3 − 1)/(z to the power 1/6 − 1) as z → 1.Tap to reveal

What we know: At z = 1 it is 0/0. The Remark after Theorem 2: (zⁿ − 1)/(z − 1) → n for rational n.

What we need: The limit.

The plan: Divide the top and the bottom by z − 1.

  1. Top ÷ (z − 1) → 1/3 (n = 1/3, a = 1).
  2. Bottom ÷ (z − 1) → 1/6 (n = 1/6, a = 1).
  3. (1/3) ÷ (1/6) = 2.

2.

Check: Another way: put z = y⁶ (the sixth power undoes both roots), so y → 1. The expression is (y² − 1)/(y − 1) = y + 1, which tends to 2.

11. Evaluate the limit of (ax² + bx + c)/(cx² + bx + a) as x → 1, where a + b + c ≠ 0.Tap to reveal

What we know: At x = 1 the bottom is c + b + a, which is not 0 by the given condition.

What we need: The limit.

The plan: Put x = 1.

  1. Top: a + b + c.
  2. Bottom: c + b + a, the same sum in another order.
  3. (a + b + c)/(a + b + c) = 1.

1.

Check: The condition a + b + c ≠ 0 is exactly what keeps the bottom away from 0; without it the method of 0/0 would be needed.

12. Evaluate the limit of (1/x + 1/2)/(x + 2) as x → −2.Tap to reveal

What we know: At x = −2: top −1/2 + 1/2 = 0 and bottom 0, the form 0/0.

What we need: The limit.

The plan: Combine the top into one fraction; the factor x + 2 appears; cancel it.

  1. 1/x + 1/2 = (2 + x)/(2x).
  2. So the expression is (x + 2)/(2x) ÷ (x + 2) = 1/(2x), for x ≠ −2.
  3. Put x = −2: 1/(−4) = −1/4.

−1/4.

Check: x = −2.01: the top is −0.49751 + 0.5 = 0.00249, and the bottom is −0.01, giving about −0.249, close to −0.25. Combining fractions is often the hidden step that shows the cancelling factor.

13. Evaluate the limit of sin ax/(bx) as x → 0.Tap to reveal

What we know: sin y/y → 1 as y → 0 (Theorem 5).

What we need: The limit, in terms of a and b.

The plan: Make the sine match its angle by multiplying and dividing by a.

  1. sin ax/(bx) = (a/b) × [sin ax/(ax)].
  2. As x → 0, ax → 0, so the bracket tends to 1.

a/b.

Check: With a = 2 and b = 3, x = 0.01 gives sin 0.02/0.03 ≈ 0.6666, close to 2/3. The matching step is the whole trick of trigonometric limits.

14. Evaluate the limit of sin ax/sin bx as x → 0, where a, b ≠ 0.Tap to reveal

What we know: sin y/y → 1 as y → 0.

What we need: The limit.

The plan: Divide the top and the bottom by x, and match each sine to its own angle.

  1. sin ax/sin bx = [a × sin ax/(ax)] ÷ [b × sin bx/(bx)].
  2. Both brackets tend to 1 as x → 0.
  3. The limit is a/b.

a/b.

Check: This is Example 4 (i) in general: with a = 4 and b = 2 it gives 2. The condition b ≠ 0 matters: with b = 0 the bottom would be sin 0 = 0 for every x, and the fraction would have no value anywhere.

15. Evaluate the limit of sin(π − x)/[π(π − x)] as x → π.Tap to reveal

What we know: At x = π it is 0/0.

What we need: The limit.

The plan: Put y = π − x, so that y → 0 as x → π.

  1. The expression is sin y/(πy) = (1/π) × (sin y/y).
  2. As y → 0, sin y/y → 1.

1/π.

Check: 1/π ≈ 0.3183. A substitution that moves the point to 0 lets Theorem 5 be used, since it is stated at 0.

16. Evaluate the limit of cos x/(π − x) as x → 0.Tap to reveal

What we know: At x = 0 the bottom is π, not 0.

What we need: The limit.

The plan: Quotient rule: put x = 0.

  1. Top: cos 0 = 1.
  2. Bottom: π − 0 = π.
  3. 1/π.

1/π.

Check: Not every trigonometric limit is 0/0: here the plain value works, because the bottom is not zero. Always try putting the number in first. Compare Question 15, where the bottom was 0 and a substitution was needed.

17. Evaluate the limit of (cos 2x − 1)/(cos x − 1) as x → 0.Tap to reveal

What we know: At x = 0 it is 0/0. cos 2x − 1 = −2 sin²x and cos x − 1 = −2 sin²(x/2).

What we need: The limit.

The plan: Rewrite both, then match each sine to its angle.

  1. The expression is sin²x/sin²(x/2).
  2. sin²x = [sin x/x]² × x² and sin²(x/2) = [sin(x/2)/(x/2)]² × x²/4.
  3. So it equals 4 × [sin x/x]² ÷ [sin(x/2)/(x/2)]².
  4. Both brackets tend to 1, so the limit is 4.

4.

Check: Numerically, x = 0.01 gives about 4.000.

Another way: cos 2x − 1 = 2cos²x − 2 = 2(cos x − 1)(cos x + 1). So for x near 0 (where cos x ≠ 1) the fraction is 2(cos x + 1), which tends to 2 × 2 = 4.

18. Evaluate the limit of (ax + x cos x)/(b sin x) as x → 0.Tap to reveal

What we know: At x = 0 it is 0/0. The top has the common factor x.

What we need: The limit.

The plan: Take x out of the top, then pair it with sin x.

  1. (ax + x cos x)/(b sin x) = [(a + cos x)/b] × [x/sin x].
  2. As x → 0: (a + cos x)/b → (a + 1)/b, and x/sin x → 1.

(a + 1)/b.

Check: With a = 2 and b = 5: x = 0.01 gives about 0.6000, and (2 + 1)/5 = 0.6.

19. Evaluate the limit of x sec x as x → 0.Tap to reveal

What we know: sec x = 1/cos x, and cos 0 = 1.

What we need: The limit.

The plan: Product rule for limits.

  1. x → 0 and sec x → 1/cos 0 = 1.
  2. The product tends to 0 × 1 = 0.

0.

Check: No 0/0 appears, because sec x stays near 1: the limit is just the value 0 × sec 0. Both factors have limits, so the product rule applies.

20. Evaluate the limit of (sin ax + bx)/(ax + sin bx) as x → 0, where a, b, a + b ≠ 0.Tap to reveal

What we know: At x = 0 it is 0/0.

What we need: The limit.

The plan: Divide the top and the bottom by x.

  1. Top ÷ x = a × [sin ax/(ax)] + b → a + b.
  2. Bottom ÷ x = a + b × [sin bx/(bx)] → a + b.
  3. (a + b)/(a + b) = 1, since a + b ≠ 0.

1.

Check: With a = 2 and b = 3, x = 0.01 gives about 1.000. The condition a + b ≠ 0 keeps the bottom limit away from 0.

21. Evaluate the limit of (cosec x − cot x) as x → 0.Tap to reveal

What we know: cosec x = 1/sin x and cot x = cos x/sin x; each alone grows without bound near 0.

What we need: The limit of the difference.

The plan: Combine into one fraction first.

  1. cosec x − cot x = (1 − cos x)/sin x.
  2. = [(1 − cos x)/x] × [x/sin x].
  3. The first factor tends to 0 (Theorem 5 (ii)) and the second to 1.

0.

Check: A path that fails: "∞ − ∞ = 0". Infinity is not a number to subtract; only after combining the fractions does the limit appear.

22. Evaluate the limit of tan 2x/(x − π/2) as x → π/2.Tap to reveal

What we know: At x = π/2: tan π = 0 and the bottom is 0, the form 0/0.

What we need: The limit.

The plan: Put y = x − π/2, so that y → 0.

  1. 2x = 2y + π, and tan(2y + π) = tan 2y (tan repeats every π).
  2. The expression is tan 2y/y = 2 × [tan 2y/(2y)].
  3. As y → 0, tan 2y/(2y) → 1 (Example 4 (ii)).

2.

Check: x = π/2 + 0.01 gives tan(π + 0.02)/0.01 = tan 0.02/0.01 ≈ 2.0003.

When you are stuck: Exercise 12.1, Questions 1 to 22

Put the number in first. A non-zero bottom gives the answer at once.

0/0 with polynomials: factorise and cancel; with roots or powers, use Theorem 2 and its Remark.

0/0 with sines: match each sine to its own angle; turn tan into sin/cos and 1 − cos into 2 sin².

A point other than 0? Substitute y = x − a to move it to 0.

In one line

Questions 1 to 22 use one plan: try the value; if it is 0/0, cancel the cause with algebra or with sin y/y → 1.

Ex 12.1Exercise 12.1, Questions 23 to 32, solved in full

These questions use left and right hand limits. For each piecewise function, use each piece only on its own side of the point, then compare the two sides.

23. Find the limits of f(x) as x → 0 and as x → 1, where f(x) = 2x + 3 for x ≤ 0 and f(x) = 3(x + 1) for x > 0.Tap to reveal

What we know: The pieces change over at x = 0. Near x = 1 only the second piece is used.

What we need: Two limits.

The plan: At 0, find both one-sided limits; at 1, use the second piece.

  1. At 0 from the left: 2 × 0 + 3 = 3.
  2. At 0 from the right: 3(0 + 1) = 3.
  3. Both are 3, so the limit at 0 is 3.
  4. At 1: every x near 1 is greater than 0, so f(x) = 3(x + 1) → 3 × 2 = 6.

The limit at 0 is 3, and the limit at 1 is 6.

Check: The two pieces meet at the same height at 0, so the graph has no break there; at 1 the function is a plain straight line.

24. Find the limit of f(x) as x → 1, where f(x) = x² − 1 for x ≤ 1 and f(x) = −x² − 1 for x > 1.Tap to reveal

What we know: The pieces change over at x = 1.

What we need: The limit at 1, if it exists.

The plan: Find both one-sided limits.

  1. From the left: 1² − 1 = 0.
  2. From the right: −1² − 1 = −2.
  3. 0 ≠ −2.

The limit at x = 1 does not exist.

Check: The graph jumps from height 0 down to height −2 at x = 1. A careless slip is to compute −1² as +1; the square applies to 1 only, and the minus sign stays outside.

25. Evaluate the limit of f(x) as x → 0, where f(x) = |x|/x for x ≠ 0 and f(0) = 0.Tap to reveal

What we know: |x| = −x for x < 0 and |x| = x for x > 0.

What we need: The limit at 0, if it exists.

The plan: Simplify on each side, then compare.

  1. For x < 0: |x|/x = −x/x = −1, so the left hand limit is −1.
  2. For x > 0: |x|/x = x/x = 1, so the right hand limit is 1.
  3. −1 ≠ 1.

The limit at x = 0 does not exist.

Check: The value f(0) = 0 plays no part: a limit depends only on the values near 0, and here they are −1 on one side and 1 on the other.

26. Find the limit of f(x) as x → 0, where f(x) = x/|x| for x ≠ 0 and f(0) = 0.Tap to reveal

What we know: For x ≠ 0, x/|x| is the same as |x|/x, since both equal −1 for negative x and 1 for positive x.

What we need: The limit at 0, if it exists.

The plan: Find both one-sided limits.

  1. For x < 0: x/|x| = x/(−x) = −1.
  2. For x > 0: x/|x| = x/x = 1.
  3. The one-sided limits −1 and 1 differ.

The limit at x = 0 does not exist.

Check: This function is called the sign of x: it tells whether x is negative or positive, and it jumps at 0. Its graph is two flat pieces at heights −1 and 1.

27. Find the limit of f(x) as x → 5, where f(x) = |x| − 5.Tap to reveal

What we know: For x near 5, x is positive, so |x| = x.

What we need: The limit.

The plan: Simplify near 5, then put x = 5.

  1. Near 5, f(x) = x − 5.
  2. The limit is 5 − 5 = 0.

0.

Check: x = 4.99 gives −0.01 and x = 5.01 gives 0.01, closing in on 0 from both sides. The corner of |x| is at 0, far from 5, so it does not matter here.

28. Suppose f(x) = a + bx for x < 1, f(1) = 4, and f(x) = b − ax for x > 1. If the limit of f(x) as x → 1 equals f(1), what are the possible values of a and b?Tap to reveal

What we know: The limit must exist and equal 4, so both one-sided limits must be 4.

What we need: a and b.

The plan: Write the one-sided limits and set each equal to 4.

  1. From the left: a + b × 1 = a + b, so a + b = 4.
  2. From the right: b − a × 1 = b − a, so b − a = 4.
  3. Adding the two equations: 2b = 8, so b = 4; then a = 0.

a = 0 and b = 4.

Check: With a = 0 and b = 4, the left piece is 0 + 4x = 4x, which tends to 4 at x = 1; the right piece is 4 − 0 × x = 4. Both match f(1) = 4. Adding the two equations to remove a is the elimination method of Class 10, Chapter 3.

29. Let a₁, a₂, ..., aₙ be fixed real numbers and f(x) = (x − a₁)(x − a₂)...(x − aₙ). What is the limit of f(x) as x → a₁? For some a ≠ a₁, a₂, ..., aₙ, compute the limit of f(x) as x → a.Tap to reveal

What we know: f is a polynomial (a product of n factors).

What we need: Two limits.

The plan: For a polynomial, the limit is the value at the point.

  1. At a₁: the first factor is a₁ − a₁ = 0, so f(a₁) = 0 and the limit is 0.
  2. At a: the limit is f(a) = (a − a₁)(a − a₂)...(a − aₙ).

The limit at a₁ is 0, and the limit at a is (a − a₁)(a − a₂)...(a − aₙ).

Check: With n = 3, a₁ = 2, a₂ = −1 and a₃ = 5, the limit at 7 is 5 × 8 × 2 = 80. The condition a ≠ aᵢ only says this value is not 0.

30. If f(x) = |x| + 1 for x < 0, f(0) = 0 and f(x) = |x| − 1 for x > 0, for what value(s) of a does the limit of f(x) as x → a exist?Tap to reveal

What we know: For x < 0, |x| = −x, so f(x) = 1 − x. For x > 0, |x| = x, so f(x) = x − 1.

What we need: All a for which the limit exists.

The plan: Remove the bars on each side, then check a < 0, a > 0 and a = 0 in turn.

  1. a < 0: near a, f(x) = 1 − x, so the limit is 1 − a.
  2. a > 0: near a, f(x) = x − 1, so the limit is a − 1.
  3. a = 0: the left hand limit is 1 − 0 = 1 and the right hand limit is 0 − 1 = −1; they differ.

The limit exists for every a ≠ 0.

Check: Only the meeting point of the two pieces can cause trouble, and there the graph jumps from 1 down to −1. The value f(0) = 0 changes nothing, since a limit ignores the value at the point itself. Example: at a = −3 the limit is 1 + 3 = 4.

31. If the function f(x) satisfies lim [f(x) − 2]/(x² − 1) = π as x → 1, evaluate the limit of f(x) as x → 1.Tap to reveal

What we know: The given limit exists, and x² − 1 → 0 as x → 1.

What we need: The limit of f(x).

The plan: Write f(x) − 2 as the given fraction times (x² − 1), and use the product rule.

  1. f(x) − 2 = {[f(x) − 2]/(x² − 1)} × (x² − 1), for x ≠ ±1.
  2. As x → 1, the first factor tends to π and the second to 0.
  3. So f(x) − 2 → π × 0 = 0, and f(x) → 2.

The limit of f(x) is 2.

Check: If f(x) did not approach 2, the top of the fraction would approach a non-zero number while the bottom approached 0, and the fraction could not tend to π.

32. If f(x) = mx² + n for x < 0, f(x) = nx + m for 0 ≤ x ≤ 1, and f(x) = nx³ + m for x > 1, for what integers m and n do both the limit at 0 and the limit at 1 exist?Tap to reveal

What we know: The pieces change over at 0 and at 1.

What we need: The conditions on m and n.

The plan: At each meeting point, compare the one-sided limits.

  1. At 0: from the left, m × 0 + n = n; from the right, n × 0 + m = m. The limit exists exactly when m = n.
  2. At 1: from the left, n × 1 + m = n + m; from the right, n × 1³ + m = n + m. These always agree.

The limit at 0 exists when m = n; the limit at 1 exists for any integers m and n.

Check: With m = n = 2, the three pieces are 2x² + 2, 2x + 2 and 2x³ + 2, and they meet at the heights 2 (at x = 0) and 4 (at x = 1).

When you are stuck: Exercise 12.1, Questions 23 to 32

Piecewise: mark where the pieces change; away from those points, one piece decides the limit.

At a change-over point: compute the left and right hand limits from their own pieces and compare.

|x|: replace it by −x on the left of 0 and by x on the right.

Unknown constants: each "the limit exists" gives an equation; solve them together.

In one line

Questions 23 to 32 turn on one-sided limits: each side uses its own piece, and the limit exists only when the two sides agree.

12.5Derivatives

Why we need it

In section 12.2 we found the velocity of a falling body at one instant. (The book's text says "Section 13.2", a number left over from an older edition; it means section 12.2.) We took average velocities over shorter and shorter intervals, and they closed in on one number. That idea works for anything that changes, not only for falling bodies.

The book lists a few places where people need it. Here they are in Indian settings.

  • A reservoir. Engineers at the Koyna dam in Maharashtra measure the depth of the water every few hours in the monsoon. From these depths they want to know how fast the water is rising right now, to know when the reservoir will overflow.
  • A rocket. Scientists at ISRO's launch centre at Sriharikota know the height of the rocket at many times. They need its exact velocity at the moment the satellite is released.
  • A share price. A bank in Mumbai knows today's price of a share and wants to predict how its value is changing.

In each case one quantity changes with another: the depth with time, the height with time, the price with time. We want to know how fast the first is changing with respect to the second, at one moment. The book calls this "the heart of the matter": the derivative of a function at a point.

A reminder: the average rate of change

A bus leaves Pune. After 2 hours it has gone 110 km, and after 2.5 hours it has gone 145 km. Over that half hour its average speed is (145 − 110)/0.5 = 70 km/h. In general, the average rate of change of a quantity is the change in the quantity divided by the change in the time (or in whatever it depends on).

Now try to find the speed at one instant, say at exactly 2 hours. The change in time is 0, and the distance covered in no time is 0, so the fraction is 0/0, which has no meaning. Section 12.2 showed the way out: take a small step, find the average over that step, and let the step shrink to nothing. That is a limit, and we now have the tools for limits.

The definition

Definition 1 (from the book)

Suppose f is a real valued function and a is a point in its domain of definition. The derivative of f at a is the limit of [f(a + h) − f(a)]/h as h → 0, provided this limit exists. It is written f′(a), read "f dash a" or "f prime of a".

Example: for f(x) = x² and a = 1, the fraction works out to 2 + h, so f′(1) = 2.

The derivative at a point

Read it as "f dash a equals the limit, as h tends to zero, of f of a plus h minus f of a, all over h".

The top is the change in the output, and the bottom, h, is the change in the input. So the fraction is an average rate of change over a step of size h. The limit makes the step vanish.

h may be positive (a step to the right of a) or negative (a step to the left); the limit must be the same both ways.

The book adds one line: f′(a) measures the change in f(x) at a with respect to x. In plain words, f′(a) is a single number that says how fast f(x) is changing at the moment x passes through a. It counts how many units the output changes for each unit of change in the input, right at that point.

See it in a table

Take f(x) = x² and a = 1, so f(a) = 1. Here are the average rates over steps of several sizes, on both sides of 1.

ha + hf(a + h)f(a + h) − f(a)f(a + h) − f(a), divided by h
−0.10.90.81−0.191.9
−0.010.990.9801−0.01991.99
0.011.011.02010.02012.01
0.11.11.210.212.1
0.0011.0011.0020010.0020012.001

From both sides the last column closes in on 2. So f′(1) = 2. Algebra confirms it: [(1 + h)² − 1]/h = (2h + h²)/h = 2 + h for h ≠ 0, and 2 + h → 2 as h → 0. The table's numbers are exactly 2 + h: 1.9 for h = −0.1, 2.01 for h = 0.01, and so on.

You may wonder

Why not put h = 0 at once? Because the fraction is then 0/0. As with every limit in section 12.3, we look at the values as h gets close to 0, never at h = 0 itself. We may cancel h because h ≠ 0 while it approaches 0.

The book's examples

Example 5 (from the book)

Find the derivative at x = 2 of the function f(x) = 3x.

What we know: Definition 1 with a = 2.

What we need: f′(2).

The plan: Write the fraction, simplify, then let h → 0.

  1. f(2 + h) = 3(2 + h) = 6 + 3h, and f(2) = 6.
  2. [f(2 + h) − f(2)]/h = (6 + 3h − 6)/h = 3h/h = 3, for h ≠ 0.
  3. The limit of the constant 3 is 3.

The derivative of 3x at x = 2 is 3.

Check: The graph of y = 3x is a straight line of slope 3. A straight line has the same steepness everywhere, so its rate of change is 3 at every point, not only at 2.

Example 6 (from the book)

Find the derivative of the function f(x) = 2x² + 3x − 5 at x = −1. Also prove that f′(0) + 3f′(−1) = 0.

What we know: Definition 1, used twice: at a = −1 and at a = 0.

What we need: f′(−1), f′(0), and the value of f′(0) + 3f′(−1).

The plan: Expand f(a + h), subtract f(a), divide by h, let h → 0.

  1. f(−1) = 2 − 3 − 5 = −6.
  2. f(−1 + h) = 2(1 − 2h + h²) + 3(−1 + h) − 5 = 2 − 4h + 2h² − 3 + 3h − 5 = −6 − h + 2h².
  3. So f(−1 + h) − f(−1) = 2h² − h, and dividing by h gives 2h − 1.
  4. As h → 0, 2h − 1 → −1. So f′(−1) = −1.
  5. At 0: f(0) = −5 and f(h) = 2h² + 3h − 5, so the difference is 2h² + 3h.
  6. Dividing by h gives 2h + 3, which tends to 3. So f′(0) = 3.
  7. f′(0) + 3f′(−1) = 3 + 3 × (−1) = 0.

f′(−1) = −1 and f′(0) = 3, so f′(0) + 3f′(−1) = 0.

Check: The book states the last line without working; the last step above shows the sum in full. Later, the rules of section 12.5.2 give f′(x) = 4x + 3, which is −1 at x = −1 and 3 at x = 0, the same values.

Remark (from the book)

Finding a derivative at a point uses the rules that limits obey. The next example shows this: it needs Theorem 5 of section 12.4, sin h/h → 1.

Example 7 (from the book)

Find the derivative of sin x at x = 0.

What we know: Let f(x) = sin x. Theorem 5 (i): sin h/h → 1 as h → 0.

What we need: f′(0).

The plan: Definition 1 with a = 0.

  1. f(0 + h) − f(0) = sin h − sin 0 = sin h.
  2. So the fraction is sin h/h.
  3. Its limit is 1 by Theorem 5 (i).

The derivative of sin x at x = 0 is 1.

Check: The graph of sin x near 0 looks like the line y = x, whose slope is 1: for small h, sin h ≈ h (with h in radians). For h = 0.001, sin h/h is about 0.99999983.

Example 8 (from the book)

Find the derivative of f(x) = 3 at x = 0 and at x = 3.

What we know: f is the constant function 3: its value is 3 for every x.

What we need: f′(0) and f′(3).

The plan: Definition 1 at each point.

  1. At 0: [f(0 + h) − f(0)]/h = (3 − 3)/h = 0/h = 0, for h ≠ 0.
  2. The limit of 0 is 0, so f′(0) = 0.
  3. At 3: [f(3 + h) − f(3)]/h = (3 − 3)/h = 0, so f′(3) = 0.

f′(0) = 0 and f′(3) = 0.

Check: The book explains why this is expected before computing it: the derivative measures change, and a constant never changes. Its graph is a flat line, whose slope is 0 everywhere.

What the derivative looks like: the slope of the tangent

Let y = f(x) be a function, and let P = (a, f(a)) and Q = (a + h, f(a + h)) be two points close to each other on its graph. Fig 12.11 shows them, and the book calls the figure self explanatory. Here is what it shows, one step at a time.

Book Figure 12.11: The points P(a, f(a)) and Q(a + h, f(a + h)) on the graph of y = f(x): as h tends to 0, the chord PQ turns into the tangent at P, and f′(a) = tan ψ (the book labels this figure only with its number).
  1. From P, go across (parallel to the x-axis) to R, which is straight below Q. Then PQR is a right triangle with the right angle at R.
  2. PR is the change in x: (a + h) − a = h. QR is the change in y: f(a + h) − f(a).
  3. So the fraction [f(a + h) − f(a)]/h is QR/PR. In the right triangle, QR/PR = tan(∠QPR), the opposite side over the adjacent side.
  4. tan(∠QPR) is the slope of the chord PQ, the straight line through two points of the curve (Chapter 9: the slope of a line is tan of its angle with the x-axis).
  5. As h → 0, Q slides along the curve towards P, and the chord PQ turns. It settles on the tangent at P: the line that just touches the curve at P, going in the curve's own direction there.
  6. So the limit of the slopes of the chords is the slope of the tangent: f′(a) = tan ψ, where ψ (the Greek letter "psi") is the angle the tangent at P makes with the positive direction of the x-axis.
The derivative is the slope of the tangent

Read it as "f dash a is the limit of QR over PR as Q tends to P, which is tan psi".

In words: the derivative at a point is the slope of the tangent to the graph at that point.

xyP(1, 1)Q₁(2, 4)Q₂slope 3slope 2.5tangent: slope 2
As the second point slides down the curve towards P, the chord's slope falls from 3 to 2.5 and closes in on 2, the slope of the tangent at P. So for f(x) = x², f′(1) = 2.

Our drawing puts numbers on this for f(x) = x² at P(1, 1). The chord to Q₁(2, 4) has slope (4 − 1)/(2 − 1) = 3. The chord to Q₂(1.5, 2.25) has slope 1.25/0.5 = 2.5. In general, the chord to the point (1 + h, (1 + h)²) has slope 2 + h, the same 2 + h as in the table. As h → 0, the slope tends to 2, the slope of the tangent at P.

So tan ψ = 2, and ψ is about 63.4°. The tangent passes through P(1, 1) with slope 2, so by the point-slope form of Chapter 9 its equation is y − 1 = 2(x − 1), that is, y = 2x − 1.

Two meanings, one number

f′(a) is the rate of change of f at a: how fast the output changes per unit of input, at that moment.

f′(a) is the slope of the tangent to the graph at (a, f(a)): how steep the curve is there.

For the falling body of section 12.2, s = 4.9t², the derivative at t = 2 is 19.6. It is both the velocity at t = 2 s (19.6 m/s) and the slope of the distance-time graph at t = 2.

From one point to every point: the derivative function

For a given function f, we can find the derivative at every point. If the derivative exists at every point, it becomes a new function: to each x it gives the slope of the tangent at x. The book makes this formal.

Definition 2 (from the book)

Suppose f is a real valued function. The function defined by the limit of [f(x + h) − f(x)]/h as h → 0, wherever the limit exists, is called the derivative of f at x and is written f′(x). This definition of derivative is also called the first principle of derivative.

Example: for f(x) = x², f′(x) = 2x (Example 10 below). So f′(1) = 2, as the table showed, and f′(3) = 6.

The first principle

Read it as "f dash x equals the limit, as h tends to zero, of f of x plus h minus f of x, all over h".

It is Definition 1 with the fixed point a replaced by a general x. Putting x = a in f′(x) gives the number f′(a).

Finding a derivative this way, straight from the limit, is called differentiation from first principles; to differentiate a function means to find its derivative.

The book notes that the domain of f′(x) is wherever this limit exists. That domain can be smaller than the domain of f. Here is an example. f(x) = |x| is defined for every x. But at x = 0 the fraction is (|h| − 0)/h, which is −1 for h < 0 and 1 for h > 0 (this is Exercise 12.1, Question 25 again). The one-sided limits differ, so f′(0) does not exist.

The picture agrees: the graph of |x| is a V with a sharp corner at 0. Chords from the left have slope −1 and chords from the right have slope 1, so no single tangent fits at the corner.

The notations

Different books, and different problems, write the derivative in different ways. They all mean the same thing:

NotationRead it asWhere it is handy
f′(x)"f dash x" (or "f prime x")when the function has a name, such as f
d/dx (f(x))"d by d x of f of x"as an instruction: find the derivative of what follows
dy/dx, when y = f(x)"d y by d x"when y is given by a formula in x
D(f(x))"D of f of x"a short form: D stands for "the derivative of"

Each is called the derivative of f(x), or of y, with respect to x: x is the quantity that changes, and we watch how f(x) changes with it. For the derivative at a particular point x = a, the book writes

Read the upright bar, or the x = a written low on the right, as "at x = a": find the derivative first, then put x = a. Example: for y = x², dy/dx = 2x, and dy/dx at x = 3 is 6.

Common mistakes

Reading dy/dx as a fraction and cancelling the d's to get y/x. dy/dx is one symbol, the name of a limit.

Writing f(x) + h for f(x + h). For f(x) = x², f(x + h) = (x + h)² = x² + 2xh + h², while f(x) + h = x² + h.

Putting h = 0 before cancelling: the fraction is then 0/0 and says nothing.

Mixing up f′(a), which is a number, with f′(x), which is a function.

The book's examples of the first principle

Example 9 (from the book)

Find the derivative of f(x) = 10x.

What we know: The first principle.

What we need: f′(x).

The plan: Write the fraction, simplify, let h → 0.

  1. f(x + h) − f(x) = 10(x + h) − 10x = 10h.
  2. Divided by h: 10h/h = 10, for h ≠ 0.
  3. The limit of the constant 10 is 10.

f′(x) = 10.

Check: The graph of y = 10x is a straight line of slope 10, so its steepness is 10 everywhere. Example 5 found the same pattern for 3x.

Example 10 (from the book)

Find the derivative of f(x) = x².

What we know: The first principle; (x + h)² = x² + 2xh + h².

What we need: f′(x).

The plan: Expand, cancel the x², divide by h.

  1. f(x + h) − f(x) = (x + h)² − x² = 2xh + h².
  2. Divided by h: 2x + h, for h ≠ 0.
  3. As h → 0, 2x + h → 2x.

f′(x) = 2x.

Check: At x = 1 this gives 2, agreeing with the table and with our chord drawing. At x = 0 it gives 0: the bottom of the parabola, where the tangent is flat.

Example 11 (from the book)

Find the derivative of the constant function f(x) = a, for a fixed real number a.

What we know: f(x) = a for every x, so f(x + h) = a too.

What we need: f′(x).

The plan: The first principle.

  1. f(x + h) − f(x) = a − a = 0.
  2. Divided by h: 0/h = 0, as h ≠ 0.
  3. The limit of 0 is 0.

f′(x) = 0: the derivative of a constant is 0.

Check: This is Example 8 for every constant and every point at once. A flat line has slope 0.

Example 12 (from the book)

Find the derivative of f(x) = 1/x.

What we know: The first principle; to subtract fractions, use a common denominator.

What we need: f′(x), for x ≠ 0.

The plan: Combine the two fractions on top, cancel h, let h → 0.

  1. f(x + h) − f(x) = 1/(x + h) − 1/x = [x − (x + h)]/[x(x + h)] = −h/[x(x + h)].
  2. Divided by h: −1/[x(x + h)], for h ≠ 0.
  3. As h → 0, x(x + h) → x², so the limit is −1/x².

f′(x) = −1/x².

Check: The derivative is negative for every x ≠ 0: the graph of 1/x goes down from left to right on each side of 0. At x = 2 the slope is −1/4.

f(x)f′(x)Found in
3x3Example 5 (at x = 2)
10x10Example 9
x²2xExample 10
a constant a0Examples 8 and 11
1/x−1/x²Example 12
sin x1 at x = 0Example 7

Examples of every kind

Worked example 42

Direct: find, from first principles, the derivative of f(x) = x² + 5x.

What we know: The first principle; (x + h)² = x² + 2xh + h².

What we need: f′(x).

The plan: Expand f(x + h), subtract f(x), divide by h, let h → 0.

  1. f(x + h) = (x + h)² + 5(x + h) = x² + 2xh + h² + 5x + 5h.
  2. f(x + h) − f(x) = 2xh + h² + 5h.
  3. Divided by h: 2x + h + 5, for h ≠ 0.
  4. As h → 0: 2x + 5.

f′(x) = 2x + 5.

Check: At x = 1 this is 7. With h = 0.001, [f(1.001) − f(1)]/0.001 = 7.001, close to 7. Notice 2x + 5 is the derivative of x² (2x) plus the derivative of 5x (5): section 12.5.1 turns this into a rule.

Worked example 43

Story: a coconut falls from a tall tree in a garden in Kerala. In t seconds it falls s = 4.9t² metres (ignoring the air). How fast is it falling after 2 seconds?

What we know: The velocity at an instant is the derivative of the distance with respect to time.

What we need: s′(2), in m/s.

The plan: The first principle for s(t) = 4.9t², then put t = 2.

  1. s(t + h) − s(t) = 4.9[(t + h)² − t²] = 4.9(2th + h²).
  2. Divided by h: 4.9(2t + h), for h ≠ 0.
  3. As h → 0: s′(t) = 9.8t.
  4. At t = 2: s′(2) = 19.6.

19.6 m/s after 2 seconds.

Check: This matches section 12.2, where the tables of average velocities closed in on 19.6 m/s. In 2 seconds the coconut has fallen 4.9 × 4 = 19.6 m, and 19.6 m/s is 70.56 km/h: faster than the bus from Pune.

Worked example 44

Picture: on the parabola y = x², find the slope of the tangent at the point (−1, 1), the angle ψ it makes with the x-axis, and its equation.

What we know: For f(x) = x², f′(x) = 2x (Example 10). The slope of the tangent at (a, f(a)) is f′(a) = tan ψ.

What we need: The slope, ψ and the equation.

The plan: Put x = −1 in 2x, then use the point-slope form.

  1. Slope: f′(−1) = 2 × (−1) = −2.
  2. tan ψ = −2. A negative slope means the tangent falls from left to right, so ψ is more than 90°: ψ = 180° − 63.4° = 116.6° (about).
  3. Equation: y − 1 = −2(x + 1), that is, y = −2x − 1.

Slope −2, ψ ≈ 116.6°, and the tangent is y = −2x − 1.

Check: Where does this line meet the parabola? x² = −2x − 1 gives x² + 2x + 1 = 0, that is, (x + 1)² = 0: only at x = −1, a double root. A tangent just touches the curve, so this is what we expect. On the left half of the parabola the curve goes down as x increases, and the slope is negative.

Worked example 45

Reverse: f(x) = kx² + 3x, and f′(2) = 23. Find the constant k.

What we know: The first principle gives f′(x) for any k.

What we need: k.

The plan: Find f′(x) in terms of k, put x = 2, and solve.

  1. f(x + h) − f(x) = k(2xh + h²) + 3h.
  2. Divided by h: 2kx + kh + 3; as h → 0, f′(x) = 2kx + 3.
  3. f′(2) = 4k + 3 = 23, so 4k = 20 and k = 5.

k = 5.

Check: With k = 5, f(x) = 5x² + 3x and f′(x) = 10x + 3, so f′(2) = 23. Reverse questions work the same way as direct ones: find the derivative with the unknown inside, then use the given value.

Worked example 46

Exam: find, from first principles, the derivative of f(x) = 1/(x + 2).

What we know: The first principle; Example 12 combined two fractions in the same way.

What we need: f′(x), for x ≠ −2.

The plan: Combine the fractions on top, cancel h, let h → 0.

  1. f(x + h) − f(x) = 1/(x + h + 2) − 1/(x + 2).
  2. Over the common denominator (x + h + 2)(x + 2), the top is (x + 2) − (x + h + 2) = −h.
  3. Divided by h: −1/[(x + h + 2)(x + 2)], for h ≠ 0.
  4. As h → 0: −1/(x + 2)².

f′(x) = −1/(x + 2)².

Check: At x = 0 this is −1/4. With h = 0.001, [1/2.001 − 1/2]/0.001 ≈ −0.2499.

A path that fails: splitting 1/(x + h + 2) as 1/(x + 2) + 1/h. A fraction with a sum below does not split this way: for example 1/(1 + 1) = 1/2, not 1/1 + 1/1 = 2.

When you are stuck: a derivative from first principles

Write f(x + h) in full: replace every x by (x + h), with brackets.

Subtract f(x) and simplify the top until every term has a factor h.

Cancel h (allowed, because h ≠ 0 while it approaches 0), then let h → 0.

Fractions on top? Combine them over one denominator first. Sines on top? Use Chapter 3's identities so that sin h/h appears.

Your turn

Find, from first principles, the derivative of 4x − 7.Tap to reveal
  1. f(x + h) − f(x) = 4(x + h) − 7 − (4x − 7) = 4h.
  2. Divided by h: 4. The limit is 4.

4.

Check: The graph is a straight line of slope 4; the constant −7 only moves it down and does not change its steepness.

For f(x) = x² − x, find f′(3) using Definition 1.Tap to reveal
  1. f(3 + h) = 9 + 6h + h² − 3 − h = 6 + 5h + h², and f(3) = 6.
  2. So [f(3 + h) − f(3)]/h = 5 + h, which tends to 5.

f′(3) = 5.

Check: Later, the rules give f′(x) = 2x − 1, and 2 × 3 − 1 = 5.

Find the slope of the tangent to y = 1/x at x = 2, and the equation of that tangent.Tap to reveal
  1. By Example 12, dy/dx = −1/x², which is −1/4 at x = 2.
  2. The point is (2, 1/2), so the tangent is y − 1/2 = −(1/4)(x − 2), that is, y = 1 − x/4.

Slope −1/4; tangent y = 1 − x/4.

Check: At x = 2 the line gives 1 − 1/2 = 1/2, the point itself.

In one line

The derivative f′(x) is the limit of [f(x + h) − f(x)]/h as h → 0, the first principle. At a point it is both the rate of change and the slope of the tangent; it is written f′(x), dy/dx, d/dx f(x) or D(f(x)).

12.5.1The algebra of derivatives

Why we need it

Finding every derivative from first principles is slow: each one needs its own expanding, cancelling and limit. For limits, section 12.3.1 gave rules (Theorem 1) that saved us from tables. A derivative is itself a limit, so we expect rules for derivatives too, following the rules for limits closely. The book collects them in one theorem.

Theorem 5 of section 12.5.1 (from the book)

Let f and g be two functions whose derivatives are defined in a common domain. Then:

(i) The derivative of the sum of two functions is the sum of their derivatives. (ii) The derivative of the difference of two functions is the difference of their derivatives. (iii) The derivative of a product is given by the product rule below. (iv) The derivative of a quotient is given by the quotient rule below, whenever the denominator is non-zero.

Example: the derivative of x² + 10x is 2x + 10, by (i), from Examples 10 and 9.

(A note on the number: the book calls this Theorem 5, although section 12.4 already has a Theorem 5, the limit of sin x/x. They are two different theorems. On this page, this one is "the theorem on the algebra of derivatives".)

The sum and difference rules

Read it as "d by d x of f plus (or minus) g is d by d x of f plus (or minus) d by d x of g".

Example: the derivative of x² − 1/x is 2x + 1/x², from Examples 10 and 12.

The product rule

Read it as "d by d x of f times g is (d by d x of f) times g, plus f times (d by d x of g)".

Each factor takes its turn to be differentiated while the other waits as it is; then the two results are added.

The quotient rule

Read it as "d by d x of f over g is d f by d x times g, minus f times d g by d x, all over g squared".

The order on top matters, because of the minus sign: the derivative of the top comes first.

The book does not prove these rules here: their proofs follow from the matching rules for limits. But each one can be made believable, and that helps you remember it.

Why the rules hold

The sum rule. When x changes by h, suppose f changes by some amount and g by another. Then f + g changes by the two amounts added. Divide by h and let h → 0: by the sum rule for limits, the rates add too.

The product rule. Let u = f(x) and v = g(x), and think of uv as the area of a rectangle with sides u and v. When x grows by h, u grows by a small amount Δu (read "delta u", meaning "a small change in u") and v grows by Δv. Our drawing shows what happens to the area.

uvu Δvv ΔuuvΔuΔvΔu Δv
When u grows by Δu and v grows by Δv, the area uv grows by u Δv + v Δu + Δu Δv. The corner piece is tiny next to the two strips, and in the limit it drops out: that leaves the product rule.
  1. The new rectangle has sides u + Δu and v + Δv, so its area is (u + Δu)(v + Δv) = uv + u Δv + v Δu + Δu Δv.
  2. So the area grows by u Δv + v Δu + Δu Δv: two strips and a small corner.
  3. Divide by h: u (Δv/h) + v (Δu/h) + Δu (Δv/h).
  4. As h → 0, Δv/h → v′ and Δu/h → u′ (these are exactly the derivatives of v and u). Also Δu → 0, so the corner term tends to 0 × v′ = 0.
  5. What is left is uv′ + vu′, which is the product rule.

In numbers: the drawing has u = 3, v = 2, Δu = 0.8 and Δv = 0.7. The area grows from 6 to 3.8 × 2.7 = 10.26, a growth of 4.26 = 2.1 + 1.6 + 0.56. The corner, 0.56, is the smallest piece, and it shrinks much faster than the strips as the changes get smaller.

The quotient rule. It follows from the product rule. Let q = u/v, so that u = qv. The product rule gives u′ = q′v + qv′. Solve for q′: q′ = (u′ − qv′)/v = (u′ − (u/v)v′)/v. Multiply the top and the bottom by v: q′ = (u′v − uv′)/v².

The short forms

The book restates the last two rules in a shorter way that is easier to recall. Let u = f(x) and v = g(x). Then

Read them as "u v, dash, is u dash v plus u v dash" and "u over v, dash, is u dash v minus u v dash, all over v squared". The first is called the Leibnitz rule, or the product rule, after Gottfried Wilhelm Leibniz (the book spells the name Leibnitz), who invented calculus at about the same time as Newton.

Memory aid

For the product: "each takes a turn". Differentiate the first and keep the second, then keep the first and differentiate the second, and add.

For the quotient: "the bottom squared goes underneath, and the top starts with the top's derivative". The only difference from the product rule's top is the minus sign.

RuleIn symbolsIn wordsExample
Sum(u + v)′ = u′ + v′the derivative of a sum is the sum of the derivatives(x² + 10x)′ = 2x + 10
Difference(u − v)′ = u′ − v′the derivative of a difference is the difference of the derivatives(x² − 10x)′ = 2x − 10
Constant factor(cu)′ = cu′a constant factor stays in front(10x)′ = 10 × 1 = 10
Product(uv)′ = u′v + uv′derivative of the first times the second, plus the first times the derivative of the second(x · x)′ = 1 · x + x · 1 = 2x
Quotient(u/v)′ = (u′v − uv′)/v²derivative of the top times the bottom, minus the top times the derivative of the bottom, all over the bottom squared(1/x)′ = (0 · x − 1 · 1)/x² = −1/x²

The book's first uses of the rules

The derivative of x is 1. For f(x) = x, the first principle gives [f(x + h) − f(x)]/h = (x + h − x)/h = h/h = 1, so the limit is the constant 1. The graph of y = x is a line of slope 1.

The derivative of 10x, by the sum rule. 10x = x + x + ... + x (ten terms). By part (i), its derivative is 1 + 1 + ... + 1 (ten terms) = 10. This agrees with Example 9.

The derivative of 10x, by the product rule. Write 10x = uv, where u is the constant function 10 and v(x) = x. Then u′ = 0 (Example 11) and v′ = 1. So (10x)′ = u′v + uv′ = 0 × x + 10 × 1 = 10. The same reasoning for any constant c gives (cu)′ = cu′: a constant factor stays in front.

The derivative of x², by the product rule. x² = x · x, so (x²)′ = 1 · x + x · 1 = 2x. This agrees with Example 10, found from first principles.

Common mistakes

(uv)′ = u′v′. Wrong: for x · x it would give 1 × 1 = 1, but (x²)′ = 2x.

(u/v)′ = u′/v′. Wrong: x²/x = x has derivative 1, but u′/v′ = 2x/1 = 2x.

Swapping the order on the top of the quotient rule: uv′ − u′v has the wrong sign.

Forgetting the square of the bottom: the quotient rule's denominator is v², not v.

The power rule

The examples suggest a pattern: x has derivative 1, x² has 2x, and (as the exercises show) x³ has 3x². The book proves the pattern in general.

Theorem 6 (from the book)

The derivative of f(x) = xⁿ is nxⁿ⁻¹, for any positive integer n. Example: the derivative of x⁴ is 4x³.

The power rule

Read it as "d by d x of x to the n is n times x to the n minus 1".

Memory aid: bring the power down in front, then lower the power by one. For x⁵: the 5 comes down, and the power becomes 4: 5x⁴.

The first proof (by the binomial theorem). By the first principle, f′(x) is the limit of [(x + h)ⁿ − xⁿ]/h as h → 0.

  1. The binomial theorem of Chapter 7 says (x + h)ⁿ = ⁿC₀xⁿ + ⁿC₁xⁿ⁻¹h + ⁿC₂xⁿ⁻²h² + ... + ⁿCₙhⁿ.
  2. ⁿC₀ = 1, so the first term is xⁿ, and it cancels with the −xⁿ. Also ⁿC₁ = n.
  3. Every term left has at least one factor h: (x + h)ⁿ − xⁿ = h(nxⁿ⁻¹ + ⁿC₂xⁿ⁻²h + ... + hⁿ⁻¹).
  4. Divide by h: nxⁿ⁻¹ + ⁿC₂xⁿ⁻²h + ... + hⁿ⁻¹. Every term after the first still has a factor h.
  5. As h → 0, all those terms tend to 0, leaving nxⁿ⁻¹.

See it with n = 3: (x + h)³ − x³ = 3x²h + 3xh² + h³ = h(3x² + 3xh + h²). Divided by h, this is 3x² + 3xh + h², which tends to 3x².

The second proof (by induction and the product rule). Induction proves a statement for every positive integer n in two moves: show it is true for n = 1, and show that whenever it is true for one number, it is true for the next. Like a row of dominoes: the first falls, and each one knocks over the next, so all of them fall.

  1. n = 1: the derivative of x¹ = x is 1 = 1 × x⁰. True, as shown above.
  2. Suppose the rule is true for n − 1, that is, (xⁿ⁻¹)′ = (n − 1)xⁿ⁻². (This is called the induction hypothesis.)
  3. Write xⁿ = x · xⁿ⁻¹ and use the product rule: (xⁿ)′ = 1 · xⁿ⁻¹ + x · (n − 1)xⁿ⁻².
  4. x · xⁿ⁻² = xⁿ⁻¹, so (xⁿ)′ = xⁿ⁻¹ + (n − 1)xⁿ⁻¹ = nxⁿ⁻¹. So the rule is true for n too, and by induction it is true for every positive integer n.

Remark (from the book)

The power rule is true for all powers of x: n can be any real number, though the book does not prove this here. Example: 1/x = x⁻¹, and the rule gives −1 × x⁻² = −1/x², the answer of Example 12. Another: √x is x to the power 1/2, so its derivative is (1/2) × x to the power −1/2, that is, 1/(2√x).

Common mistakes with powers

Forgetting to lower the power: (x⁵)′ is 5x⁴, not 5x⁵.

Using the rule on a constant: 2³ = 8 is a number, so its derivative is 0, not 3 × 2².

Using the rule when the variable is the power: 2 to the power x is not a power of x, and its derivative is not x times 2 to the power x − 1.

Examples of every kind: the power rule

Worked example 47

Direct: find the derivatives of x⁷ and of 4x³ − 2x² + 9.

What we know: The power rule, the sum and difference rules, and (cu)′ = cu′. The derivative of a constant is 0.

What we need: Two derivatives.

The plan: Differentiate term by term.

  1. (x⁷)′ = 7x⁶.
  2. (4x³)′ = 4 × 3x² = 12x², and (2x²)′ = 2 × 2x = 4x.
  3. (9)′ = 0.
  4. So (4x³ − 2x² + 9)′ = 12x² − 4x.

7x⁶, and 12x² − 4x.

Check: Count the powers: each term's power drops by exactly one, and the constant 9 disappears. A constant term only moves a graph up or down, so it cannot change any slope.

Worked example 48

Story: a cubical water tank on a roof in Jaipur has side x metres, so it holds V = x³ cubic metres. Find dV/dx when x = 2, and use it to estimate the extra water held if the side were 1 cm longer.

What we know: dV/dx = 3x² by the power rule. 1 cubic metre is 1000 litres, and 1 cm = 0.01 m.

What we need: dV/dx at x = 2, and an estimate.

The plan: Put x = 2; then rate × small change ≈ change.

  1. dV/dx = 3x² = 3 × 4 = 12 at x = 2: 12 cubic metres per metre of side.
  2. For a change of 0.01 m in the side, V changes by about 12 × 0.01 = 0.12 cubic metres.
  3. 0.12 cubic metres is 120 litres.

dV/dx = 12; about 120 litres more.

Check: The exact change is 2.01³ − 8 = 0.120601 cubic metres, about 120.6 litres, so the estimate is very good. The picture: growing the cube adds three thin slabs, each about x² = 4 square metres in area, which is where 3x² comes from.

Worked example 49

Picture: on the curve y = x³, find the slope of the tangent at x = −1, 0 and 1, and describe the tangent at the origin.

What we know: dy/dx = 3x².

What we need: Three slopes, and the tangent at (0, 0).

The plan: Put each x into 3x².

  1. At x = −1: 3 × 1 = 3. At x = 1: 3. At x = 0: 0.
  2. So the curve is equally steep at x = −1 and x = 1, both rising.
  3. At the origin the slope is 0, so the tangent there is the x-axis itself.

Slopes 3, 0 and 3; the tangent at the origin is the x-axis.

Check: You may wonder how the x-axis can be a tangent when the curve crosses it at the origin. A tangent touches the curve with the curve's own direction; it does not have to stay on one side of the curve. Here the curve flattens out to slope 0 exactly at the origin.

Worked example 50

Reverse: give a function whose derivative is 6x⁵.

What we know: The power rule lowers a power by one and brings it down in front.

What we need: One f with f′(x) = 6x⁵.

The plan: Raise the power by one: x⁶ has derivative 6x⁵.

  1. (x⁶)′ = 6x⁵.
  2. Adding a constant does not change the derivative: (x⁶ + 4)′ = 6x⁵ too.

f(x) = x⁶ (or x⁶ plus any constant).

Check: Undoing a derivative gives a whole family of answers, one for each constant. This idea grows into integration in Class 12.

Worked example 51

Exam: find dy/dx for y = 3x⁴ − 2/x², and its value at x = 1.

What we know: 2/x² = 2x⁻², and the power rule works for negative powers too (the book's Remark).

What we need: dy/dx, and its value at 1.

The plan: Rewrite with negative powers, then use the power rule term by term.

  1. y = 3x⁴ − 2x⁻².
  2. dy/dx = 12x³ − 2 × (−2)x⁻³ = 12x³ + 4x⁻³ = 12x³ + 4/x³.
  3. At x = 1: 12 + 4 = 16.

dy/dx = 12x³ + 4/x³, which is 16 at x = 1.

Check: The two minus signs (from −2 and from the power −2) multiply to a plus. The quotient rule gives the same: (2/x²)′ = (0 − 2 × 2x)/x⁴ = −4/x³, so subtracting it gives +4/x³.

A path that fails: treating 1/x² as "one over the derivative of x²", 1/(2x). The derivative of a reciprocal is not the reciprocal of the derivative.

Examples of every kind: the product rule

Worked example 52

Direct: differentiate (x² + 1)(x³ − 2).

What we know: (uv)′ = u′v + uv′.

What we need: The derivative.

The plan: u = x² + 1 and v = x³ − 2, so u′ = 2x and v′ = 3x².

  1. u′v = 2x(x³ − 2) = 2x⁴ − 4x.
  2. uv′ = (x² + 1)3x² = 3x⁴ + 3x².
  3. Add: 5x⁴ + 3x² − 4x.

5x⁴ + 3x² − 4x.

Check: Another way: expand first. (x² + 1)(x³ − 2) = x⁵ + x³ − 2x² − 2, whose derivative is 5x⁴ + 3x² − 4x. The same answer.

Worked example 53

Story: a rectangular solar park in Rajasthan is being extended. Today it is 300 m long, growing by 4 m a day, and 200 m wide, growing by 3 m a day. How fast is its area growing today?

What we know: Area A = uv, with length u and width v. Here a dash means the rate per day.

What we need: A′ today.

The plan: The product rule: A′ = u′v + uv′.

  1. u = 300, u′ = 4, v = 200, v′ = 3.
  2. A′ = 4 × 200 + 300 × 3 = 800 + 900 = 1700.

1700 square metres a day.

Check: After one full day the park would be 304 m by 203 m, an area of 61,712 square metres, up by 1712 from 60,000. The extra 12 = 4 × 3 is the corner piece of the rectangle picture; the rate today leaves it out.

Worked example 54

Picture: the graph of y = x(x − 2) is a parabola through (0, 0) and (2, 0). Where is its tangent flat, and what is the lowest point?

What we know: The product rule with u = x and v = x − 2.

What we need: Where dy/dx = 0.

The plan: Differentiate, set the slope to 0.

  1. dy/dx = 1 × (x − 2) + x × 1 = 2x − 2.
  2. 2x − 2 = 0 gives x = 1.
  3. y(1) = 1 × (−1) = −1.

The tangent is flat at x = 1; the lowest point is (1, −1).

Check: The parabola is symmetric about the line halfway between its zeros 0 and 2, which is x = 1. To the left of 1 the slope 2x − 2 is negative (going down), and to the right it is positive (going up).

Worked example 55

Reverse: u(1) = 2, u′(1) = 3 and v(1) = 5, and the derivative of uv at x = 1 is 19. Find v′(1).

What we know: (uv)′ = u′v + uv′ at x = 1.

What we need: v′(1).

The plan: Put in the numbers and solve.

  1. 19 = 3 × 5 + 2 × v′(1) = 15 + 2v′(1).
  2. 2v′(1) = 4, so v′(1) = 2.

v′(1) = 2.

Check: 3 × 5 + 2 × 2 = 15 + 4 = 19. The product rule needs four numbers (u, u′, v, v′); given any three and the result, the fourth can be found.

Worked example 56

Exam: differentiate x(x + 1)(x + 2).

What we know: For three factors the product rule gives (uvw)′ = u′vw + uv′w + uvw′: each factor takes its turn.

What we need: The derivative.

The plan: u = x, v = x + 1, w = x + 2; each has derivative 1.

  1. u′vw = (x + 1)(x + 2) = x² + 3x + 2.
  2. uv′w = x(x + 2) = x² + 2x.
  3. uvw′ = x(x + 1) = x² + x.
  4. Add: 3x² + 6x + 2.

3x² + 6x + 2.

Check: Expand first: x(x + 1)(x + 2) = x³ + 3x² + 2x, whose derivative is 3x² + 6x + 2. The three-factor rule comes from using the two-factor rule twice: (u · vw)′ = u′vw + u(vw)′.

Examples of every kind: the quotient rule

Worked example 57

Direct: differentiate (2x + 1)/(x − 3).

What we know: (u/v)′ = (u′v − uv′)/v², for v ≠ 0.

What we need: The derivative, for x ≠ 3.

The plan: u = 2x + 1 and v = x − 3, so u′ = 2 and v′ = 1.

  1. u′v = 2(x − 3) = 2x − 6.
  2. uv′ = (2x + 1) × 1 = 2x + 1.
  3. Top: (2x − 6) − (2x + 1) = −7.
  4. So the derivative is −7/(x − 3)².

−7/(x − 3)².

Check: The derivative is negative for every x ≠ 3, so the graph goes down on each side of x = 3. Brackets around uv′ matter: without them the sign of the +1 goes wrong.

Worked example 58

Story: a press in Sivakasi prints calendars. Printing x calendars costs 5000 + 20x rupees (a fixed ₹5000 to set up, then ₹20 each), so the average cost per calendar is A(x) = (5000 + 20x)/x. Find A′(100) and say what it means.

What we know: The quotient rule, with u = 5000 + 20x and v = x.

What we need: A′(100).

The plan: u′ = 20 and v′ = 1.

  1. Top: 20x − (5000 + 20x) × 1 = −5000.
  2. So A′(x) = −5000/x².
  3. A′(100) = −5000/10,000 = −0.5.

A′(100) = −0.5: near 100 calendars, each extra calendar lowers the average cost by about 50 paise.

Check: A(100) = 7000/100 = ₹70 and A(101) = 7020/101 ≈ ₹69.505, a drop of about 0.495 rupees. The fixed cost is shared by more calendars, so the average falls.

Worked example 59

Picture: find the slope of the curve y = x/(x + 1) at the origin and at x = 1. What does the curve do as x grows?

What we know: The quotient rule with u = x and v = x + 1.

What we need: Two slopes, and the trend.

The plan: Differentiate, then put in the values.

  1. dy/dx = [1 × (x + 1) − x × 1]/(x + 1)² = 1/(x + 1)².
  2. At x = 0: 1, so the tangent at the origin is y = x.
  3. At x = 1: 1/4.
  4. As x grows, 1/(x + 1)² gets smaller and smaller, though it stays positive.

Slope 1 at the origin and 1/4 at x = 1; the curve keeps rising but flattens out.

Check: y = x/(x + 1) is always below 1 for x ≥ 0 (the top is less than the bottom), and it creeps up towards 1. A curve that rises towards a ceiling must flatten, as the slopes show.

Worked example 60

Reverse: for f(x) = (x + k)/(x − 1), f′(2) = −4. Find the constant k.

What we know: The quotient rule with u = x + k and v = x − 1.

What we need: k.

The plan: Find f′(x) with k inside, put x = 2, solve.

  1. Top: 1 × (x − 1) − (x + k) × 1 = −1 − k.
  2. f′(x) = (−1 − k)/(x − 1)², so f′(2) = (−1 − k)/1 = −1 − k.
  3. −1 − k = −4, so k = 3.

k = 3.

Check: With k = 3, f′(x) = −4/(x − 1)², which is −4 at x = 2.

Worked example 61

Exam: differentiate (x² + 1)/(x² − 1).

What we know: The quotient rule; u = x² + 1 and v = x² − 1, so u′ = v′ = 2x.

What we need: The derivative, for x ≠ ±1.

The plan: Put into (u′v − uv′)/v² and simplify the top.

  1. u′v = 2x(x² − 1) = 2x³ − 2x.
  2. uv′ = (x² + 1)2x = 2x³ + 2x.
  3. Top: (2x³ − 2x) − (2x³ + 2x) = −4x.
  4. The derivative is −4x/(x² − 1)².

−4x/(x² − 1)².

Check: At x = 0 the slope is 0: the function is even (the same at x and −x), so its graph is symmetric about the y-axis and must be flat where it crosses it.

A path that fails: cancelling the x² on the top and the bottom to get 1, whose derivative is 0. Only common factors cancel, never terms of a sum.

When you are stuck: the rules for derivatives

Sums and differences first: split them, and take constant factors out in front.

A product: name the factors u and v, write u′ and v′ on the side, then fill in u′v + uv′.

A quotient: the same, with (u′v − uv′)/v²; keep that order on top and put brackets round each product.

A power, even 1/x or √x: write it as x to a power, bring the power down and lower it by one.

Your turn

Differentiate x³ − 5x + 2.Tap to reveal
  1. (x³)′ = 3x², (5x)′ = 5 and (2)′ = 0.

3x² − 5.

Check: Each power drops by one; the constant disappears.

Differentiate (x + 2)(x² − 3) by the product rule, and check by expanding.Tap to reveal
  1. u′v + uv′ = 1 × (x² − 3) + (x + 2)(2x) = x² − 3 + 2x² + 4x.

3x² + 4x − 3.

Check: Expanded, the function is x³ + 2x² − 3x − 6, with derivative 3x² + 4x − 3.

Differentiate x/(x² + 1).Tap to reveal
  1. u = x, v = x² + 1, u′ = 1, v′ = 2x.
  2. Top: (x² + 1) − x × 2x = 1 − x².

(1 − x²)/(x² + 1)².

Check: At x = 1 the slope is 0: the curve's highest point is at x = 1, where it reaches 1/2.

In one line

Derivatives follow rules: (u ± v)′ = u′ ± v′, (cu)′ = cu′, (uv)′ = u′v + uv′, (u/v)′ = (u′v − uv′)/v², and the power rule (xⁿ)′ = nxⁿ⁻¹.

12.5.2Derivatives of polynomials and trigonometric functions

Why we need it

We now have the rules (section 12.5.1) and the power rule (Theorem 6). Together they differentiate every polynomial at once, with no limits to work out. And the two trigonometric limits of section 12.4 are exactly what is needed to differentiate sin x, cos x and tan x. This section does both.

Polynomials

Theorem 7 (from the book)

Let f(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₁x + a₀ be a polynomial function, where the aᵢ are real numbers and aₙ ≠ 0. Then its derivative is df/dx = naₙxⁿ⁻¹ + (n − 1)aₙ₋₁xⁿ⁻² + ... + 2a₂x + a₁.

Example: for f(x) = 4x³ + 2x² + 7x + 1, df/dx = 12x² + 4x + 7.

(One misprint: in the book's formula, the power in the second term is printed as x − 2. It should be n − 2, one less than the n − 1 before it.)

The derivative of a polynomial

Read it as "each term's power comes down in front and drops by one, and the constant term disappears".

The derivative of a polynomial of degree n is a polynomial of degree n − 1.

Why it is true. The book says the proof is just part (i) of the theorem on the algebra of derivatives (the sum rule) put together with Theorem 6 (the power rule). Each term aₖxᵏ has derivative k aₖxᵏ⁻¹, by the power rule and the constant factor rule. The sum rule then adds the terms' derivatives.

Example 13 (from the book)

Compute the derivative of 6x¹⁰⁰ − x⁵⁵ + x.

What we know: Theorem 7.

What we need: The derivative.

The plan: Differentiate term by term.

  1. (6x¹⁰⁰)′ = 6 × 100x⁹⁹ = 600x⁹⁹.
  2. (x⁵⁵)′ = 55x⁵⁴.
  3. (x)′ = 1.

600x⁹⁹ − 55x⁵⁴ + 1.

Check: Imagine doing this from first principles: (x + h)¹⁰⁰ has 101 terms to expand. The rules turn a long limit into one line.

Example 14 (from the book)

Find the derivative of f(x) = 1 + x + x² + x³ + ... + x⁵⁰ at x = 1.

What we know: Theorem 7; the sum 1 + 2 + ... + n = n(n + 1)/2.

What we need: f′(1).

The plan: Differentiate term by term, then put x = 1.

  1. f′(x) = 0 + 1 + 2x + 3x² + ... + 50x⁴⁹.
  2. At x = 1 every power of x is 1, so f′(1) = 1 + 2 + 3 + ... + 50.
  3. 1 + 2 + ... + 50 = (50 × 51)/2 = 1275.

f′(1) = 1275.

Check: The sum of the first n natural numbers, n(n + 1)/2, is the sum of an A.P. from Class 10, Chapter 5. The book's solution says "Theorem 6" here; the step uses Theorem 7 (which is Theorem 6 together with the sum rule).

Example 15 (from the book)

Find the derivative of f(x) = (x + 1)/x.

What we know: The quotient rule. This function is defined for every x except x = 0.

What we need: f′(x), for x ≠ 0.

The plan: u = x + 1 and v = x, so u′ = 1 and v′ = 1.

  1. u′v − uv′ = 1 × x − (x + 1) × 1 = −1.
  2. v² = x².
  3. So f′(x) = −1/x².

f′(x) = −1/x².

Check: Splitting a fraction first, when the bottom is a single term, often saves the quotient rule.

Another way: (x + 1)/x = 1 + 1/x. The derivative of 1 is 0 and of 1/x is −1/x² (Example 12), so f′(x) = −1/x², the same.

Worked example 62

Story: a batter at Eden Gardens, Kolkata, hits a cricket ball straight up. Its height after t seconds is h = 1 + 20t − 5t² metres. Find its velocity at any time, when it stops rising, and how high it goes.

What we know: The velocity is the derivative of the height with respect to time. At the top, the ball stops rising for an instant, so its velocity is 0.

What we need: h′(t), the time of the top, and the height there.

The plan: Differentiate the polynomial, set h′(t) = 0.

  1. h′(t) = 0 + 20 − 10t = 20 − 10t metres per second.
  2. 20 − 10t = 0 gives t = 2 seconds.
  3. h(2) = 1 + 40 − 20 = 21 metres.

Velocity 20 − 10t m/s; the ball stops rising at t = 2 s, 21 m up.

Check: At t = 0 the velocity is 20 m/s (the hit); at t = 4 it is −20 m/s, falling as fast as it rose, and h(4) = 1 m: back at the bat's height. The velocity is positive while the ball rises and negative while it falls.

The derivatives of the trigonometric functions

Here the angle x is in radians, as in section 12.4: the limit sin h/h → 1 holds only in radians.

Example 16 (from the book)

Compute the derivative of sin x.

What we know: The first principle. From Chapter 3, sin A − sin B = 2 cos[(A + B)/2] sin[(A − B)/2]. From section 12.4, sin y/y → 1 as y → 0.

What we need: The derivative of sin x.

The plan: Turn the difference of sines into a product, then make sin(h/2) meet h/2.

  1. Let f(x) = sin x. Then f(x + h) − f(x) = sin(x + h) − sin x.
  2. With A = x + h and B = x: (A + B)/2 = x + h/2 and (A − B)/2 = h/2. So sin(x + h) − sin x = 2 cos(x + h/2) sin(h/2).
  3. Divide by h: 2 cos(x + h/2) sin(h/2)/h = cos(x + h/2) × [sin(h/2)/(h/2)].
  4. As h → 0: cos(x + h/2) → cos x, and sin(h/2)/(h/2) → 1 (with y = h/2, which also tends to 0).
  5. So the limit is cos x × 1 = cos x.

The derivative of sin x is cos x.

Check: Example 7 found the derivative of sin x at 0 to be 1, and cos 0 = 1. At x = 1: cos 1 ≈ 0.5403, and [sin 1.001 − sin 1]/0.001 ≈ 0.5399, close.

The derivative of sin x

Read it as "d by d x of sine x is cos x".

The slope of the sine graph at any point is the value of the cosine there.

The derivative of cos x

Read it as "d by d x of cos x is minus sine x".

The book leaves its proof to you: it is Exercise 12.2, Question 10, done in the same way with cos A − cos B = −2 sin[(A + B)/2] sin[(A − B)/2]. The solution is on this page.

Example 17 (from the book)

Compute the derivative of tan x.

What we know: tan x = sin x/cos x. The formula sin A cos B − cos A sin B = sin(A − B). sin h/h → 1.

What we need: The derivative of tan x.

The plan: First principle: combine the two fractions, then use the sine formula.

  1. tan(x + h) − tan x = sin(x + h)/cos(x + h) − sin x/cos x.
  2. Over the common denominator: [sin(x + h) cos x − cos(x + h) sin x]/[cos(x + h) cos x].
  3. The top is sin[(x + h) − x] = sin h.
  4. Divide by h: [sin h/h] × 1/[cos(x + h) cos x].
  5. As h → 0: 1 × 1/(cos x × cos x) = 1/cos²x = sec²x.

The derivative of tan x is sec²x.

Check: The book calls the step "the formula for sin(A + B)": it is that formula used with −x in place of B, which gives sin A cos B − cos A sin B. Since sec²x is never less than 1, the graph of tan x rises everywhere it is defined.

Another way: By the quotient rule, with u = sin x and v = cos x: [cos x × cos x − sin x × (−sin x)]/cos²x = (cos²x + sin²x)/cos²x = 1/cos²x = sec²x.

Example 18 (from the book)

Compute the derivative of f(x) = sin²x.

What we know: The Leibnitz product rule; (sin x)′ = cos x; 2 sin x cos x = sin 2x.

What we need: f′(x).

The plan: Write sin²x = sin x × sin x.

  1. f′(x) = (sin x)′ sin x + sin x (sin x)′.
  2. = cos x sin x + sin x cos x.
  3. = 2 sin x cos x = sin 2x.

f′(x) = sin 2x.

Check: At x = 0: sin 0 = 0, so the slope is 0. The graph of sin²x touches 0 there and rises on both sides, so a flat tangent is right.

f(x)f′(x)Where it is shown
sin xcos xExample 16
cos x−sin xExercise 12.2, Question 10
tan xsec²xExample 17
sec xsec x tan xExercise 12.2, Question 11 (ii)
cosec x−cosec x cot xExercise 12.2, Question 11 (iv)
cot x−cosec²xExercise 12.2, Question 11 (v)

Memory aid

The three "co" functions, cos, cot and cosec, all have a minus sign in their derivatives. And each pair matches: sin and cos swap; tan goes with sec², cot with cosec²; sec goes with sec tan, cosec with cosec cot.

Examples of every kind

Worked example 63

Direct: differentiate 3 sin x − 2x².

What we know: (sin x)′ = cos x and (x²)′ = 2x, with the difference and constant factor rules.

What we need: The derivative.

The plan: Term by term.

  1. (3 sin x)′ = 3 cos x.
  2. (2x²)′ = 4x.

3 cos x − 4x.

Check: Trigonometric terms and powers mix freely: the sum and difference rules work for any functions that have derivatives.

Worked example 64

Story: a seat on a giant wheel at a mela in Pune moves round a circle of radius 8 m whose centre is 10 m above the ground. When the wheel has turned through t radians from level with the centre, the seat's height is h = 10 + 8 sin t metres. How fast is the height changing (per radian turned) at t = 0, t = π/2 and t = π?

What we know: dh/dt = 8 cos t.

What we need: Three rates.

The plan: Put each value of t into 8 cos t.

  1. t = 0: 8 cos 0 = 8 m per radian (rising fastest, level with the centre).
  2. t = π/2: 8 cos(π/2) = 0 (at the top, 18 m up, the seat is neither rising nor falling for an instant).
  3. t = π: 8 cos π = −8 (level with the centre again, now falling fastest).

8, 0 and −8 metres per radian.

Check: The signs tell the story: positive while the seat rises, zero at the top, negative while it falls. The derivative of sin is largest where sin itself is 0.

Worked example 65

Picture: find the slope of the graph of y = sin x at x = 0, π/2 and π, and describe how the slopes behave.

What we know: dy/dx = cos x.

What we need: Three slopes.

The plan: Put each x into cos x.

  1. At 0: cos 0 = 1, so the tangent at the origin is the line y = x.
  2. At π/2: cos(π/2) = 0: the peak of the wave, with a flat tangent.
  3. At π: cos π = −1: the wave crosses the x-axis going down, at slope −1.

Slopes 1, 0 and −1.

Check: If you plot the slopes of the sine wave point by point, they trace out the cosine wave. The sine curve is steepest where it crosses the axis and flat at its peaks and troughs.

Worked example 66

Reverse: give a function whose derivative is cos x + 2x.

What we know: (sin x)′ = cos x and (x²)′ = 2x.

What we need: One such function.

The plan: Undo each term.

  1. cos x is the derivative of sin x.
  2. 2x is the derivative of x².

sin x + x² (or that plus any constant).

Check: (sin x + x² + 5)′ = cos x + 2x + 0: any constant may be added.

Worked example 67

Exam: differentiate x sin x, and find the slope of its graph at x = π/2.

What we know: The product rule, with u = x and v = sin x.

What we need: The derivative, and its value at π/2.

The plan: u′ = 1 and v′ = cos x.

  1. (x sin x)′ = 1 × sin x + x cos x = sin x + x cos x.
  2. At x = π/2: sin(π/2) + (π/2) cos(π/2) = 1 + 0 = 1.

sin x + x cos x; the slope at π/2 is 1.

Check: A path that fails: (x sin x)′ = 1 × cos x = cos x, the product of the two derivatives. At π/2 that would give 0, but the true slope is 1.

Another common slip: (sin 2x)′ is not cos 2x. Writing sin 2x = 2 sin x cos x and using the product rule gives 2(cos²x − sin²x) = 2 cos 2x.

Common mistakes

Working in degrees. The rule (sin x)′ = cos x holds with x in radians; with x in degrees, every derivative picks up a factor π/180 ≈ 0.01745.

Losing the minus sign: (cos x)′ = −sin x, not sin x.

Treating sin x as "sin times x" and using the product rule on it.

When you are stuck: derivatives of polynomials and trigonometric functions

A polynomial: go term by term; each power comes down and drops by one; constants vanish.

A trigonometric function: use the table: sin to cos, cos to −sin, tan to sec².

A product or quotient of them: name u and v, find u′ and v′ from the table, then use the rules.

From first principles: turn a difference of sines or cosines into a product (Chapter 3), then use sin y/y → 1.

Your turn

Differentiate 4x⁵ − 3x³ + 2x − 9, and find its value at x = 1.Tap to reveal
  1. 20x⁴ − 9x² + 2.
  2. At x = 1: 20 − 9 + 2 = 13.

20x⁴ − 9x² + 2; 13 at x = 1.

Check: The constant −9 has derivative 0.

Differentiate 5 cos x + tan x.Tap to reveal
  1. (5 cos x)′ = −5 sin x and (tan x)′ = sec²x.

−5 sin x + sec²x.

Check: The minus comes from the cosine, a "co" function.

Differentiate x² cos x, by the product rule.Tap to reveal
  1. u = x² and v = cos x, so u′ = 2x and v′ = −sin x.
  2. u′v + uv′ = 2x cos x + x² × (−sin x).

2x cos x − x² sin x.

Check: At x = 0 both terms are 0, so the slope is 0: near 0, x² cos x behaves like x², which has a flat bottom there.

In one line

A polynomial is differentiated term by term (each power down by one, constants gone), and in radians (sin x)′ = cos x, (cos x)′ = −sin x and (tan x)′ = sec²x.

Ex 12.2Exercise 12.2, solved in full

Every answer below agrees with the book's answer key. Questions 1 to 3 ask for a derivative at a point, Question 4 for derivatives from first principles, and Questions 5 to 8 use Theorem 7 and the rules, with letters standing for fixed numbers.

1. Find the derivative of x² − 2 at x = 10.Tap to reveal

What we know: (x²)′ = 2x, and the derivative of the constant −2 is 0.

What we need: The derivative at x = 10.

The plan: Differentiate, then put x = 10.

  1. d/dx (x² − 2) = 2x − 0 = 2x.
  2. At x = 10: 2 × 10 = 20.

20.

Check: From first principles at 10: [(10 + h)² − 2 − 98]/h = (20h + h²)/h = 20 + h, which tends to 20. The −2 cancels out, as a constant always does in a derivative.

2. Find the derivative of x at x = 1.Tap to reveal

What we know: The derivative of f(x) = x is the constant function 1 (section 12.5.1).

What we need: f′(1).

The plan: Put x = 1 into f′(x) = 1.

  1. f′(x) = 1 for every x.
  2. So f′(1) = 1.

1.

Check: From first principles: [(1 + h) − 1]/h = h/h = 1, whose limit is 1. The graph of y = x is a straight line of slope 1, the same at every point, including x = 1.

3. Find the derivative of 99x at x = 100.Tap to reveal

What we know: (cx)′ = c for a constant c, as Example 9 showed for 10x.

What we need: The derivative at x = 100.

The plan: Differentiate, then put x = 100.

  1. d/dx (99x) = 99 × 1 = 99.
  2. This is 99 at every x, so at x = 100 it is 99.

99.

Check: A tempting slip is to put x = 100 into 99x and answer 9900: that is the value of the function, not its derivative. The derivative of a straight line is its slope, here 99, wherever we look.

4 (i). Find the derivative of x³ − 27 from first principle.Tap to reveal

What we know: f′(x) is the limit of [f(x + h) − f(x)]/h. (x + h)³ = x³ + 3x²h + 3xh² + h³.

What we need: f′(x).

The plan: Expand, cancel, divide by h, let h → 0.

  1. f(x + h) − f(x) = (x + h)³ − 27 − (x³ − 27) = (x + h)³ − x³.
  2. = 3x²h + 3xh² + h³.
  3. Divided by h: 3x² + 3xh + h².
  4. As h → 0: 3x².

3x².

Check: The power rule gives the same at once: (x³)′ = 3x², and the constant −27 contributes 0. In a first-principle answer, the constant always cancels in the first line.

4 (ii). Find the derivative of (x − 1)(x − 2) from first principle.Tap to reveal

What we know: (x − 1)(x − 2) = x² − 3x + 2.

What we need: f′(x).

The plan: Expand the function first, then use the first principle.

  1. f(x + h) − f(x) = [(x + h)² − 3(x + h) + 2] − [x² − 3x + 2].
  2. = 2xh + h² − 3h.
  3. Divided by h: 2x + h − 3.
  4. As h → 0: 2x − 3.

2x − 3.

Check: The product rule agrees: 1 × (x − 2) + (x − 1) × 1 = 2x − 3. At x = 2 the slope is 1; numerically [(1.001)(0.001) − 0]/0.001 = 1.001.

4 (iii). Find the derivative of 1/x² from first principle.Tap to reveal

What we know: Combine fractions over a common denominator. (x + h)² = x² + 2xh + h².

What we need: f′(x), for x ≠ 0.

The plan: Combine, cancel h, let h → 0.

  1. 1/(x + h)² − 1/x² = [x² − (x + h)²]/[x²(x + h)²].
  2. The top is −2xh − h² = −h(2x + h).
  3. Divided by h: −(2x + h)/[x²(x + h)²].
  4. As h → 0: −2x/x⁴ = −2/x³.

−2/x³.

Check: The power rule with n = −2 gives −2x⁻³ = −2/x³, the same. At x = 1, [1/1.001² − 1]/0.001 ≈ −1.997, close to −2.

4 (iv). Find the derivative of (x + 1)/(x − 1) from first principle.Tap to reveal

What we know: Combine fractions over a common denominator.

What we need: f′(x), for x ≠ 1.

The plan: Combine, expand the top, cancel h.

  1. f(x + h) − f(x) = (x + h + 1)/(x + h − 1) − (x + 1)/(x − 1).
  2. Top over the common denominator: (x + h + 1)(x − 1) − (x + 1)(x + h − 1).
  3. = (x² + hx − h − 1) − (x² + hx + h − 1) = −2h.
  4. Divided by h: −2/[(x + h − 1)(x − 1)], which tends to −2/(x − 1)².

−2/(x − 1)².

Check: The quotient rule agrees: [1 × (x − 1) − (x + 1) × 1]/(x − 1)² = −2/(x − 1)². Expanding both products in full, slowly, is where most slips happen.

5. For the function f(x) = x¹⁰⁰/100 + x⁹⁹/99 + ... + x²/2 + x + 1, prove that f′(1) = 100 f′(0).Tap to reveal

What we know: Theorem 7: each term xᵏ/k has derivative k xᵏ⁻¹/k = xᵏ⁻¹.

What we need: f′(1) and f′(0), and their relation.

The plan: Differentiate term by term; count the terms.

  1. f′(x) = x⁹⁹ + x⁹⁸ + ... + x + 1 (the constant 1 gives 0).
  2. f′(1): each of the 100 terms is 1, so f′(1) = 100.
  3. f′(0): every term with a power of x is 0, leaving only the 1, so f′(0) = 1.
  4. So f′(1) = 100 = 100 × 1 = 100 f′(0).

f′(1) = 100 and f′(0) = 1, so f′(1) = 100 f′(0).

Check: Count carefully: the derivative has the powers 99, 98, ..., 1 and 0, which is 100 terms. The division by k in each term was chosen to cancel the k brought down by the power rule.

6. Find the derivative of xⁿ + axⁿ⁻¹ + a²xⁿ⁻² + ... + aⁿ⁻¹x + aⁿ, for some fixed real number a.Tap to reveal

What we know: Theorem 7; a is a constant, so each aᵏ is a constant factor.

What we need: The derivative.

The plan: Differentiate term by term.

  1. (xⁿ)′ = nxⁿ⁻¹.
  2. (axⁿ⁻¹)′ = a(n − 1)xⁿ⁻².
  3. (a²xⁿ⁻²)′ = a²(n − 2)xⁿ⁻³, and so on.
  4. (aⁿ⁻¹x)′ = aⁿ⁻¹, and (aⁿ)′ = 0, since aⁿ is a constant.

nxⁿ⁻¹ + a(n − 1)xⁿ⁻² + a²(n − 2)xⁿ⁻³ + ... + aⁿ⁻¹.

Check: With n = 2: x² + ax + a² has derivative 2x + a, and the formula gives 2x + a(1) = 2x + a. The pattern: the power of a goes up by one as the power of x goes down by one.

7 (i). For constants a and b, find the derivative of (x − a)(x − b).Tap to reveal

What we know: The product rule, or expand first.

What we need: The derivative.

The plan: Product rule with u = x − a and v = x − b, so u′ = v′ = 1.

  1. u′v + uv′ = 1 × (x − b) + (x − a) × 1.
  2. = 2x − a − b.

2x − a − b.

Check: Expanding: x² − (a + b)x + ab has derivative 2x − (a + b), the same. The constant ab disappears. Question 4 (ii) was the case a = 1, b = 2: 2x − 3.

7 (ii). For constants a and b, find the derivative of (ax² + b)².Tap to reveal

What we know: (ax² + b)² = a²x⁴ + 2abx² + b².

What we need: The derivative.

The plan: Expand, then use Theorem 7.

  1. d/dx (a²x⁴) = 4a²x³.
  2. d/dx (2abx²) = 4abx.
  3. d/dx (b²) = 0.
  4. Sum: 4a²x³ + 4abx = 4ax(ax² + b).

4ax(ax² + b).

Check: A path that fails: answering 2(ax² + b), as if the derivative of a square were twice the inside. The inside's own derivative, 2ax, must multiply it.

Another way: The product rule on (ax² + b)(ax² + b): 2ax(ax² + b) + (ax² + b)2ax = 4ax(ax² + b).

7 (iii). For constants a and b, find the derivative of (x − a)/(x − b).Tap to reveal

What we know: The quotient rule, for x ≠ b.

What we need: The derivative.

The plan: u = x − a and v = x − b, so u′ = v′ = 1.

  1. u′v − uv′ = (x − b) − (x − a).
  2. = a − b.
  3. So the derivative is (a − b)/(x − b)².

(a − b)/(x − b)².

Check: If a = b the function is 1 (for x ≠ b), whose derivative is 0, and indeed a − b = 0. A special case worth trying is often the quickest check.

8. Find the derivative of (xⁿ − aⁿ)/(x − a) for some constant a.Tap to reveal

What we know: The quotient rule, for x ≠ a; (xⁿ − aⁿ)′ = nxⁿ⁻¹ and (x − a)′ = 1.

What we need: The derivative.

The plan: Put into (u′v − uv′)/v².

  1. u′v = nxⁿ⁻¹(x − a) = nxⁿ − anxⁿ⁻¹.
  2. uv′ = xⁿ − aⁿ.
  3. Top: nxⁿ − anxⁿ⁻¹ − xⁿ + aⁿ.

(nxⁿ − anxⁿ⁻¹ − xⁿ + aⁿ)/(x − a)².

Check: With n = 3, the function is (x³ − a³)/(x − a) = x² + ax + a² (for x ≠ a), with derivative 2x + a. The formula gives (3x³ − 3ax² − x³ + a³)/(x − a)², and dividing out shows it equals 2x + a too.

9 (i). Find the derivative of 2x − 3/4.Tap to reveal

What we know: (cx)′ = c, and the derivative of a constant is 0.

What we need: The derivative.

The plan: Term by term.

  1. (2x)′ = 2.
  2. (3/4)′ = 0, since 3/4 is a constant.

2.

Check: The graph of y = 2x − 3/4 is a straight line of slope 2, crossing the y-axis at −3/4. The constant only shifts the line down; the slope, and so the derivative, stays 2 everywhere.

9 (ii). Find the derivative of (5x³ + 3x − 1)(x − 1).Tap to reveal

What we know: The product rule, with u = 5x³ + 3x − 1 and v = x − 1; u′ = 15x² + 3 and v′ = 1.

What we need: The derivative.

The plan: u′v + uv′, then collect like terms.

  1. u′v = (15x² + 3)(x − 1) = 15x³ − 15x² + 3x − 3.
  2. uv′ = 5x³ + 3x − 1.
  3. Sum: 20x³ − 15x² + 6x − 4.

20x³ − 15x² + 6x − 4.

Check: Expand first: 5x⁴ − 5x³ + 3x² − 4x + 1, whose derivative is 20x³ − 15x² + 6x − 4. At x = 1 both give 7.

9 (iii). Find the derivative of x⁻³(5 + 3x).Tap to reveal

What we know: The power rule works for negative powers. x⁻³ × 3x = 3x⁻².

What we need: The derivative.

The plan: Multiply out first, then use the power rule.

  1. x⁻³(5 + 3x) = 5x⁻³ + 3x⁻².
  2. (5x⁻³)′ = 5 × (−3)x⁻⁴ = −15x⁻⁴.
  3. (3x⁻²)′ = 3 × (−2)x⁻³ = −6x⁻³.
  4. Over x⁴: (−15 − 6x)/x⁴ = −3(5 + 2x)/x⁴.

−3(5 + 2x)/x⁴.

Check: The product rule gives the same: −3x⁻⁴(5 + 3x) + x⁻³ × 3 = (−15 − 9x + 3x)/x⁴ = (−15 − 6x)/x⁴. Multiplying out first avoids the product rule altogether.

9 (iv). Find the derivative of x⁵(3 − 6x⁻⁹).Tap to reveal

What we know: x⁵ × x⁻⁹ = x⁻⁴ (add the powers).

What we need: The derivative.

The plan: Multiply out, then use the power rule.

  1. x⁵(3 − 6x⁻⁹) = 3x⁵ − 6x⁻⁴.
  2. (3x⁵)′ = 15x⁴.
  3. (6x⁻⁴)′ = 6 × (−4)x⁻⁵ = −24x⁻⁵, so subtracting it gives +24x⁻⁵.

15x⁴ + 24/x⁵.

Check: The two minus signs (from −6 and from the power −4) make a plus. Adding powers when multiplying, 5 + (−9) = −4, is the law of exponents xᵐ × xⁿ = xᵐ⁺ⁿ, which holds for negative powers too.

9 (v). Find the derivative of x⁻⁴(3 − 4x⁻⁵).Tap to reveal

What we know: x⁻⁴ × x⁻⁵ = x⁻⁹.

What we need: The derivative.

The plan: Multiply out, then use the power rule.

  1. x⁻⁴(3 − 4x⁻⁵) = 3x⁻⁴ − 4x⁻⁹.
  2. (3x⁻⁴)′ = −12x⁻⁵.
  3. (4x⁻⁹)′ = −36x⁻¹⁰, so subtracting it gives +36x⁻¹⁰.

−12/x⁵ + 36/x¹⁰.

Check: For a negative power, the power still drops by one: −4 becomes −5 and −9 becomes −10. A frequent slip is to raise it to −3 or −8 instead, by thinking "one less" means one smaller in size.

9 (vi). Find the derivative of 2/(x + 1) − x²/(3x − 1).Tap to reveal

What we know: The quotient rule for each fraction, and the difference rule.

What we need: The derivative.

The plan: Differentiate each fraction separately.

  1. [2/(x + 1)]′ = [0 × (x + 1) − 2 × 1]/(x + 1)² = −2/(x + 1)².
  2. [x²/(3x − 1)]′ = [2x(3x − 1) − x² × 3]/(3x − 1)² = (3x² − 2x)/(3x − 1)² = x(3x − 2)/(3x − 1)².
  3. Subtract the second from the first.

−2/(x + 1)² − x(3x − 2)/(3x − 1)².

Check: At x = 1: −2/4 − 1/4 = −3/4. Numerically, [f(1.001) − f(1)]/0.001 is close to −0.75. The answer is left as two fractions, as in the key.

10. Find the derivative of cos x from first principle.Tap to reveal

What we know: From Chapter 3, cos A − cos B = −2 sin[(A + B)/2] sin[(A − B)/2]. sin y/y → 1 as y → 0.

What we need: The derivative of cos x.

The plan: The method of Example 16, with the cosine formula.

  1. f(x + h) − f(x) = cos(x + h) − cos x.
  2. With A = x + h and B = x: cos(x + h) − cos x = −2 sin(x + h/2) sin(h/2).
  3. Divide by h: −sin(x + h/2) × [sin(h/2)/(h/2)].
  4. As h → 0: −sin x × 1 = −sin x.

The derivative of cos x is −sin x.

Check: At x = 1: −sin 1 ≈ −0.8415, and [cos 1.001 − cos 1]/0.001 ≈ −0.8417. The minus sign makes sense: just after x = 0, cos x falls from its top value 1.

11 (i). Find the derivative of sin x cos x.Tap to reveal

What we know: The product rule; (sin x)′ = cos x and (cos x)′ = −sin x.

What we need: The derivative.

The plan: u = sin x and v = cos x.

  1. u′v = cos x × cos x = cos²x.
  2. uv′ = sin x × (−sin x) = −sin²x.
  3. Sum: cos²x − sin²x = cos 2x.

cos 2x.

Check: sin x cos x = (1/2) sin 2x; its graph is a sine wave of height 1/2, and at x = 0 the slope is cos 0 = 1. The identity cos²x − sin²x = cos 2x is from Chapter 3.

11 (ii). Find the derivative of sec x.Tap to reveal

What we know: sec x = 1/cos x. The quotient rule.

What we need: The derivative.

The plan: u = 1 and v = cos x, so u′ = 0 and v′ = −sin x.

  1. u′v − uv′ = 0 − 1 × (−sin x) = sin x.
  2. So (sec x)′ = sin x/cos²x.
  3. = (1/cos x)(sin x/cos x) = sec x tan x.

sec x tan x.

Check: At x = 0: sec 0 tan 0 = 1 × 0 = 0, a flat tangent; sec x has its lowest value, 1, at x = 0 on the interval from −π/2 to π/2, so a flat tangent there is right.

11 (iii). Find the derivative of 5 sec x + 4 cos x.Tap to reveal

What we know: (sec x)′ = sec x tan x (part (ii)) and (cos x)′ = −sin x.

What we need: The derivative.

The plan: Term by term, keeping the constant factors.

  1. (5 sec x)′ = 5 sec x tan x.
  2. (4 cos x)′ = −4 sin x.

5 sec x tan x − 4 sin x.

Check: Constant factors stay in front, and the sum rule handles the two terms separately. At x = 0 the derivative is 0 − 0 = 0.

11 (iv). Find the derivative of cosec x.Tap to reveal

What we know: cosec x = 1/sin x. The quotient rule.

What we need: The derivative.

The plan: u = 1 and v = sin x, so u′ = 0 and v′ = cos x.

  1. u′v − uv′ = 0 − cos x = −cos x.
  2. So (cosec x)′ = −cos x/sin²x.
  3. = −(1/sin x)(cos x/sin x) = −cosec x cot x.

−cosec x cot x.

Check: A "co" function, so a minus sign, as the memory aid says. It mirrors part (ii): sec goes to sec tan, cosec goes to minus cosec cot.

11 (v). Find the derivative of 3 cot x + 5 cosec x.Tap to reveal

What we know: cot x = cos x/sin x; (cosec x)′ = −cosec x cot x (part (iv)).

What we need: The derivative.

The plan: First find (cot x)′ by the quotient rule.

  1. (cot x)′ = [(−sin x) sin x − cos x cos x]/sin²x = −(sin²x + cos²x)/sin²x = −1/sin²x = −cosec²x.
  2. (3 cot x)′ = −3 cosec²x.
  3. (5 cosec x)′ = −5 cosec x cot x.

−3 cosec²x − 5 cosec x cot x.

Check: (cot x)′ = −cosec²x mirrors (tan x)′ = sec²x with a minus sign, as for every "co" function. sin²x + cos²x = 1 is the step that tidies the top.

11 (vi). Find the derivative of 5 sin x − 6 cos x + 7.Tap to reveal

What we know: (sin x)′ = cos x, (cos x)′ = −sin x, and the derivative of 7 is 0.

What we need: The derivative.

The plan: Term by term.

  1. (5 sin x)′ = 5 cos x.
  2. (6 cos x)′ = −6 sin x, so subtracting it gives +6 sin x.
  3. (7)′ = 0.

5 cos x + 6 sin x.

Check: Watch the double minus: subtracting −6 sin x gives +6 sin x. Writing the derivative of each term in brackets before combining prevents the slip.

11 (vii). Find the derivative of 2 tan x − 7 sec x.Tap to reveal

What we know: (tan x)′ = sec²x (Example 17) and (sec x)′ = sec x tan x (part (ii)).

What we need: The derivative.

The plan: Term by term.

  1. (2 tan x)′ = 2 sec²x.
  2. (7 sec x)′ = 7 sec x tan x.

2 sec²x − 7 sec x tan x.

Check: At x = 0: 2 × 1 − 7 × 1 × 0 = 2. So the curve rises at slope 2 where it crosses the y-axis, at the height 2 tan 0 − 7 sec 0 = −7.

When you are stuck: Exercise 12.2

"From first principle"? Then do not use the rules: write f(x + h), subtract f(x), divide by h, let h → 0.

Negative powers: multiply out first, then bring each power down and lower it by one.

sec, cosec, cot: write them as 1/cos x, 1/sin x and cos x/sin x, and use the quotient rule (or the table).

A messy answer? Check it at one value of x, with a small h such as 0.001.

In one line

Exercise 12.2 practises three ways to differentiate: from first principles, term by term with the power rule, and with the product and quotient rules, plus the six trigonometric derivatives.

MiscMiscellaneous examples

These four examples from the book mix everything in the chapter. Two ask for first principles, where the rules may not be used; two use the rules. Each is solved in full, with another way where one helps.

Choosing the method

The question saysUseWhy
"from the first principle"the limit of [f(x + h) − f(x)]/hthe question tests the definition itself
"find the derivative" of a sum or differenceterm by termthe sum and difference rules
a product(uv)′ = u′v + uv′the product rule
a quotient(u/v)′ = (u′v − uv′)/v²the quotient rule
sec, cosec, cotthe table, or 1/cos, 1/sin, cos/sineach is a quotient of sin and cos

Example 19 (from the book)

Find the derivative of f from the first principle, where (i) f(x) = (2x + 3)/(x − 2); (ii) f(x) = x + 1/x.

What we know: The first principle. (i) is not defined at x = 2, and (ii) is not defined at x = 0; we work at every other x.

What we need: f′(x) in each part.

The plan: Combine the fractions on top, cancel h, let h → 0.

  1. (i) f(x + h) − f(x) = (2x + 2h + 3)/(x + h − 2) − (2x + 3)/(x − 2).
  2. Over the common denominator (x + h − 2)(x − 2), the top is (2x + 2h + 3)(x − 2) − (2x + 3)(x + h − 2).
  3. Write the first product as (2x + 3)(x − 2) + 2h(x − 2) and the second as (2x + 3)(x − 2) + h(2x + 3). The (2x + 3)(x − 2) parts cancel.
  4. The top is 2h(x − 2) − h(2x + 3) = h(2x − 4 − 2x − 3) = −7h.
  5. Divided by h: −7/[(x − 2)(x + h − 2)], which tends to −7/(x − 2)².
  6. (ii) f(x + h) − f(x) = h + 1/(x + h) − 1/x = h + [x − (x + h)]/[x(x + h)] = h − h/[x(x + h)].
  7. Divided by h: 1 − 1/[x(x + h)], which tends to 1 − 1/x².

(i) f′(x) = −7/(x − 2)²; (ii) f′(x) = 1 − 1/x².

Check: The book notes that f′ is not defined at x = 2 in (i), nor at x = 0 in (ii): a derivative can only exist where the function itself is defined. At x = 3, (i) gives −7, and [f(3.001) − f(3)]/0.001 ≈ −6.99.

Another way: By the rules: (i) the quotient rule gives [2(x − 2) − (2x + 3) × 1]/(x − 2)² = −7/(x − 2)². (ii) (x)′ + (1/x)′ = 1 − 1/x², using Example 12.

Example 20 (from the book)

Find the derivative of f(x) from the first principle, where f(x) is (i) sin x + cos x; (ii) x sin x.

What we know: sin(x + h) = sin x cos h + cos x sin h and cos(x + h) = cos x cos h − sin x sin h (Chapter 3). As h → 0: sin h/h → 1 and (cos h − 1)/h → 0 (section 12.4).

What we need: f′(x) in each part.

The plan: Expand with the addition formulas, then group the terms so that sin h/h and (cos h − 1)/h appear.

  1. (i) f(x + h) − f(x) = sin x cos h + cos x sin h + cos x cos h − sin x sin h − sin x − cos x.
  2. Group: sin h (cos x − sin x) + sin x (cos h − 1) + cos x (cos h − 1).
  3. Divide by h and take limits: 1 × (cos x − sin x) + sin x × 0 + cos x × 0 = cos x − sin x.
  4. (ii) f(x + h) − f(x) = (x + h)(sin x cos h + cos x sin h) − x sin x.
  5. Group: x sin x (cos h − 1) + x cos x sin h + h(sin x cos h + cos x sin h).
  6. Divide by h: x sin x × (cos h − 1)/h + x cos x × sin h/h + (sin x cos h + cos x sin h).
  7. Take limits: x sin x × 0 + x cos x × 1 + (sin x × 1 + cos x × 0) = x cos x + sin x.

(i) cos x − sin x; (ii) x cos x + sin x.

Check: The grouping step is the heart of these limits: each group must end up as a known limit (sin h/h or (cos h − 1)/h) times something that does not depend on h.

Another way: By the rules: (i) (sin x)′ + (cos x)′ = cos x − sin x. (ii) The product rule: 1 × sin x + x cos x. Section 12.5.2 met the same x sin x by the product rule.

Example 21 (from the book)

Compute the derivative of (i) f(x) = sin 2x; (ii) g(x) = cot x.

What we know: sin 2x = 2 sin x cos x; cot x = cos x/sin x = 1/tan x; (tan x)′ = sec²x (Example 17).

What we need: f′(x) and g′(x).

The plan: (i) The product rule on 2 sin x cos x. (ii) The quotient rule.

  1. (i) f′(x) = 2[(sin x)′ cos x + sin x (cos x)′] = 2[cos x cos x + sin x (−sin x)] = 2(cos²x − sin²x).
  2. (ii) g′(x) = [(cos x)′ sin x − cos x (sin x)′]/sin²x = [(−sin x) sin x − cos x cos x]/sin²x.
  3. = −(sin²x + cos²x)/sin²x = −1/sin²x = −cosec²x.

(i) 2(cos²x − sin²x), which is 2 cos 2x; (ii) −cosec²x.

Check: (i) The book leaves the answer as 2(cos²x − sin²x); by Chapter 3 this is 2 cos 2x. It is not cos 2x: the 2 inside the sine comes out as a factor 2 in the derivative.

Another way: (ii) The book's second way: cot x = 1/tan x, so g′(x) = [0 × tan x − 1 × sec²x]/tan²x = −sec²x/tan²x = −(1/cos²x)(cos²x/sin²x) = −cosec²x.

Example 22 (from the book)

Find the derivative of (i) (x⁵ − cos x)/sin x; (ii) (x + cos x)/tan x.

What we know: The quotient rule, used wherever the function is defined (where sin x ≠ 0 in (i), and where tan x is defined and not 0 in (ii)).

What we need: The two derivatives.

The plan: Write u, v, u′ and v′, put them into (u′v − uv′)/v², and tidy the top.

  1. (i) u = x⁵ − cos x, u′ = 5x⁴ + sin x; v = sin x, v′ = cos x.
  2. Top: (5x⁴ + sin x) sin x − (x⁵ − cos x) cos x = 5x⁴ sin x + sin²x − x⁵ cos x + cos²x.
  3. sin²x + cos²x = 1, so the top is −x⁵ cos x + 5x⁴ sin x + 1, over sin²x.
  4. (ii) u = x + cos x, u′ = 1 − sin x; v = tan x, v′ = sec²x.
  5. The derivative is [(1 − sin x) tan x − (x + cos x) sec²x]/tan²x.

(i) (−x⁵ cos x + 5x⁴ sin x + 1)/sin²x; (ii) [(1 − sin x) tan x − (x + cos x) sec²x]/tan²x.

Check: In (i), spotting sin²x + cos²x = 1 inside the top is what makes the answer short. Always look for that identity after a quotient rule with sines and cosines.

Another way: (ii) Write the function as (x + cos x) cot x and use the product rule: (1 − sin x) cot x − (x + cos x) cosec²x. Dividing the book's answer through by tan²x gives exactly this.

When you are stuck: the miscellaneous examples

Read the question's words first: "first principle" means the limit; otherwise use the rules.

First principle with sin and cos: expand sin(x + h) and cos(x + h), then group the terms with sin h and with cos h − 1.

Finish with the two limits sin h/h → 1 and (cos h − 1)/h → 0.

A quotient: list u, v, u′, v′ on the side, and tidy the top only at the end (look for sin²x + cos²x = 1).

Your turn

Find the derivative of x cos x from the first principle.Tap to reveal
  1. (x + h) cos(x + h) − x cos x = (x + h)(cos x cos h − sin x sin h) − x cos x.
  2. = x cos x (cos h − 1) − x sin x sin h + h(cos x cos h − sin x sin h).
  3. Divide by h and take limits: 0 − x sin x + cos x.

cos x − x sin x.

Check: The product rule agrees: 1 × cos x + x × (−sin x).

Find the derivative of (x² + 1)/sin x.Tap to reveal
  1. u = x² + 1, u′ = 2x; v = sin x, v′ = cos x.
  2. (u′v − uv′)/v² = [2x sin x − (x² + 1) cos x]/sin²x.

[2x sin x − (x² + 1) cos x]/sin²x.

Check: Keep the brackets round x² + 1: the whole of u multiplies v′.

In one line

The miscellaneous examples use both roads to a derivative: the first principle (expand, group, use sin h/h → 1 and (cos h − 1)/h → 0) and the rules (sum, product, quotient), and the two roads always agree.

Misc ExMiscellaneous Exercise on Chapter 12, Questions 1 to 15, solved in full

Every answer below agrees with the book's answer key. As the book says, a, b, c, d, p, q, r and s are fixed non-zero constants, and m and n are integers.

1 (i). Find the derivative of −x from first principle.Tap to reveal

What we know: The first principle: f′(x) is the limit of [f(x + h) − f(x)]/h.

What we need: f′(x).

The plan: Write the fraction and simplify.

  1. f(x + h) − f(x) = −(x + h) − (−x) = −h.
  2. Divided by h: −1, for h ≠ 0.
  3. The limit of the constant −1 is −1.

−1.

Check: The graph of y = −x is a straight line falling at slope −1. The rule (cu)′ = cu′ with c = −1 gives the same. Brackets around −x matter when subtracting it.

1 (ii). Find the derivative of (−x)⁻¹ from first principle.Tap to reveal

What we know: (−x)⁻¹ = 1/(−x) = −1/x, for x ≠ 0.

What we need: f′(x).

The plan: Combine the fractions, cancel h, let h → 0.

  1. f(x + h) − f(x) = −1/(x + h) + 1/x.
  2. Over x(x + h): [−x + (x + h)]/[x(x + h)] = h/[x(x + h)].
  3. Divided by h: 1/[x(x + h)], which tends to 1/x².

1/x².

Check: It is the negative of Example 12: 1/x has derivative −1/x², so −1/x has derivative +1/x². A slip to avoid: reading (−x)⁻¹ as x, as if the two minus signs cancelled. The power −1 means "one over", so (−x)⁻¹ = 1/(−x) = −1/x.

1 (iii). Find the derivative of sin(x + 1) from first principle.Tap to reveal

What we know: sin A − sin B = 2 cos[(A + B)/2] sin[(A − B)/2], and sin y/y → 1.

What we need: f′(x).

The plan: The method of Example 16, with A = x + h + 1 and B = x + 1.

  1. f(x + h) − f(x) = sin(x + h + 1) − sin(x + 1) = 2 cos(x + 1 + h/2) sin(h/2).
  2. Divided by h: cos(x + 1 + h/2) × [sin(h/2)/(h/2)].
  3. As h → 0: cos(x + 1) × 1.

cos(x + 1).

Check: Shifting the graph of sin x one unit to the left shifts its slopes in the same way, so the derivative is cos x shifted too: cos(x + 1).

1 (iv). Find the derivative of cos(x − π/8) from first principle.Tap to reveal

What we know: cos A − cos B = −2 sin[(A + B)/2] sin[(A − B)/2].

What we need: f′(x).

The plan: The method of Exercise 12.2, Question 10, with A = x + h − π/8 and B = x − π/8.

  1. f(x + h) − f(x) = −2 sin(x − π/8 + h/2) sin(h/2).
  2. Divided by h: −sin(x − π/8 + h/2) × [sin(h/2)/(h/2)].
  3. As h → 0: −sin(x − π/8).

−sin(x − π/8).

Check: As in part (iii), a shift inside the function carries over to the derivative: (cos x)′ = −sin x, so (cos(x − π/8))′ = −sin(x − π/8).

2. Find the derivative of (x + a).Tap to reveal

What we know: (x)′ = 1, and a is a constant, so (a)′ = 0.

What we need: The derivative.

The plan: The sum rule.

  1. (x + a)′ = (x)′ + (a)′ = 1 + 0 = 1.

1.

Check: From first principles: [(x + h + a) − (x + a)]/h = h/h = 1. The graph is a line of slope 1, crossing the y-axis at a; changing a moves the line but never changes its slope.

3. Find the derivative of (px + q)(r/x + s).Tap to reveal

What we know: The product rule; (r/x)′ = −r/x² (Example 12 with the constant r).

What we need: The derivative.

The plan: u = px + q, u′ = p; v = r/x + s, v′ = −r/x².

  1. u′v = p(r/x + s) = pr/x + ps.
  2. uv′ = (px + q)(−r/x²) = −pr/x − qr/x².
  3. Sum: the pr/x terms cancel, leaving ps − qr/x².

−qr/x² + ps.

Check: Expanding first turned a product into a sum of simple terms, the shorter road here.

Another way: Expand first: (px + q)(r/x + s) = pr + psx + qr/x + qs. The derivative is ps − qr/x², the same.

4. Find the derivative of (ax + b)(cx + d)².Tap to reveal

What we know: The product rule. (cx + d)² = (cx + d)(cx + d), whose derivative is c(cx + d) + (cx + d)c = 2c(cx + d).

What we need: The derivative.

The plan: u = ax + b, u′ = a; v = (cx + d)², v′ = 2c(cx + d).

  1. u′v = a(cx + d)².
  2. uv′ = (ax + b) × 2c(cx + d).
  3. Sum: 2c(ax + b)(cx + d) + a(cx + d)².

2c(ax + b)(cx + d) + a(cx + d)².

Check: Check with a = b = c = d = 1: (x + 1)³ has derivative 3(x + 1)², and the formula gives 2(x + 1)² + (x + 1)² = 3(x + 1)².

5. Find the derivative of (ax + b)/(cx + d).Tap to reveal

What we know: The quotient rule, for cx + d ≠ 0.

What we need: The derivative.

The plan: u = ax + b, u′ = a; v = cx + d, v′ = c.

  1. u′v − uv′ = a(cx + d) − (ax + b)c.
  2. = acx + ad − acx − bc = ad − bc.
  3. So the derivative is (ad − bc)/(cx + d)².

(ad − bc)/(cx + d)².

Check: If ad = bc, the top and bottom are in proportion, the function is a constant, and the derivative is 0, as the formula says. Example 19 (i) is the case a = 2, b = 3, c = 1, d = −2: (−4 − 3) = −7.

6. Find the derivative of (1 + 1/x)/(1 − 1/x).Tap to reveal

What we know: Multiplying the top and the bottom by x gives (x + 1)/(x − 1), for x ≠ 0.

What we need: The derivative.

The plan: Simplify first, then use the quotient rule.

  1. (1 + 1/x)/(1 − 1/x) = (x + 1)/(x − 1), for x ≠ 0 and x ≠ 1.
  2. Quotient rule: [1 × (x − 1) − (x + 1) × 1]/(x − 1)² = −2/(x − 1)².

−2/(x − 1)², for x ≠ 0, 1.

Check: This is Exercise 12.2, Question 4 (iv) in disguise. The original function is not defined at x = 0 (because of 1/x), so x = 0 stays excluded even though the simplified form is defined there.

7. Find the derivative of 1/(ax² + bx + c).Tap to reveal

What we know: The quotient rule with u = 1 (u′ = 0) and v = ax² + bx + c (v′ = 2ax + b).

What we need: The derivative.

The plan: Put into (u′v − uv′)/v².

  1. u′v − uv′ = 0 − 1 × (2ax + b) = −(2ax + b).
  2. So the derivative is −(2ax + b)/(ax² + bx + c)².

−(2ax + b)/(ax² + bx + c)².

Check: A useful pattern: (1/v)′ = −v′/v². With v = x it gives −1/x², Example 12 again.

8. Find the derivative of (ax + b)/(px² + qx + r).Tap to reveal

What we know: The quotient rule: u = ax + b, u′ = a; v = px² + qx + r, v′ = 2px + q.

What we need: The derivative.

The plan: Expand the top carefully.

  1. u′v = apx² + aqx + ar.
  2. uv′ = (ax + b)(2px + q) = 2apx² + aqx + 2bpx + bq.
  3. Top: apx² + aqx + ar − 2apx² − aqx − 2bpx − bq = −apx² − 2bpx + ar − bq.

(−apx² − 2bpx + ar − bq)/(px² + qx + r)².

Check: The aqx terms cancel. With a = 1, b = 0, p = 1, q = 0, r = 1 the function is x/(x² + 1), and the top becomes 1 − x², as the quotient rule gives directly.

9. Find the derivative of (px² + qx + r)/(ax + b).Tap to reveal

What we know: The quotient rule: u = px² + qx + r, u′ = 2px + q; v = ax + b, v′ = a.

What we need: The derivative.

The plan: Expand and collect.

  1. u′v = (2px + q)(ax + b) = 2apx² + 2bpx + aqx + bq.
  2. uv′ = a(px² + qx + r) = apx² + aqx + ar.
  3. Top: apx² + 2bpx + bq − ar.

(apx² + 2bpx + bq − ar)/(ax + b)².

Check: It is Question 8 turned upside down, and its top is nearly the negative of Question 8's top: the order u′v − uv′ decides the signs.

10. Find the derivative of a/x⁴ − b/x² + cos x.Tap to reveal

What we know: a/x⁴ = ax⁻⁴ and b/x² = bx⁻²; the power rule works for negative powers; (cos x)′ = −sin x.

What we need: The derivative.

The plan: Term by term.

  1. (ax⁻⁴)′ = −4ax⁻⁵ = −4a/x⁵.
  2. (bx⁻²)′ = −2bx⁻³, so subtracting it gives +2b/x³.
  3. (cos x)′ = −sin x.

−4a/x⁵ + 2b/x³ − sin x.

Check: Rewriting fractions with x on the bottom as negative powers turns the quotient rule into the power rule, which is shorter and safer.

11. Find the derivative of 4√x − 2.Tap to reveal

What we know: √x is x to the power 1/2, and the power rule holds for this power too (the book's Remark).

What we need: The derivative, for x > 0.

The plan: Power rule, or first principles with the conjugate.

  1. (√x)′ = (1/2) × x to the power −1/2 = 1/(2√x).
  2. (4√x)′ = 4/(2√x) = 2/√x, and (2)′ = 0.

2/√x.

Check: At x = 4: 2/2 = 1, and [4√4.001 − 4√4]/0.001 ≈ 1.000. The derivative grows without bound as x → 0: the graph of √x starts vertically.

Another way: From first principles: [√(x + h) − √x]/h. Multiply the top and the bottom by √(x + h) + √x: the top becomes (x + h) − x = h, so the fraction is 1/[√(x + h) + √x], which tends to 1/(2√x).

12. Find the derivative of (ax + b)ⁿ.Tap to reveal

What we know: A rule proved like Theorem 6's second proof: for a function u, (uⁿ)′ = nuⁿ⁻¹u′ for every positive integer n.

What we need: The derivative.

The plan: Prove the rule by induction with the product rule, then use it with u = ax + b.

  1. n = 1: (u)′ = u′ = 1 × u⁰ × u′. True.
  2. If (uⁿ⁻¹)′ = (n − 1)uⁿ⁻²u′, then (uⁿ)′ = (u × uⁿ⁻¹)′ = u′uⁿ⁻¹ + u(n − 1)uⁿ⁻²u′ = nuⁿ⁻¹u′. So it holds for every positive integer n.
  3. For a negative integer n = −k, uⁿ = 1/uᵏ, and the quotient rule gives −kuᵏ⁻¹u′/u²ᵏ = nuⁿ⁻¹u′: the same rule. (For n = 0 both sides are 0.)
  4. With u = ax + b and u′ = a: [(ax + b)ⁿ]′ = n(ax + b)ⁿ⁻¹ × a.

na(ax + b)ⁿ⁻¹.

Check: With n = 2: (ax + b)² = a²x² + 2abx + b², whose derivative 2a²x + 2ab = 2a(ax + b) agrees. The extra factor a, the derivative of the inside, is what a careless use of the power rule forgets. In Class 12 this rule grows into the chain rule.

13. Find the derivative of (ax + b)ⁿ(cx + d)ᵐ.Tap to reveal

What we know: The product rule, and Question 12: [(ax + b)ⁿ]′ = na(ax + b)ⁿ⁻¹ and [(cx + d)ᵐ]′ = mc(cx + d)ᵐ⁻¹.

What we need: The derivative.

The plan: u = (ax + b)ⁿ and v = (cx + d)ᵐ; then take out the common factors.

  1. u′v + uv′ = na(ax + b)ⁿ⁻¹(cx + d)ᵐ + (ax + b)ⁿ mc(cx + d)ᵐ⁻¹.
  2. Take out (ax + b)ⁿ⁻¹(cx + d)ᵐ⁻¹: what is left is na(cx + d) + mc(ax + b).

(ax + b)ⁿ⁻¹(cx + d)ᵐ⁻¹[mc(ax + b) + na(cx + d)].

Check: With n = m = 1 the function is (ax + b)(cx + d), whose derivative is a(cx + d) + c(ax + b), and the formula gives the same. Taking out the lowest powers is what makes the answer compact.

14. Find the derivative of sin(x + a).Tap to reveal

What we know: sin(x + a) = sin x cos a + cos x sin a; cos a and sin a are constants.

What we need: The derivative.

The plan: Expand, then differentiate term by term.

  1. (sin x cos a)′ = cos x cos a.
  2. (cos x sin a)′ = −sin x sin a.
  3. Sum: cos x cos a − sin x sin a = cos(x + a).

cos(x + a).

Check: It matches Question 1 (iii), the case a = 1, found there from first principles. A shift inside the sine carries over to the cosine.

15. Find the derivative of cosec x cot x.Tap to reveal

What we know: (cosec x)′ = −cosec x cot x and (cot x)′ = −cosec²x (Exercise 12.2, Question 11).

What we need: The derivative.

The plan: The product rule with u = cosec x and v = cot x.

  1. u′v = (−cosec x cot x) cot x = −cosec x cot²x.
  2. uv′ = cosec x × (−cosec²x) = −cosec³x.
  3. Sum: −cosec³x − cosec x cot²x.

−cosec³x − cosec x cot²x.

Check: Where sin x > 0, both terms are negative, so the function is decreasing there. Writing the derivative of each factor on the side first keeps the signs straight.

When you are stuck: the Miscellaneous Exercise, Questions 1 to 15

Letters are numbers: treat a, b, c, d, p, q, r and s as fixed numbers; their derivatives are 0.

Simplify before differentiating when you can: expand a product, clear fractions inside fractions, write 1/xⁿ as a negative power.

A power of a bracket: (uⁿ)′ = nuⁿ⁻¹u′; never forget the u′.

Check a formula answer with simple values of the letters, such as a = b = c = d = 1.

In one line

Questions 1 to 15 use first principles for four functions, then the rules with letters for constants, the power rule for √x, and (uⁿ)′ = nuⁿ⁻¹u′ for a power of a bracket.

Misc ExMiscellaneous Exercise on Chapter 12, Questions 16 to 30, solved in full

Questions 16 to 30 are products and quotients of polynomials and trigonometric functions. In each, list u, u′, v and v′ first, use the rule, then tidy the top. The identities sin²x + cos²x = 1 and 1 + tan²x = sec²x do most of the tidying.

16. Find the derivative of cos x/(1 + sin x).Tap to reveal

What we know: The quotient rule: u = cos x, u′ = −sin x; v = 1 + sin x, v′ = cos x.

What we need: The derivative.

The plan: Put into (u′v − uv′)/v², then use sin²x + cos²x = 1.

  1. u′v = −sin x (1 + sin x) = −sin x − sin²x.
  2. uv′ = cos²x.
  3. Top: −sin x − sin²x − cos²x = −sin x − 1 = −(1 + sin x).
  4. Cancel one factor 1 + sin x with the bottom (1 + sin x)².

−1/(1 + sin x).

Check: At x = 0 the derivative is −1, and numerically [cos 0.001/(1 + sin 0.001) − 1]/0.001 ≈ −1.00. The top factorised into a copy of the bottom, which is why the answer is so short.

17. Find the derivative of (sin x + cos x)/(sin x − cos x).Tap to reveal

What we know: The quotient rule: u = sin x + cos x, u′ = cos x − sin x; v = sin x − cos x, v′ = cos x + sin x.

What we need: The derivative.

The plan: Notice u′ = −v and v′ = u.

  1. u′v − uv′ = (−v)v − u × u = −(v² + u²).
  2. u² + v² = (sin x + cos x)² + (sin x − cos x)² = 2(sin²x + cos²x) = 2, as the 2 sin x cos x terms cancel.
  3. So the top is −2.

−2/(sin x − cos x)².

Check: At x = 0: −2/(0 − 1)² = −2. Spotting that u′ is −v and v′ is u turned a messy expansion into two lines.

18. Find the derivative of (sec x − 1)/(sec x + 1).Tap to reveal

What we know: The quotient rule; (sec x)′ = sec x tan x.

What we need: The derivative.

The plan: u = sec x − 1 and v = sec x + 1; both have derivative sec x tan x.

  1. u′v − uv′ = sec x tan x (sec x + 1) − (sec x − 1) sec x tan x.
  2. = sec x tan x [(sec x + 1) − (sec x − 1)] = 2 sec x tan x.

2 sec x tan x/(sec x + 1)².

Check: At x = 0 the derivative is 0: sec 0 = 1, so the function is 0 there, its lowest value, since sec x − 1 ≥ 0 near 0.

Another way: Multiply the top and the bottom by cos x: the function is (1 − cos x)/(1 + cos x), with derivative [sin x(1 + cos x) + (1 − cos x) sin x]/(1 + cos x)² = 2 sin x/(1 + cos x)². This equals the answer above.

19. Find the derivative of sinⁿx.Tap to reveal

What we know: The rule of Question 12: (uⁿ)′ = nuⁿ⁻¹u′, for every integer n.

What we need: The derivative.

The plan: Use it with u = sin x and u′ = cos x.

  1. (sinⁿx)′ = n sinⁿ⁻¹x × (sin x)′.
  2. = n sinⁿ⁻¹x cos x.

n sinⁿ⁻¹x cos x.

Check: With n = 2 it gives 2 sin x cos x = sin 2x, which is Example 18. With n = 3 at x = 1: 3 sin²1 cos 1 ≈ 1.15, and [sin³1.001 − sin³1]/0.001 ≈ 1.15.

20. Find the derivative of (a + b sin x)/(c + d cos x).Tap to reveal

What we know: The quotient rule: u = a + b sin x, u′ = b cos x; v = c + d cos x, v′ = −d sin x.

What we need: The derivative.

The plan: Expand the top and use sin²x + cos²x = 1.

  1. u′v = b cos x(c + d cos x) = bc cos x + bd cos²x.
  2. uv′ = (a + b sin x)(−d sin x) = −ad sin x − bd sin²x.
  3. Top: bc cos x + bd cos²x + ad sin x + bd sin²x = bc cos x + ad sin x + bd.

(bc cos x + ad sin x + bd)/(c + d cos x)².

Check: The two bd terms joined into bd(cos²x + sin²x) = bd. Subtracting uv′ turned its two minus signs into plus signs.

21. Find the derivative of sin(x + a)/cos x.Tap to reveal

What we know: The quotient rule; (sin(x + a))′ = cos(x + a) (Question 14). cos A cos B + sin A sin B = cos(A − B).

What we need: The derivative.

The plan: u = sin(x + a), v = cos x.

  1. u′v − uv′ = cos(x + a) cos x − sin(x + a)(−sin x).
  2. = cos(x + a) cos x + sin(x + a) sin x = cos[(x + a) − x] = cos a.

cos a/cos²x.

Check: The top collapsed to the constant cos a: always look for a compound-angle formula after the quotient rule.

Another way: sin(x + a)/cos x = (sin x cos a + cos x sin a)/cos x = cos a tan x + sin a. Its derivative is cos a sec²x, the same.

22. Find the derivative of x⁴(5 sin x − 3 cos x).Tap to reveal

What we know: The product rule: u = x⁴, u′ = 4x³; v = 5 sin x − 3 cos x, v′ = 5 cos x + 3 sin x.

What we need: The derivative.

The plan: u′v + uv′, then take out x³.

  1. u′v = 4x³(5 sin x − 3 cos x) = 20x³ sin x − 12x³ cos x.
  2. uv′ = x⁴(5 cos x + 3 sin x) = 5x⁴ cos x + 3x⁴ sin x.
  3. Take out x³: x³(5x cos x + 3x sin x + 20 sin x − 12 cos x).

x³(5x cos x + 3x sin x + 20 sin x − 12 cos x).

Check: (−3 cos x)′ = +3 sin x: the minus of cos′ and the minus of −3 make a plus. The common factor x³ makes the answer neat.

23. Find the derivative of (x² + 1) cos x.Tap to reveal

What we know: The product rule: u = x² + 1, u′ = 2x; v = cos x, v′ = −sin x.

What we need: The derivative.

The plan: u′v + uv′.

  1. u′v = 2x cos x.
  2. uv′ = (x² + 1)(−sin x) = −x² sin x − sin x.
  3. Sum: −x² sin x − sin x + 2x cos x.

−x² sin x − sin x + 2x cos x.

Check: At x = 0: 0 − 0 + 0 = 0. The function, (x² + 1) cos x, is even (the same at x and −x), so its graph is symmetric about the y-axis and has a flat tangent where it crosses it.

24. Find the derivative of (ax² + sin x)(p + q cos x).Tap to reveal

What we know: The product rule: u = ax² + sin x, u′ = 2ax + cos x; v = p + q cos x, v′ = −q sin x.

What we need: The derivative.

The plan: u′v + uv′, left in factored form.

  1. u′v = (2ax + cos x)(p + q cos x).
  2. uv′ = (ax² + sin x)(−q sin x).
  3. Sum, as the key writes it: −q sin x(ax² + sin x) + (p + q cos x)(2ax + cos x).

−q sin x(ax² + sin x) + (p + q cos x)(2ax + cos x).

Check: There is no need to expand: the factored form shows the product rule's two parts. With a = p = q = 1 at x = 0: −0 + (1 + 1)(0 + 1) = 2.

25. Find the derivative of (x + cos x)(x − tan x).Tap to reveal

What we know: The product rule: u = x + cos x, u′ = 1 − sin x; v = x − tan x, v′ = 1 − sec²x = −tan²x.

What we need: The derivative.

The plan: u′v + uv′, using 1 − sec²x = −tan²x.

  1. u′v = (1 − sin x)(x − tan x).
  2. uv′ = (x + cos x)(−tan²x).
  3. Sum: −tan²x(x + cos x) + (x − tan x)(1 − sin x).

−tan²x(x + cos x) + (x − tan x)(1 − sin x).

Check: 1 + tan²x = sec²x (Chapter 3) gives 1 − sec²x = −tan²x. At x = 0 the derivative is 0 + 0 = 0.

26. Find the derivative of (4x + 5 sin x)/(3x + 7 cos x).Tap to reveal

What we know: The quotient rule: u = 4x + 5 sin x, u′ = 4 + 5 cos x; v = 3x + 7 cos x, v′ = 3 − 7 sin x.

What we need: The derivative.

The plan: Expand both products, subtract, use sin²x + cos²x = 1.

  1. u′v = (4 + 5 cos x)(3x + 7 cos x) = 12x + 28 cos x + 15x cos x + 35 cos²x.
  2. uv′ = (4x + 5 sin x)(3 − 7 sin x) = 12x − 28x sin x + 15 sin x − 35 sin²x.
  3. Top: 28 cos x + 15x cos x + 35 cos²x + 28x sin x − 15 sin x + 35 sin²x.
  4. 35 cos²x + 35 sin²x = 35, and the 12x terms cancelled.

(35 + 15x cos x + 28 cos x + 28x sin x − 15 sin x)/(3x + 7 cos x)².

Check: At x = 0: the top is 35 + 0 + 28 + 0 − 0 = 63 and the bottom is 49, giving 9/7. The two 12x terms cancelling is a good sign that the expansion is right.

27. Find the derivative of x² cos(π/4)/sin x.Tap to reveal

What we know: cos(π/4) is a constant number (1/√2), so it stays in front. The quotient rule for x²/sin x.

What we need: The derivative.

The plan: u = x², u′ = 2x; v = sin x, v′ = cos x.

  1. (x²/sin x)′ = (2x sin x − x² cos x)/sin²x.
  2. Take out x: x(2 sin x − x cos x)/sin²x.
  3. Multiply by the constant cos(π/4).

x cos(π/4)(2 sin x − x cos x)/sin²x.

Check: A path that fails: differentiating cos(π/4) as if it were cos x, to get −sin(π/4). There is no x inside it: it is just a number, about 0.7071.

28. Find the derivative of x/(1 + tan x).Tap to reveal

What we know: The quotient rule: u = x, u′ = 1; v = 1 + tan x, v′ = sec²x.

What we need: The derivative.

The plan: Put into (u′v − uv′)/v².

  1. u′v = 1 + tan x.
  2. uv′ = x sec²x.
  3. Top: 1 + tan x − x sec²x.

(1 + tan x − x sec²x)/(1 + tan x)².

Check: At x = 0: (1 + 0 − 0)/1 = 1. Near 0, tan x ≈ x, so the function is close to x/(1 + x), whose slope at 0 is also 1.

29. Find the derivative of (x + sec x)(x − tan x).Tap to reveal

What we know: The product rule: u = x + sec x, u′ = 1 + sec x tan x; v = x − tan x, v′ = 1 − sec²x.

What we need: The derivative.

The plan: u′v + uv′.

  1. u′v = (1 + sec x tan x)(x − tan x).
  2. uv′ = (x + sec x)(1 − sec²x).
  3. Sum, as the key writes it: (x + sec x)(1 − sec²x) + (x − tan x)(1 + sec x tan x).

(x + sec x)(1 − sec²x) + (x − tan x)(1 + sec x tan x).

Check: 1 − sec²x could also be written −tan²x, as in Question 25; both forms are correct. At x = 0: (0 + 1)(1 − 1) + 0 = 0.

30. Find the derivative of x/sinⁿx.Tap to reveal

What we know: The quotient rule: u = x, u′ = 1; v = sinⁿx, v′ = n sinⁿ⁻¹x cos x (Question 19).

What we need: The derivative.

The plan: Put into (u′v − uv′)/v², then cancel sinⁿ⁻¹x.

  1. Top: sinⁿx − x n sinⁿ⁻¹x cos x = sinⁿ⁻¹x (sin x − nx cos x).
  2. Bottom: (sinⁿx)² = sin²ⁿx.
  3. Cancel sinⁿ⁻¹x: sin²ⁿx ÷ sinⁿ⁻¹x = sinⁿ⁺¹x.

(sin x − nx cos x)/sinⁿ⁺¹x.

Check: With n = 1: (sin x − x cos x)/sin²x, which the quotient rule gives directly for x/sin x. Subtracting powers when dividing, 2n − (n − 1) = n + 1, is the step to do slowly.

When you are stuck: the Miscellaneous Exercise, Questions 16 to 30

Make a small table of u, u′, v and v′ before writing the rule.

Tidy with identities: sin²x + cos²x = 1, 1 + tan²x = sec²x, and the compound-angle formulas.

A power of sin x: (sinⁿx)′ = n sinⁿ⁻¹x cos x, from Question 12's rule.

Constants such as cos(π/4) or cos a stay as they are: they have no x inside.

In one line

Questions 16 to 30 are products and quotients of polynomials and trigonometric functions: list u, u′, v and v′, use the rule, then tidy the top with sin²x + cos²x = 1.

PracticeMixed practice

These problems mix the ideas of the whole chapter. Three of them have no answer of the kind first expected, and two show a path that fails; that is part of the practice. Try each one before you open it.

A. Find the limit of 1/x as x → 0.Tap to reveal

What we know: A limit exists only when both one-sided limits exist and agree.

The plan: Try small values on each side.

  1. x = 0.001 gives 1000; x = −0.001 gives −1000.
  2. As x → 0 from the right, 1/x grows without bound; from the left, it falls without bound.
  3. Neither side settles on a number.

No limit: 1/x does not approach any number as x → 0 (a dead end).

Check: Compare (x² − 4)/(x − 2) at 2: there the 0 on the bottom came with a 0 on top, and cancelling saved the day. Here the top is 1, not 0, so nothing cancels.

B. Find the derivative of f(x) = |x − 2| at x = 2.Tap to reveal

What we know: f′(2) is the limit of [f(2 + h) − f(2)]/h = |h|/h.

The plan: Find both one-sided limits.

  1. For h < 0: |h|/h = −1. For h > 0: |h|/h = 1.
  2. The one-sided limits differ.

f′(2) does not exist (a dead end): the graph has a sharp corner at x = 2.

Check: Away from the corner the derivative exists: at x = 5, f(x) = x − 2 nearby, so f′(5) = 1.

C. A student writes the derivative of sin²x as cos²x. What went wrong?Tap to reveal

What we know: sin²x = sin x × sin x, a product (Example 18).

The plan: Use the product rule, and test both answers at one point.

  1. The product rule gives cos x sin x + sin x cos x = 2 sin x cos x.
  2. At x = 0 the true slope is 0, but cos²0 = 1.

The derivative is 2 sin x cos x (= sin 2x), not cos²x (a path that fails).

Check: The student differentiated the sine and kept the square, as if the square were not there. Squaring makes a product, and products need the product rule.

D. Find the limit of [√(x + 4) − 2]/x as x → 0.Tap to reveal

What we know: At x = 0 it is 0/0, and there is a square root on top.

The plan: Multiply the top and the bottom by √(x + 4) + 2.

  1. The top becomes (x + 4) − 4 = x.
  2. The fraction is x/[x(√(x + 4) + 2)] = 1/[√(x + 4) + 2], for x ≠ 0.
  3. Put x = 0: 1/(2 + 2) = 1/4.

1/4.

Check: The trick is the one used for √x in the Miscellaneous Exercise: (√A − B)(√A + B) = A − B² removes the root.

E. Story: a balloon seller at a fair in Lucknow blows up a round balloon. Its volume is V = (4/3)πr³ cubic cm when its radius is r cm. How fast does V change with r when r = 10?Tap to reveal

What we know: dV/dr = (4/3)π × 3r² = 4πr².

The plan: Put r = 10.

  1. dV/dr = 4π × 100 = 400π ≈ 1256.6.

About 1256.6 cubic cm per cm of radius.

Check: 4πr² is the surface area of the balloon: a thin extra layer of thickness Δr adds about (surface area) × Δr of volume.

F. For which k does the limit of (x² + kx − 6)/(x − 2) as x → 2 exist? Find the limit then.Tap to reveal

What we know: The bottom tends to 0. If the top tended to a non-zero number, the fraction would grow without bound.

The plan: The top must also be 0 at x = 2.

  1. 4 + 2k − 6 = 0, so k = 1.
  2. Then x² + x − 6 = (x − 2)(x + 3), and the fraction is x + 3 for x ≠ 2.
  3. The limit is 2 + 3 = 5.

k = 1, and the limit is 5.

Check: Any other k leaves a non-zero top over a bottom near 0, as in Problem A.

G. Find the derivative of √x at x = 0.Tap to reveal

What we know: f′(0) would be the limit of (√h − 0)/h = 1/√h, for h > 0.

The plan: Try small h.

  1. h = 0.0001 gives 1/0.01 = 100; smaller h gives larger values.
  2. 1/√h grows without bound as h → 0.

No derivative at 0 (a dead end): the tangent there is vertical.

Check: This matches the derivative 1/(2√x) for x > 0, which grows without bound as x → 0. A vertical line has no slope.

H. Find the equation of the tangent to y = x³ − 3x at x = 2.Tap to reveal

What we know: The slope of the tangent is dy/dx = 3x² − 3.

The plan: Slope and point, then the point-slope form of Chapter 9.

  1. Slope: 3 × 4 − 3 = 9.
  2. Point: y = 8 − 6 = 2, so (2, 2).
  3. y − 2 = 9(x − 2), that is, y = 9x − 16.

y = 9x − 16.

Check: At x = 2 the line gives 18 − 16 = 2, the point itself.

I. Where is the tangent to y = x³ − 3x horizontal?Tap to reveal

What we know: A horizontal tangent has slope 0.

The plan: Solve 3x² − 3 = 0.

  1. x² = 1, so x = 1 or x = −1.
  2. y(1) = 1 − 3 = −2 and y(−1) = −1 + 3 = 2.

At (1, −2) and (−1, 2).

Check: (−1, 2) is a peak and (1, −2) a valley of the curve: at a peak or a valley the curve stops rising or falling for an instant.

J. A student differentiates x/(x + 1) as [x × 1 − (x + 1) × 1]/(x + 1)² = −1/(x + 1)². What went wrong?Tap to reveal

What we know: The quotient rule's top is u′v − uv′, with the derivative of the top first.

The plan: Redo it in the right order.

  1. u = x, u′ = 1; v = x + 1, v′ = 1.
  2. u′v − uv′ = (x + 1) − x = 1.

The order on top was swapped; the derivative is 1/(x + 1)² (a path that fails).

Check: x/(x + 1) rises from 0 towards 1 for x ≥ 0, so its slope must be positive; the student's answer is negative everywhere.

When you are stuck: a mixed problem

Put the number in first: a value means done; 0/0 means cancel; (non-zero)/0 means no limit.

Corners and vertical tangents are where a derivative fails: check both sides.

Tangent problems: slope from the derivative, point from the function, then y − y₁ = m(x − x₁).

Test an answer at one easy point, such as x = 0, against the graph's shape.

In one line

Put the number in first, check both sides at a corner, and test any answer at one easy point: that catches most slips with limits and derivatives.

RecapSummary

The book's summary, point by point:

  • The value that f(x) is expected to approach, judging from the points to the left of a point, is the left hand limit there. The right hand limit is the same from the right.
  • The limit of a function at a point is the common value of the left and right hand limits, when they agree.
  • For a function f and a number a, the limit of f(x) as x → a and the value f(a) may not be the same. In fact one may be defined and the other not.
  • For functions f and g, limits respect sums, differences, products and quotients (the last when the bottom limit is not 0).
  • Some standard limits: (xⁿ − aⁿ)/(x − a) → naⁿ⁻¹ as x → a; sin x/x → 1 and (1 − cos x)/x → 0 as x → 0.
  • The derivative of f at a is the limit of [f(a + h) − f(a)]/h as h → 0, and the derivative at any point x is the limit of [f(x + h) − f(x)]/h, written f′(x) or df(x)/dx.
  • For functions u and v: (u ± v)′ = u′ ± v′, (uv)′ = u′v + uv′ and (u/v)′ = (u′v − uv′)/v², provided all are defined.
  • Some standard derivatives: (xⁿ)′ = nxⁿ⁻¹, (sin x)′ = cos x and (cos x)′ = −sin x.

The whole chapter on one page

ToolFormulaExample
The limit of a quotient(x² + 1)/(x + 100) at 1: 2/101
A standard limit(x⁴ − 1)/(x − 1) at 1: 4
The sine limitsin 5x/x at 0: 5
The cosine limitused for (sin x)′ and (cos x)′
The derivative at ax² at 1: 2
The first principle1/x: −1/x²
The power rule(x⁶)′ = 6x⁵
The product rule(x sin x)′ = sin x + x cos x
The quotient rule(x/(x + 1))′ = 1/(x + 1)²
Trigonometric derivativessin to cos; cos to −sin; tan to sec²(5 sin x)′ = 5 cos x

How to choose the method

  • A limit? Put the number in. A value: done. 0/0: factorise, use Theorem 2, rationalise, or make sin y/y appear. A non-zero number over 0: no limit.
  • A piecewise function or |x|? Find the left and right hand limits from their own pieces and compare.
  • "From first principle"? Write [f(x + h) − f(x)]/h, simplify until h cancels, and let h → 0.
  • Any other derivative? Split sums, then use the power rule, the product and quotient rules and the trigonometric table.
  • A slope or a rate? It is a derivative: the slope of the tangent, or the speed of change.

Historical note

Two names share the credit for inventing calculus: Isaac Newton (1642 to 1727; the book spells him Issac) and Gottfried Wilhelm Leibniz (1646 to 1716; the book spells him Leibnitz and prints his death as 1717). Each invented it on his own, in the seventeenth century.

Many mathematicians developed it further. Its rigorous form is mainly due to A. L. Cauchy, J. L. Lagrange and Karl Weierstrass. Cauchy gave the foundation of calculus found in textbooks today. He used D'Alembert's idea of a limit to define the derivative, gave examples such as the limit of sin α/α as α → 0, and wrote Δy/Δx = [f(x + i) − f(x)]/i. He called its limit as i → 0 the "fonction dérivée" (French for "derived function"), written y′ or f′(x).

Before 1900, calculus was thought too difficult to teach, and so beyond the reach of young people. In 1900 John Perry and others in England began to argue that its essential ideas and methods are simple and could be taught even in schools. F. L. Griffin pioneered teaching calculus to first-year students, which was thought very daring at the time.

Today not only mathematics but physics, chemistry, economics and the biological sciences all use calculus.

The whole chapter in one line

A limit is the value a function approaches near a point. The derivative is the limit of [f(x + h) − f(x)]/h: the slope of the tangent and the rate of change, found from first principles or with the sum, product, quotient and power rules.

WordsWords to know

WordMeaning
Limitthe value f(x) approaches as x approaches a point
Left hand limitthe value approached from points to the left of the point
Right hand limitthe value approached from points to the right of the point
Piecewise functiona function given by different formulas on different parts of its domain
Polynomial functiona sum of terms aₖxᵏ, with whole-number powers
Rational functiona polynomial divided by a non-zero polynomial
Sandwich theorema function squeezed between two others with the same limit has that limit too
Average velocitydistance covered divided by the time taken
Instantaneous velocitythe velocity at one instant: the limit of average velocities
Rate of changehow fast one quantity changes compared with another
Chorda straight line through two points of a curve
Tangentthe line that touches a curve at a point, in the curve's direction there
Derivativethe limit of [f(x + h) − f(x)]/h as h → 0: a slope and a rate
First principlefinding a derivative straight from its definition as a limit
Differentiateto find the derivative
With respect to xwith x as the quantity that changes
Product rule (Leibnitz rule)(uv)′ = u′v + uv′
Quotient rule(u/v)′ = (u′v − uv′)/v²
Power rule(xⁿ)′ = nxⁿ⁻¹
Inductionproving a statement for n = 1 and from each n to the next, so for all n
Calculusthe mathematics of limits, rates of change and slopes

CheckQuick self-check

Fifteen short questions on the whole chapter. Try each before you open it.

1. Find the limit of 3x + 1 as x → 2.Tap to reveal
  1. A polynomial: put x = 2.

7.

2. Find the limit of (x² − 1)/(x − 1) as x → 1.Tap to reveal
  1. Cancel x − 1 to get x + 1.

2.

3. Find the limit of sin 5x/x as x → 0.Tap to reveal
  1. 5 × [sin 5x/(5x)] → 5 × 1.

5.

4. Does the limit of |x|/x exist at x = 0?Tap to reveal
  1. The left hand limit is −1 and the right hand limit is 1.

No.

5. Find the limit of (x⁴ − 1)/(x − 1) as x → 1.Tap to reveal
  1. Theorem 2: naⁿ⁻¹ with n = 4 and a = 1.

4.

6. Differentiate x⁶.Tap to reveal
  1. Bring the 6 down; lower the power by one.

6x⁵.

7. Differentiate the constant 7.Tap to reveal
  1. A constant does not change.

0.

8. What is the derivative of sin x at x = 0?Tap to reveal
  1. cos 0 = 1.

1.

9. Find the derivative of x² + 3x at x = 1.Tap to reveal
  1. 2x + 3 at x = 1.

5.

10. Differentiate 1/x.Tap to reveal
  1. The power rule with n = −1.

−1/x².

11. Complete the product rule: (uv)′ = ?Tap to reveal
  1. Each factor takes its turn.

u′v + uv′.

12. Differentiate cos x.Tap to reveal
  1. A "co" function: a minus sign.

−sin x.

13. What is the slope of the tangent to y = x² at x = 3?Tap to reveal
  1. dy/dx = 2x = 6.

6.

14. Differentiate tan x.Tap to reveal
  1. Example 17.

sec²x.

15. A body moves s = 5t² metres in t seconds. What is its velocity at t = 2?Tap to reveal
  1. ds/dt = 10t = 20.

20 m/s.

PDF