Skip to chapter text
MathematicsCh 12 Limits and Derivatives

Limits and Derivatives: Class 11 Maths · Chapter 12

Mathematics · Companion notes, simulations and practice · Official NCERT chapter PDF ↗

Published · Updated

  • 95 min
  • 1 simulation
  • 52 practice questions
  • 23 MCQs

What you will learn in Limits and Derivatives

  • Estimate an instantaneous rate of change from average rates over shrinking intervals and interpret it as the slope of a tangent.
  • Find left-hand and right-hand limits from tables, graphs and formulas, and decide whether a limit exists.
  • Evaluate limits with the algebra of limits, substitution, cancelling common factors and the standard limit of (xⁿ − aⁿ)/(x − a).
  • Prove cos x < sin x/x < 1 by comparing areas, use the sandwich theorem to find the limits of sin x/x and (1 − cos x)/x, and evaluate trigonometric limits.
  • Define the derivative at a point and as a function, find derivatives from the first principle, and interpret them as slopes of tangents.
  • Differentiate sums, differences, products and quotients, powers of x, polynomials and the six trigonometric functions.

Original companion text aligned to NCERT Mathematics Class 11, Chapter 12, pp. 217–256. Not affiliated with or endorsed by NCERT.

12.1 Introduction

A car's speedometer shows one number: how fast the car is going at this instant. A doctor checking a fever wants to know how quickly the temperature is falling now, not its average fall overnight. An engineer at a river gauge in the monsoon watches how fast the water is rising this hour. Each is a rate of change at an instant, and the mathematics built to measure such rates is called calculus (कलन).

In calculus we ask how fast the output of a function changes when its input changes, and we answer with two new ideas: the limit and the derivative. We first meet speed at an instant informally, then study limits with tables, graphs and algebra, and finally define the derivative and find it for polynomials and trigonometric functions. Class 12 builds continuity, more rules and integration on this base.

12.2 Intuitive Idea of Derivatives

A metro train pulls out of a station and speeds up steadily for the first 20 seconds. Its distance s (in metres) from the starting point after t seconds is s=0.5t2. The driver's speedometer shows the speed at every instant. Can we work out its reading at t=10 s from the distance formula alone?

The difficulty is that during a single instant the train covers no distance at all, so 'distance divided by time' gives 00. What we can compute is the average speed over a time interval [t1,t2]:

average speed over an interval
vˉ=s(t2)−s(t1)t2−t1
(12.1)

Now let the intervals shrink towards t=10 s, first from the left (intervals ending at 10 s) and then from the right (intervals starting at 10 s). Since s(10)=50 m, the interval from 9.9 s to 10 s covers 50−49.005=0.995 m in 0.1 s, an average of 9.95 m/s. Table 12.1 lists eight such averages; the last column is distance divided by the length of the interval.

Table 12.1Average speeds of the train over intervals that end or start at t=10 s
Interval (s)Distance (m)Speed (m/s)
8–10189
9–109.59.5
9.9–100.9959.95
9.99–100.099959.995
10–10.010.1000510.005
10–10.11.00510.05
10–1110.510.5
10–122211

Read the last column downwards from the top: the averages climb 9, 9.5, 9.95, 9.995 as the intervals close in on 10 s from the left. Read it upwards from the bottom: they fall 11, 10.5, 10.05, 10.005 as the intervals close in from the right. Both lists home in on the same number, so the speedometer at t=10 s must read 10 m/s, that is 36 km/h. No single interval produces this value. It is the number the averages approach, the instantaneous speed (तात्क्षणिक चाल) of the train at t=10 s.

The same idea has a picture. On the graph of s=0.5t2 mark the point A(10,50). The average speed over [10,10+h] is the rise over the run of the chord from A to the point Q of the graph above t=10+h, so it is the slope of the chord AQ. As h shrinks, the chord swings round and settles on the line that just touches the curve at A: the tangent at A (Fig. 12.1).

4/4The tangent at A has slope 10 m/s, the instantaneous speed.

Fig. 12.1Chords from A swing towards the tangent as the time interval shrinks.NCERT Fig. 12.1 · p. 219

A distance–time graph: the curve s = 0.5t² rises from the origin and passes through A(10, 50). Step 1 draws the dashed chord from A to Q at t = 14, with slope 12 m/s shown in a panel. Step 2 moves Q to t = 12; the chord is less steep, slope 11 m/s. Step 3 moves Q to t = 10.5; the chord almost hugs the curve, slope 10.25 m/s. Step 4 replaces the chord by the solid tangent at A, slope 10 m/s, which meets the time axis at t = 5.

So the instantaneous speed at t=10 s equals the slope of the tangent to the distance–time graph at that instant. In the language of Section 12.5, 10 m/s is the derivative of s=0.5t2 at t=10. To make 'the number the averages approach' precise, we now study limits.

Quick check
1 of 3
For the train, s=0.5t2. What is its average speed between t=4 s and t=6 s?
m/s
Show answer

Answer 5 m/s

s(6)=18 m and s(4)=8 m, so the train covers 10 m in 2 s: 5 m/s. Dividing 18 m by 6 s gives 3 m/s, which is the average speed from the start, not over this interval.

12.3 Limits

The speed calculation followed a pattern we will use again and again: we were not allowed to put t=10 into the formula for average speed, so we watched what happened as t crept close to 10. That process is called taking a limit.

Try it on g(x)=x3−8x−2. At x=2 the formula gives 00, so g(2) is not defined. Nothing stops us from evaluating g near 2, though:

Table 12.2Values of g(x)=x3−8x−2 near x=2
xg(x)
1.810.84
1.9511.7025
1.99511.970025
2.00512.030025
2.0512.3025
2.213.24

From both sides the values crowd around 12, and they stay as close to 12 as we like once x is close enough to 2. We write lim⁡x→2g(x)=12 and read it as 'the limit of g(x) as x tends to 2 is 12'. The graph explains why. For x≠2 we may cancel x−2, since x3−8=(x−2)(x2+2x+4), so g is the parabola y=x2+2x+4 with one point punched out (Fig. 12.2).

Definition
Limit

We write lim⁡x→af(x)=L when the values f(x) can be made as close to L as we please by taking x close enough to a, with x≠a. The number L is called the limit of f at a.

Examplelim⁡x→2x3−8x−2=12, although the function is not defined at 2.

4/4Set g(2)=5: the limit is still 12.

Fig. 12.2A missing or misplaced point does not change the limit.NCERT Fig. 12.2 · p. 220

The graph of g(x) = (x³ − 8)/(x − 2) is the parabola y = x² + 2x + 4 with an open circle at (2, 12); dashed guides run from the hole to x = 2 and y = 12. Step 1 shows the curve and notes that g(2) is undefined. Step 2 adds three dots on the left branch moving towards the hole, with g(x) → 12 as x → 2 from the left. Step 3 does the same from the right. Step 4 defines g(2) = 5: a filled dot appears at (2, 5), well below the hole, yet the limit is still 12.

Two features of this definition need attention. First, the value f(a) plays no part in it. The function may be undefined at a, or defined there with a different value, as in the last step of Fig. 12.2, and the limit is unchanged. Second, x may approach a from either side, and the definition needs both sides to agree.

Left-hand and right-hand limits

A courier counter in Pune charges by weight: ₹60 for a parcel up to and including 2 kg, and ₹95 for a parcel over 2 kg (up to 5 kg). Let C(w) be the charge, in rupees, for a parcel of w kg.

