ExamSaathi learning library · School · CBSE Class 12 Mathematics 2026-27; teacher review pending · Mathematics
Continuity and differentiability for Class 12: chain rule to second derivatives
Test a function for continuity and differentiability at a point, then differentiate composite, inverse trigonometric, implicit, exponential, logarithmic and parametric functions, and find second-order derivatives.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Decide whether a function is continuous at a point inside its domain by comparing its left-hand limit, right-hand limit and value there.
- Explain why a differentiable function is continuous, and use |t| at 0 to show that the converse fails.
- Differentiate composite, inverse trigonometric, implicit, exponential and logarithmic functions with the chain rule.
- Apply logarithmic differentiation and the parametric rule, and find second-order derivatives.
Before you start
Start from the Class 11 lesson on limits and derivatives, which covered one-sided limits, the derivative as a limit, and the sum, product and quotient rules. Textbooks write functions of x, but x means multiply here, so the variable is t and we write y = f(t), with dy/dt or f'(t) for the derivative. Every angle is in radians. In this lesson log t means the natural logarithm, to base e (about 2.718), which is defined only for t > 0. Two words matter throughout. A function is continuous at a point if its graph passes through that point without a break. It is differentiable there if the graph has a single tangent at that point that is not vertical, with no corner or sharp point. The second idea is stronger than the first, as you will see.
Continuity at a point and on an interval
At a point c inside its domain, a function f is continuous when three things agree: the left-hand limit of f(t) as t approaches c, the right-hand limit as t approaches c, and the value f(c). At an end point of the domain, such as t = 0 for sqrt(t), only the limit taken from inside the domain is compared with the value. If the two one-sided limits differ, the graph jumps; if they agree but differ from f(c), the graph has a hole with a stray dot. Take f(t) = t + 1 when t is at most 1 and f(t) = 3t - 1 when t is greater than 1. From the left f(t) tends to 2, from the right 3t - 1 also tends to 2, and f(1) = 2, so f is continuous at 1. Now take g(t) = 1 when t is negative and g(t) = 2 when t is 0 or more: the left-hand limit at 0 is 1 but g(0) = 2, so g is not continuous at 0. A function is continuous on an interval if it is continuous at every point of it, again using only the one-sided limit from inside at an end point of a closed interval. Sums, differences, products and compositions of continuous functions are continuous, and so is a quotient wherever its bottom is not 0. So polynomials, sin t, cos t and e^t are continuous for every real t, log t for every t > 0, and a rational function at every point where its denominator is not 0.
Differentiability and the chain rule
At a point c inside its domain, f is differentiable when the limit of (f(c + h) - f(c))/h as h tends to 0 exists. This means the left-hand derivative (h approaching 0 from below) and the right-hand derivative (h approaching 0 from above) are finite and equal. A function that is differentiable at c is continuous at c, because f(c + h) - f(c) equals the difference quotient times h, which tends to f'(c) x 0 = 0. The converse is false. For f(t) = |t| at 0 the quotient |h|/h is -1 for every negative h and 1 for every positive h, so the one-sided derivatives are -1 and 1. The graph is unbroken but has a corner, and f is not differentiable at 0. For a composite function use the chain rule: if y = f(u) and u = g(t), then dy/dt = (dy/du) x (du/dt), so the derivative of f(g(t)) is f'(g(t)) x g'(t). Differentiate the outer function with the inside left unchanged, then multiply by the derivative of the inside. For example, the derivative of (3t + 1)^5 is 5(3t + 1)^4 x 3 = 15(3t + 1)^4, and the derivative of sin(t^2) is cos(t^2) x 2t.
Inverse trigonometric, implicit, exponential and logarithmic functions
On their principal branches, the derivative of sin^-1 t is 1/sqrt(1 - t^2) and the derivative of cos^-1 t is -1/sqrt(1 - t^2), both for -1 < t < 1, while the derivative of tan^-1 t is 1/(1 + t^2) for every real t. Combine them with the chain rule: the derivative of tan^-1(3t) is 3/(1 + 9t^2). Sometimes y is tied to t by an equation that is not solved for y, such as t^2 + y^2 = 25. Implicit differentiation treats y as a function of t, differentiates both sides with respect to t and then solves for dy/dt. Here 2t + 2y (dy/dt) = 0, so dy/dt = -t/y wherever y is not 0. Differentiating any expression in y brings in a factor dy/dt by the chain rule; for example, y^2 gives 2y (dy/dt). The natural exponential is its own derivative: e^t has derivative e^t, and e^(kt) has derivative k e^(kt). For a base a > 0 other than 1, the derivative of a^t is a^t log a. The natural logarithm log t has derivative 1/t for t > 0, so the derivative of log(t^2 + 1) is 2t/(t^2 + 1).
Logarithmic differentiation, parametric forms and second derivatives
When the variable sits in both the base and the power, as in y = t^t for t > 0, or when a function is a long product or quotient, take logarithms first. This needs y > 0; where y can be negative, work with log|y| at points where y is not 0. From log y = t log t, differentiating both sides gives (1/y)(dy/dt) = log t + 1, so dy/dt = t^t (1 + log t). A curve can also be described through a third variable, a parameter s, with t = g(s) and y = h(s). Then dy/dt = (dy/ds)/(dt/ds) wherever dt/ds is not 0. For the circle t = 3 cos s, y = 3 sin s this gives dy/dt = (3 cos s)/(-3 sin s) = -cot s. The second-order derivative, written d2y/dt2, f''(t) or y'', is the derivative of dy/dt. For y = t^3 - 6t^2, dy/dt = 3t^2 - 12t and d2y/dt2 = 6t - 12. For a curve in parametric form, differentiate dy/dt with respect to s and divide by dt/ds once more; dividing d2y/ds2 by d2t/ds2 gives a wrong answer.
Common mistakes
1. Checking only that f(c) exists: at a point inside the domain, continuity also needs both one-sided limits to equal f(c), and at an end point the limit from inside must equal f(c). 2. Assuming that a continuous function must be differentiable: |t| is continuous at 0 but has a corner there. 3. Leaving out the inner derivative in the chain rule, for example giving cos(t^2) as the derivative of sin(t^2) instead of 2t cos(t^2). 4. Forgetting the factor dy/dt on terms that contain y in implicit differentiation, such as turning y^2 into 2y instead of 2y (dy/dt). 5. Treating t^t as a power, to get t x t^(t - 1), or as an exponential, to get t^t log t; logarithmic differentiation gives t^t (1 + log t). 6. Dropping the minus sign in the derivative of cos^-1 t, or using these results at t = 1 or t = -1, where they do not hold. 7. Finding a parametric second derivative by dividing d2y/ds2 by d2t/ds2.
A short routine
1. For continuity at a point c inside the domain, find the left-hand limit, the right-hand limit and f(c), and check that all three agree; at an end point, compare the limit from inside with f(c). 2. For differentiability at a point where the formula changes, first make sure the function is continuous there, then compare the left-hand and right-hand derivatives. 3. Spot the outermost operation and differentiate from the outside in, multiplying by each inner derivative. 4. If y is not given on its own, differentiate both sides term by term and solve for dy/dt. 5. For a variable power or a long product, take logarithms (of |y| if y can be negative) before differentiating. 6. For a parameter s, divide dy/ds by dt/ds. 7. For a second derivative, differentiate dy/dt once more and simplify.
Worked examples
The function f is given by f(t) = kt + 1 when t is at most 2 and f(t) = 3t - 1 when t is greater than 2. Find k so that f is continuous at t = 2, and then decide whether f is differentiable at t = 2.
- 1. Value and left-hand limit: for t at most 2 the rule is kt + 1, so f(2) = 2k + 1 and the left-hand limit is also 2k + 1.
- 2. Right-hand limit: as t approaches 2 from above, 3t - 1 approaches 3 x 2 - 1 = 5.
- 3. Continuity needs 2k + 1 = 5, so 2k = 4 and k = 2.
- 4. With k = 2 the left piece is 2t + 1, a straight line of slope 2, so the left-hand derivative at 2 is 2.
- 5. The right piece 3t - 1 has slope 3, so the right-hand derivative at 2 is 3. The two differ, so the graph has a corner at t = 2.
Answer: k = 2. The function is then continuous at t = 2 but not differentiable there, because its left-hand derivative (2) and right-hand derivative (3) differ.
Find dy/dt at the point (t, y) = (1, 2) on the curve t^2 + ty + y^2 = 7.
- 1. Check the point: 1^2 + 1 x 2 + 2^2 = 1 + 2 + 4 = 7, so (1, 2) lies on the curve.
- 2. Differentiate each term with respect to t: t^2 gives 2t; ty is a product and gives 1 x y + t (dy/dt); y^2 gives 2y (dy/dt); the constant 7 gives 0.
- 3. So 2t + y + t (dy/dt) + 2y (dy/dt) = 0, which rearranges to (t + 2y)(dy/dt) = -(2t + y).
- 4. Hence dy/dt = -(2t + y)/(t + 2y), wherever t + 2y is not 0.
- 5. At (1, 2): dy/dt = -(2 + 2)/(1 + 4) = -4/5 = -0.8.
Answer: dy/dt = -(2t + y)/(t + 2y), which equals -4/5 = -0.8 at the point (1, 2).
Find dy/dt for y = t^t, where t > 0, and its value at t = 2 correct to two decimal places.
- 1. The variable is in both the base and the power, so neither the power rule nor the exponential rule applies. Take natural logarithms: log y = t log t.
- 2. Differentiate both sides with respect to t. The left side gives (1/y)(dy/dt) by the chain rule; the right side is a product and gives 1 x log t + t x (1/t) = log t + 1.
- 3. Multiply by y: dy/dt = y (log t + 1) = t^t (1 + log t).
- 4. At t = 2: 2^2 = 4 and log 2 is about 0.69315, so dy/dt = 4 x 1.69315 = 6.7726, which is about 6.77.
Answer: dy/dt = t^t (1 + log t); at t = 2 it is 4(1 + log 2), about 6.77.
Practice checks
- For which value of k is the function f(t) = kt^2 (for t at most 2) and f(t) = 4t + 4 (for t greater than 2) continuous at t = 2?
- What is the derivative of (2t^2 + 1)^3 at t = 1?
- What is the derivative of tan^-1(t^2) at t = 1?
- A curve is given by t = 3 cos s and y = 3 sin s, where s is a parameter in radians. What is dy/dt at s = pi/4?
- If y = e^(2t) + log t for t > 0, what is d2y/dt2 at t = 1, to two decimal places?
Sources checked
- CBSE Mathematics (041), Classes XI-XII (2026-27) — Class XII Unit III Calculus, Chapter 1 Continuity and Differentiability
- NCERT Mathematics Part I, Class XII, Chapter 5 Continuity and Differentiability — Sections on continuity and the algebra of continuous functions, differentiability (composite, implicit and inverse trigonometric functions), exponential and logarithmic functions, logarithmic differentiation, derivatives of functions in parametric forms and the second order derivative
- OpenStax Calculus Volume 1, 2.4 Continuity — Continuity at a point, types of discontinuity and continuity over an interval
- OpenStax Calculus Volume 1, 3.2 The Derivative as a Function — Differentiability and continuity, and higher-order derivatives
- OpenStax Calculus Volume 1, 3.6 The Chain Rule — The chain rule for composite functions
- OpenStax Calculus Volume 1, 3.9 Derivatives of Exponential and Logarithmic Functions — Derivatives of exponential and logarithmic functions and logarithmic differentiation
- OpenStax Calculus Volume 2, 7.2 Calculus of Parametric Curves — Derivatives and second derivatives of parametric equations