Continuity and Differentiability

Can you draw the graph of a function without ever lifting your pen from the paper? That everyday physical act turns out to be exactly the right intuition for one of the most important ideas in calculus: continuity. This chapter takes that picture and makes it precise, then pushes it further into the machinery you will use for the rest of Class XII — differentiability, the chain rule, and derivatives of an entirely new family of functions. You already met limits and the derivative from first principles in Class XI, differentiating polynomials and trigonometric functions. Here the question flips: instead of just computing a limit, we ask when the limit of a function at a point equals its value there — that is continuity. We then revisit the derivative and ask when it exists at all — that is differentiability — and prove the one-way implication that anchors the whole chapter: every differentiable function is continuous, but a continuous function need not be differentiable, as the sharp corner of ∣x∣|x| at the origin shows. With that foundation in place, the chapter builds outward. The chain rule lets you differentiate composite functions such as sin⁡(x2)\sin(x^2), and the same idea gives clean formulas for the derivatives of sin⁡−1x\sin^{-1}x, cos⁡−1x\cos^{-1}x and tan⁡−1x\tan^{-1}x. A genuinely new class of functions — the exponential exe^x and the natural logarithm log⁡x\log x — enters with the remarkable property that exe^x reproduces itself under differentiation. Logarithmic differentiation then handles the tricky case of a variable raised to a variable power, like xsin⁡xx^{\sin x}. Implicit and parametric differentiation free you from ever needing to solve for yy explicitly. And the chapter closes with second order derivatives, d2ydx2\dfrac{d^2y}{dx^2}, the tool you will lean on constantly in the next chapter, Application of Derivatives, to study curvature, maxima and minima.

Key takeaways
  • A function ff is continuous at x=cx = c if lim⁡x→cf(x)=f(c)\displaystyle\lim_{x \to c} f(x) = f(c) — the left hand limit, right hand limit and the function's value at cc must all exist and agree.
  • A function is discontinuous at cc if any of these three fail to match; common culprits are jump discontinuities (piecewise functions) and the greatest integer function [x][x], which is discontinuous at every integer.
  • Sums, differences, products and quotients (denominator nonzero) of continuous functions are continuous; composites of continuous functions are continuous.
  • Differentiability at cc requires the left hand derivative and right hand derivative to both exist and be equal; every differentiable function is continuous, but the converse is false — f(x)=∣x∣f(x) = |x| is continuous everywhere yet not differentiable at x=0x = 0.
  • The chain rule, dfdx=dvdt⋅dtdx\dfrac{df}{dx} = \dfrac{dv}{dt}\cdot\dfrac{dt}{dx} for f=v∘uf = v \circ u with t=u(x)t = u(x), is the master tool behind every derivative in this chapter.
  • Standard results: ddxsin⁡−1x=11−x2\dfrac{d}{dx}\sin^{-1}x = \dfrac{1}{\sqrt{1-x^2}}, ddxcos⁡−1x=−11−x2\dfrac{d}{dx}\cos^{-1}x = -\dfrac{1}{\sqrt{1-x^2}}, ddxtan⁡−1x=11+x2\dfrac{d}{dx}\tan^{-1}x = \dfrac{1}{1+x^2}, ddxex=ex\dfrac{d}{dx}e^x = e^x, and ddxlog⁡x=1x\dfrac{d}{dx}\log x = \dfrac{1}{x}.
  • Logarithmic differentiation — take log⁡\log of both sides before differentiating — is the standard method whenever the variable appears in the exponent, as in y=[u(x)]v(x)y = [u(x)]^{v(x)}.
  • Implicit differentiation differentiates both sides of a relation like x2+xy+y2=100x^2 + xy + y^2 = 100 directly with respect to xx, using the chain rule on every occurrence of yy; parametric differentiation uses dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt} when x=f(t)x = f(t), y=g(t)y = g(t).
  • The second order derivative d2ydx2\dfrac{d^2y}{dx^2} is found by differentiating dydx\dfrac{dy}{dx} again with respect to xx; for implicit or parametric forms you differentiate the first-derivative expression carefully, often using the chain rule a second time.
  • Key idea: a function is continuous at a point exactly when its limit there equals its value, differentiability is the strictly stronger requirement that the left and right hand derivatives agree, and the chain rule extended through logarithmic, implicit and parametric differentiation is the single technique that unlocks every derivative in this chapter.
The core insight

Continuity at cc means lim⁡x→cf(x)=f(c)\lim_{x\to c} f(x) = f(c); differentiability is strictly stronger (it forces continuity but not conversely), and the chain rule — applied directly, or after taking logarithms, or through a parameter tt — is the one tool that differentiates every function this chapter introduces, including exe^x, log⁡x\log x and the inverse trigonometric functions.

What this chapter covers

The chapter has a clear spine: definitions first, then bigger and bigger classes of functions you can differentiate. Section by section, it moves through continuity at a point and on a domain, the algebra of continuous functions (sums, products, quotients, composites), differentiability and its relationship to continuity, the chain rule for composite functions, implicit differentiation, derivatives of the inverse trigonometric functions, exponential and logarithmic functions and their defining properties, logarithmic differentiation for functions of the form [u(x)]v(x)[u(x)]^{v(x)}, derivatives of functions given in parametric form, and finally second order derivatives. The guided map below groups these into six teaching blocks used in the core ideas section that follows: continuity at a point; building new continuous functions from old ones; differentiability and its link to continuity; the chain rule together with inverse trigonometric, exponential and logarithmic derivatives; implicit and parametric differentiation; and second order derivatives. Each block ends where the next needs it — you cannot differentiate sin⁡−1x\sin^{-1}x without the chain rule, and you cannot do logarithmic differentiation without ddxlog⁡x=1x\dfrac{d}{dx}\log x = \dfrac{1}{x} already in hand. Read it in order the first time through; use the cheatsheet at the end for revision.

The core ideas

Continuity at a point — the three-way match

The formal definition sharpens the pen-and-paper picture from the overview. A real function ff defined on a subset of R\mathbb{R} is continuous at a point cc in its domain if the limit of ff as xx approaches cc exists and equals the function's value there.

lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c)