C(w)={60,w≤295,w>2

Let the weight approach 2 kg from below: 1.9 kg, 1.99 kg, 1.999 kg. The charge is ₹60 every time, so as w comes towards 2 from the left, C(w) approaches 60. This is the left-hand limit (बाएँ पक्ष की सीमा) of C at 2, written lim⁡w→2−C(w)=60. From above (2.1 kg, 2.01 kg, 2.001 kg) the charge is always ₹95, so the right-hand limit is lim⁡w→2+C(w)=95 (Fig. 12.3).

3/3The one-sided limits differ, so lim⁡w→2C(w) does not exist.

Fig. 12.3The two one-sided limits at w=2 disagree.NCERT Fig. 12.3 · p. 221

The charge C in rupees is plotted against the weight w in kilograms. A solid horizontal segment at height 60 runs from w = 0 to w = 2, ending in a filled dot at (2, 60). A dashed segment at height 95 starts with an open circle at (2, 95) and runs to w = 5. Step 1 adds an arrow along the lower segment towards w = 2: the left-hand limit is 60. Step 2 adds an arrow along the upper segment towards w = 2 from the right: the right-hand limit is 95. Step 3 shows both arrows and a double arrow marking the gap between 60 and 95: there is no limit at 2.

The two one-sided limits disagree, so there is no single number that C(w) approaches as w→2. The limit of C at 2 does not exist, even though C(2)=60 is perfectly well defined.

Definition
Left- and right-hand limits

The left-hand limit lim⁡x→a−f(x) is the number that f(x) approaches as x comes close to a through values less than a. The right-hand limit lim⁡x→a+f(x) uses values greater than a. The limit lim⁡x→af(x) exists exactly when both one-sided limits exist and are equal, and it is then their common value.

ExampleFor the courier charge, the left-hand limit at 2 is 60 and the right-hand limit is 95, so there is no limit at 2.

Limits from tables and graphs

A table of values is a dependable first tool. Table 12.3 evaluates four more functions 0.01 to the left and 0.01 to the right of a chosen point a.

Table 12.3Values of f just left of a (at a−0.01) and just right of a (at a+0.01)
f(x) and aLeftRightLimit
5−2x, 3−0.98−1.02−1
x2−3x, −14.05013.95014
tan⁡x, π40.98021.02021
1(x−1)2, 1104104none

The first three rows behave politely. The values close in on one number from both sides, and that number is just f(a): 5−2(3)=−1, (−1)2−3(−1)=4 and tan⁡π4=1. For polynomials and the trigonometric functions, at points where the formula makes sense, the limit is the value. Section 12.3.2 proves this for polynomials.

The last row is different. Closer to 1 the values explode: 106 at x=0.999 and 108 at x=0.9999, beyond any bound you care to name. No real number is being approached, so the limit does not exist. This behaviour is sometimes written lim⁡x→11(x−1)2=+∞, but +∞ only signals values growing without bound; it is not a number. Such limits lie outside this course.

InteractiveLimit and slope lab

Two modes. Approach: choose one of six functions (the parabola with a hole, the courier charge, tan x near π/4, 1/(x − 1)² near 1, sin x / x near 0 and (1 − cos x)/x near 0); a slider sets how far x is from the point, a graph marks the two points just left and right of it, and a table lists f(x) at distances 0.1, 0.01, 0.001 and 0.0001 on each side with a verdict on whether the limit exists. Chord to tangent: choose f(x) = 0.5x², x³/3 − x, 6/x or sin x, set the point a and the step h (positive or negative); the graph shows the chord PQ, the panel shows the difference quotient, and a button reveals the tangent and the value of the derivative.

Fig. 12.4In Approach mode, pick a function and slide x towards the point from either side while the table fills in. In Chord to tangent mode, shrink h and watch the chord slope settle on the derivative.

Here is what the tables and graphs have taught us:

  • The limit at a depends only on values near a, never on f(a) itself.
  • A limit exists only when the left-hand and right-hand limits exist and agree.
  • f(a) may be undefined while the limit exists (Fig. 12.2), defined while the limit does not exist (Fig. 12.3), or defined and different from the limit.
  • Values that grow without bound have no limit.
Quick check
1 of 3
Let f(x)=x+1 for x<2 and f(x)=7−x for x≥2. What is lim⁡x→2f(x)?
Show answer

Answer (D) It does not exist.

From the left f(x)→3 and from the right f(x)→5. The one-sided limits differ, so there is no limit. The value f(2)=5 does not decide it, and averaging the two one-sided limits is not allowed.

12.3.1 Algebra of limits

Tables are slow, and luckily we seldom need them. If two functions have limits at a, so do their sum, difference, product and quotient, and the limits combine in the obvious way. The one catch: we may not divide by a limit of 0. We take these rules on trust here, since proving them needs an exact definition of a limit, which comes in later courses.

Theorem 12.1Algebra of limits

Suppose lim⁡x→af(x)=l and lim⁡x→ag(x)=m both exist. Then, as x→a: (i) f(x)+g(x)→l+m; (ii) f(x)−g(x)→l−m; (iii) f(x) g(x)→lm; (iv) f(x)g(x)→lm, provided m≠0.

If g is the constant function c, rule (iii) says lim⁡x→ac f(x)=cl: constants come out of limits. For example, (iii) gives lim⁡x→−1x2=(−1)(−1)=1, and then (ii) gives lim⁡x→−1(x2−3x)=1−3(−1)=4, as the table predicted. Rule (iv) has a real condition: lim⁡x→0sin⁡xx cannot be split into lim⁡sin⁡xlim⁡x, because the bottom limit is 0. Limits of that kind need Section 12.4.

12.3.2 Limits of polynomials and rational functions

Two limits are obvious: a constant function c stays at c, so its limit is c, and the function x approaches a as x does. Every polynomial is built from these two by multiplying and adding. Since x2=x⋅x, rule (iii) gives lim⁡x→ax2=a2; repeating the step (induction on n) gives lim⁡x→axn=an for every positive integer n.

DerivationLimit of a polynomial

Let p(x)=c0+c1x+⋯+cnxn and treat each term as a function. The sum rule lets us take the limit term by term, the constant rule turns the limit of ckxk into cklim⁡x→axk, and that is ckak. Adding up the terms gives c0+c1a+⋯+cnan, which is p(a).

limit of a polynomial
lim⁡x→ap(x)=p(a)
(12.3)

A rational function is a quotient f(x)=g(x)h(x) of two polynomials, defined wherever h(x)≠0. If h(a)≠0, the quotient rule and (12.3) give

rational function, $h(a) \ne 0$
lim⁡x→ag(x)h(x)=g(a)h(a)
(12.4)

Trouble starts when h(a)=0. If g(a)≠0, the top stays near g(a) while the bottom shrinks to 0, so the quotient grows without bound and there is no limit. If g(a)=0 as well, we have the form 00, which by itself tells us nothing. Then x−a divides both polynomials (factor theorem), and we can pull out every factor of x−a:

g(x)=(x−a)k g1(x)h(x)=(x−a)l h1(x)

Here g1(a)≠0 and h1(a)≠0. Cancelling for x≠a leaves three outcomes (Fig. 12.5):

  • k>l: the factor (x−a)k−l stays on top, so f(x)→0.
  • k=l: everything cancels, so f(x)→g1(a)h1(a).
  • k<l: a factor (x−a)l−k stays below, the values grow without bound, and there is no limit.

2/3The factors cancel: the limit is g1(a)h1(a).

Fig. 12.5Counting factors of x−a decides a 00 limit.

One set of axes with a dashed vertical guide at x = 1. Step 1 (k = 2, l = 1): the graph of (x − 1)²/(x − 1) is the line y = x − 1 with a hole at (1, 0), so the limit is 0. Step 2 (k = l = 1): the graph of (x² − 1)/(x − 1) is the line y = x + 1 with a hole at (1, 2), so the limit is 2. Step 3 (k = 1, l = 2): the graph of (x − 1)/(x − 1)² is the hyperbola y = 1/(x − 1), whose two branches run off to minus and plus infinity beside x = 1, so there is no limit.

Cancelling is legitimate because a limit only uses values with x≠a, and there x−a is not zero.

Example 12.1NCERT Example 1 · p. 230

Polynomials: substitute

Evaluate (i) lim⁡x→2(x4−3x2+5), (ii) lim⁡x→−2(x+1)(x2−4x) and (iii) lim⁡x→2(1+x+x2+⋯+x5).

Try it yourself first. Then reveal the solution one step at a time.

Example 12.2NCERT Example 2 · p. 230

Rational functions

Evaluate each limit, or show that it does not exist.

  1. lim⁡x→3x2+1x+2
  2. lim⁡x→−3x2+x−6x2−9
  3. lim⁡x→1x2−1x3−3x2+3x−1
  4. lim⁡x→1x3−x2−x+1x2+2x−3
  5. lim⁡x→2(1x−2−4x2−4)

Try it yourself first. Then reveal the solution one step at a time.

Theorem 12.2A standard limit

For every positive integer n and every real number a, lim⁡x→axn−anx−a=nan−1.

difference of powers
lim⁡x→axn−anx−a=nan−1
(12.5)

The same formula holds when n is any rational number and a>0; we use this without proof. For example, with n=12 it says that x−ax−a→12a as x→a.

Example 12.3NCERT Example 3 · p. 233

Using the difference-of-powers limit

Evaluate (i) lim⁡x→2x5−32x3−8 and (ii) lim⁡x→8x3−2x−8.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 4
Evaluate lim⁡x→−2x2+5x+6x+2.
Show answer

Answer 1

x2+5x+6=(x+2)(x+3), so for x≠−2 the quotient is x+3, which tends to 1. Substituting first gives 00, which is a signal to factor, not an answer.

12.4 Limits of Trigonometric Functions

The quotient sin⁡xx gives 00 at x=0, but there is no polynomial factor to cancel. We need two facts about inequalities and limits, and then a picture.

Theorem 12.3Limits keep inequalities

Suppose f(x)≤g(x) for all x near a (except possibly at a), and that lim⁡x→af(x) and lim⁡x→ag(x) both exist. Then lim⁡x→af(x)≤lim⁡x→ag(x).

The conclusion has ≤ even when f(x)<g(x) strictly: x2<2x2 for every x≠0, yet both tend to 0 as x→0.

Theorem 12.4Sandwich theorem

Suppose f(x)≤g(x)≤h(x) whenever x is near a (except possibly at a itself), and lim⁡x→af(x)=l=lim⁡x→ah(x). Then lim⁡x→ag(x) exists and equals l.

The floor f and the ceiling h close in on l, and g is trapped between them, so it has nowhere else to go. This sandwich theorem settles limits that tables cannot. In Fig. 12.6, g(x)=x2sin⁡1x wobbles infinitely often near 0. Since −1≤sin⁡1x≤1, we have −x2≤g(x)≤x2, and both bounds tend to 0. Hence lim⁡x→0x2sin⁡1x=0.

2/3g(x)=x2sin⁡1x always lies between them.

Fig. 12.6The two bounds squeeze g to 0 at the origin.NCERT Fig. 12.9 · p. 234

Axes from −1 to 1. Step 1 draws two dashed parabolas, y = x² opening upwards and y = −x² opening downwards; they meet only at the origin. Step 2 adds the solid curve g(x) = x² sin(1/x), which oscillates faster and faster near 0 but always stays between the two parabolas. Step 3 circles the origin and adds arrows: both bounds tend to 0, so g(x) is forced to tend to 0 as well.

Now the key inequality. For 0<∣x∣<π2, with x measured in radians,

for $0 < |x| < \frac{\pi}{2}$
cos⁡x<sin⁡xx<1
(12.6)
DerivationProof of (12.6) by comparing areas

Take 0<x<π2 first. On the unit circle centred at the origin O, mark A(1,0) and P(cos⁡x,sin⁡x), so that ∠AOP=x. The tangent to the circle at A is the vertical line through A; it meets the ray OP at T(1,tan⁡x) (Fig. 12.7).

Three regions stand on the same base OA=1, each inside the next: triangle OAP with height sin⁡x, the sector OAP with angle x (area x2, since the radius is 1), and triangle OAT with height tan⁡x. So their areas, 12sin⁡x, x2 and 12tan⁡x, increase in that order. Doubling them,

sin⁡x<x<tan⁡x

Divide through by the positive number sin⁡x:

1<xsin⁡x<1cos⁡x

Now turn each (positive) quantity upside down, which reverses the signs:

cos⁡x<sin⁡xx<1

For −π2<x<0 nothing new is needed: cos⁡x and sin⁡xx take the same values at x and at −x.

4/4Triangle OAT has area 12tan⁡x.

Fig. 12.7Three nested regions give sin⁡x<x<tan⁡x.NCERT Fig. 12.10 · p. 235

A quarter of a unit circle with centre O and A = (1, 0) on the horizontal radius. The radius OP makes an angle x with OA, and the dashed tangent at A meets OP extended at T. Step 1 shows the set-up with P = (cos x, sin x) and AT = tan x. Step 2 shades triangle OAP, of area ½ · 1 · sin x. Step 3 shades the sector OAP, of area ½ x. Step 4 shades the larger triangle OAT, of area ½ tan x, and states sin x < x < tan x.

Theorem 12.5Two standard trigonometric limits

With x in radians, (i) lim⁡x→0sin⁡xx=1 and (ii) lim⁡x→01−cos⁡xx=0.

lim⁡x→0sin⁡xx=1
(12.7)
lim⁡x→01−cos⁡xx=0
(12.8)

There is a neat way to see (12.7). On a circle of radius r, an angle θ at the centre cuts off an arc of length rθ and a chord of length 2rsin⁡θ2. Their ratio is sin⁡(θ/2)θ/2, which (12.7) says tends to 1: for small angles the chord and the arc are almost the same length. Try it in Fig. 12.8.

SimulationArc and chord as the angle shrinks

A circle with centre O and two draggable points A and B on it, joined to O by radii; they start 120 degrees apart. The panel shows the angle AOB in degrees, the length of the arc AB and the length of the chord AB in centimetres, and the radius, which can be changed with a handle. As the points are dragged closer, the arc and chord lengths get closer until they agree to one decimal place.

Fig. 12.8Drag A and B towards each other and compare the arc AB with the chord AB. Their ratio is sin⁡(θ/2)θ/2, which tends to 1.
Try this
  • At 120° on a 5 cm circle the arc is about 10.5 cm and the chord about 8.7 cm. Shrink the angle to 30°. How far apart are the two readouts now?
  • Make the radius as large as you can and shrink the angle again. Does the chord-to-arc ratio depend on the radius?
Example 12.4NCERT Example 4 · p. 236

Building the standard pattern

Evaluate (i) lim⁡x→0sin⁡5xsin⁡3x, (ii) lim⁡x→0tan⁡3xx and (iii) lim⁡x→01−cos⁡2xx2.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 4
Evaluate lim⁡x→0sin⁡7x2x.
Show answer

Answer 3.5

sin⁡7x2x=72⋅sin⁡7x7x→72=3.5. Answering 1 forgets that the angle is 7x but the denominator is 2x.
Practice · 22 questions

Practice 12.1: questions with answers

  1. Short answerEasyNCERT Exercise 12.1, Q1–Q3

    Evaluate each limit.

    1. lim⁡x→4(2x−5)

      Show solution

      Answer3

      A polynomial, so substitute: 2(4)−5=3.

    2. lim⁡x→π/2(2xπ+1)

      Show solution

      Answer2

      Substitute: 2π⋅π2+1=2.

    3. lim⁡r→343πr3 (the volume of a ball as its radius tends to 3)

      Show solution

      Answer36π

      Substitute: 43π⋅27=36π.

  2. Short answerEasyNCERT Exercise 12.1, Q4–Q5

    Evaluate each limit.

    1. lim⁡x→35x−1x+1

      Show solution

      Answer72

      At x=3 the denominator is 4≠0, so by (12.4) the limit is 144=72.

    2. lim⁡x→−1x6−x3+1x−2

      Show solution

      Answer−1

      The denominator is −3≠0. The numerator is 1+1+1=3, so the limit is 3−3=−1.

  3. Short answerMediumNCERT Exercise 12.1, Q6

    Evaluate lim⁡x→0(x+2)4−16x.

    Show solution

    Answer32

    Put y=x+2; then y→2 as x→0, and x=y−2:

    (x+2)4−16x=y4−24y−2

    By (12.5) the limit is 4⋅23=32. (Expanding (x+2)4 and cancelling x gives the same answer.)

  4. Short answerMediumNCERT Exercise 12.1, Q7–Q8

    Evaluate each limit.

    1. lim⁡x→32x2−5x−3x2−9

      Show solution

      Answer76

      2x2−5x−3=(2x+1)(x−3) and x2−9=(x−3)(x+3). Cancelling x−3 leaves 2x+1x+3, which tends to 76.

    2. lim⁡x→2x4−163x2−4x−4

      Show solution

      Answer4

      x4−16=(x−2)(x+2)(x2+4) and 3x2−4x−4=(3x+2)(x−2). Cancelling x−2 leaves (x+2)(x2+4)3x+2, which tends to 4⋅88=4.

  5. Short answerMediumNCERT Exercise 12.1, Q9, Q11

    Evaluate each limit; the letters are constants.

    1. lim⁡x→0ax2+bx+cpx+q, where q≠0

      Show solution

      Answercq

      The denominator tends to q≠0, so substitute: the limit is cq.

    2. lim⁡x→2x2+axx2+bx, where b≠−2

      Show solution

      Answer2+a2+b

      At x=2 the denominator is 4+2b=2(2+b)≠0. Substituting gives 4+2a4+2b=2+a2+b.

  6. Short answerMediumNCERT Exercise 12.1, Q10

    Evaluate lim⁡x→16x1/4−2x1/2−4.

    Show solution

    Answer14

    Divide the top and the bottom by x−16 and use (12.5) with a=16:

    x1/4−161/4x1/2−161/2→14⋅16−3/412⋅16−1/2=1/321/8=14

    Check: with t=x1/4 the quotient is t−2t2−4=1t+2, which tends to 14 as t→2.

  7. Short answerMediumNCERT Exercise 12.1, Q12

    Evaluate lim⁡x→31x−13x−3.

    Show solution

    Answer−19

    The numerator is 3−x3x=−x−33x. Dividing by x−3 (allowed for x≠3) leaves −13x, which tends to −19.

  8. Short answerMediumNCERT Exercise 12.1, Q13–Q14

    Evaluate each limit.

    1. lim⁡x→0sin⁡πx2x

      Show solution

      Answerπ2

      sin⁡πx2x=π2⋅sin⁡πxπx→π2.

    2. lim⁡x→0sin⁡axtan⁡bx, where a,b≠0

      Show solution

      Answerab

      Write it as ab⋅sin⁡axax⋅bxtan⁡bx. Both fractions tend to 1 (Example 12.4), so the limit is ab.

  9. Short answerMediumNCERT Exercise 12.1, Q15–Q16

    Evaluate each limit.

    1. lim⁡x→π/2cos⁡xπ2−x

      Show solution

      Answer1

      Put y=π2−x, so y→0 and cos⁡x=sin⁡y. The quotient is sin⁡yy→1.

    2. lim⁡x→01+cos⁡xπ+x

      Show solution

      Answer2π

      Nothing is 0 here: the denominator tends to π. Substitute: 1+1π=2π. Not every trigonometric limit needs (12.7).

  10. Short answerHardNCERT Exercise 12.1, Q17–Q18

    Evaluate each limit.

    1. lim⁡x→01−cos⁡6x1−cos⁡2x

      Show solution

      Answer9

      1−cos⁡6x=2sin⁡23x and 1−cos⁡2x=2sin⁡2x, so the quotient is (sin⁡3xsin⁡x)2. As in Example 12.4, sin⁡3xsin⁡x→3, so the limit is 9.

    2. lim⁡x→02x+xcos⁡2x3sin⁡x

      Show solution

      Answer1

      Take out x: the quotient is 2+cos⁡2x3⋅xsin⁡x. This tends to 33⋅1=1.

  11. Short answerMediumNCERT Exercise 12.1, Q19–Q21

    Evaluate each limit.

    1. lim⁡x→πxcos⁡x

      Show solution

      Answer−π

      No 00 here: substitute to get πcos⁡π=−π.

    2. lim⁡x→0sin⁡2x+4xx+sin⁡3x

      Show solution

      Answer32

      Divide the top and the bottom by x: sin⁡2xx+41+sin⁡3xx. Since sin⁡2xx→2 and sin⁡3xx→3, the limit is 2+41+3=32.

    3. lim⁡x→0sec⁡x−1x

      Show solution

      Answer0

      sec⁡x−1=1−cos⁡xcos⁡x, so the quotient is 1−cos⁡xx⋅1cos⁡x→0⋅1=0 by (12.8).

  12. Short answerHardNCERT Exercise 12.1, Q22

    Evaluate lim⁡x→π/41−tan⁡xx−π4.

    Show solution

    Answer−2

    Put y=x−π4, so y→0. Then tan⁡x=1+tan⁡y1−tan⁡y and

    1−tan⁡x=−2tan⁡y1−tan⁡y

    The quotient becomes −21−tan⁡y⋅tan⁡yy→−21⋅1=−2.

  13. Short answerMediumNCERT Exercise 12.1, Q23–Q24

    Find the limits of these functions defined in pieces.

    1. f(x)=4−x2 for x<1 and f(x)=2x+1 for x≥1. Find lim⁡x→0f(x) and lim⁡x→1f(x).

      Show solution

      Answer4 and 3

      Near 0 only the first piece is used, so the limit is 4−0=4.

      At 1: from the left 4−1=3, from the right 2+1=3. They agree, so lim⁡x→1f(x)=3.

    2. g(x)=x2+1 for x≤2 and g(x)=3x−2 for x>2. Does lim⁡x→2g(x) exist?

      Show solution

      AnswerNo

      From the left g(x)→5; from the right g(x)→4. They differ, so the limit does not exist.

  14. Short answerMediumNCERT Exercise 12.1, Q25–Q27

    Find each limit, or show that it does not exist.

    1. lim⁡x→3∣x−3∣x−3

      Show solution

      Answerdoes not exist

      For x>3 the quotient is 1; for x<3 it is −1. The one-sided limits are −1 and 1, so there is no limit.

    2. lim⁡x→−4(∣x∣+2x)

      Show solution

      Answer−4

      Near −4, ∣x∣=−x, so the function is x, which tends to −4. (Or substitute: 4−8=−4.)

    3. lim⁡x→0∣x∣+x2x

      Show solution

      Answerdoes not exist

      For x>0 it is 1+x→1; for x<0 it is −1+x→−1. The one-sided limits differ, so there is no limit.

  15. Short answerMediumNCERT Exercise 12.1, Q28

    Let f(x)=ax+b for x<2, f(2)=6, and f(x)=ax2−b for x>2. Choose a and b so that the limit of f at 2 equals f(2).

    Show solution

    Answera=2, b=2

    Left-hand limit 2a+b; right-hand limit 4a−b. Both must equal 6.

    Adding 2a+b=6 and 4a−b=6 gives 6a=12, so a=2 and b=2.

  16. Short answerMediumNCERT Exercise 12.1, Q29

    Let f(x)=(x−1)(x−2)(x−3)(x−4).

    1. Find lim⁡x→3f(x).

      Show solution

      Answer0

      Substitute: one factor is 3−3=0, so the limit is 0.

    2. Find lim⁡x→5f(x).

      Show solution

      Answer24

      4⋅3⋅2⋅1=24.

    3. Find lim⁡x→3f(x)x−3.

      Show solution

      Answer−2

      Cancel x−3: the quotient is (x−1)(x−2)(x−4)→2⋅1⋅(−1)=−2.

  17. Short answerMediumNCERT Exercise 12.1, Q30

    Let f(x)=x+2 for x<1, f(1)=0, and f(x)=4−x for x>1. At which points a does f have a limit?

    Show solution

    Answerevery real a

    For a≠1, f is given by a single polynomial near a, so the limit exists.

    At 1 the left-hand limit is 1+2=3 and the right-hand limit is 4−1=3. They agree, so the limit exists there too and equals 3, even though f(1)=0.

    The limit exists for every real a.

  18. Short answerMediumNCERT Exercise 12.1, Q31

    A function satisfies lim⁡x→2f(x)−5x−2=3.

    1. Find lim⁡x→2f(x).

      Show solution

      Answer5

      f(x)−5=f(x)−5x−2⋅(x−2)→3⋅0=0, so f(x)→5.

    2. Find lim⁡x→2f(x)−5x2−4.

      Show solution

      Answer34

      f(x)−5x2−4=f(x)−5x−2⋅1x+2→3⋅14=34.

  19. Short answerHardNCERT Exercise 12.1, Q32

    Let f(x)=mx+n for x<0, f(x)=nx2+3 for 0≤x≤1, and f(x)=mx+1 for x>1. Find m and n if both lim⁡x→0f(x) and lim⁡x→1f(x) exist.

    Show solution

    Answerm=5, n=3

    At 0: the left-hand limit is n and the right-hand limit is 3, so n=3.

    At 1: the left-hand limit is n+3=6 and the right-hand limit is m+1, so m=5.

  20. Quick answerMedium

    (Entrance-style) lim⁡x→0tan⁡x−sin⁡xx3 equals

    Show answer

    Answer (B) 12

    tan⁡x−sin⁡x=tan⁡x(1−cos⁡x), so the quotient is tan⁡xx⋅1−cos⁡xx2→1⋅12=12. Splitting it as tan⁡xx3−sin⁡xx3 fails because each piece grows without bound.
  21. Quick answerMedium

    (Assertion–reason) A: lim⁡x→0∣x∣x does not exist. R: The left-hand and right-hand limits of ∣x∣x at 0 are −1 and 1.

    Show answer

    Answer (A) Both A and R are true, and R explains A

    For x<0 the quotient is −1 and for x>0 it is 1, so R is true. Unequal one-sided limits are exactly why the limit fails to exist, so R explains A.
  22. Quick answerHard

    (Entrance-style) Evaluate lim⁡x→1x+x2+x3+⋯+x10−10x−1.

    Show answer

    Answer 55

    Split the quotient into ∑k=110xk−1x−1. By (12.5) each term tends to k, so the limit is 1+2+⋯+10=55.

12.5 Derivatives

In Section 12.2 the speed of a train at one instant came out as a limit of average speeds. The question how fast is this quantity changing right now? turns up everywhere: how quickly a patient's fever falls an hour after a tablet, how fast a cricket ball is moving as it leaves the bowler's hand, how much a factory's cost grows when it makes one more unit. Each is answered by the same kind of limit.

Definition
Derivative at a point

Let f be a real function and a a point of its domain. When the limit lim⁡h→0f(a+h)−f(a)h exists, we call it the derivative of f at a and write it f′(a).

ExampleFor s=0.5t2 the limit at t=10 is 10, the speed of the train.

derivative at $a$
f′(a)=lim⁡h→0f(a+h)−f(a)h
(12.9)

The fraction inside the limit is the average rate of change of f between a and a+h, called the difference quotient. Positive h looks to the right of a and negative h to the left, so the definition needs both one-sided limits to agree. We read f′(a) as 'f dash a' or 'f prime of a'.

Example 12.5NCERT Example 5 · p. 240

A straight line

Find the derivative of f(x)=5−2x at x=4.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.6NCERT Example 6 · p. 240

A quadratic at two points

For f(x)=3x2−4x+1, find f′(2) and f′(−1), and show that 5f′(2)+4f′(−1)=0.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.7NCERT Example 7 · p. 241

Cosine at zero

Find the derivative of cos⁡x at x=0.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.8NCERT Example 8 · p. 241

A constant function

Find the derivative of f(x)=−7 at x=5 and at x=−2.

Try it yourself first. Then reveal the solution one step at a time.

Derivative as the slope of a tangent

In Chapter 9 the slope of a line through two points was rise over run. For the chord joining P(a,f(a)) to Q(a+h,f(a+h)) on the graph of y=f(x), the run is h and the rise is f(a+h)−f(a): they are the legs PM and MQ of the right triangle in Fig. 12.9. So the difference quotient is exactly the slope of the chord PQ.

Now let h shrink. Q slides along the curve to P, and the chord turns about P until it lies along the tangent at P. The slopes follow, so the derivative is the slope of the tangent:

f′(a)=tan⁡ψ
where
ψ
the angle the tangent at P makes with the positive x-axis

4/4The tangent at P: slope −1.5=tan⁡ψ.

Fig. 12.9As Q slides to P, the chord PQ becomes the tangent at P.NCERT Fig. 12.11 · p. 241

The decreasing curve y = 6/x for x from about 1 to 6.5, with P(2, 3) marked. In steps 1 to 3 a dashed chord joins P to Q at x = 5, 3.5 and 2.5, with the right triangle PMQ drawn under it: the horizontal side PM has length h and the vertical side MQ goes down. The panel gives the chord slopes −0.6, −0.86 and −1.2. In step 4 the chord is replaced by the solid tangent at P, which crosses the x-axis at x = 4; an arc marks its angle ψ with the positive x-axis, and the panel gives the slope −1.5 = tan ψ.

A falling curve has a negative derivative, and ψ is then obtuse. This links the two pictures of Section 12.2: a rate of change and the slope of a tangent are the same number.

The derivative function

Nothing forces us to keep a fixed. Finding f′ at every point where the limit exists produces a new function.

Definition
Derivative (first principle)

For a real function f, the derivative is the function f′(x)=lim⁡h→0f(x+h)−f(x)h, defined at every x where this limit exists. Working straight from this limit is called finding the derivative from the first principle.

first principle
f′(x)=lim⁡h→0f(x+h)−f(x)h
(12.10)

Several notations are in use. If y=f(x), its derivative may be written f′(x), ddxf(x), dydx or D(f(x)), read 'the derivative of f(x), or of y, with respect to x'. Its value at x=a is written f′(a), dfdx∣x=a or (dydx)x=a. Finding a derivative is called differentiation (अवकलन).

Fig. 12.10 builds f′ point by point for f(x)=x33−x. Where f climbs, f′ is positive. At the two level spots, x=±1, f′ is 0, and where f falls, f′ is negative. After Section 12.5.2 you can check that f′(x)=x2−1.

4/4The slopes trace the parabola y=x2−1.

Fig. 12.10Each tangent slope of f becomes one point on the graph of f′.

Two panels share the x-axis. The top panel shows y = f(x) = x³/3 − x, rising to a peak at x = −1, falling through the origin to a trough at x = 1, then rising. The bottom panel will hold y = f′(x). Step 1 draws the level tangent at x = −1 and plots a diamond at height 0 below it. Step 2 draws the tangent at x = 0 with slope −1 and plots a diamond at −1. Step 3 draws the steep tangent at x = 2 with slope 3 and plots a diamond at 3. Step 4 adds diamonds at x = −2 and x = 1 and joins all five with the dashed parabola y = x² − 1.

Example 12.9NCERT Example 9 · p. 242

A linear function

Find the derivative of f(x)=4x−9.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.10NCERT Example 10 · p. 243

A quadratic from the first principle

Find the derivative of f(x)=2x2−x from the first principle.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.11NCERT Example 11 · p. 243

Constants have derivative 0

Show that the constant function f(x)=c has derivative 0, and use this to differentiate g(x)=sin⁡2x+cos⁡2x.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.12NCERT Example 12 · p. 243

A reciprocal

Find the derivative of f(x)=6x, x≠0, and check the tangent slope in Fig. 12.9.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 3
Use the definition to find f′(4) for f(x)=x2−3x.
Show answer

Answer 5

f(4)=4 and f(4+h)=4+5h+h2, so the difference quotient is 5+h→5. The value f(4)=4 is the height of the graph, not its slope.

12.5.1 Algebra of derivative of functions

Every derivative is a limit of difference quotients, so Theorem 12.1 can be put to work on derivatives too. Below, u and v are functions of x with derivatives u′ and v′ on a common domain.

Theorem 12.6Rules of differentiation

(i) (u+v)′=u′+v′; (ii) (u−v)′=u′−v′; (iii) (uv)′=u′v+uv′, the product rule (also called the Leibniz rule); (iv) (uv)′=u′v−uv′v2 wherever v≠0, the quotient rule.

product rule
(uv)′=u′v+uv′
(12.11)
quotient rule
(uv)′=u′v−uv′v2
(12.12)

2/3The new area is two strips plus a corner.

Fig. 12.11When u and v grow a little, the area uv gains two strips and a tiny corner.

A rectangle of width u and height v has area uv. Step 1 shows just this rectangle. Step 2 lets u grow by Δu and v by Δv: a strip of area v Δu appears on the right, a dashed strip of area u Δv on top, and a small corner of area Δu Δv. Step 3 shows thinner strips for a smaller change; after dividing by h and letting h → 0 the strips give v u′ + u v′, while the corner term Δu · v′ tends to 0.

In words: the derivative of the first times the second, plus the first times the derivative of the second. In the quotient rule keep the order, u′v first, and square the denominator. A tempting slip is (uv)′=u′v′; Fig. 12.11 shows why it cannot be right, since the area gains two strips, not one corner.

Some first consequences. The function x has derivative 1, because (x+h)−xh=1. For a constant c the product rule gives (cu)′=0⋅u+cu′=cu′: constants come out of derivatives. Applied to x2=x⋅x the product rule gives 1⋅x+x⋅1=2x, and applied to x3=x2⋅x it gives 2x⋅x+x2⋅1=3x2. The pattern continues.

Theorem 12.7Power rule

For every positive integer n, ddx(xn)=nxn−1.

power rule
ddx(xn)=nxn−1
(12.13)

The power rule holds for every real power n; we use this without proof. With n=−1 it gives ddx(1x)=−1x2, which agrees with Example 12.12, and with n=12 it gives ddxx=12x.

12.5.2 Derivative of polynomials and trigonometric functions

Theorem 12.8Derivative of a polynomial

If f(x)=anxn+an−1xn−1+⋯+a1x+a0, then f′(x)=nanxn−1+(n−1)an−1xn−2+⋯+2a2x+a1.

Example 12.13NCERT Example 13 · p. 246

Term by term

Differentiate 4x25−3x10+7x−2.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.14NCERT Example 14 · p. 247

A long polynomial at two points

For f(x)=x+x2+x3+⋯+x20, find f′(1) and f′(−1).

Try it yourself first. Then reveal the solution one step at a time.

Example 12.15NCERT Example 15 · p. 247

The quotient rule

Differentiate f(x)=2x−1x+3, x≠−3.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.16NCERT Example 16 · p. 247

The derivative of sin x

Show from the first principle that ddx(sin⁡x)=cos⁡x.

Try it yourself first. Then reveal the solution one step at a time.

ddx(sin⁡x)=cos⁡x
(12.14)

The same method, starting from cos⁡(x+h)=cos⁡xcos⁡h−sin⁡xsin⁡h, proves the companion result (Practice 12.2, Q9):

ddx(cos⁡x)=−sin⁡x
(12.15)

4/4Plotted slopes form y=cos⁡x.

Fig. 12.12The slopes of the sine curve trace out the cosine curve.NCERT Example 16 · p. 247

The curve y = sin x from 0 to 2π. Step 1 draws the tangent at the origin, with slope 1, and plots a diamond at height 1 above x = 0. Step 2 draws the level tangent at the crest x = π/2 and plots a diamond at height 0. Step 3 draws the tangent at x = π, with slope −1, and plots a diamond at −1. Step 4 adds diamonds at 3π/2 (height 0) and 2π (height 1) and joins all the diamonds with a dashed curve, y = cos x.

Example 12.17NCERT Example 17 · p. 247

The derivative of tan x

Show from the first principle that ddx(tan⁡x)=sec⁡2x wherever cos⁡x≠0.

Try it yourself first. Then reveal the solution one step at a time.

ddx(tan⁡x)=sec⁡2x
(12.16)
Example 12.18NCERT Example 18 · p. 248

Product rule with a sine

Differentiate f(x)=x2sin⁡x, and find f′(π).

Try it yourself first. Then reveal the solution one step at a time.

Table 12.4 collects the standard derivatives of this chapter. The last three come from the quotient rule, in Example 12.21 and Practice 12.2.

Table 12.4Standard derivatives
f(x)f′(x)Found in
xnnxn−1Theorem 12.7
sin⁡xcos⁡xExample 12.16
cos⁡x−sin⁡xPractice 12.2
tan⁡xsec⁡2xExample 12.17
cot⁡x−cosec⁡2xExample 12.21
sec⁡xsec⁡xtan⁡xPractice 12.2
cosec⁡x−cosec⁡xcot⁡xPractice 12.2
Quick check
1 of 4
ddx(x−3) is
Show answer

Answer (B) −3x−4

Power rule with n=−3: −3x−3−1=−3x−4. Lowering the power by 1 takes −3 to −4, not to −2.
Practice · 14 questions

Practice 12.2: questions with answers

  1. Short answerEasyNCERT Exercise 12.2, Q1–Q3

    Use the definition (12.9) to find each derivative.

    1. f(x)=x2+5x at x=−3

      Show solution

      Answer−1

      f(−3+h)−f(−3)=(9−6h+h2−15+5h)−(−6)=h2−h. Dividing by h gives h−1→−1.

    2. f(x)=x at x=−4

      Show solution

      Answer1

      (−4+h)−(−4)h=1 for every h≠0, so f′(−4)=1.

    3. f(x)=25x at x=40

      Show solution

      Answer25

      25(40+h)−25⋅40h=25, so f′(40)=25. Note that the point 40 plays no part.

  2. Short answerMediumNCERT Exercise 12.2, Q4

    Use the first principle (12.10) to differentiate each function.

    1. 4−x3

      Show solution

      Answer−3x2

      (4−(x+h)3)−(4−x3)=−(3x2h+3xh2+h3). Divide by h and let h→0: −3x2.

    2. (x+3)(x−1)

      Show solution

      Answer2x+2

      The function is x2+2x−3. The difference is 2xh+h2+2h; divide by h and let h→0: 2x+2.

    3. 1x3

      Show solution

      Answer−3x4

      1(x+h)3−1x3=x3−(x+h)3x3(x+h)3=−h(3x2+3xh+h2)x3(x+h)3. Divide by h and let h→0: −3x2x6=−3x4.

    4. 2x+1x+1

      Show solution

      Answer1(x+1)2

      Over the common denominator (x+h+1)(x+1) the numerator is (2x+2h+1)(x+1)−(2x+1)(x+h+1)=h. So the quotient is 1(x+h+1)(x+1)→1(x+1)2.

  3. Short answerMediumNCERT Exercise 12.2, Q5

    Let f(x)=1+x+x22+x33+⋯+x6060. Show that f′(1)=60 f′(0), and find f′(−1).

    Show solution

    Answerf′(−1)=0

    f′(x)=1+x+x2+⋯+x59, a sum of 60 terms.

    f′(1)=60 and f′(0)=1, so f′(1)=60 f′(0).

    f′(−1)=1−1+1−⋯−1=0, since the 60 terms cancel in pairs.

  4. Short answerMediumNCERT Exercise 12.2, Q6

    For a fixed real number a, differentiate g(x)=x5+ax4+a2x3+a3x2+a4x+a5, and find g′(a).

    Show solution

    Answerg′(a)=15a4

    g′(x)=5x4+4ax3+3a2x2+2a3x+a4

    At x=a every term is a multiple of a4: g′(a)=(5+4+3+2+1)a4=15a4.

  5. Short answerMediumNCERT Exercise 12.2, Q7

    For constants p and q, differentiate each function.

    1. (x+p)(2x−q)

      Show solution

      Answer4x+2p−q

      Product rule: 1⋅(2x−q)+(x+p)⋅2=4x+2p−q.

    2. (px3−q)2

      Show solution

      Answer6p2x5−6pqx2

      Expand: p2x6−2pqx3+q2. The derivative is 6p2x5−6pqx2.

    3. x+px+q

      Show solution

      Answerq−p(x+q)2

      Quotient rule: 1⋅(x+q)−(x+p)⋅1(x+q)2=q−p(x+q)2.

  6. Short answerMediumNCERT Exercise 12.2, Q8

    For a constant a, differentiate x4−a4x−a in two ways: by first simplifying, and by the quotient rule.

    Show solution

    Answer3x2+2ax+a2

    Simplified, the function is x3+ax2+a2x+a3 (for x≠a), with derivative 3x2+2ax+a2.

    By the quotient rule the derivative is 4x3(x−a)−(x4−a4)(x−a)2=3x4−4ax3+a4(x−a)2.

    The two agree: multiplying out (3x2+2ax+a2)(x−a)2 gives 3x4−4ax3+a4.

  7. Short answerEasyNCERT Exercise 12.2, Q9 (i)–(iii)

    Differentiate each function.

    1. 3x+25

      Show solution

      Answer3

      The constant 25 has derivative 0, so the answer is 3.

    2. (2x2−x+4)(x+3)

      Show solution

      Answer6x2+10x+1

      Product rule: (4x−1)(x+3)+(2x2−x+4)=6x2+10x+1.

    3. x−2(4+5x)

      Show solution

      Answer−8x−3−5x−2

      The function is 4x−2+5x−1, so the derivative is −8x−3−5x−2.

  8. Short answerMediumNCERT Exercise 12.2, Q9 (iv)–(vi)

    Differentiate each function.

    1. x4(2−3x−6)

      Show solution

      Answer8x3+6x−3

      The function is 2x4−3x−2, so the derivative is 8x3+6x−3.

    2. x−3(5−2x−4)

      Show solution

      Answer−15x−4+14x−8

      The function is 5x−3−2x−7, so the derivative is −15x−4+14x−8.

    3. 3x−2−x22x+1

      Show solution

      Answersee solution

      First term: −3(x−2)2. Second term, by the quotient rule: 2x(2x+1)−2x2(2x+1)2=2x2+2x(2x+1)2.

      The derivative is −3(x−2)2−2x2+2x(2x+1)2.

  9. ProofMediumNCERT Exercise 12.2, Q10

    Prove (12.15) from the first principle, then find the slope of y=cos⁡x at x=π6.

    Show solution

    Answer−12

    cos⁡(x+h)−cos⁡x=cos⁡x(cos⁡h−1)−sin⁡xsin⁡h. Dividing by h:

    −cos⁡x⋅1−cos⁡hh−sin⁡x⋅sin⁡hh

    As h→0 this tends to −cos⁡x⋅0−sin⁡x⋅1=−sin⁡x.

    At x=π6 the slope is −sin⁡π6=−12.

  10. Short answerMediumNCERT Exercise 12.2, Q11 (i)–(iv)

    Use the quotient or product rule to differentiate each function.

    1. sec⁡x

      Show solution

      Answersec⁡xtan⁡x

      0⋅cos⁡x−1⋅(−sin⁡x)cos⁡2x=sin⁡xcos⁡2x=sec⁡xtan⁡x.

    2. cosec⁡x

      Show solution

      Answer−cosec⁡xcot⁡x

      0−cos⁡xsin⁡2x=−cosec⁡xcot⁡x.

    3. sin⁡xtan⁡x

      Show solution

      Answersin⁡x(1+sec⁡2x)

      Product rule: cos⁡xtan⁡x+sin⁡xsec⁡2x=sin⁡x+sin⁡xsec⁡2x=sin⁡x(1+sec⁡2x).

  11. Short answerEasyNCERT Exercise 12.2, Q11 (v)–(vii)

    Differentiate each function.

    1. 4sec⁡x−3cos⁡x

      Show solution

      Answer4sec⁡xtan⁡x+3sin⁡x

      4sec⁡xtan⁡x+3sin⁡x.

    2. 2cot⁡x−3cosec⁡x

      Show solution

      Answersee solution

      −2cosec⁡2x+3cosec⁡xcot⁡x.

    3. 3cos⁡x−4sin⁡x+9

      Show solution

      Answer−3sin⁡x−4cos⁡x

      −3sin⁡x−4cos⁡x; the constant 9 contributes 0.

    4. 5tan⁡x+2sec⁡x

      Show solution

      Answer5sec⁡2x+2sec⁡xtan⁡x

      5sec⁡2x+2sec⁡xtan⁡x.

  12. Quick answerMedium

    (Entrance-style) If y=(1+x)(1+x2)(1+x4)(1+x8), then dydx at x=0 is

    Show answer

    Answer (B) 1

    Multiplying out, y=1+x+x2+⋯+x15, so y′=1+2x+⋯+15x14 and y′(0)=1. The answer 15 is y′'s top coefficient, not its value at 0.
  13. Quick answerEasy

    (Assertion–reason) A: The derivative of sin⁡2x+cos⁡2x is 0 for every x. R: The derivative of a constant function is 0.

    Show answer

    Answer (A) Both A and R are true, and R explains A

    sin⁡2x+cos⁡2x=1, a constant, so A follows directly from R. (Differentiating term by term gives 2sin⁡xcos⁡x−2cos⁡xsin⁡x=0 as well.)
  14. Quick answerMedium

    (Entrance-style) For f(x)=x3−6x2+9x, the equation f′(x)=0 has two roots. What is their sum?

    Show answer

    Answer 4

    f′(x)=3(x2−4x+3)=3(x−1)(x−3), so the roots are 1 and 3, with sum 4. These are where the graph of f has level tangents.

Miscellaneous Examples

These examples mix the first principle with the rules. When a question says 'from the first principle', work from (12.10); otherwise use whichever rule is quickest.

Example 12.19NCERT Example 19 · p. 249

Two derivatives from the first principle

From the first principle, differentiate (i) f(x)=3x−1x+2, x≠−2, and (ii) g(x)=x, x>0.

Try it yourself first. Then reveal the solution one step at a time.

Fig. 12.13 shows what the formula g′(x)=12x means for the graph: the tangents to y=x get steeper and steeper as the point of contact slides towards the origin, and at 0 itself the difference quotient hh=1h grows without bound, so there is no derivative there.

3/4At x=14 the slope is 1.

Fig. 12.13The slope 12x grows without bound near 0.

The graph of y = √x rises from the origin, steeply at first and then more gently. Step 1 draws the tangent at x = 4, slope 1/4. Step 2 draws the tangent at x = 1, slope 1/2. Step 3 draws the tangent at x = 1/4, slope 1. Step 4 draws the steep tangent at x = 0.04, slope 2.5: the slope 1/(2√x) grows without bound as x approaches 0.

Example 12.20NCERT Example 20 · p. 250

Trigonometric functions from the first principle

From the first principle, differentiate (i) sin⁡2x and (ii) xcos⁡x.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.21NCERT Example 21 · p. 251

Using the rules

Differentiate (i) cos⁡2x, using cos⁡2x=cos⁡2x−sin⁡2x, and (ii) cot⁡x.

Try it yourself first. Then reveal the solution one step at a time.

Example 12.22NCERT Example 22 · p. 252

Quotients with trigonometric parts

Differentiate (i) x3+sin⁡xcos⁡x and (ii) 1+sin⁡xx+cos⁡x, wherever they are defined.

Try it yourself first. Then reveal the solution one step at a time.

Quick check
1 of 2
ddx(sin⁡xx) for x≠0 is
Show answer

Answer (C) xcos⁡x−sin⁡xx2

Quotient rule: (cos⁡x)(x)−(sin⁡x)(1)x2. Option B has the terms of the numerator in the wrong order, which flips the sign, and option A divides the two derivatives.
Practice · 16 questions

Practice questions with answers (NCERT “Miscellaneous exercises on Chapter 12”)

  1. Short answerMediumNCERT Miscellaneous Exercise, Q1

    Work from the definition (12.10) to differentiate each function.

    1. 3−2x

      Show solution

      Answer−2

      (3−2x−2h)−(3−2x)h=−2.

    2. (2x)−1

      Show solution

      Answer−12x2

      12(x+h)−12x=−h2x(x+h). Divide by h and let h→0: −12x2.

    3. cos⁡(x+2)

      Show solution

      Answer−sin⁡(x+2)

      With u=x+2, the difference is cos⁡(u+h)−cos⁡u, so as in Practice 12.2 Q9 the limit is −sin⁡u=−sin⁡(x+2).

    4. sin⁡(x−π6)

      Show solution

      Answercos⁡(x−π6)

      With u=x−π6, the steps of Example 12.16 give cos⁡u=cos⁡(x−π6).

  2. Short answerMediumNCERT Miscellaneous Exercise, Q2–Q4

    Differentiate; all letters other than x are non-zero constants.

    1. 2x+a3

      Show solution

      Answer23

      23x+a3 has derivative 23.

    2. (ax+b)(cx+d)

      Show solution

      Answerad−bcx2

      Expand: ac+adx+bcx+bd. The derivative is ad−bcx2.

    3. (px−q)2(rx+s)

      Show solution

      Answersee solution

      Product rule, with ddx(px−q)2=2p(px−q): 2p(px−q)(rx+s)+r(px−q)2.

      Taking out px−q: (px−q)(3prx+2ps−qr).

  3. Short answerMediumNCERT Miscellaneous Exercise, Q5–Q7

    Differentiate; letters other than x are constants.

    1. px+qrx+s

      Show solution

      Answerps−qr(rx+s)2

      p(rx+s)−r(px+q)(rx+s)2=ps−qr(rx+s)2.

    2. x−1xx+1x

      Show solution

      Answer4x(x2+1)2

      Multiply the top and the bottom by x: the function is x2−1x2+1.

      Quotient rule: 2x(x2+1)−2x(x2−1)(x2+1)2=4x(x2+1)2.

    3. 1px2+q

      Show solution

      Answersee solution

      0−2px(px2+q)2=−2px(px2+q)2.

  4. Short answerMediumNCERT Miscellaneous Exercise, Q8–Q9

    Differentiate; c, d, p, q, r are constants.

    1. x+cx2+d

      Show solution

      Answersee solution

      (x2+d)−(x+c)(2x)(x2+d)2=d−x2−2cx(x2+d)2.

    2. x2+px+qx+r

      Show solution

      Answersee solution

      (2x+p)(x+r)−(x2+px+q)(x+r)2=x2+2rx+pr−q(x+r)2.

  5. Short answerMediumNCERT Miscellaneous Exercise, Q10–Q12

    Differentiate; p and q are constants and n is a positive integer.

    1. px3+qx+sin⁡x

      Show solution

      Answersee solution

      −3px4−qx2+cos⁡x.

    2. 3x+5

      Show solution

      Answer32x

      3⋅12x−1/2=32x.

    3. (2x+1)n

      Show solution

      Answer2n(2x+1)n−1

      Claim: the derivative is 2n(2x+1)n−1. For n=1 it is 2. If it holds for n−1, the product rule on (2x+1)n−1(2x+1) gives 2(n−1)(2x+1)n−1+2(2x+1)n−1=2n(2x+1)n−1.

  6. Short answerHardNCERT Miscellaneous Exercise, Q13

    Differentiate (x+1)4(x−1)3 and factorise the answer.

    Show solution

    Answer(x+1)3(x−1)2(7x−1)

    Product rule: 4(x+1)3(x−1)3+3(x+1)4(x−1)2.

    Take out (x+1)3(x−1)2: the bracket is 4(x−1)+3(x+1)=7x−1.

    (x+1)3(x−1)2(7x−1)
  7. Short answerMediumNCERT Miscellaneous Exercise, Q14–Q16

    Differentiate each function.

    1. cos⁡(x+a), a a constant

      Show solution

      Answer−sin⁡(x+a)

      cos⁡xcos⁡a−sin⁡xsin⁡a has derivative −sin⁡xcos⁡a−cos⁡xsin⁡a=−sin⁡(x+a).

    2. sec⁡xtan⁡x

      Show solution

      Answersee solution

      Product rule: sec⁡xtan⁡x⋅tan⁡x+sec⁡x⋅sec⁡2x=sec⁡xtan⁡2x+sec⁡3x.

    3. sin⁡x1+cos⁡x

      Show solution

      Answer11+cos⁡x

      cos⁡x(1+cos⁡x)+sin⁡2x(1+cos⁡x)2=1+cos⁡x(1+cos⁡x)2=11+cos⁡x.

  8. Short answerMediumNCERT Miscellaneous Exercise, Q17–Q18

    Differentiate each function.

    1. 1+tan⁡x1−tan⁡x

      Show solution

      Answersee solution

      sec⁡2x(1−tan⁡x)+(1+tan⁡x)sec⁡2x(1−tan⁡x)2=2sec⁡2x(1−tan⁡x)2.

    2. 1−cos⁡x1+cos⁡x

      Show solution

      Answersee solution

      sin⁡x(1+cos⁡x)+(1−cos⁡x)sin⁡x(1+cos⁡x)2=2sin⁡x(1+cos⁡x)2.

  9. ProofHardNCERT Miscellaneous Exercise, Q19

    Show that ddx(cos⁡nx)=−ncos⁡n−1x sin⁡x for every positive integer n.

    Show solution

    Answer−ncos⁡n−1x sin⁡x

    For n=1 this is (12.15). Suppose it holds for n−1. Write cos⁡nx=cos⁡n−1x⋅cos⁡x and use the product rule:

    −(n−1)cos⁡n−2xsin⁡x⋅cos⁡x+cos⁡n−1x⋅(−sin⁡x)

    This is −ncos⁡n−1xsin⁡x, so the rule holds for n as well.

  10. Short answerHardNCERT Miscellaneous Exercise, Q20–Q21

    Differentiate; a, p, q, r, s are constants.

    1. p+qcos⁡xr+ssin⁡x

      Show solution

      Answersee solution

      The numerator is −qsin⁡x(r+ssin⁡x)−(p+qcos⁡x)scos⁡x.

      With sin⁡2x+cos⁡2x=1 it becomes −(qrsin⁡x+pscos⁡x+qs); divide by (r+ssin⁡x)2.

    2. cos⁡(x+a)sin⁡x

      Show solution

      Answer−cos⁡asin⁡2x

      The numerator is −sin⁡(x+a)sin⁡x−cos⁡(x+a)cos⁡x=−cos⁡((x+a)−x)=−cos⁡a.

      The derivative is −cos⁡asin⁡2x.

  11. Short answerMediumNCERT Miscellaneous Exercise, Q22–Q24

    Differentiate each function; a and b are constants.

    1. x3(2cos⁡x+3sin⁡x)

      Show solution

      Answersee solution

      3x2(2cos⁡x+3sin⁡x)+x3(3cos⁡x−2sin⁡x).

    2. (x2−2)sin⁡x

      Show solution

      Answersee solution

      2xsin⁡x+(x2−2)cos⁡x.

    3. (x2+cos⁡x)(a+bsin⁡x)

      Show solution

      Answersee solution

      (2x−sin⁡x)(a+bsin⁡x)+bcos⁡x (x2+cos⁡x).

  12. Short answerMediumNCERT Miscellaneous Exercise, Q25, Q29

    Differentiate each product.

    1. (x+sin⁡x)(x+cot⁡x)

      Show solution

      Answersee solution

      (1+cos⁡x)(x+cot⁡x)+(x+sin⁡x)(1−cosec⁡2x).

    2. (x+tan⁡x)(1−sec⁡x)

      Show solution

      Answersee solution

      (1+sec⁡2x)(1−sec⁡x)−(x+tan⁡x)sec⁡xtan⁡x.

  13. Short answerHardNCERT Miscellaneous Exercise, Q26–Q28, Q30

    Differentiate each quotient; n is a positive integer.

    1. 2x−3cos⁡x5x+4sin⁡x

      Show solution

      Answersee solution

      The numerator of the quotient rule is (2+3sin⁡x)(5x+4sin⁡x)−(2x−3cos⁡x)(5+4cos⁡x).

      Expanding and using sin⁡2x+cos⁡2x=1, it is 15xsin⁡x−8xcos⁡x+8sin⁡x+15cos⁡x+12; divide by (5x+4sin⁡x)2.

    2. x3sin⁡π3cos⁡x

      Show solution

      Answersee solution

      sin⁡π3=32 is a constant. The derivative is 32⋅3x2cos⁡x+x3sin⁡xcos⁡2x.

    3. x1+cot⁡x

      Show solution

      Answersee solution

      (1+cot⁡x)−x(−cosec⁡2x)(1+cot⁡x)2=1+cot⁡x+xcosec⁡2x(1+cot⁡x)2.

    4. xcos⁡nx

      Show solution

      Answersee solution

      By Q9, the quotient rule gives cos⁡nx+nxcos⁡n−1xsin⁡xcos⁡2nx.

      Cancel cos⁡n−1x: cos⁡x+nxsin⁡xcos⁡n+1x.

  14. Quick answerMedium

    (Entrance-style) If y=(sin⁡x+cos⁡x)2, then dydx at x=π4 is

    Show answer

    Answer (A) 0

    y=1+sin⁡2x, so y′=2cos⁡2x, and cos⁡π2=0. The answer 2 is the value of y itself at π4.
  15. Quick answerMedium

    (Assertion–reason) A: The derivative of xsin⁡x at x=0 is 0. R: The derivative of a product is the product of the derivatives.

    Show answer

    Answer (C) A is true, but R is false

    By the product rule the derivative is sin⁡x+xcos⁡x, which is 0 at x=0, so A is true. R is false: (uv)′=u′v+uv′, not u′v′.
  16. Quick answerMedium

    (Entrance-style) For f(x)=(x+1)(x+2)(x+3), find f′(0).

    Show answer

    Answer 11

    f′(x)=(x+2)(x+3)+(x+1)(x+3)+(x+1)(x+2), so f′(0)=6+3+2=11. (Or expand: f(x)=x3+6x2+11x+6.)
Recap

Limits and Derivatives: key points and summary

  1. Instantaneous speed is the number that average speeds over shrinking intervals approach; it is the slope of the tangent to the distance–time graph (Section 12.2).
  2. lim⁡x→af(x)=L means f(x) gets as close to L as we like for x close enough to a, x≠a; the value f(a) plays no part (Section 12.3).
  3. The limit exists exactly when the left-hand and right-hand limits exist and are equal (Left-hand and right-hand limits).
  4. Limits of sums, differences, products and quotients (with a non-zero bottom limit) are the sums, differences, products and quotients of the limits (Theorem 12.1).
  5. For a polynomial, lim⁡x→ap(x)=p(a); for a rational function with a 00 form, cancel the factors x−a (Section 12.3.2).
  6. lim⁡x→axn−anx−a=nan−1 ((12.5)).
  7. For 0<∣x∣<π2, cos⁡x<sin⁡xx<1; with the sandwich theorem this gives lim⁡x→0sin⁡xx=1 and lim⁡x→01−cos⁡xx=0 (Section 12.4).
  8. f′(a)=lim⁡h→0f(a+h)−f(a)h is the slope of the tangent at (a,f(a)) ((12.9)).
  9. The derivative function is f′(x)=lim⁡h→0f(x+h)−f(x)h, also written dydx ((12.10)).
  10. (u±v)′=u′±v′, (uv)′=u′v+uv′ and (uv)′=u′v−uv′v2 (Section 12.5.1).
  11. ddx(xn)=nxn−1; polynomials are differentiated term by term ((12.13)).
  12. ddx(sin⁡x)=cos⁡x, ddx(cos⁡x)=−sin⁡x and ddx(tan⁡x)=sec⁡2x (Section 12.5.2).
Timeline

From fluxions to limits

  1. 1665–1666

    Newton develops his method of fluxions

  2. 1684

    Leibniz publishes his differential calculus, with dx and dy

  3. 1797

    Lagrange's derived functions and the notation f′(x)

  4. 1823

    Cauchy defines the derivative as a limit

  5. 1860s

    Weierstrass gives the exact definition of a limit

  6. 1901

    Perry's Glasgow address argues for calculus in schools

Find your NCERT exercise question

Our practice questions are written for ncert.ai and follow the NCERT exercises. Find the one that matches the question in your textbook; its answer is with it.

In your NCERT textbookPractice question here
NCERT Exercise 12.1, Q1–Q3Practice 12.1 · Q1
NCERT Exercise 12.1, Q4–Q5Practice 12.1 · Q2
NCERT Exercise 12.1, Q6Practice 12.1 · Q3
NCERT Exercise 12.1, Q7–Q8Practice 12.1 · Q4
NCERT Exercise 12.1, Q9, Q11Practice 12.1 · Q5
NCERT Exercise 12.1, Q10Practice 12.1 · Q6
NCERT Exercise 12.1, Q12Practice 12.1 · Q7
NCERT Exercise 12.1, Q13–Q14Practice 12.1 · Q8
NCERT Exercise 12.1, Q15–Q16Practice 12.1 · Q9
NCERT Exercise 12.1, Q17–Q18Practice 12.1 · Q10
NCERT Exercise 12.1, Q19–Q21Practice 12.1 · Q11
NCERT Exercise 12.1, Q22Practice 12.1 · Q12
NCERT Exercise 12.1, Q23–Q24Practice 12.1 · Q13
NCERT Exercise 12.1, Q25–Q27Practice 12.1 · Q14
NCERT Exercise 12.1, Q28Practice 12.1 · Q15
NCERT Exercise 12.1, Q29Practice 12.1 · Q16
NCERT Exercise 12.1, Q30Practice 12.1 · Q17
NCERT Exercise 12.1, Q31Practice 12.1 · Q18
NCERT Exercise 12.1, Q32Practice 12.1 · Q19
NCERT Exercise 12.2, Q1–Q3Practice 12.2 · Q1
NCERT Exercise 12.2, Q4Practice 12.2 · Q2
NCERT Exercise 12.2, Q5Practice 12.2 · Q3
NCERT Exercise 12.2, Q6Practice 12.2 · Q4
NCERT Exercise 12.2, Q7Practice 12.2 · Q5
NCERT Exercise 12.2, Q8Practice 12.2 · Q6
NCERT Exercise 12.2, Q9 (i)–(iii)Practice 12.2 · Q7
NCERT Exercise 12.2, Q9 (iv)–(vi)Practice 12.2 · Q8
NCERT Exercise 12.2, Q10Practice 12.2 · Q9
NCERT Exercise 12.2, Q11 (i)–(iv)Practice 12.2 · Q10
NCERT Exercise 12.2, Q11 (v)–(vii)Practice 12.2 · Q11
NCERT Miscellaneous Exercise, Q1Miscellaneous exercises on Chapter 12 · Q1
NCERT Miscellaneous Exercise, Q2–Q4Miscellaneous exercises on Chapter 12 · Q2
NCERT Miscellaneous Exercise, Q5–Q7Miscellaneous exercises on Chapter 12 · Q3
NCERT Miscellaneous Exercise, Q8–Q9Miscellaneous exercises on Chapter 12 · Q4
NCERT Miscellaneous Exercise, Q10–Q12Miscellaneous exercises on Chapter 12 · Q5
NCERT Miscellaneous Exercise, Q13Miscellaneous exercises on Chapter 12 · Q6
NCERT Miscellaneous Exercise, Q14–Q16Miscellaneous exercises on Chapter 12 · Q7
NCERT Miscellaneous Exercise, Q17–Q18Miscellaneous exercises on Chapter 12 · Q8
NCERT Miscellaneous Exercise, Q19Miscellaneous exercises on Chapter 12 · Q9
NCERT Miscellaneous Exercise, Q20–Q21Miscellaneous exercises on Chapter 12 · Q10
NCERT Miscellaneous Exercise, Q22–Q24Miscellaneous exercises on Chapter 12 · Q11
NCERT Miscellaneous Exercise, Q25, Q29Miscellaneous exercises on Chapter 12 · Q12
NCERT Miscellaneous Exercise, Q26–Q28, Q30Miscellaneous exercises on Chapter 12 · Q13

Quick check: MCQs on Limits and Derivatives

  1. 12.2 Intuitive Idea of Derivatives3 questions
  2. Limits from tables and graphs3 questions
  3. 12.3.2 Limits of polynomials and rational functions4 questions
  4. 12.4 Limits of Trigonometric Functions4 questions
  5. The derivative function3 questions
  6. 12.5.2 Derivative of polynomials and trigonometric functions4 questions
  7. Miscellaneous Examples2 questions
Glossary · 12

Key terms (English–Hindi)

derivativeअवकलजavakalaj
f′(a)=lim⁡h→0f(a+h)−f(a)h, the instantaneous rate of change of f at a and the slope of the tangent there.
difference quotientअंतर भागफलantar bhagphal
f(a+h)−f(a)h, the average rate of change of f between a and a+h; the slope of a chord.First seen in the chapter →
first principleप्रथम सिद्धांतpratham siddhant
Finding a derivative directly from its definition as a limit of difference quotients.
instantaneous rate of changeतात्क्षणिक परिवर्तन दरtatkshanik parivartan dar
The rate at which a quantity is changing at one instant: the number that average rates over shrinking intervals approach.First seen in the chapter →
left-hand limitबाएँ पक्ष की सीमाbaayein paksh ki seema
The number f(x) approaches as x→a through values less than a, written lim⁡x→a−f(x).First seen in the chapter →
limitसीमाseema
lim⁡x→af(x)=L: the values f(x) get as close to L as we like when x is close enough to a, with x≠a.
product ruleगुणनफल नियमgunanphal niyam
(uv)′=u′v+uv′, also called the Leibniz rule.First seen in the chapter →
quotient ruleभागफल नियमbhagphal niyam
(uv)′=u′v−uv′v2 wherever v≠0.First seen in the chapter →
rational functionपरिमेय फलनparimey phalan
A quotient g(x)h(x) of two polynomials, defined where h(x)≠0.First seen in the chapter →
right-hand limitदाएँ पक्ष की सीमाdaayein paksh ki seema
The number f(x) approaches as x→a through values greater than a, written lim⁡x→a+f(x).First seen in the chapter →
sandwich theoremसैंडविच प्रमेयsandwich pramey
If f≤g≤h near a and f and h both tend to l, then g also tends to l.First seen in the chapter →
tangentस्पर्श रेखाsparsh rekha
The line that just touches a curve at a point; the limiting position of the chords through that point.First seen in the chapter →