RS Aggarwal Class 12 Maths Solutions Exercise 9A — Continuity and Differentiability
RS Aggarwal, Class 12 Mathematics — Continuity and Differentiability, Exercise 9A. All 27 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 9A is entirely about continuity at a single point. Questions 1 to 16 and 22 to 24 ask you to prove that a function is continuous or discontinuous there. Questions 17 to 21, 25 and 26 ask you to choose a constant so that the function becomes continuous. Question 27 adds differentiability for $|x-3|$.
Key insight. A function $f$ is continuous at $x=c$ exactly when three numbers agree: the left limit $\lim_{x\to c^-}f(x)$, the right limit $\lim_{x\to c^+}f(x)$ and the value $f(c)$. Every question here is a check on those three numbers, or an instruction to make them equal.
Question 1
Show that $f(x) = x^2$ is continuous at $x = 2$.
Solution. Here $f(2)=4$. As $x\to2$ the limit of a polynomial is found by substitution, so $\lim_{x\to2}x^2=4$. The limit equals $f(2)$, so $f$ is continuous at $x=2$.
Shown: $\lim_{x\to2}f(x)=4=f(2)$, so $f$ is continuous at $x=2$.
Question 2
Show that $f(x) = x^2 + 3x + 4$ is continuous at $x = 1$.
Solution. The value is $f(1)=1+3+4=8$. Being a polynomial, $f$ has $\lim_{x\to1}f(x)=1+3+4=8$. Limit and value agree, so $f$ is continuous at $x=1$.
Shown: $\lim_{x\to1}f(x)=8=f(1)$, so $f$ is continuous at $x=1$.
Question 3
Prove that $f(x) = \begin{cases} \dfrac{x^2 – x – 6}{x – 3}, & x \neq 3 \\ 5, & x = 3 \end{cases}$ is continuous at $x = 3$.
Solution. The value is $f(3)=5$. For $x\neq3$ the numerator factorises as $x^2-x-6=(x-3)(x+2)$, so $f(x)=x+2$ and $\lim_{x\to3}f(x)=3+2=5$. The limit equals $f(3)$, so $f$ is continuous at $x=3$.
Proved: $\lim_{x\to3}f(x)=5=f(3)$.
Question 4
Prove that $f(x) = \begin{cases} \dfrac{x^2 – 25}{x – 5}, & x \neq 5 \\ 10, & x = 5 \end{cases}$ is continuous at $x = 5$.
Solution. Here $f(5)=10$. For $x\neq5$, $\dfrac{x^2-25}{x-5}=\dfrac{(x-5)(x+5)}{x-5}=x+5$, so $\lim_{x\to5}f(x)=10$. This equals $f(5)$, hence $f$ is continuous at $x=5$.
Proved: $\lim_{x\to5}f(x)=10=f(5)$.
Question 5
Prove that $f(x) = \begin{cases} \dfrac{\sin 3x}{x}, & x \neq 0 \\ 1, & x = 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. Here $f(0)=1$. For the limit, write $\dfrac{\sin3x}{x}=3\cdot\dfrac{\sin3x}{3x}$, and use $\dfrac{\sin t}{t}\to1$ as $t\to0$ (with $t=3x$). Thus $\lim_{x\to0}f(x)=3\times1=3$. Since $3\neq1=f(0)$, $f$ is discontinuous at $x=0$.
Proved: $\lim_{x\to0}f(x)=3\neq1=f(0)$, so $f$ is discontinuous at $x=0$.
Question 6
Prove that $f(x) = \begin{cases} \dfrac{1 – \cos x}{x^2}, & x \neq 0 \\ 1, & x = 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. The value is $f(0)=1$. Use $1-\cos x=2\sin^2\dfrac x2$, so $\dfrac{1-\cos x}{x^2}=\dfrac{2\sin^2(x/2)}{x^2}=\dfrac12\left(\dfrac{\sin(x/2)}{x/2}\right)^2\to\dfrac12$. As $\dfrac12\neq1$, $f$ is discontinuous at $x=0$.
Proved: $\lim_{x\to0}f(x)=\dfrac12\neq1=f(0)$.
Question 7
Prove that $f(x) = \begin{cases} 2 – x, & x < 2 \\ 2 + x, & x \geq 2 \end{cases}$ is discontinuous at $x = 2$.
Solution. The left-hand limit uses $2-x$: $\lim_{x\to2^-}f(x)=2-2=0$. The right-hand limit uses $2+x$: $\lim_{x\to2^+}f(x)=2+2=4$. The two one-sided limits differ, so the limit does not exist and $f$ is discontinuous at $x=2$.
Proved: left limit $0$, right limit $4$, so $f$ is discontinuous at $x=2$.
Question 8
Prove that $f(x) = \begin{cases} 3 – x, & x \leq 0 \\ x^2, & x > 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. Left limit: $\lim_{x\to0^-}(3-x)=3$ (and $f(0)=3$). Right limit: $\lim_{x\to0^+}x^2=0$. Because $3\neq0$, the limit does not exist and $f$ is discontinuous at $x=0$.
Proved: left limit $3$, right limit $0$, so $f$ is discontinuous at $x=0$.
Question 9
Prove that $f(x) = \begin{cases} 5x – 4, & 0 < x \leq 1 \\ 4x^2 – 3x, & 1 < x < 2 \end{cases}$ is continuous at $x = 1$.
Solution. The value is $f(1)=5-4=1$. Left limit: $\lim_{x\to1^-}(5x-4)=1$. Right limit: $\lim_{x\to1^+}(4x^2-3x)=4-3=1$. All three numbers equal $1$, so $f$ is continuous at $x=1$.
Proved: left limit $=$ right limit $=f(1)=1$.
Question 10
Prove that $f(x) = \begin{cases} x – 1, & 1 \leq x < 2 \\ 2x – 3, & 2 \leq x \leq 3 \end{cases}$ is continuous at $x = 2$.
Solution. The value is $f(2)=2(2)-3=1$. Left limit: $\lim_{x\to2^-}(x-1)=1$. Right limit: $\lim_{x\to2^+}(2x-3)=1$. They agree with $f(2)$, so $f$ is continuous at $x=2$.
Proved: left limit $=$ right limit $=f(2)=1$.
Question 11
Prove that $f(x) = \begin{cases} \cos x, & x \geq 0 \\ -\cos x, & x < 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. Right limit: $\lim_{x\to0^+}\cos x=1$, and $f(0)=\cos0=1$. Left limit: $\lim_{x\to0^-}(-\cos x)=-1$. The one-sided limits are $1$ and $-1$, so the limit does not exist; $f$ is discontinuous at $x=0$.
Proved: left limit $-1$, right limit $1$, so $f$ is discontinuous at $x=0$.
Question 12
Prove that $f(x) = \begin{cases} \dfrac{|x – a|}{x – a}, & x \neq a \\ 1, & x = a \end{cases}$ is discontinuous at $x = a$.
Solution. For $x>a$, $|x-a|=x-a$ and $f(x)=1$, so the right limit is $1$. For $x<a$, $|x-a|=-(x-a)$ and $f(x)=-1$, so the left limit is $-1$. These differ, so $f$ is discontinuous at $x=a$ (whatever value is given at $a$).
Proved: left limit $-1$, right limit $1$, so $f$ is discontinuous at $x=a$.
Question 13
Prove that $f(x) = \begin{cases} \dfrac12(x – |x|), & x \neq 0 \\ 2, & x = 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. For $x>0$, $|x|=x$ so $f(x)=\dfrac12(x-x)=0$. For $x<0$, $|x|=-x$ so $f(x)=\dfrac12(2x)=x\to0$. Both one-sided limits are $0$, so $\lim_{x\to0}f(x)=0$. But $f(0)=2\neq0$, so $f$ is discontinuous at $x=0$.
Proved: $\lim_{x\to0}f(x)=0\neq2=f(0)$.
Question 14
Prove that $f(x) = \begin{cases} \sin\dfrac1x, & x \neq 0 \\ 0, & x = 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. Take $x_n=\dfrac{1}{n\pi}\to0$: then $\sin\dfrac1{x_n}=\sin n\pi=0$. Take $y_n=\dfrac{1}{2n\pi+\pi/2}\to0$: then $\sin\dfrac1{y_n}=\sin\left(2n\pi+\dfrac\pi2\right)=1$. Two sequences tending to $0$ give limits $0$ and $1$, so $\lim_{x\to0}\sin\dfrac1x$ does not exist (the function oscillates between $-1$ and $1$). Hence $f$ is discontinuous at $x=0$.
Proved: $\lim_{x\to0}\sin\dfrac1x$ does not exist, so $f$ is discontinuous at $x=0$.
Question 15
Prove that $f(x) = \begin{cases} 2x, & x < 2 \\ 2, & x = 2 \\ x^2, & x > 2 \end{cases}$ is discontinuous at $x = 2$.
Solution. Left limit: $\lim_{x\to2^-}2x=4$. Right limit: $\lim_{x\to2^+}x^2=4$. So the limit is $4$. But $f(2)=2\neq4$, so $f$ is discontinuous at $x=2$ (a removable discontinuity).
Proved: $\lim_{x\to2}f(x)=4\neq2=f(2)$.
Question 16
Prove that $f(x) = \begin{cases} -x, & x < 0 \\ 1, & x = 0 \\ x, & x > 0 \end{cases}$ is discontinuous at $x = 0$.
Solution. Left limit: $\lim_{x\to0^-}(-x)=0$. Right limit: $\lim_{x\to0^+}x=0$. So the limit is $0$, but $f(0)=1$. The limit differs from the value, so $f$ is discontinuous at $x=0$.
Proved: $\lim_{x\to0}f(x)=0\neq1=f(0)$.
Question 17
Find the value of $k$ for which $f(x) = \begin{cases} \dfrac{\sin 2x}{5x}, & x \neq 0 \\ k, & x = 0 \end{cases}$ is continuous at $x = 0$.
Solution. Continuity needs $k=\lim_{x\to0}f(x)$. Now $\dfrac{\sin2x}{5x}=\dfrac25\cdot\dfrac{\sin2x}{2x}\to\dfrac25\cdot1=\dfrac25$. So $k=\dfrac25$.
$k=\dfrac25$
Question 18
Find the value of $\lambda$ for which $f(x) = \begin{cases} \dfrac{x^2 – 2x – 3}{x + 1}, & x \neq -1 \\ \lambda, & x = -1 \end{cases}$ is continuous at $x = -1$.
Solution. We need $\lambda=\lim_{x\to-1}f(x)$. Factorise: $x^2-2x-3=(x-3)(x+1)$, so for $x\neq-1$, $f(x)=x-3$. Hence the limit is $-1-3=-4$, and $\lambda=-4$.
$\lambda=-4$
Question 19
For which value of $k$ is $f(x) = \begin{cases} 2x + 1, & x < 2 \\ k, & x = 2 \\ 3x – 1, & x > 2 \end{cases}$ continuous at $x = 2$?
Solution. Left limit: $2(2)+1=5$. Right limit: $3(2)-1=5$. The two agree, so the limit is $5$. For continuity $f(2)=k$ must equal this, giving $k=5$.
$k=5$
Question 20
For what value of $k$ is $f(x) = \begin{cases} \dfrac{x^2 – 9}{x – 3}, & x \neq 3 \\ k, & x = 3 \end{cases}$ continuous at $x = 3$?
Solution. For $x\neq3$, $\dfrac{x^2-9}{x-3}=x+3$, so $\lim_{x\to3}f(x)=6$. Continuity requires $k=6$.
$k=6$
Question 21
Determine $k$ so that $f(x)=\begin{cases}\dfrac{k\cos x}{\pi-2x}, & x\neq\dfrac\pi2 \\ 3, & x=\dfrac\pi2\end{cases}$ is continuous at $x=\dfrac\pi2$.
Solution. Put $h=\dfrac\pi2-x$, so $h\to0$ as $x\to\dfrac\pi2$. Then $\cos x=\cos\left(\dfrac\pi2-h\right)=\sin h$ and $\pi-2x=2h$. So $\lim f(x)=k\lim_{h\to0}\dfrac{\sin h}{2h}=\dfrac k2$. Continuity needs $\dfrac k2=f\left(\dfrac\pi2\right)=3$, so $k=6$.
$k=6$
Question 22
Show that $f(x)=\begin{cases}x^2\sin\dfrac1x, & x\neq0 \\ 0, & x=0\end{cases}$ is continuous at $x=0$.
Solution. For $x\neq0$, $-1\le\sin\dfrac1x\le1$, so $-x^2\le x^2\sin\dfrac1x\le x^2$. Both $-x^2$ and $x^2$ tend to $0$ as $x\to0$, so by the squeeze theorem $\lim_{x\to0}f(x)=0=f(0)$. Hence $f$ is continuous at $x=0$.
Shown: $\lim_{x\to0}f(x)=0=f(0)$, so $f$ is continuous at $x=0$.
Question 23
Show that $f(x)=\begin{cases}x+1, & x\ge1 \\ x^2+1, & x<1\end{cases}$ is continuous at $x=1$.
Solution. Value: $f(1)=1+1=2$. Right limit: $\lim_{x\to1^+}(x+1)=2$. Left limit: $\lim_{x\to1^-}(x^2+1)=2$. All three equal $2$, so $f$ is continuous at $x=1$.
Shown: left limit $=$ right limit $=f(1)=2$.
Question 24
Show that $f(x)=\begin{cases}x^3-3, & x\le2 \\ x^2+1, & x>2\end{cases}$ is continuous at $x=2$.
Solution. Value: $f(2)=8-3=5$. Left limit: $\lim_{x\to2^-}(x^3-3)=5$. Right limit: $\lim_{x\to2^+}(x^2+1)=5$. All three agree, so $f$ is continuous at $x=2$.
Shown: left limit $=$ right limit $=f(2)=5$.
Question 25
Find the values of $a$ and $b$ that make $f(x)=\begin{cases}5, & x\le2 \\ ax+b, & 2<x<10 \\ 21, & x\ge10\end{cases}$ continuous everywhere.
Solution. The only places that need attention are $x=2$ and $x=10$, where the formula changes. At $x=2$: the left side gives $5$, the middle piece gives $2a+b$, so $2a+b=5$. At $x=10$: the middle piece gives $10a+b$ and the right side gives $21$, so $10a+b=21$. Subtracting, $8a=16$, so $a=2$, and then $b=5-4=1$.
$a=2,\ b=1$
Question 26
Find the value of $a$ for which $f(x)=\begin{cases}a\sin\dfrac\pi2(x+1), & x\le0 \\ \dfrac{\tan x-\sin x}{x^3}, & x>0\end{cases}$ is continuous at $x=0$.
Solution. Left side: $f(0)=a\sin\dfrac\pi2=a$, and the left limit is also $a$. Right limit: $\dfrac{\tan x-\sin x}{x^3}=\dfrac{\sin x(1-\cos x)}{x^3\cos x}=\dfrac{1}{\cos x}\cdot\dfrac{\sin x}{x}\cdot\dfrac{1-\cos x}{x^2}\to1\cdot1\cdot\dfrac12=\dfrac12$. Continuity requires $a=\dfrac12$.
$a=\dfrac12$
Question 27
Prove that $f(x)=|x-3|$, $x\in\mathbb R$, is continuous at $x=3$ but not differentiable there.
Solution. Here $f(3)=0$. For $x\ge3$, $f(x)=x-3$; for $x<3$, $f(x)=3-x$. Both pieces tend to $0$ as $x\to3$, so $f$ is continuous at $3$.
For the derivative, form $\dfrac{f(3+h)-f(3)}{h}=\dfrac{|h|}{h}$. As $h\to0^+$ this is $1$ (right derivative $=1$); as $h\to0^-$ it is $-1$ (left derivative $=-1$). The one-sided derivatives differ, so $f'(3)$ does not exist.
Proved: $f$ is continuous at $x=3$; left derivative $-1\neq1=$ right derivative, so not differentiable at $x=3$.
Common mistakes
- Checking only one side. For piecewise functions (Q7, 8, 11, 12) both one-sided limits must be found, and for Q15 and Q16 the limit exists but is not the stored value, so comparing with $f(c)$ is just as necessary.
- Treating $\dfrac{\sin 3x}{x}$ as tending to $1$. The standard limit needs the same expression in numerator and denominator: $\dfrac{\sin3x}{x}\to3$ and $\dfrac{\sin2x}{5x}\to\dfrac25$.
- Believing $x^2\sin\dfrac1x$ (Q22) behaves like $\sin\dfrac1x$ (Q14). The factor $x^2$ forces the product to $0$; without it the function oscillates and has no limit.
- Reading continuity as differentiability. $|x-3|$ is continuous at $3$ yet has a corner, so the left and right derivatives ($-1$ and $1$) disagree.
Practise next
Exercise 9B continues with continuity over whole intervals and finding unknown constants; try it next.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe