Continuity and Differentiability: Class 12 Maths · Chapter 5
Mathematics Part 1 · Companion notes, simulations and practice · Official NCERT chapter PDF ↗
Published · Updated
What you will learn in Continuity and Differentiability
- Decide whether a function is continuous at a point by comparing its one-sided limits with its value, and find every point of discontinuity of a piecewise function.
- Use the algebra of continuous functions and composition to show that polynomial, rational, trigonometric and modulus functions are continuous on their domains.
- Explain why differentiability implies continuity, and use one-sided derivatives to show that a corner such as |x − a| is not differentiable.
- Differentiate composite, implicit and inverse trigonometric functions with the chain rule.
- Describe exponential and logarithmic functions and their laws, and differentiate eˣ, log x, aˣ and their composites.
- Use logarithmic differentiation for variable powers and long products, and find dy/dx for curves given in parametric form.
- Find second order derivatives and verify relations between a function and its derivatives.
Original companion text aligned to NCERT Mathematics Class 12, Chapter 5, pp. 104–146. Not affiliated with or endorsed by NCERT.
5.1 Introduction
Picture two graphs from an ordinary day. The temperature in Jaipur climbs smoothly through the morning, never by a sudden leap. A car-park charge sits at ₹40 for a while, then leaps to ₹60 the instant another hour is completed.
This chapter turns that everyday difference into mathematics. A function whose graph has no breaks at a point is continuous (संतत) there. A function whose graph also has a single, well-defined slope at a point is differentiable (अवकलनीय) there. We will see exactly how the two ideas are linked.
Then we widen your Class XI toolkit for derivatives: composite functions, relations never solved for , inverse trigonometric functions, exponentials and logarithms, curves given through a third variable, and derivatives of derivatives.
5.2 Continuity
Slide a pencil along a graph from left to right and watch what happens as you pass a particular point . If the pencil never leaves the paper near , the graph is unbroken there. Fig. 5.1 shows the ways a graph can break at . Each break is a different failure, and our definition must catch every one of them.
3/5The left side and the right side head for different heights.
Axes with a dashed vertical guide at x = c. Step 1 shows an unbroken rising curve that passes through a filled dot at x = c. Step 2 shows the same curve with an open circle at x = c and no dot anywhere above c, so f(c) is not defined. Step 3 cuts the curve at c: the left piece ends at a filled dot and the right piece starts higher up at an open circle, so the two sides approach different heights. Step 4 shows the curve again with an open circle on it at c, while the filled dot giving f(c) sits well above the curve. Step 5 shows a curve that shoots up on the right of c and down on the left of c, hugging the dashed guide, with no finite height to approach.
Recall from Class XI that , the left-hand limit, is the value approaches as comes towards through numbers smaller than . The right-hand limit uses numbers larger than . When both exist and are equal, their common value is the limit . These one-sided limits are the tools that separate the cases in the figure.
Take a real function and a number at which is defined. We say is continuous at when .
Example is continuous at : as , .
Written out, continuity at asks three questions, and all three answers must be yes:
- Is defined? (A hole fails here.)
- Do the left-hand and right-hand limits exist and agree? (A jump or a blow-up fails here.)
- Is that common value equal to ? (A misplaced point fails here.)
When fails this test at a point of its domain, we call a point of discontinuity and say that is discontinuous there. The words of its domain matter: a number at which has no value at all is never called a point of discontinuity in this chapter.
A straight line at one point
Is continuous at ?
Try it yourself first. Then reveal the solution one step at a time.
A cubic at a negative point
Check whether is continuous at .
Try it yourself first. Then reveal the solution one step at a time.
A modulus at its kink
Discuss the continuity of at .
Try it yourself first. Then reveal the solution one step at a time.
A point lifted off the curve
Let for and . Show that is not continuous at .
Try it yourself first. Then reveal the solution one step at a time.
Use the probe below to run the three checks yourself. It walks towards the point from both sides, ten times closer at each press, and lists the heights it finds.
A constant function
Show that the constant function is continuous at every real number.
Try it yourself first. Then reveal the solution one step at a time.
The identity function
Show that , the identity function, has no point of discontinuity.
Try it yourself first. Then reveal the solution one step at a time.
So far we have tested one point at a time. Usually we want to know about every point of the domain at once.
A real function that is continuous at each point of its domain.
Example is a continuous function: it is continuous at every real number.
Two edge cases are worth a moment. If the domain of is just one point, passes the test automatically, since no nearby values exist to disagree with . If lives on a closed interval , each end has neighbours on one side only, so we use one-sided limits there: at the left end and at the right end. Asking for the left-hand limit at would mean asking for values that does not have.
Modulus everywhere
Is a continuous function?
Try it yourself first. Then reveal the solution one step at a time.
A polynomial of degree four
Discuss the continuity of .
Try it yourself first. Then reveal the solution one step at a time.
A reciprocal on its domain
Discuss the continuity of , .
Try it yourself first. Then reveal the solution one step at a time.
What does happen near ? Try values ever closer to 2 from each side, as in Table 5.1. The table shows two runaway trends.
| (right of 2) | (left of 2) | ||
|---|---|---|---|
| 3 | 1 | 1 | −1 |
| 2.5 | 2 | 1.5 | −2 |
| 2.1 | 10 | 1.9 | −10 |
| 2.01 | 100 | 1.99 | −100 |
| 2.001 | 1000 | 1.999 | −1000 |
On the right of 2 the values grow past every bound: name a number, a million say, and beats it once is within a millionth of 2. The shorthand is . On the left the values sink past every bound in the same way, written . Be careful with the symbol: and are not real numbers. The equations say that the one-sided limits do not exist as real numbers, and they describe how they fail.
2/2As the dots fall without bound: .
Axes with a dashed vertical guide at x = 2. In the first step the right branch is highlighted, with dots at x = 3, 2.5, 2.25 and 2.2 whose heights 1, 2, 4 and 5 climb towards the top of the frame, labelled plus infinity. In the second step the left branch is highlighted, with dots at x = 1, 1.5, 1.75 and 1.8 whose heights −1, −2, −4 and −5 fall towards the bottom, labelled minus infinity. The two branches never touch the guide.
Two pieces that miss
Discuss the continuity of
Try it yourself first. Then reveal the solution one step at a time.
A three-part rule
Find all points of discontinuity of
Try it yourself first. Then reveal the solution one step at a time.
A gap in the domain is not a break
Discuss the continuity of
Try it yourself first. Then reveal the solution one step at a time.
Pieces that meet
Show that is a continuous function.
Try it yourself first. Then reveal the solution one step at a time.
Every polynomial is continuous
Prove that every polynomial (with real ) is a continuous function.
Try it yourself first. Then reveal the solution one step at a time.
The greatest integer function gives the largest integer that is less than or equal to . For example , and (not , because is larger than ). Between two neighbouring integers stays constant, and at each integer it steps up by 1. Charges that rise in steps behave the same way, as Fig. 5.4 shows.
2/3At the left side approaches ₹40 but the fee is ₹60: a jump.
Axes show hours parked from 0 to 4 and the fee in rupees from 0 to 100. The graph is four flat steps at 20, 40, 60 and 80 rupees; each step starts with a filled dot on the left and ends with an open circle on the right. The second step highlights the whole hour x = 2: an arrow shows the left step approaching ₹40, while the fee at exactly 2 hours, ₹60, is marked on the step above. The third step highlights x = 2.5, in the middle of a flat step, where the graph is level on both sides and nothing breaks.
Where does the parking fee jump?
A car park charges ₹20 on entry and another ₹20 at the end of every completed hour, up to 4 hours. So the fee for hours is , . Find the points where is discontinuous.
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer (B) , but is not continuous at
Show answer
- (A)
- (D)
Show answer
Answer 6
Show answer
Answer False
5.2.1 Algebra of continuous functions
Testing every function from scratch would be slow. Since continuity is a statement about limits, the limit laws from Class XI carry straight over: combine continuous functions with , , or and the result is continuous too.
If two real functions and are both continuous at , so are their sum , their difference and their product . Their quotient is continuous at too, as long as .
- Taking to be a constant in the product part: if is continuous, so is . With , continuity of gives continuity of .
- Taking in the quotient part: is continuous wherever . In particular is.
Rational functions
Show that is continuous, and explain why the same holds for every rational function.
Try it yourself first. Then reveal the solution one step at a time.
The cosine function
Prove that is continuous. Use two facts that are clear from the graphs of sine and cosine near 0: and .
Try it yourself first. Then reveal the solution one step at a time.
The secant function
Show that is continuous wherever it is defined.
Try it yourself first. Then reveal the solution one step at a time.
Composition is the other way of building functions: feed the output of into to get , which needs every output of to be an allowed input of . Fig. 5.5 shows why continuity survives this too.
3/3 is continuous at , so stays close to .
Three horizontal number lines are stacked, labelled x, u = g(x) and y = f(u). In step 1 a short highlighted interval surrounds the point c on the x line. In step 2 curved arrows labelled g carry it to a short highlighted interval around g(c) on the middle line. In step 3 arrows labelled f carry that to a short highlighted interval around f(g(c)) on the bottom line, so a small change at the start causes only a small change at the end.
Suppose is defined at . Continuity of at , together with continuity of at the point , makes continuous at .
We use this theorem without proof; the figure carries the idea.
Sine of a polynomial
Show that is a continuous function.
Try it yourself first. Then reveal the solution one step at a time.
A modulus inside a modulus
Show that is a continuous function.
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer (C)
Show answer
Answer False
Show answer
Answer (A) at every real number
Practice 5.1: questions with answers
Fresh questions on the skills of NCERT Exercise 5.1.
Use the definition of continuity.
Show that is continuous at , and .
Show solution
AnswerContinuous at all three points.
is a polynomial, so for every . In particular , and equal the limits there.
Examine the continuity of at .
Show solution
AnswerContinuous at .
, and . The limit equals the value.
Examine each function for continuity.
Show solution
AnswerContinuous everywhere.
A polynomial is continuous at every real number.
,
Show solution
AnswerContinuous on its domain.
For , . The point is not in the domain, so is a continuous function.
,
Show solution
AnswerContinuous on its domain.
For , . At every , .
Show solution
AnswerContinuous everywhere.
For , near ; for , near ; both are continuous. At both one-sided limits are 0, which equals .
Prove that is continuous at for every positive integer .
Show solution
Answer.
is a product of copies of , and . By the product law, , which is . So is continuous at 2.
Let for and for . Is continuous at ? At ? At ?
Show solution
AnswerYes at 0, no at 2, yes at 3.
At 0 and at 3, agrees with a polynomial or a constant near the point, so it is continuous there.
At 2: , but . The sides disagree, so is discontinuous at 2.
Find all points of discontinuity of each function.
for ; for
Show solution
Answer only.
At 1: left-hand limit , right-hand limit . They differ, so 1 is a point of discontinuity; elsewhere is continuous.
for ; for ; for
Show solution
Answer only.
At : , left-hand limit , right-hand limit , so continuous. At 2: left-hand limit , right-hand limit , so discontinuous.
for ;
Show solution
Answer only.
For , ; for , . At 2 the one-sided limits are and , so is discontinuous there. Elsewhere is constant near each point.
for ; for
Show solution
AnswerNone.
For , . So for every real , a constant function, continuous everywhere.
for ; for
Show solution
AnswerNone.
At 2: , left-hand limit , right-hand limit 5. All agree, so is continuous everywhere.
for ; for
Show solution
AnswerNone.
At 1: , left-hand limit 2, right-hand limit . Continuous everywhere.
for ; for
Show solution
Answer only.
At : , but the right-hand limit is . Discontinuous at only.
Discuss the continuity of each function.
for ; for . Is a continuous function?
Show solution
AnswerYes.
At 0: and both one-sided limits are 4. Elsewhere is a polynomial near each point. So is continuous.
A courier charges ₹10 for parcels up to 2 kg, ₹15 for more than 2 kg up to 5 kg, and ₹25 for more than 5 kg up to 8 kg. Discuss the continuity of the charge , .
Show solution
AnswerDiscontinuous at and only.
is constant on each interval. At 2: , left-hand limit 10, right-hand limit 15, so discontinuous. At 5: , right-hand limit 25, so discontinuous. At the end points 0 and 8 the one-sided limits match the values.
for ; for ; for
Show solution
AnswerDiscontinuous at only.
At 0: left-hand limit 0, , right-hand limit 0, so continuous. At 2: , but the right-hand limit is , so discontinuous.
for ; for ; for
Show solution
AnswerContinuous everywhere.
At 0: and . At : and the right-hand limit is . Each piece is continuous, so is continuous everywhere.
Joining pieces with unknown constants.
Find the relation between and for which (), () is continuous at .
Show solution
Answer.
and the right-hand limit is . Continuity needs , that is .
For which is (), () continuous at ? Is continuous at for every ?
Show solution
Answer; yes, is continuous at 0 for every .
At 1: and the right-hand limit is 8, so . Near 0, for all close to 0 on both sides, a polynomial, so is continuous at 0 whatever is.
Show that is discontinuous at every integer.
Show solution
Answer at integers and elsewhere, so .
If is not an integer, write with . Then , so and .
If is an integer, .
Near any integer (but not at it), equals , so . Every integer is a point of discontinuity.
Trigonometric combinations.
Is continuous at ?
Show solution
AnswerYes.
It is a sum of continuous functions, so it is continuous everywhere, including at , where its value is .
Discuss the continuity of , of and of .
Show solution
AnswerAll three are continuous everywhere.
The first is a difference and the second a product of continuous functions. In the third, , so the denominator is never zero and the quotient is continuous at every real number.
Discuss the continuity of , , and .
Show solution
AnswerEach is continuous on its domain: everywhere, for , and for .
For sine use . Then , and are quotients of continuous functions, continuous wherever the denominator is non-zero.
Limits involving sine.
Find the points of discontinuity of for , for .
Show solution
AnswerNone.
, the right-hand limit is 2 and . Each piece is continuous on its own interval, so is continuous everywhere.
Is (), a continuous function?
Show solution
AnswerYes.
For , , which tends to 0. So . Away from 0, is a product and composite of continuous functions.
Examine the continuity of (), .
Show solution
AnswerDiscontinuous at 0 only.
, but . Elsewhere is a sum of continuous functions.
Find the constants that make each function continuous at the indicated point.
for , , at . Find .
Show solution
Put . Then , and as . The limit is , so .
for , for , at . Find .
Show solution
must equal the right-hand limit 4, so .
for , for , at . Find .
Show solution
must equal , so .
for , for , at . Find .
Show solution
, so .
Find and so that (), (), () is a continuous function.
Show solution
Answer, .
At 1: . At 4: . Subtracting, , so and .
Composites and moduli.
Show that is continuous.
Show solution
AnswerContinuous everywhere.
is rational with a denominator that is never zero, so it is continuous everywhere; cosine is continuous; the composite is continuous by Theorem 2.
Show that is continuous.
Show solution
AnswerContinuous everywhere.
is a composite of and sine, so it is continuous; the modulus of a continuous function is continuous (Theorem 2 with ).
Show that is continuous.
Show solution
AnswerContinuous everywhere.
is continuous and sine is continuous, so the composite is continuous.
Find all points of discontinuity of .
Show solution
AnswerNone.
Each modulus is a composite of a polynomial and , so it is continuous; their sum is continuous everywhere.
5.3 Differentiability
In Class XI you met the derivative of a real function at a point of its domain:
- a small step away from , positive or negative
Geometrically, is the slope on which chord slopes settle as the chords shrink. Collecting these slopes at every where the limit exists builds a new function, the derivative . You will meet all its names in this chapter: , , and or when ; the whole process is differentiation. Three Class XI rules do most of the work, for functions and of :
- (the product rule, also called Leibniz's rule)
- wherever (the quotient rule)
The formula for only works when its limit exists, and at some points it does not. There simply has no derivative: it is not differentiable at . To see which way the limit fails, let approach 0 from each side separately. This gives a left-hand derivative (from ) and a right-hand derivative (from ).
We call differentiable at a point of its domain when its left-hand and right-hand derivatives at are both finite and equal; their common value is .
Example at : both one-sided difference quotients equal , which tends to 2, so .
Differentiability on an open interval means differentiability at each of its points. On a closed interval we also need the one-sided derivatives at the ends: the right-hand derivative at and the left-hand derivative at , just as continuity at an end point uses only one side.
Differentiability at a point forces continuity there: if exists, then is continuous at .
Every differentiable function is continuous.
The converse is false: a graph can be unbroken at a point and still have no single slope there. The simplest culprit is a corner.
A corner at x = 3
Show that is continuous but not differentiable at .
Try it yourself first. Then reveal the solution one step at a time.
At a corner the chords from the two sides settle on two different slopes. Fig. 5.6 shows this for a curved corner, where the chords visibly turn as they shorten.
4/4: no single tangent, so is not differentiable at 1.
The graph of y = |x² − 1| for x from about −0.2 to 2 has a sharp corner at the point (1, 0). Step 1 shows only the curve and the corner. Step 2 draws three chords from the corner to points on the left branch at x = 0.2, 0.6 and 0.85; they get steeper towards slope −2, and a dashed line of slope −2 is labelled. Step 3 draws three chords to points on the right branch at x = 1.8, 1.4 and 1.15, settling towards a dashed line of slope 2. Step 4 shows both dashed limiting lines together: two different slopes, so no single tangent.
The zoom lab below makes the same point another way. Zoom in on a point of a smooth graph and the graph soon looks like a straight line, whose slope is the derivative. Zoom in on a corner and it stays a corner however far you go.
Show answer
Answer (C) continuous but not differentiable
Show answer
Answer False
Show answer
Answer 2
Show answer
Answer (D) does not exist
5.3.1 Derivatives of composite functions
How would you differentiate ? One way is to expand first: , so . Now look at the answer differently. The outer operation, squaring, contributes ; the inner expression changes at rate ; and is exactly .
That pattern is worth having, because expanding is hopeless, while the pattern gives at once. The idea behind it is that rates multiply along a chain, as Fig. 5.8 shows.
3/3 moves from 16 to 18.49: .
Three horizontal rulers are stacked: the top one for x, the middle one for u = 3x + 1 and the bottom one for y = u squared. Step 1 marks x = 1 moving to 1.1, a change of 0.1. Step 2 shows u moving from 4 to 4.3, a change of 0.3, three times as big, labelled du/dx = 3. Step 3 shows y moving from 16 to 18.49, a change of 2.49, about 8 times the change in u because dy/du = 2u = 8, so y changes about 24 times as fast as x.
Suppose , and write for the inner value. Whenever the inner rate and the outer rate both exist, the composite's rate is their product: .
We use the chain rule without proof. In the figure, and at , so ; the actual change 2.49 for a step of 0.1 is close to . Longer chains work the same way. If , then, provided all three derivatives exist,
A cosine of a cube
Differentiate .
Try it yourself first. Then reveal the solution one step at a time.
Three links
Differentiate .
Try it yourself first. Then reveal the solution one step at a time.
Practice 5.2: questions with answers
Fresh questions on the skills of NCERT Exercise 5.2.
Differentiate each function with respect to .
Show solution
Answer
Outer gives ; inner gives . So .
Show solution
Answer
with , giving .
Show solution
Answer
.
Show solution
Answer
Three links: .
Show solution
Answer
Quotient rule with , , and , wherever :
Show solution
Answer
Product rule. and .
(where )
Show solution
Answer
with .
,
Show solution
Answer
.
Prove that is not differentiable at .
Show solution
AnswerThe left-hand derivative is −1 and the right-hand derivative is 1.
. For this is ; for it is . The one-sided derivatives differ, so does not exist.
Let for . Show that is not differentiable at , and .
Show solution
Answer jumps by 1 at each of these points, so it is not continuous there and cannot be differentiable.
jumps when passes an integer, that is at in . For example at : the left-hand limit is but .
A function that is not continuous at a point cannot be differentiable there (Theorem 3). Directly: for , , which grows without bound as .
5.3.2 Derivatives of implicit functions
Many curves come as an equation tying and together rather than as a formula for . The relation is easily rearranged to : here is an explicit function of . The relation is different. For each there is exactly one , because increases steadily, yet no formula from algebra writes in terms of .
When a relation between and fixes as a function of , but is not solved (or not easily solvable) in the form , we say the relation gives implicitly as a function of .
Example defines implicitly.
We do not need the formula to find . Differentiate both sides of the relation with respect to , remembering that is a function of , so every term in brings a factor by the chain rule: . Then solve for . Fig. 5.9 uses a circle, which is not the graph of a single function, but each half of it is.
3/3 gives at .
A circle of radius 5 centred at the origin on square axes. Step 1 shows the whole circle with a vertical line x = 3 meeting it twice, at (3, 4) and (3, −4), so the circle is not the graph of one function. Step 2 highlights the upper half, y equals the square root of 25 minus x squared, and dims the lower half. Step 3 adds the tangent line at the point (3, 4), with slope −3/4, and a label giving dy/dx = −x/y.
Check the tangent's slope another way: on the upper half, gives at , as before. The implicit route reached it without choosing a half.
Two routes, one answer
Find if .
Try it yourself first. Then reveal the solution one step at a time.
A relation you cannot solve
Find if .
Try it yourself first. Then reveal the solution one step at a time.
5.3.3 Derivatives of inverse trigonometric functions
The inverse trigonometric functions of Chapter 2 are continuous on their domains; we accept this without proof. To differentiate them, turn each one round into a trigonometric equation and differentiate implicitly.
The derivative of tan⁻¹ x
Find the derivative of , assuming it exists.
Try it yourself first. Then reveal the solution one step at a time.
Let , so with . Differentiating, , so . This needs , which rules out , that is .
For the cosine is positive, so . Therefore
For , with , and . On the sine is positive, so :
A check: , a constant, so the two derivatives must add to 0, and they do.
| valid for | ||
|---|---|---|
| all real |
Why reciprocals? The graph of is the mirror image of a piece of the sine graph in the line . Reflection swaps rise and run, so a tangent of slope becomes a tangent of slope , as Fig. 5.10 shows.
3/3The reflected tangent has slope , the reciprocal of .
Square axes with a dashed mirror line y = x. Step 1 shows the piece of y = sin x from −π/2 to π/2 and the point (π/3, √3/2), about (1.05, 0.87), with its tangent of slope cos(π/3) = 1/2. Step 2 adds the reflected curve y = sin⁻¹ x from −1 to 1, and a dotted segment joining the point to its mirror image (√3/2, π/3). Step 3 adds the tangent to the reflected curve at (√3/2, π/3), whose slope is 2, the reciprocal of 1/2.
Show answer
Answer (B)
Show answer
Answer 1.3333333333333333
Tap an item on the left, then its match on the right.
Show answer
- :
- :
- :
- :
Show answer
Answer (A)
Practice 5.3: questions with answers
Fresh questions on the skills of NCERT Exercise 5.3.
Find for each relation.
Show solution
Answer
, so .
Show solution
Answer
, so .
(, constants)
Show solution
Answer
, so .
Show solution
Answer
, so .
Show solution
Answer
, so .
Show solution
Answer
, so .
Show solution
Answer
. With : .
Show solution
Answer
, so .
Simplify with a substitution, then find .
,
Show solution
Answer
With , : and , so .
,
Show solution
Answer
With , : and , so .
,
Show solution
Answer
With , : the fraction is and . So .
,
Show solution
Answer
With , : , with . So .
,
Show solution
Answer
With , , : . So .
,
Show solution
Answer
With , : and . So .
,
Show solution
Answer
With , : , so the argument is with . So .
5.4 Exponential and Logarithmic Functions
Savings that earn interest, bacteria multiplying in milk, a medicine leaving the bloodstream: these change by equal factors over equal times, which no polynomial can describe. The functions that can are the exponentials, and their inverses are the logarithms. We argue for their main properties instead of proving them; the proofs need tools from later courses.
Start with powers. When goes from 1 to 2, goes from 1 to 4, from 1 to 32 and from 1 to 1024. For , the higher the power, the faster it grows. Yet a different kind of function, , eventually leaves every power behind. Compare with at : , while , more than ten billion times larger. From about onwards, stays ahead of for good, and a similar crossover happens against any power you choose. Fig. 5.11 shows the race against , where the crossover comes early enough to draw.
3/3At : against . Each step of 1 doubles , but multiplies by less and less.
Step 1 is a close-up with x from 0 to 6 and y from 0 to 230: the cube curve is far above the exponential, with dots at 125 and 32 above x = 5. Steps 2 and 3 zoom out to x from 0 to 12.6 and y from 0 to 4600. Step 2 marks the crossing near x = 9.94, where both values are close to 980. Step 3 marks the values at x = 12, where 2 to the power 12 is 4096 but 12 cubed is only 1728, and the exponential climbs almost vertically while the cube rises slowly.
For a real number , the exponential function with base is .
Example, (the common exponential function) and .
Sketch , and on one set of axes; you will see the following features in every one of them.
- Every graph passes through , because for every base.
- Each graph rises all the way from left to right: is an increasing function.
- Far to the left the graph hugs the negative -axis without ever touching it, because shrinks towards 0 but stays positive.
- So accepts every real input (domain ) and returns only positive outputs (range ).
In Class XI you met the number , which lies between 2 and 3 (it is about 2.71828). With as the base we get the natural exponential function , the most important exponential in calculus.
Does an exponential function have an inverse? Since is increasing, each positive number is for exactly one . That exponent is its logarithm.
Let and . The logarithm of to base is the number with . We write .
Example, so .
More examples: says the same as ; and since , we have and . Fixing the base, becomes a function from positive reals to all reals: exactly when . Base 10 gives common logarithms and base gives natural logarithms, often written . In this chapter, always means the natural logarithm .
- The graph of is the graph of reflected in the line , as Fig. 5.12 shows for base 2. The other features follow from this.
- Reflecting gives : for every base.
- Reflection keeps the graph rising, so is increasing.
- Inputs and outputs swap roles: the logarithm accepts only positive numbers (domain ; and logs of negatives are undefined) and can return any real number (range ).
- As shrinks towards 0, plunges without bound, hugging the negative -axis without touching it.
3/3The mirror points lie on , which passes through .
Square axes from −2 to 5 with the dashed line y = x. Step 1 shows y = 2ˣ through the points (−1, 1/2), (0, 1), (1, 2) and (2, 4). Step 2 joins each of these points by a short dotted segment, crossing y = x at right angles, to its mirror point (1/2, −1), (1, 0), (2, 1) and (4, 2). Step 3 draws y = log₂ x through the mirror points, hugging the negative y-axis as x approaches 0.
The laws of logarithms come straight from the laws of exponents. In the derivation below, and are positive and the base is fixed.
Let and , so and .
Product. , so :
Quotient. , so
Power. Applying the product law times to gives for every positive integer . (It holds for every real , but we do not prove that here.)
Change of base. Let be another base and , so . If , then and . Comparing with gives , that is
When does e^(2 log x) equal x²?
Is for every real ?
Try it yourself first. Then reveal the solution one step at a time.
(1) . (2) for .
We do not prove part (1). It says that at every point the slope of equals its height, and is the only base with this property. Part (2) then follows by implicit differentiation, assuming is differentiable: if then , so and .
Chain rule with exponentials and logarithms
Differentiate (i) (ii) (iii) (iv) , .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer 5
Show answer
Answer (B) it is a decreasing function
Show answer
Answer (D)
Practice 5.4: questions with answers
Fresh questions on the skills of NCERT Exercise 5.4.
Differentiate with respect to .
Show solution
Answer
Quotient rule: .
,
Show solution
Answer
.
,
Show solution
Answer
.
,
Show solution
Answer
. For , , so the formula applies.
Show solution
Answer
.
Differentiate with respect to .
Show solution
Answer
Term by term: ; ; .
Show solution
Answer
, whose derivative is .
,
Show solution
Answer
For , . The derivative is .
,
Show solution
Answer
Quotient rule: .
,
Show solution
Answer
Outer , inner with .
5.5 Logarithmic Differentiation
How do you differentiate ? The power rule needs a fixed exponent and the rule for needs a fixed base, but here both vary. Taking logarithms turns the awkward exponent into a product, which the product rule handles. The same trick turns a long product or quotient into a sum. The general case is with .
Take natural logarithms of (both sides are positive):
Differentiate both sides with respect to , using the chain rule on the left and the product rule on the right:
Multiply by :
This is logarithmic differentiation. Its one condition matters: , and hence , must be positive, or the logarithms make no sense. For a product or quotient that may be negative, apply the method to : since wherever , you reach the same formula. For () the formula gives , and Fig. 5.13 shows what that says about the graph.
Finding by first taking logarithms of both sides of , differentiating , and then multiplying by ; used for variable powers and for long products and quotients.
3/3The slope is 0 where , at , .
Axes show x from 0 to 2 and y from 0 to 4. Step 1 draws y = x^x: it starts near height 1 just right of 0, dips to a low point and then climbs steeply to 4 at x = 2. Step 2 adds the tangent at (1, 1), which has slope 1. Step 3 marks the lowest point at x = 1/e, about 0.37, where y is about 0.69, with a flat tangent, because there 1 + log x = 0.
A long quotient
Differentiate , .
Try it yourself first. Then reveal the solution one step at a time.
The derivative of 7ˣ, two ways
Differentiate .
Try it yourself first. Then reveal the solution one step at a time.
Variable base, variable exponent
Differentiate , .
Try it yourself first. Then reveal the solution one step at a time.
A variable power inside an implicit relation
Find if , where and .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer (D)
- Use the log laws to turn products and powers into sums
- Take logarithms of both sides
- Differentiate both sides with respect to
- Multiply by and substitute the original function
Show answer
- Take logarithms of both sides
- Use the log laws to turn products and powers into sums
- Differentiate both sides with respect to
- Multiply by and substitute the original function
Show answer
Answer 6.772588722239782
Practice 5.5: questions with answers
Fresh questions on the skills of NCERT Exercise 5.5.
Differentiate with respect to .
,
Show solution
Answer
, so .
,
Show solution
Answer times , with the given function
; differentiate and multiply by .
,
Show solution
Answer
; , and .
,
Show solution
Answer
For : , . For : .
Show solution
Answer times , with the given product
; differentiate (wherever ) and multiply by .
,
Show solution
Answer
gives ; gives .
Differentiate with respect to .
,
Show solution
Answer
, so . And , with derivative .
,
Show solution
Answer
gives . And .
,
Show solution
Answer
and ; differentiate each with the product rule.
,
Show solution
Answer
gives . The quotient rule gives .
,
Show solution
Answer
, so . , so .
Find (all variables positive).
Show solution
Answer
. Differentiating: .
Show solution
Answer
, so , giving .
Show solution
Answer
. Differentiating: .
Show solution
Answer
. Differentiating: , so .
Let . Find by logarithmic differentiation, and hence find .
Show solution
For where every factor is positive, , so is times .
At : and the bracket is . So .
Differentiate in three ways: (i) the product rule, (ii) expanding first, (iii) logarithmic differentiation. Do the answers agree?
Show solution
AnswerAll three give .
(i) . Expanding each product: and , which add to .
(ii) The product is , whose derivative is .
(iii) Multiplying the hint by gives back exactly the expression in (i). So all three agree.
If , and are differentiable functions of with , show in two ways that (where ): by the product and quotient rules, and by logarithmic differentiation.
Show solution
AnswerBoth ways give .
Rules: . Factor out : this is .
Logarithms: with , , so , and multiplying by gives the same result.
5.6 Derivatives of Functions in Parametric Forms
A batter lofts a cricket ball. Its horizontal distance and its height are each easier to describe in terms of the time than in terms of each other. Time is the natural link: each of and comes as its own formula in .
If and for a third variable , the pair of equations gives the relation between and in parametric form, and is called the parameter.
Example, describes an ellipse with parameter .
To find , apply the chain rule to as a function of , with itself a function of : . Divide, provided :
In words: the slope of the path is the vertical speed divided by the horizontal speed. Fig. 5.14 shows this for a ball with and (metres, seconds, air resistance ignored, rounded to ).
1/3, : slope .
Axes show horizontal distance from 0 to 80 metres and height from 0 to 25 metres. The path is a symmetric arch from (0, 0) up to (40, 20) and down to (80, 0). Step 1 marks the ball at t = 1 s at (20, 15), with a horizontal speed arrow of 20 m/s and an upward arrow of 10 m/s, and the tangent of slope 10/20 = 1/2. Step 2 marks the ball at t = 2 s at the top (40, 20), where the vertical speed is 0 and the tangent is flat. Step 3 marks the ball at t = 3 s at (60, 15), with a downward arrow of 10 m/s and the tangent of slope −1/2.
An ellipse
Find if , .
Try it yourself first. Then reveal the solution one step at a time.
The cricket ball
For the ball with , , find . Where is the path level, and at what angle does the ball land?
Try it yourself first. Then reveal the solution one step at a time.
A looping curve
Find if and .
Try it yourself first. Then reveal the solution one step at a time.
Notice that the answers above are written in the parameter alone, with no need to find or first. A parameter can even be introduced on purpose to tame an implicit relation, as the next example shows.
Choosing a parameter
Find if , where and .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer 3
Show answer
Answer (A) vertical
Show answer
Answer True
Practice 5.6: questions with answers
Fresh questions on the skills of NCERT Exercise 5.6.
Find without eliminating the parameter.
,
Show solution
Answer
for .
,
Show solution
Answer
where . (The points lie on the line .)
,
Show solution
Answer
.
,
Show solution
Answer
for .
,
Show solution
Answer
and . The quotient is .
Find without eliminating the parameter.
,
Show solution
Answer
.
,
Show solution
Answer
, . The quotient is , which equals : these points lie on the unit circle.
, ,
Show solution
Answer
and , so .
,
Show solution
Answer
.
,
Show solution
Answer
and .
If and , show that .
Show solution
Answer and , so (for ).
and . Dividing, wherever . (The points satisfy , and implicit differentiation gives the same slope.)
5.7 Second Order Derivative
Differentiating gives , which is a new function, and nothing stops us differentiating that too: the result is . Repeating the operation like this is common enough to deserve a name and notation.
If and is differentiable, then is the second order derivative of with respect to , written , , , or .
Example: and .
In the same notation the first derivative is often written , and third and higher derivatives are defined the same way. Two readings make concrete. If is position, is velocity and is acceleration, the rate at which velocity changes. On a graph, is the rate at which the slope changes, so its sign tells which way the curve bends (Fig. 5.15).
3/3: negative for (bends down), positive for (bends up).
The top panel shows y = x³ − 3x for x from −2.2 to 2.2, rising to a peak at (−1, 2), falling through the origin and reaching a valley at (1, −2). Step 1 draws short tangents at x = −1, 0 and 1 with slopes 0, −3 and 0. Step 2 draws the bottom panel, the slope graph y′ = 3x² − 3, a U-shaped curve through (−1, 0), (0, −3) and (1, 0), with dotted links to the matching tangents. Step 3 shades the left half of the top panel as bending down, where y″ = 6x is negative, and the right half as bending up, where y″ is positive.
Differentiating twice
Find if .
Try it yourself first. Then reveal the solution one step at a time.
A function that its second derivative undoes
If (, constants), show that .
Try it yourself first. Then reveal the solution one step at a time.
Two exponentials
If , show that .
Try it yourself first. Then reveal the solution one step at a time.
An inverse sine squared
If , , show that .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer 20
Show answer
Answer (C)
Show answer
Answer 22 m/s²
Practice 5.7: questions with answers
Fresh questions on the skills of NCERT Exercise 5.7.
Find the second order derivative of each function.
Show solution
Answer
, .
Show solution
Answer
, .
Show solution
Answer
; .
,
Show solution
Answer
, .
,
Show solution
Answer
; .
Find the second order derivative of each function.
Show solution
Answer
; .
Show solution
Answer
; .
,
Show solution
Answer
; .
Show solution
Answer
; quotient rule: .
,
Show solution
Answer
; .
Prove each identity.
If , show that .
Show solution
Answer.
and .
If , find in terms of alone.
Show solution
Answer
gives (cosine is positive on ). Then .
If , , show that .
Show solution
AnswerSubstitution gives 0.
and . Write and ; then
If , show that .
Show solution
AnswerSubstitution gives 0.
and . So .
Prove each identity.
If , show that .
Show solution
Answer.
and .
If , , show that .
Show solution
Answer.
and .
If , show that .
Show solution
AnswerDifferentiate .
, so . Differentiating, , which rearranges to the result.
Miscellaneous examples
These examples combine the techniques of the chapter. Two habits help: state where the function is defined before differentiating, and simplify first when an identity is available, checking that it holds on the whole interval you need.
Roots and a change of base
Differentiate (i) , (ii) , .
Try it yourself first. Then reveal the solution one step at a time.
Simplify first, but mind the interval
Differentiate (i) , , (ii) , (iii) .
Try it yourself first. Then reveal the solution one step at a time.
2/2Beyond the graph turns: slopes alternate between and .
Axes show x from −π to 3π and y from 0 to π. Step 1 draws the line y = x dashed and the graph of y = cos⁻¹(cos x) only for x from 0 to π, where the two coincide. Step 2 draws the whole graph: a zigzag of straight segments rising with slope 1 from 0 to π and falling with slope −1 from π to 2π, repeating, with peaks of height π at x = −π, π and 3π. The line y = x leaves the zigzag at x = π.
The compound-interest function
Find if , .
Try it yourself first. Then reveal the solution one step at a time.
A parametric pair with variable powers
Find if and .
Try it yourself first. Then reveal the solution one step at a time.
One function with respect to another
Differentiate with respect to , for .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer (B)
Show answer
Answer 0.3333333333333333
Show answer
Answer True
Practice questions with answers (NCERT “Miscellaneous exercises”)
Fresh questions on the skills of NCERT's Miscellaneous Exercise on Chapter 5, plus three quick self-checks.
Differentiate with respect to .
Show solution
Answer
Chain rule: with .
Show solution
Answer
The derivative is . Factorise: , which is .
,
Show solution
Answer
, so , and .
,
Show solution
Answer
.
,
Show solution
Answer
. Then the quotient rule with , .
,
Show solution
Answer
, with . So .
Differentiate with respect to .
,
Show solution
Answer
; product rule: .
(, constants)
Show solution
Answer
Chain rule with inner derivative .
Show solution
Answer
, so .
,
Show solution
Answer
Four different rules: variable base and exponent; a constant power ( is a number); the natural exponential; a constant.
,
Show solution
Answer
and ; differentiate each and multiply back.
Parametric and implicit slopes.
Find if , , .
Show solution
Answer
.
Find if , .
Show solution
Answer0
Directly: the two derivatives cancel. Or note that for the sum is the constant .
If , show that .
Show solution
AnswerDifferentiate both sides and multiply by .
Right side: . Left side: . Equate and multiply by .
A circle has centre and radius : , . Show that , a constant that does not depend on and .
Show solution
Answer and , so the ratio is .
. Then .
Numerator: . Dividing by leaves . (This ratio is the radius of curvature; for a circle it is the radius.)
If , where , prove that .
Show solution
Answer.
, so .
Since , the result follows.
Second derivatives in unusual settings.
If and , find .
Show solution
Answer
. By the quotient rule its -derivative is
Divide this by .
Let . Show that exists for every real , but does not exist.
Show solution
Answer; is for and for .
for and for . Away from 0, or , that is . At 0, , so and everywhere. But has a corner at 0 (one-sided derivatives and ), so does not exist.
Starting from , where is a constant, differentiate with respect to to obtain the addition formula for .
Show solution
Answer.
Differentiating, . Multiply by .
Give a function that is continuous at every real number but not differentiable at exactly three points, , and . Justify your answer.
Show solution
AnswerFor example .
Each term is continuous, so is continuous. Away from , is linear near each point and so differentiable.
At the other two terms are differentiable, while has one-sided derivatives and . So the one-sided derivatives of differ by 2 and does not exist. The same argument works at and at .
Let . Find by expanding, and check that it equals (differentiate one row at a time).
Show solution
Answer both ways.
, so .
The first determinant is and the second is . Their sum is , the same.
If , , show that .
Show solution
AnswerDifferentiating gives the result.
, so .
Differentiate: . Multiply by .
Which of these functions is continuous at but not differentiable there?
Show answer
Answer (C)
has a corner at 0 (one-sided derivatives and ). is differentiable, jumps at 0, and is not defined at 0.If and , find when .
Show answer
Answer 9
.True or false: if is differentiable at , then exists.
Show answer
Answer True
Differentiability implies continuity (Theorem 3), so the limit exists and equals .
Continuity and Differentiability: key points and summary
- A real function is continuous at a point of its domain if : both one-sided limits exist, agree, and equal (Section 5.2).
- A continuous function has no point of discontinuity in its domain; at the end of a closed interval only the one-sided limit is used (continuous functions).
- Sums, differences, products and quotients (where the denominator is non-zero) of continuous functions are continuous, and so are composites (Section 5.2.1).
- Polynomials, rational functions, trigonometric functions, , exponentials and logarithms are continuous on their domains; jumps at every integer (Example 15).
- is differentiable at when its left-hand and right-hand derivatives at are finite and equal. Differentiability implies continuity, not the other way round: is unbroken but has a corner at 3 (Section 5.3).
- Chain rule: if and , then , and longer chains multiply more rates (Section 5.3.1).
- For an implicit relation, differentiate both sides with respect to , attaching to every term in (Section 5.3.2).
- , on , and (Section 5.3.3).
- means ; turns products into sums, quotients into differences and powers into multiples, and is the mirror image of in (Section 5.4).
- , and (Theorem 5).
- Logarithmic differentiation handles and long products: , valid when (Section 5.5).
- For , : wherever (Section 5.6).
- The second derivative is the derivative of : the rate of change of the slope (Section 5.7).
Derivatives to know
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 textbook | Practice question here |
|---|---|
| NCERT Exercise 5.1, Q1–Q2 | Practice 5.1 · Q1 |
| NCERT Exercise 5.1, Q3 | Practice 5.1 · Q2 |
| NCERT Exercise 5.1, Q4 | Practice 5.1 · Q3 |
| NCERT Exercise 5.1, Q5 | Practice 5.1 · Q4 |
| NCERT Exercise 5.1, Q6–Q12 | Practice 5.1 · Q5 |
| NCERT Exercise 5.1, Q13–Q16 | Practice 5.1 · Q6 |
| NCERT Exercise 5.1, Q17–Q18 | Practice 5.1 · Q7 |
| NCERT Exercise 5.1, Q19 | Practice 5.1 · Q8 |
| NCERT Exercise 5.1, Q20–Q22 | Practice 5.1 · Q9 |
| NCERT Exercise 5.1, Q23–Q25 | Practice 5.1 · Q10 |
| NCERT Exercise 5.1, Q26–Q30 | Practice 5.1 · Q11 |
| NCERT Exercise 5.1, Q31–Q34 | Practice 5.1 · Q12 |
| NCERT Exercise 5.2, Q1–Q8 | Practice 5.2 · Q1 |
| NCERT Exercise 5.2, Q9 | Practice 5.2 · Q2 |
| NCERT Exercise 5.2, Q10 | Practice 5.2 · Q3 |
| NCERT Exercise 5.3, Q1–Q8 | Practice 5.3 · Q1 |
| NCERT Exercise 5.3, Q9–Q15 | Practice 5.3 · Q2 |
| NCERT Exercise 5.4, Q1–Q5 | Practice 5.4 · Q1 |
| NCERT Exercise 5.4, Q6–Q10 | Practice 5.4 · Q2 |
| NCERT Exercise 5.5, Q1–Q6 | Practice 5.5 · Q1 |
| NCERT Exercise 5.5, Q7–Q11 | Practice 5.5 · Q2 |
| NCERT Exercise 5.5, Q12–Q15 | Practice 5.5 · Q3 |
| NCERT Exercise 5.5, Q16 | Practice 5.5 · Q4 |
| NCERT Exercise 5.5, Q17 | Practice 5.5 · Q5 |
| NCERT Exercise 5.5, Q18 | Practice 5.5 · Q6 |
| NCERT Exercise 5.6, Q1–Q5 | Practice 5.6 · Q1 |
| NCERT Exercise 5.6, Q6–Q10 | Practice 5.6 · Q2 |
| NCERT Exercise 5.6, Q11 | Practice 5.6 · Q3 |
| NCERT Exercise 5.7, Q1–Q5 | Practice 5.7 · Q1 |
| NCERT Exercise 5.7, Q6–Q10 | Practice 5.7 · Q2 |
| NCERT Exercise 5.7, Q11–Q14 | Practice 5.7 · Q3 |
| NCERT Exercise 5.7, Q15–Q17 | Practice 5.7 · Q4 |
| NCERT Miscellaneous Exercise 5, Q1–Q6 | Miscellaneous exercises · Q1 |
| NCERT Miscellaneous Exercise 5, Q7–Q11 | Miscellaneous exercises · Q2 |
| NCERT Miscellaneous Exercise 5, Q12–Q14 | Miscellaneous exercises · Q3 |
| NCERT Miscellaneous Exercise 5, Q15 | Miscellaneous exercises · Q4 |
| NCERT Miscellaneous Exercise 5, Q16 | Miscellaneous exercises · Q5 |
| NCERT Miscellaneous Exercise 5, Q17–Q18 | Miscellaneous exercises · Q6 |
| NCERT Miscellaneous Exercise 5, Q19 | Miscellaneous exercises · Q7 |
| NCERT Miscellaneous Exercise 5, Q20 | Miscellaneous exercises · Q8 |
| NCERT Miscellaneous Exercise 5, Q21 | Miscellaneous exercises · Q9 |
| NCERT Miscellaneous Exercise 5, Q22 | Miscellaneous exercises · Q10 |
Quick check: MCQs on Continuity and Differentiability
- 5.2 Continuity4 questions
- 5.2.1 Algebra of continuous functions3 questions
- 5.3 Differentiability4 questions
- 5.3.3 Derivatives of inverse trigonometric functions4 questions
- 5.4 Exponential and Logarithmic Functions3 questions
- 5.5 Logarithmic Differentiation3 questions
- 5.6 Derivatives of Functions in Parametric Forms3 questions
- 5.7 Second Order Derivative3 questions
- Miscellaneous examples3 questions
Key terms (English–Hindi)
- chain ruleशृंखला नियमshrinkhala niyam
- The derivative of a composite is the product of the rates along the chain: .First seen in the chapter →
- continuous (at a point)संततsantat
- is continuous at a point of its domain when exists and equals .First seen in the chapter →
- continuous functionसंतत फलनsantat phalan
- A function that is continuous at every point of its domain.
- differentiableअवकलनीयavakalaneeya
- is differentiable at when its left-hand and right-hand derivatives at are finite and equal.First seen in the chapter →
- exponential functionचरघातांकी फलनcharghaataanki phalan
- for a fixed base ; with base it is the natural exponential .
- greatest integer functionमहत्तम पूर्णांक फलनmahattam poornaank phalan
- , the largest integer less than or equal to ; for example .First seen in the chapter →
- implicit functionअस्पष्ट फलनaspasht phalan
- A function of fixed by a relation between and that is not written in the form .
- logarithmलघुगणकlaghuganak
- means . In this chapter is the natural logarithm, base .
- logarithmic differentiationलघुगणकीय अवकलनlaghuganakiya avakalan
- Differentiating instead of , then multiplying by ; used for and long products.
- one-sided limitएकपक्षीय सीमाekpakshiya seema
- The value approaches as from the left only () or from the right only ().First seen in the chapter →
- parameterप्राचलpraachal
- A third variable through which and are both given.
- point of discontinuityअसांतत्य का बिंदुasaantatya ka bindu
- A point of the domain at which the function is not continuous.First seen in the chapter →
- second order derivativeद्वितीय कोटि का अवकलजdvitiya koti ka avakalaj
- The derivative of , written or .