where: this single equation silently packs in three separate conditions — f(c)f(c) must exist (the function is defined at cc), lim⁡x→cf(x)\lim_{x\to c} f(x) must exist (which itself requires the left hand limit lim⁡x→c−f(x)\lim_{x \to c^-} f(x) and right hand limit lim⁡x→c+f(x)\lim_{x \to c^+} f(x) to exist and be equal), and finally that common limit value must coincide with f(c)f(c). If even one of the three fails, ff is discontinuous at cc, and cc is called a point of discontinuity. A function is simply called continuous if it is continuous at every point of its domain; at the endpoints of a closed interval [a,b][a,b], continuity means the one-sided limit from inside the interval matches the endpoint value, since the limit from outside is not defined. The step function is the cleanest illustration of failure. Consider f(x)=1f(x) = 1 for x≤0x \le 0 and f(x)=2f(x) = 2 for x>0x > 0. Near x=0x=0, points just to the left give function value 11 while points just to the right give value 22; the left hand limit is 11, the right hand limit is 22, and since these disagree the limit itself does not exist at x=0x = 0, so ff is discontinuous there — you would have to lift your pen to draw it. A subtler failure occurs when the one-sided limits do agree with each other but not with f(c)f(c), as in f(x)=x+3f(x) = x+3 for x≠0x \ne 0 and f(0)=1f(0) = 1: here lim⁡x→0f(x)=3≠f(0)=1\lim_{x\to0} f(x) = 3 \ne f(0) = 1, so continuity fails even though there is no jump in the graph's shape, only a single displaced point.

Figure
A graph of a two piece step function equal to one for x less than or equal to zero and two for x greater than zero, showing an open circle and a filled circle at x equals zero to mark the jump discontinuity
A jump discontinuity at x = 0 x y -0.1 0.1 0 y = 1 y = 2 left hand limit = 1, right hand limit = 2 the two do not agree, so the limit at x = 0 fails to exist

Building new continuous functions from old ones

Checking the definition from scratch at every point is tedious, so the chapter proves an algebra of continuous functions that lets you certify huge classes of functions at once. If ff and gg are both continuous at cc, then f+gf+g, f−gf-g and f⋅gf \cdot g are continuous at cc, and the quotient f/gf/g is continuous at cc provided g(c)≠0g(c) \ne 0.

(f±g)(c)=lim⁡x→c[f(x)±g(x)],(f⋅g)(c)=lim⁡x→c[f(x)⋅g(x)],(fg)(c)=lim⁡x→cf(x)g(x), g(c)≠0(f \pm g)(c) = \lim_{x\to c}[f(x) \pm g(x)], \qquad (f \cdot g)(c) = \lim_{x\to c}[f(x)\cdot g(x)], \qquad \left(\frac{f}{g}\right)(c) = \lim_{x\to c}\frac{f(x)}{g(x)},\ g(c)\ne 0

where: each equality is really the claim that the limit of the combined function equals its value at cc — exactly the definition of continuity applied to the new function, and it follows immediately from the corresponding algebra-of-limits rules you already know. The full proof of this result is worked out in the first derivation below. This single theorem, combined with the fact that constant functions, the identity function f(x)=xf(x)=x, and sin⁡x\sin x and cos⁡x\cos x are all continuous everywhere, is enough to certify that every polynomial function is continuous (built from sums and products of xx and constants) and every rational function p(x)/q(x)p(x)/q(x) is continuous wherever q(x)≠0q(x) \ne 0. It also handles tan⁡x=sin⁡x/cos⁡x\tan x = \sin x/\cos x, continuous wherever cos⁡x≠0\cos x \ne 0. A second theorem covers composition: if gg is continuous at cc and ff is continuous at g(c)g(c), then the composite f∘gf \circ g is continuous at cc. This is why functions like sin⁡(x2)\sin(x^2) and ∣1−x+∣x∣∣|1 - x + |x|| are continuous — each is built by feeding one continuous function into another. The one function that resists this good behaviour at isolated points is the greatest integer function f(x)=[x]f(x) = [x]: at every non-integer point the function is locally constant and continuous, but at each integer nn the left hand limit is n−1n-1 while the right hand limit is nn, so [x][x] is discontinuous at every integer.

Differentiability and the derivative revisited

Recall the derivative of ff at a point cc from Class XI, defined as a limit of the difference quotient — the slope of the secant line as the second point slides in toward cc.

f′(c)=lim⁡h→0f(c+h)−f(c)hf'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h}

where: hh is the small increment added to cc; the quotient is the slope of the chord joining (c,f(c))(c, f(c)) and (c+h,f(c+h))(c+h, f(c+h)), and the limit, when it exists, is the slope of the tangent at cc. A function is differentiable at cc if this limit exists — equivalently, if the left hand derivative lim⁡h→0−f(c+h)−f(c)h\lim_{h\to 0^-}\frac{f(c+h)-f(c)}{h} and the right hand derivative lim⁡h→0+f(c+h)−f(c)h\lim_{h\to 0^+}\frac{f(c+h)-f(c)}{h} both exist and are equal. A function is differentiable on an interval if it is differentiable at every point of that interval, with one-sided derivatives used at the endpoints, exactly as with continuity. The relationship between the two ideas is one-directional, and it is the single most important fact in this chapter: every differentiable function is continuous, but a continuous function need not be differentiable. The classic witness is f(x)=∣x∣f(x) = |x|: it is continuous at x=0x=0 (Example 3 of the NCERT text confirms this directly), yet its left hand derivative there is −1-1 and its right hand derivative is +1+1 — the graph has a sharp corner, so no single tangent line exists, and ff fails to be differentiable at 00 even though you never need to lift your pen to draw it.

Figure
A V shaped graph of the absolute value function showing a sharp corner at the origin with two dashed tangent rays of slope minus one on the left and slope plus one on the right, illustrating a function that is continuous but not differentiable at that point
f(x) = |x| — continuous everywhere, not differentiable at x = 0 x y slope = -1 (LHD) slope = +1 (RHD) 0 LHD ne RHD at the corner, so f'(0) does not exist

The chain rule, and inverse trigonometric, exponential and logarithmic derivatives

Composite functions such as f(x)=(2x+1)3f(x) = (2x+1)^3 or sin⁡(x2)\sin(x^2) cannot be differentiated by the basic power, sum or product rules alone. The chain rule handles any function f=v∘uf = v \circ u, meaning f(x)=v(u(x))f(x) = v(u(x)), by treating it as a two-stage machine: an inner function t=u(x)t = u(x) feeding into an outer function v(t)v(t).

dfdx=dvdt⋅dtdx,t=u(x)\frac{df}{dx} = \frac{dv}{dt} \cdot \frac{dt}{dx}, \qquad t = u(x)

where: dvdt\dfrac{dv}{dt} is the derivative of the outer function evaluated at the inner value tt, and dtdx\dfrac{dt}{dx} is the derivative of the inner function; multiplying the two "cancels" the intermediate variable tt the same way ab⋅bc=ac\dfrac{a}{b}\cdot\dfrac{b}{c} = \dfrac{a}{c} does formally, though the real justification is a limit argument, not algebra. The rule extends to three or more nested functions by repeating the multiplication one layer at a time. The chain rule, combined with implicit differentiation (differentiating a defining relation like x=sin⁡yx = \sin y directly), produces the three standard inverse trigonometric derivatives, each valid on the stated domain because that is exactly where the corresponding one-to-one branch is defined.

