Master the connection between continuity and differentiability with visual graphs, chain rule, logarithmic differentiation, step-marked solutions, MCQs, A-R, and PYQs.
Understanding continuity and differentiability
In this chapter, we introduce two very important concepts — continuity and differentiability — and study the relation between them. We also learn to differentiate inverse trigonometric functions, exponential functions, and logarithmic functions.
A function is continuous at a point if you can draw its graph around that point without lifting the pen from the paper.
A real function $f$ is continuous at $x = c$ if:
$$\lim_{x \to c} f(x) = f(c)$$
More elaborately: LHL = RHL = f(c)
If any one of these three values doesn't match, the function is discontinuous at that point.
The derivative of $f$ at $c$ is:
$$f'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h}$$
If this limit exists, $f$ is differentiable at $c$.
$f$ is differentiable at $c$ if and only if Lf'(c) = Rf'(c) (both finite and equal).
Every differentiable function is continuous, but the converse is NOT true.
Example: $f(x) = |x|$ is continuous at $x=0$ but not differentiable there.
If $f$ and $g$ are continuous at $c$, then:
See continuity and differentiability in action
Checking continuity at a point
Step-by-step procedure:
Common functions and their discontinuity points:
| Function | Points of Discontinuity |
|---|---|
| $f(x) = \frac{1}{x}$ | $x = 0$ |
| $f(x) = [x]$ (Greatest integer) | All integers $x \in \mathbb{Z}$ |
| $f(x) = \tan x$ | $x = (2n+1)\pi/2$ |
| $f(x) = \frac{p(x)}{q(x)}$ | Where $q(x) = 0$ |
| $f(x) = \sin\frac{1}{x}$ | $x = 0$ (oscillating) |
Types, rules, and techniques
If $f = v \circ u$, i.e., $f(x) = v(u(x))$, then:
Example: $\frac{d}{dx}[\sin(x^2)] = \cos(x^2) \cdot 2x = 2x\cos(x^2)$
When $y$ is not expressed explicitly in terms of $x$, differentiate both sides with respect to $x$ and then solve for $\frac{dy}{dx}$.
Example: $x^2 + y^2 = 25$
Differentiating: $2x + 2y \frac{dy}{dx} = 0 \Rightarrow \frac{dy}{dx} = -\frac{x}{y}$
Used for functions of the form $y = [f(x)]^{g(x)}$ or products of many factors.
Method: Take $\log$ on both sides → differentiate → solve for $\frac{dy}{dx}$
Example: $y = x^{\sin x}$
$\log y = \sin x \cdot \log x$
$\frac{1}{y}\frac{dy}{dx} = \cos x \log x + \frac{\sin x}{x}$
$\frac{dy}{dx} = x^{\sin x}\left(\cos x \log x + \frac{\sin x}{x}\right)$
If $x = f(t)$ and $y = g(t)$, then:
The derivative of $\frac{dy}{dx}$ with respect to $x$ is called second order derivative:
Memorize these for board exams
Speed techniques for board exams
LHL = RHL = f(c)?
"D → C, but C ↛ D"
"Outside derivative × Inside derivative"
Use $\log y$ when you see:
Whenever you differentiate a $y$-term, multiply by $\frac{dy}{dx}$
Common tricks to simplify expressions:
For $y = f(x)$, $y_1 = \frac{dy}{dx}$, $y_2 = \frac{d^2y}{dx^2}$
Common discontinuity points:
For $x = f(t)$, $y = g(t)$:
Always verify:
Click "Show Answer" to reveal step-by-step solutions with marks
Q1. Check the continuity of $f(x) = 2x + 3$ at $x = 1$.
$f(1) = 2(1) + 3 = 5$
$\lim_{x\to 1} f(x) = \lim_{x\to 1} (2x+3) = 2(1) + 3 = 5$
Since $\lim_{x\to 1} f(x) = 5 = f(1)$, $f$ is continuous at $x = 1$.
Q2. Show that $f(x) = |x|$ is continuous but not differentiable at $x = 0$.
$f(x) = -x$ for $x < 0$
LHL = $\lim_{x\to 0^-} (-x) = 0$
$f(x) = x$ for $x > 0$
RHL = $\lim_{x\to 0^+} x = 0$, $f(0) = 0$
LHL = RHL = f(0) → Continuous ✓
$Lf'(0) = \lim_{h\to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h\to 0^-} \frac{-h - 0}{h} = -1$
$Rf'(0) = \lim_{h\to 0^+} \frac{h - 0}{h} = 1$
Since $Lf'(0) \neq Rf'(0)$, $f$ is not differentiable at $x = 0$.
Q3. Find $\frac{dy}{dx}$ if $y = \sin(x^2)$.
Outer: $v(t) = \sin t$ | Inner: $u(x) = x^2$
$\frac{dy}{dx} = \cos(x^2) \cdot \frac{d}{dx}(x^2)$
$= \cos(x^2) \cdot 2x$
$\frac{dy}{dx} = 2x \cos(x^2)$
Select your answer and click "Check Answers"
Each question has an Assertion (A) and a Reason (R). Choose the correct option.
(A) Both A and R are true, and R is the correct explanation of A.
(B) Both A and R are true, but R is NOT the correct explanation of A.
(C) A is true, but R is false.
(D) A is false, but R is true.
Frequently asked questions in board exams
Q. Prove that $f(x) = 5x - 3$ is continuous at $x = 0$.
$f(0) = 5(0) - 3 = -3$
$\lim_{x\to 0}(5x-3) = -3$
$\lim_{x\to 0} f(x) = -3 = f(0)$, so $f$ is continuous at $x = 0$.
Q. Find $\frac{dy}{dx}$ if $y = \sin(x^2 + 5)$.
$\frac{dy}{dx} = \cos(x^2 + 5) \cdot \frac{d}{dx}(x^2+5)$
$= \cos(x^2+5) \cdot 2x = 2x\cos(x^2+5)$
Q. Show that $f(x) = |x-1|$ is not differentiable at $x = 1$.
For $x < 1$, $|x-1| = -(x-1) = 1-x$
$Lf'(1) = \lim_{h\to 0^-} \frac{f(1+h)-f(1)}{h} = \lim_{h\to 0^-} \frac{-h}{h} = -1$
For $x > 1$, $|x-1| = x-1$
$Rf'(1) = \lim_{h\to 0^+} \frac{h}{h} = 1$
$Lf'(1) \neq Rf'(1)$, so $f$ is not differentiable at $x = 1$.
Q. Differentiate $\sqrt{\cot(x^2)}$ w.r.t. $x$.
Let $y = \sqrt{\cot(x^2)} = [\cot(x^2)]^{1/2}$
$\frac{dy}{dx} = \frac{1}{2}[\cot(x^2)]^{-1/2} \cdot \frac{d}{dx}[\cot(x^2)]$
$= \frac{1}{2\sqrt{\cot(x^2)}} \cdot [-\csc^2(x^2)] \cdot 2x$
$= \frac{-x \csc^2(x^2)}{\sqrt{\cot(x^2)}}$
Q. Find $\frac{dy}{dx}$ if $x^2 + xy + y^2 = 100$.
$2x + \left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0$
$(x + 2y)\frac{dy}{dx} = -(2x + y)$
$\frac{dy}{dx} = -\frac{2x + y}{x + 2y}$
Q. Differentiate $x^{\sin x}$ w.r.t. $x$ for $x > 0$.
Let $y = x^{\sin x}$. Then $\log y = \sin x \cdot \log x$.
$\frac{1}{y}\frac{dy}{dx} = \cos x \cdot \log x + \sin x \cdot \frac{1}{x}$
$\frac{dy}{dx} = x^{\sin x}\left[\cos x \log x + \frac{\sin x}{x}\right]$
Q. If $y = 3\cos(\log x) + 4\sin(\log x)$, show that $x^2 y_2 + xy_1 + y = 0$.
$y_1 = -3\sin(\log x) \cdot \frac{1}{x} + 4\cos(\log x) \cdot \frac{1}{x}$
$xy_1 = -3\sin(\log x) + 4\cos(\log x)$
Differentiating $xy_1$: $y_1 + xy_2 = -3\cos(\log x)\cdot\frac{1}{x} - 4\sin(\log x)\cdot\frac{1}{x}$
Multiply by $x$: $xy_1 + x^2 y_2 = -3\cos(\log x) - 4\sin(\log x) = -y$
$x^2 y_2 + xy_1 + y = 0$ ✓
Q. Find $\frac{dy}{dx}$ if $x = a(\theta + \sin\theta)$, $y = a(1 - \cos\theta)$.
$\frac{dx}{d\theta} = a(1 + \cos\theta)$
$\frac{dy}{d\theta} = a \sin\theta$
$\frac{dy}{dx} = \frac{a\sin\theta}{a(1+\cos\theta)} = \frac{2\sin(\theta/2)\cos(\theta/2)}{2\cos^2(\theta/2)} = \tan\frac{\theta}{2}$