ddxsin⁡−1x=11−x2,x∈(−1,1)ddxcos⁡−1x=−11−x2,x∈(−1,1)ddxtan⁡−1x=11+x2,x∈R\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}},\quad x\in(-1,1) \qquad \frac{d}{dx}\cos^{-1}x = \frac{-1}{\sqrt{1-x^2}},\quad x\in(-1,1) \qquad \frac{d}{dx}\tan^{-1}x = \frac{1}{1+x^2},\quad x\in\mathbb{R}

where: the domain restrictions matter — at x=±1x = \pm 1, cos⁡y=0\cos y = 0 in the underlying derivation and the derivative blows up, which is exactly why sin⁡−1x\sin^{-1}x and cos⁡−1x\cos^{-1}x are open-interval results while tan⁡−1x\tan^{-1}x, whose denominator 1+x21+x^2 never vanishes, holds for every real xx. The full derivation of the sin⁡−1x\sin^{-1}x formula is carried out below as a worked derivation. A genuinely new class of functions enters with the exponential function y=bxy = b^x for a base b>1b > 1, whose most important member is the natural exponential function y=exy = e^x, built from the base e=1+11!+12!+⋯e = 1 + \frac{1}{1!} + \frac{1}{2!} + \cdots, a number strictly between 22 and 33. Its inverse is the natural logarithm, written log⁡x\log x in this chapter (meaning log⁡ex\log_e x, sometimes written ln⁡x\ln x), defined for x>0x > 0 by log⁡ba=x\log_b a = x if bx=ab^x = a. Both functions are continuous on their domains, and their derivatives are strikingly simple.

ddxex=exddxlog⁡x=1x, x>0\frac{d}{dx}e^x = e^x \qquad\qquad \frac{d}{dx}\log x = \frac{1}{x},\ x>0

where: the first identity is the defining property that makes exe^x indispensable throughout calculus — it is its own derivative, so it never "wears out" under repeated differentiation, unlike any power of xx. Two algebraic identities of logarithms are used constantly alongside these derivatives: log⁡b(pq)=log⁡bp+log⁡bq\log_b(pq) = \log_b p + \log_b q and the change of base rule log⁡ap=log⁡bplog⁡ba\log_a p = \dfrac{\log_b p}{\log_b a}, both of which follow from writing the equal quantities as powers of bb and comparing exponents.

Implicit and parametric differentiation

Not every relationship between xx and yy can be solved for yy explicitly — think of x+sin⁡(xy)−y=0x + \sin(xy) - y = 0. Even so, yy may still depend on xx, and you can find dydx\dfrac{dy}{dx} by differentiating both sides of the relation directly with respect to xx, applying the chain rule to every term that contains yy (since yy is itself a function of xx, differentiating y2y^2 with respect to xx gives 2ydydx2y\dfrac{dy}{dx}, not just 2y2y). This is implicit differentiation, and it works on any relation F(x,y)=cF(x,y) = c without ever isolating yy. A separate situation arises when both xx and yy are expressed through a third variable, a parameter tt: x=f(t)x = f(t), y=g(t)y = g(t). The chain rule again supplies the link, since yy depends on xx only through tt.

dydx=dy/dtdx/dt,dxdt≠0\frac{dy}{dx} = \frac{dy/dt}{dx/dt}, \qquad \frac{dx}{dt} \ne 0

where: dydt=g′(t)\dfrac{dy}{dt} = g'(t) and dxdt=f′(t)\dfrac{dx}{dt} = f'(t) are each ordinary derivatives with respect to the single parameter tt, computed independently, and the ratio gives dydx\dfrac{dy}{dx} purely in terms of tt — you are not required (and often not able) to eliminate tt and rewrite yy as an explicit function of xx first. A circle traced as x=acos⁡θx = a\cos\theta, y=asin⁡θy = a\sin\theta gives dydx=acos⁡θ−asin⁡θ=−cot⁡θ\dfrac{dy}{dx} = \dfrac{a\cos\theta}{-a\sin\theta} = -\cot\theta, matching the geometric fact that the tangent to a circle is perpendicular to the radius.

Figure
A circle traced by the parametric equations x equals a cosine theta and y equals a sine theta, with a radius drawn to a point on the circle and a tangent line at that point drawn perpendicular to the radius, illustrating that the slope of the tangent works out to minus cotangent theta
Parametric circle: x = a cos theta, y = a sin theta (a cos theta, a sin theta) tangent line theta dy/dx = (a cos theta)/(-a sin theta) = -cot theta, perpendicular to the radius

Second order derivatives

If y=f(x)y = f(x) is differentiable, the derivative dydx=f′(x)\dfrac{dy}{dx} = f'(x) is itself a new function of xx. If that function is differentiable, differentiating it once more with respect to xx produces the second order derivative, written d2ydx2\dfrac{d^2y}{dx^2} or f′′(x)f''(x) or y2y_2.

d2ydx2=ddx(dydx)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)

where: the notation d2ydx2\dfrac{d^2y}{dx^2} is a single symbol, not a literal square of ddx\dfrac{d}{dx} divided by a square of dxdx — it records "differentiate twice with respect to xx." When yy is given implicitly or parametrically, finding d2ydx2\dfrac{d^2y}{dx^2} means differentiating the expression for dydx\dfrac{dy}{dx} a second time with respect to xx, which usually still contains yy or the parameter and so needs the chain rule (or implicit differentiation) all over again. Second order derivatives are the tool this chapter hands directly to the next one, Application of Derivatives, where the sign of f′′(x)f''(x) decides concavity and distinguishes maxima from minima.

Derivation AThe algebra of continuous functions: sum, difference, product and quotient

The goal is to prove that if two functions ff and gg are each continuous at a point cc, then f+gf+g, f−gf-g, f⋅gf\cdot g are all continuous at cc, and f/gf/g is continuous at cc whenever g(c)≠0g(c) \ne 0 — turning four separate limit computations into one reusable fact that certifies huge classes of functions (polynomials, rational functions, tan⁡x\tan x) as continuous without ever returning to the definition. The strategy in every part is identical: write the combined function's limit using the algebra-of-limits rules from Class XI, substitute continuity of ff and gg individually, and show the result equals the combined function's value at cc.

Step 1. Prove continuity of f+gf+g. By definition, (f+g)(x)=f(x)+g(x)(f+g)(x) = f(x) + g(x) wherever both are defined, so it is certainly defined at cc. Using the sum rule for limits, lim⁡x→c(f+g)(x)=lim⁡x→c[f(x)+g(x)]=lim⁡x→cf(x)+lim⁡x→cg(x)\lim_{x\to c}(f+g)(x) = \lim_{x\to c}[f(x)+g(x)] = \lim_{x\to c}f(x) + \lim_{x\to c}g(x). Since ff and gg are each continuous at cc, lim⁡x→cf(x)=f(c)\lim_{x\to c}f(x) = f(c) and lim⁡x→cg(x)=g(c)\lim_{x\to c}g(x) = g(c), so the sum equals f(c)+g(c)=(f+g)(c)f(c)+g(c) = (f+g)(c). This is exactly the definition of continuity applied to f+gf+g, so f+gf+g is continuous at cc.

Step 2. Prove continuity of f−gf-g. The argument is identical with a minus sign carried through: lim⁡x→c(f−g)(x)=lim⁡x→cf(x)−lim⁡x→cg(x)=f(c)−g(c)=(f−g)(c)\lim_{x\to c}(f-g)(x) = \lim_{x\to c}f(x) - \lim_{x\to c}g(x) = f(c) - g(c) = (f-g)(c), using the difference rule for limits. As a special case, taking ff to be the constant function λ\lambda shows that if gg is continuous, so is λ⋅g\lambda \cdot g for any real λ\lambda; taking λ=−1\lambda = -1 shows continuity of gg implies continuity of −g-g.

Step 3. Prove continuity of f⋅gf\cdot g. Using the product rule for limits, lim⁡x→c(f⋅g)(x)=lim⁡x→c[f(x)⋅g(x)]=[lim⁡x→cf(x)]⋅[lim⁡x→cg(x)]=f(c)⋅g(c)=(f⋅g)(c)\lim_{x\to c}(f\cdot g)(x) = \lim_{x\to c}[f(x)\cdot g(x)] = \left[\lim_{x\to c}f(x)\right]\cdot\left[\lim_{x\to c}g(x)\right] = f(c)\cdot g(c) = (f\cdot g)(c). Every step used only that limits of a product equal the product of the limits, which is a Class XI result, plus the continuity hypotheses on ff and gg individually.

Step 4. Prove continuity of f/gf/g at points where g(c)≠0g(c) \ne 0. Because gg is continuous at cc and g(c)≠0g(c) \ne 0, g(x)g(x) stays away from zero for xx close enough to cc, so (f/g)(x)=f(x)/g(x)(f/g)(x) = f(x)/g(x) is defined near cc. Using the quotient rule for limits (valid because the denominator's limit is nonzero), lim⁡x→cf(x)g(x)=lim⁡x→cf(x)lim⁡x→cg(x)=f(c)g(c)=(fg)(c)\lim_{x\to c}\dfrac{f(x)}{g(x)} = \dfrac{\lim_{x\to c}f(x)}{\lim_{x\to c}g(x)} = \dfrac{f(c)}{g(c)} = \left(\dfrac{f}{g}\right)(c). This completes all four parts, and together they certify, for instance, that every polynomial (built from sums and products of the continuous identity function and constants) and every rational function (a quotient of two polynomials, continuous wherever the denominator is nonzero) is continuous throughout its domain.

Go deeper · Derivation B · 1 minEvery differentiable function is continuous, but not conversely
Derivation BEvery differentiable function is continuous, but not conversely

The goal is to prove Theorem 3 of this chapter: if ff is differentiable at a point cc, then ff is automatically continuous at cc. This gives a one-way bridge between the chapter's two central ideas, and it is worth also seeing exactly where the converse breaks, since that failure — not the theorem itself — is the fact students most often misuse on exams. The strategy is to write f(x)−f(c)f(x) - f(c) as a product of the difference quotient and (x−c)(x-c), then let x→cx \to c and watch the second factor kill the discontinuity that the first factor's limit alone would not prevent.

Step 1. Start from the hypothesis. Since ff is differentiable at cc, the limit lim⁡x→cf(x)−f(c)x−c=f′(c)\displaystyle\lim_{x\to c}\frac{f(x)-f(c)}{x-c} = f'(c) exists as a finite real number. This is the given information, and the entire proof is about extracting continuity from it.

Step 2. Introduce a useful algebraic identity, valid for every x≠cx \ne c. Write f(x)−f(c)=f(x)−f(c)x−c⋅(x−c)f(x) - f(c) = \dfrac{f(x)-f(c)}{x-c}\cdot(x-c). This is just multiplying and dividing by (x−c)(x-c), which is legitimate for x≠cx \ne c, and it is the key trick: it isolates the difference quotient, whose limit we know, as one factor.

Step 3. Take the limit of both sides as x→cx \to c, applying the product rule for limits (both factors on the right have limits that exist, by Step 1 for the first factor and trivially for the second). lim⁡x→c[f(x)−f(c)]=[lim⁡x→cf(x)−f(c)x−c]⋅[lim⁡x→c(x−c)]=f′(c)⋅0=0\lim_{x\to c}[f(x)-f(c)] = \left[\lim_{x\to c}\dfrac{f(x)-f(c)}{x-c}\right]\cdot\left[\lim_{x\to c}(x-c)\right] = f'(c)\cdot 0 = 0.

Step 4. Conclude continuity. Since lim⁡x→c[f(x)−f(c)]=0\lim_{x\to c}[f(x)-f(c)] = 0, splitting the limit gives lim⁡x→cf(x)−f(c)=0\lim_{x\to c}f(x) - f(c) = 0, i.e. lim⁡x→cf(x)=f(c)\lim_{x\to c}f(x) = f(c), which is precisely the definition of ff being continuous at cc. Hence differentiability at cc forces continuity at cc, and since cc was arbitrary, every differentiable function is continuous.

Step 5. Show the converse fails, using f(x)=∣x∣f(x) = |x| at c=0c = 0. We already know ff is continuous at 00. The left hand derivative is lim⁡h→0−f(0+h)−f(0)h=lim⁡h→0−−hh=−1\lim_{h\to 0^-}\dfrac{f(0+h)-f(0)}{h} = \lim_{h\to 0^-}\dfrac{-h}{h} = -1, while the right hand derivative is lim⁡h→0+f(0+h)−f(0)h=lim⁡h→0+hh=1\lim_{h\to 0^+}\dfrac{f(0+h)-f(0)}{h} = \lim_{h\to 0^+}\dfrac{h}{h} = 1. Since −1≠1-1 \ne 1, the two-sided limit defining f′(0)f'(0) does not exist, so ff is not differentiable at 00 despite being continuous there. Continuity is therefore necessary but not sufficient for differentiability.

Go deeper · Derivation C · 1 minThe chain rule applied to the derivative of sin inverse x
Derivation CThe chain rule applied to the derivative of sin inverse x

The goal is to derive the standard formula ddxsin⁡−1x=11−x2\dfrac{d}{dx}\sin^{-1}x = \dfrac{1}{\sqrt{1-x^2}} for x∈(−1,1)x \in (-1,1), demonstrating how implicit differentiation and the chain rule combine to handle an inverse function whose defining relation is trigonometric rather than algebraic. The same pattern — differentiate the inverse relation implicitly, then convert back to a function of xx using a Pythagorean identity — produces the cos⁡−1x\cos^{-1}x and tan⁡−1x\tan^{-1}x formulas as well, and is worth internalising rather than memorising three separate results.

Step 1. Set up the inverse relation. Let y=sin⁡−1xy = \sin^{-1}x, so by definition x=sin⁡yx = \sin y, with yy restricted to the principal branch y∈[−π2,π2]y \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right] so that the inverse is well defined. We treat yy as an implicit function of xx through this equation.

Step 2. Differentiate both sides of x=sin⁡yx = \sin y with respect to xx, applying the chain rule to the right side because yy depends on xx. The left side differentiates to 11. The right side, ddx(sin⁡y)=cos⁡y⋅dydx\dfrac{d}{dx}(\sin y) = \cos y \cdot \dfrac{dy}{dx}, by the chain rule with yy as the inner variable. This gives 1=cos⁡y⋅dydx1 = \cos y \cdot \dfrac{dy}{dx}.

Step 3. Solve for dydx\dfrac{dy}{dx}, provided cos⁡y≠0\cos y \ne 0. dydx=1cos⁡y\dfrac{dy}{dx} = \dfrac{1}{\cos y}. This is a correct but unsatisfying answer because it is expressed in terms of yy, not xx; the task now is to rewrite cos⁡y\cos y in terms of xx using the original relation x=sin⁡yx = \sin y.

Step 4. Convert cos⁡y\cos y to a function of xx. From sin⁡2y+cos⁡2y=1\sin^2 y + \cos^2 y = 1, cos⁡2y=1−sin⁡2y=1−x2\cos^2 y = 1 - \sin^2 y = 1 - x^2 (substituting sin⁡y=x\sin y = x). Since y∈[−π2,π2]y \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right], cos⁡y≥0\cos y \ge 0 throughout this range, so we may take the positive square root without ambiguity: cos⁡y=1−x2\cos y = \sqrt{1-x^2}.

Step 5. Substitute back and state the domain. dydx=11−x2\dfrac{dy}{dx} = \dfrac{1}{\sqrt{1-x^2}}. The formula requires cos⁡y≠0\cos y \ne 0, i.e. y≠±π2y \ne \pm\frac{\pi}{2}, i.e. x≠±1x \ne \pm 1, i.e. x∈(−1,1)x \in (-1,1) — exactly the open interval where the expression under the square root is strictly positive and the derivative is finite. At the endpoints x=±1x = \pm 1 the tangent to y=sin⁡−1xy = \sin^{-1}x is vertical, consistent with the derivative blowing up there.

Go deeper · Derivation D · 1 minLogarithmic differentiation for a variable raised to a variable power
Derivation DLogarithmic differentiation for a variable raised to a variable power

The goal is to derive a general formula for dydx\dfrac{dy}{dx} when y=f(x)=[u(x)]v(x)y = f(x) = [u(x)]^{v(x)} — a function where both the base and the exponent depend on xx, so neither the power rule (which needs a constant exponent) nor the exponential rule (which needs a constant base) applies directly. Taking logarithms of both sides converts the troublesome exponent into an ordinary product, which the product rule and chain rule can then handle; this is the method of logarithmic differentiation, and it requires u(x)>0u(x) > 0 throughout so that log⁡[u(x)]\log[u(x)] is defined.

Step 1. Take the natural logarithm of both sides of y=[u(x)]v(x)y = [u(x)]^{v(x)}. Using the logarithm power rule log⁡(ab)=blog⁡a\log(a^b) = b\log a, log⁡y=v(x)⋅log⁡[u(x)]\log y = v(x)\cdot \log[u(x)]. The exponent v(x)v(x) has now become an ordinary multiplicative factor, which is the entire point of the substitution.

Step 2. Differentiate both sides with respect to xx. The left side needs the chain rule, since yy is a function of xx: ddx(log⁡y)=1y⋅dydx\dfrac{d}{dx}(\log y) = \dfrac{1}{y}\cdot\dfrac{dy}{dx}. The right side is a product of two functions of xx, v(x)v(x) and log⁡[u(x)]\log[u(x)], so it needs the product rule together with the chain rule on the second factor: ddx(v(x)log⁡[u(x)])=v′(x)⋅log⁡[u(x)]+v(x)⋅1u(x)⋅u′(x)\dfrac{d}{dx}\big(v(x)\log[u(x)]\big) = v'(x)\cdot\log[u(x)] + v(x)\cdot\dfrac{1}{u(x)}\cdot u'(x).

Step 3. Equate the two sides. 1y⋅dydx=v(x)⋅u′(x)u(x)+v′(x)⋅log⁡[u(x)]\dfrac{1}{y}\cdot\dfrac{dy}{dx} = v(x)\cdot\dfrac{u'(x)}{u(x)} + v'(x)\cdot\log[u(x)]. This equation already contains the full answer implicitly; the last step is purely algebraic rearrangement.

Step 4. Multiply both sides by yy and substitute y=[u(x)]v(x)y = [u(x)]^{v(x)} back in, so the final answer is expressed entirely in terms of xx, not yy.

dydx=[u(x)]v(x)[v(x)u(x)⋅u′(x)+v′(x)⋅log⁡[u(x)]]\frac{dy}{dx} = [u(x)]^{v(x)}\left[\frac{v(x)}{u(x)}\cdot u'(x) + v'(x)\cdot\log[u(x)]\right]

Step 5. Check the formula against a known special case. If v(x)=nv(x) = n is constant, v′(x)=0v'(x) = 0 and the formula collapses to dydx=[u(x)]n⋅nu(x)⋅u′(x)=n[u(x)]n−1u′(x)\dfrac{dy}{dx} = [u(x)]^{n}\cdot\dfrac{n}{u(x)}\cdot u'(x) = n[u(x)]^{n-1}u'(x), which is exactly the chain-rule power formula you already know — confirming the general result reduces correctly to a familiar case. If instead u(x)=au(x) = a is a constant base, u′(x)=0u'(x) = 0 and the formula gives dydx=av(x)⋅v′(x)⋅log⁡a\dfrac{dy}{dx} = a^{v(x)}\cdot v'(x)\cdot\log a, the standard exponential chain rule. The general formula therefore contains both earlier special cases at once, which is why it is worth deriving rather than memorising by rote.

Worked examples

Board level - continuity of a piecewise linear function at the join point (NCERT Example 10, extended)

Discuss the continuity of f(x)=x+2f(x) = x+2 for x≤1x \le 1 and f(x)=x−2f(x) = x-2 for x>1x > 1, and state all points of discontinuity, if any.

Step 1. Check continuity away from the join. For any c<1c < 1, ff coincides with x+2x+2 in a neighbourhood of cc, so lim⁡x→cf(x)=c+2=f(c)\lim_{x\to c}f(x) = c+2 = f(c), and ff is continuous there. For any c>1c > 1, ff coincides with x−2x-2 nearby, so lim⁡x→cf(x)=c−2=f(c)\lim_{x\to c}f(x) = c-2 = f(c), again continuous. The only point that needs care is c=1c = 1, where the formula switches.

Step 2. Compute the left hand limit at x=1x=1, using the branch x+2x+2 that applies for x≤1x \le 1. lim⁡x→1−f(x)=lim⁡x→1−(x+2)=1+2=3\lim_{x\to 1^-}f(x) = \lim_{x\to 1^-}(x+2) = 1+2 = 3.

Step 3. Compute the right hand limit at x=1x=1, using the branch x−2x-2 that applies for x>1x>1. lim⁡x→1+f(x)=lim⁡x→1+(x−2)=1−2=−1\lim_{x\to 1^+}f(x) = \lim_{x\to 1^+}(x-2) = 1-2 = -1.

Step 4. Compare. Since 3≠−13 \ne -1, the left and right hand limits at x=1x=1 disagree, so lim⁡x→1f(x)\lim_{x\to 1}f(x) does not exist and ff is discontinuous at x=1x=1 regardless of what value f(1)f(1) actually takes (here f(1)=1+2=3f(1) = 1+2 = 3, matching the left branch, so the jump is purely a right-side mismatch). Answer: ff is continuous at every real number except x=1x = 1, where it has a jump discontinuity from 33 down to −1-1.

Board level - continuity versus differentiability of the shifted modulus function (NCERT Exercise 5.2, Q9, extended)

Show that f(x)=∣x−1∣f(x) = |x-1| is continuous for all real xx but not differentiable at x=1x=1.

Step 1. Establish continuity. Write f(x)=∣x−1∣f(x) = |x-1| as the composite h(g(x))h(g(x)) where g(x)=x−1g(x) = x-1 (a polynomial, continuous everywhere) and h(t)=∣t∣h(t) = |t| (continuous everywhere, as shown for ∣x∣|x| using left and right hand limits both equal to 00 at t=0t=0). By the composition theorem for continuous functions, f=h∘gf = h\circ g is continuous at every real number, including x=1x=1.

Step 2. Set up the derivative check at x=1x=1 using the definition, with f(1)=∣1−1∣=0f(1) = |1-1| = 0. f(1+h)−f(1)h=∣h∣−0h=∣h∣h\dfrac{f(1+h)-f(1)}{h} = \dfrac{|h|-0}{h} = \dfrac{|h|}{h}.

Step 3. Compute the left hand derivative, where h→0−h \to 0^- so h<0h < 0 and ∣h∣=−h|h| = -h. lim⁡h→0−∣h∣h=lim⁡h→0−−hh=−1\lim_{h\to 0^-}\dfrac{|h|}{h} = \lim_{h\to 0^-}\dfrac{-h}{h} = -1.

Step 4. Compute the right hand derivative, where h→0+h \to 0^+ so h>0h>0 and ∣h∣=h|h|=h. lim⁡h→0+∣h∣h=lim⁡h→0+hh=1\lim_{h\to 0^+}\dfrac{|h|}{h} = \lim_{h\to 0^+}\dfrac{h}{h} = 1. Since −1≠1-1 \ne 1, the two one-sided derivatives disagree, so f′(1)f'(1) does not exist. Answer: f(x)=∣x−1∣f(x)=|x-1| is continuous everywhere but not differentiable at x=1x=1, where the graph has a sharp corner exactly like ∣x∣|x| at the origin, shifted one unit to the right.

Competitive level (JEE / NEET) - logarithmic differentiation of a sum of three variable-exponent terms (NCERT Example 30, extended)

If yx+xy+xx=aby^x + x^y + x^x = a^b for constants a,ba, b, find dydx\dfrac{dy}{dx}.

Step 1. Split into three pieces and differentiate the constant. Let u=yxu = y^x, v=xyv = x^y, w=xxw = x^x, so u+v+w=abu+v+w = a^b, a constant. Differentiating both sides with respect to xx gives dudx+dvdx+dwdx=0\dfrac{du}{dx}+\dfrac{dv}{dx}+\dfrac{dw}{dx} = 0, since the derivative of a constant is zero. Each term now needs logarithmic differentiation separately, because each has a variable in both base and exponent (or, for ww, a variable exponent on a variable base).

Step 2. Differentiate u=yxu = y^x. Taking logs, log⁡u=xlog⁡y\log u = x\log y. Differentiating with the product rule on the right and the chain rule on the left (since uu depends on xx through yy too): 1ududx=x⋅1ydydx+log⁡y\dfrac{1}{u}\dfrac{du}{dx} = x\cdot\dfrac{1}{y}\dfrac{dy}{dx} + \log y, so dudx=yx(xydydx+log⁡y)\dfrac{du}{dx} = y^x\left(\dfrac{x}{y}\dfrac{dy}{dx} + \log y\right).

Step 3. Differentiate v=xyv = x^y. Taking logs, log⁡v=ylog⁡x\log v = y\log x. Differentiating: 1vdvdx=y⋅1x+dydxlog⁡x\dfrac{1}{v}\dfrac{dv}{dx} = y\cdot\dfrac{1}{x} + \dfrac{dy}{dx}\log x, so dvdx=xy(yx+dydxlog⁡x)\dfrac{dv}{dx} = x^y\left(\dfrac{y}{x} + \dfrac{dy}{dx}\log x\right). Then differentiate w=xxw = x^x the same way: log⁡w=xlog⁡x\log w = x\log x, so 1wdwdx=x⋅1x+log⁡x=1+log⁡x\dfrac{1}{w}\dfrac{dw}{dx} = x\cdot\dfrac{1}{x} + \log x = 1+\log x, giving dwdx=xx(1+log⁡x)\dfrac{dw}{dx} = x^x(1+\log x).

Step 4. Substitute all three derivatives into dudx+dvdx+dwdx=0\dfrac{du}{dx}+\dfrac{dv}{dx}+\dfrac{dw}{dx}=0 and collect every term containing dydx\dfrac{dy}{dx} on one side. yx(xydydx+log⁡y)+xy(yx+dydxlog⁡x)+xx(1+log⁡x)=0y^x\left(\dfrac{x}{y}\dfrac{dy}{dx}+\log y\right) + x^y\left(\dfrac{y}{x}+\dfrac{dy}{dx}\log x\right) + x^x(1+\log x) = 0. Grouping the dydx\dfrac{dy}{dx} terms: (x yx−1+xylog⁡x)dydx=−[yxlog⁡y+y xy−1+xx(1+log⁡x)]\left(x\,y^{x-1} + x^y\log x\right)\dfrac{dy}{dx} = -\left[y^x\log y + y\,x^{y-1} + x^x(1+\log x)\right].

Step 5. Isolate dydx\dfrac{dy}{dx}. Answer:

dydx=−[yxlog⁡y+y xy−1+xx(1+log⁡x)]x yx−1+xylog⁡x\frac{dy}{dx} = \frac{-\left[y^x \log y + y\,x^{y-1} + x^x(1+\log x)\right]}{x\,y^{x-1} + x^y \log x}

Timing note: aim for under four minutes. The whole problem is three parallel applications of the same logarithmic-differentiation template, so the speed gain comes from recognising the pattern instantly ("variable to a variable power, so log first") rather than re-deriving it each time — write log⁡u=xlog⁡y\log u = x\log y, log⁡v=ylog⁡x\log v = y\log x, log⁡w=xlog⁡x\log w = x\log x in one line before differentiating anything, then grind through the product rule on each. The most common slip under time pressure is forgetting that yy is a function of xx when differentiating xlog⁡yx\log y, dropping the dydx\frac{dy}{dx} that the chain rule demands.

Competitive level (JEE / NEET) - second order derivative of a parametric curve (NCERT Miscellaneous Exercise, Q17, extended)

If x=a(cos⁡t+tsin⁡t)x = a(\cos t + t\sin t) and y=a(sin⁡t−tcos⁡t)y = a(\sin t - t\cos t), find d2ydx2\dfrac{d^2y}{dx^2}.

Step 1. Differentiate xx and yy with respect to the parameter tt separately, using the product rule on the tsin⁡tt\sin t and tcos⁡tt\cos t terms. dxdt=a(−sin⁡t+sin⁡t+tcos⁡t)=a tcos⁡t\dfrac{dx}{dt} = a\left(-\sin t + \sin t + t\cos t\right) = a\,t\cos t, since −sin⁡t-\sin t and +sin⁡t+\sin t cancel. Similarly, dydt=a(cos⁡t−cos⁡t+tsin⁡t)=a tsin⁡t\dfrac{dy}{dt} = a\left(\cos t - \cos t + t\sin t\right) = a\,t\sin t, since cos⁡t\cos t and −cos⁡t-\cos t cancel.

Step 2. Form the first derivative using dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}. dydx=a tsin⁡ta tcos⁡t=sin⁡tcos⁡t=tan⁡t\dfrac{dy}{dx} = \dfrac{a\,t\sin t}{a\,t\cos t} = \dfrac{\sin t}{\cos t} = \tan t, valid for t≠0t \ne 0 (where dx/dt=0dx/dt = 0) and cos⁡t≠0\cos t \ne 0. Notice the parameter aa and the factor tt both cancel completely — a strong hint that the algebra was done correctly.

Step 3. Differentiate dydx=tan⁡t\dfrac{dy}{dx} = \tan t with respect to xx, which requires the chain rule since tan⁡t\tan t is a function of tt, not directly of xx: ddx(tan⁡t)=ddt(tan⁡t)⋅dtdx=sec⁡2t⋅dtdx\dfrac{d}{dx}(\tan t) = \dfrac{d}{dt}(\tan t)\cdot\dfrac{dt}{dx} = \sec^2 t \cdot \dfrac{dt}{dx}.

Step 4. Replace dtdx\dfrac{dt}{dx} using dtdx=1dx/dt=1a tcos⁡t\dfrac{dt}{dx} = \dfrac{1}{dx/dt} = \dfrac{1}{a\,t\cos t}, from Step 1. Substituting, d2ydx2=sec⁡2t⋅1a tcos⁡t=1a tcos⁡3t\dfrac{d^2y}{dx^2} = \sec^2 t \cdot \dfrac{1}{a\,t\cos t} = \dfrac{1}{a\,t\cos^3 t}, using sec⁡2t⋅1cos⁡t=1cos⁡2t⋅1cos⁡t=1cos⁡3t\sec^2 t \cdot \dfrac{1}{\cos t} = \dfrac{1}{\cos^2 t}\cdot\dfrac{1}{\cos t} = \dfrac{1}{\cos^3 t}. Answer:

d2ydx2=sec⁡3ta t,t≠0\frac{d^2y}{dx^2} = \frac{\sec^3 t}{a\,t}, \qquad t \ne 0

Timing note: aim for under three minutes once the pattern is automatic. The parametric second-derivative recipe never changes: find dy/dtdy/dt and dx/dtdx/dt, divide for dy/dxdy/dx, then differentiate that expression with respect to tt and divide by dx/dtdx/dt again — never attempt to eliminate tt and differentiate an explicit y(x)y(x) unless the algebra is unusually friendly. The biggest time sink is forgetting the second division by dx/dtdx/dt in Step 4 and submitting sec⁡2t\sec^2 t as if it were already d2ydx2\dfrac{d^2y}{dx^2}, which throws away the entire chain-rule step.

Common traps

Students lose marks in this chapter in a small number of predictable ways. Checking only two of the three conditions for continuity — verifying the left and right hand limits agree, but forgetting to also compare them with f(c)f(c) — is the single most common slip; the function f(x)=x+3f(x) = x+3 for x≠0x \ne 0, f(0)=1f(0) = 1 has matching one-sided limits but is still discontinuous, because neither limit equals f(0)f(0). Assuming continuity is enough to guarantee a derivative exists is the second major trap, and it is exactly the misconception the warning below addresses; always check both one-sided derivatives explicitly at any point where a function's formula changes, such as at x=0x=0 for ∣x∣|x| or at integers for [x][x]. In logarithmic differentiation, forgetting that the technique requires u(x)>0u(x) > 0 (so that log⁡[u(x)]\log[u(x)] is defined) leads to nonsense when applied carelessly to something like (−2)x(-2)^x; always confirm positivity before taking logs, and note that f(x)f(x) itself must also be positive for log⁡y\log y to make sense in the first place. In implicit differentiation, the most common algebra error is forgetting the chain rule on the yy terms — writing ddx(y2)=2y\dfrac{d}{dx}(y^2) = 2y instead of 2ydydx2y\dfrac{dy}{dx} — which silently drops every occurrence of the derivative you are solving for. With inverse trigonometric derivatives, sign errors are rampant: ddxcos⁡−1x\dfrac{d}{dx}\cos^{-1}x carries a minus sign that ddxsin⁡−1x\dfrac{d}{dx}\sin^{-1}x does not, and students frequently copy the wrong one under time pressure. Finally, in this chapter "log⁡x\log x" always means the natural logarithm log⁡ex\log_e x unless a base is written explicitly (as in log⁡7\log_7), which trips up students used to base-1010 logs from other subjects; and when computing a second order derivative from a first-derivative expression that still contains yy or a parameter, forgetting to apply the chain rule again is the most common way to get d2ydx2\dfrac{d^2y}{dx^2} wrong even after dydx\dfrac{dy}{dx} was found correctly.

You should be able to…

  • State the definition of continuity at a point precisely, using left hand limit, right hand limit and function value, and apply it to piecewise functions to locate every point of discontinuity.
  • Use the algebra of continuous functions (sum, difference, product, quotient, composite) to certify that polynomials, rational functions and standard trigonometric functions are continuous, without recomputing limits from scratch.
  • State the definition of differentiability at a point using left hand and right hand derivatives, and prove that a function like ∣x∣|x| or [x][x] fails to be differentiable at a specific point.
  • Prove and correctly apply the one-way implication that every differentiable function is continuous, while recognising continuity alone never guarantees differentiability.
  • Apply the chain rule confidently to composite functions of arbitrary depth, and derive or recall the standard derivatives of sin⁡−1x\sin^{-1}x, cos⁡−1x\cos^{-1}x and tan⁡−1x\tan^{-1}x with their domains.
  • Differentiate exe^x and log⁡x\log x directly, and use the logarithm laws (product, quotient, power, change of base) to simplify an expression before differentiating it.
  • Recognise when a function needs logarithmic differentiation (a variable in the exponent) and carry out the full log-differentiate-solve procedure without dropping a dydx\frac{dy}{dx} term.
  • Differentiate implicit relations by applying the chain rule to every occurrence of yy, and differentiate parametric forms using dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}.
  • Compute second order derivatives d2ydx2\frac{d^2y}{dx^2} for explicit, implicit and parametric functions, reapplying the chain rule wherever the first-derivative expression still contains yy or a parameter.

Ask the tutor: Want to work through a trickier implicit or parametric second-derivative problem step by step, or get more practice spotting continuity versus differentiability at tricky piecewise joins?

Why does differentiability imply continuity but not the other way round?

Differentiability is a strictly stronger requirement. To have a derivative at a point, the difference quotient f(x)−f(c)x−c\frac{f(x)-f(c)}{x-c} must approach a single finite number as x→cx\to c, and that limit forces f(x)−f(c)→0f(x)-f(c)\to 0 automatically, which is exactly continuity — the full derivation is worked through in this chapter. But a function can be continuous (no jump, no gap) while still having a sharp corner, like ∣x∣|x| at x=0x=0: the left and right hand slopes disagree even though the left and right hand values agree perfectly. Continuity only checks values; differentiability checks slopes, which is extra information the graph's smoothness has to earn.

How is the derivative of e to the x different from every other function I have differentiated?

Every polynomial or trigonometric function you differentiate changes form: differentiating xnx^n lowers the power, differentiating sin⁡x\sin x turns it into cos⁡x\cos x. The natural exponential function exe^x is the unique function (up to a constant multiple) that reproduces itself exactly under differentiation, ddxex=ex\frac{d}{dx}e^x = e^x. That is precisely why ee was singled out as the base for the "natural" exponential rather than, say, 10x10^x: it is the base for which the exponential function's growth rate at every point equals its own value there, which makes it the natural currency for continuous growth problems throughout calculus.

When should I use logarithmic differentiation instead of the ordinary product or quotient rule?

Reach for logarithmic differentiation whenever the variable xx appears in an exponent, as in xsin⁡xx^{\sin x}, (log⁡x)x(\log x)^x, or af(x)a^{f(x)} for a function ff — the ordinary power rule needs a constant exponent and the ordinary exponential rule needs a constant base, so neither applies when both are variable. It is also the fastest route for a product or quotient of many factors raised to various powers, like (x−1)(x−2)(x−3)(x−4)(x−5)\dfrac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}, because taking logs turns the product into a sum and the quotient into a difference, which differentiates term by term far more cleanly than repeated product and quotient rules. Just remember the one restriction: both f(x)f(x) and any base u(x)u(x) must be positive for the logarithm to be defined.

What is the actual difference between an implicit function and a parametric form?

An implicit function is a single equation relating xx and yy directly, like x2+xy+y2=100x^2+xy+y^2=100, where you differentiate the whole equation with respect to xx and solve algebraically for dydx\frac{dy}{dx}, treating yy as an unknown function of xx throughout. A parametric form instead expresses both xx and yy separately as functions of a third variable tt, like x=acos⁡θx=a\cos\theta, y=asin⁡θy=a\sin\theta, and you never need an equation directly linking xx and yy at all — you just compute dydt\frac{dy}{dt} and dxdt\frac{dx}{dt} independently and divide. The same curve can often be described either way (a circle is both x2+y2=a2x^2+y^2=a^2 implicitly and x=acos⁡θ, y=asin⁡θx=a\cos\theta,\,y=a\sin\theta parametrically); parametric form is usually chosen when it is easier to describe motion or a curve through a natural third variable like time or angle than to write one algebraic equation.

Why does the greatest integer function keep showing up as an example of discontinuity?

Because [x][x], the greatest integer less than or equal to xx, is the cleanest possible illustration of a jump discontinuity happening at infinitely many points rather than just one. At any non-integer cc, the function is locally constant (equal to [c][c]) on a whole neighbourhood, so it is continuous there — nothing interesting happens. But at every integer nn, points just below nn give value n−1n-1 while nn itself and points just above give value nn, so the left hand limit (n−1n-1) and right hand limit (nn) permanently disagree. It is a single, easy-to-visualise function (a staircase graph) that demonstrates discontinuity at every integer simultaneously, which is exactly why NCERT and exam-setters return to it repeatedly.

Before this

Where this leads