RS Aggarwal Class 12 Maths Solutions Exercise 9C — Continuity and Differentiability
RS Aggarwal, Class 12 Mathematics — Continuity and Differentiability, Exercise 9C. All 10 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 9C is about differentiability at a single point. Questions 1 to 4 use standard functions, Questions 5 to 8 use functions defined in pieces, Question 9 asks for a derivative of $|x|$ away from the origin, and Question 10 asks for constants that make a piecewise function smooth.
Key insight. A function is differentiable at $c$ when the left derivative $\displaystyle\lim_{h\to0^-}\frac{f(c+h)-f(c)}{h}$ and the right derivative $\displaystyle\lim_{h\to0^+}\frac{f(c+h)-f(c)}{h}$ both exist and are equal. Differentiability forces continuity, never the other way round, so for a “continuous but not differentiable” question you check continuity first and then show the two one-sided derivatives differ.
Question 1
Prove that the cubic $f(x)=x^3$ is both continuous and differentiable at the point $x=3$.
Solution. Here $f(3)=27$. Since $x^3$ is a polynomial, $\lim_{x\to3}x^3=27=f(3)$, so $f$ is continuous at $3$.
For the derivative, $$f'(3)=\lim_{h\to0}\frac{(3+h)^3-27}{h}=\lim_{h\to0}\frac{27+27h+9h^2+h^3-27}{h}=\lim_{h\to0}(27+9h+h^2)=27.$$ The limit exists and is finite, so $f$ is differentiable at $3$ with $f'(3)=27$.
Shown: $f$ is continuous at $x=3$, and $f'(3)=27$ exists.
Question 2
Prove that $f(x)=(x-1)^{1/3}$ has no derivative at $x=1$.
Solution. We have $f(1)=0$. The difference quotient is $$\frac{f(1+h)-f(1)}{h}=\frac{h^{1/3}}{h}=h^{-2/3}=\frac{1}{h^{2/3}}.$$ As $h\to0^+$ this tends to $+\infty$, and as $h\to0^-$ it also tends to $+\infty$, because $h^{2/3}=(h^{1/3})^2$ is positive. The limit is infinite, not a finite number, so $f'(1)$ does not exist. (The graph has a vertical tangent at $x=1$.)
Shown: the difference quotient $\to\infty$, so $f$ is not differentiable at $x=1$.
Question 3
Prove that any constant function can be differentiated at every point.
Solution. Let $f(x)=k$ for all real $x$, and take any point $c$. Then $f(c+h)-f(c)=k-k=0$ for every $h\neq0$, so $$f'(c)=\lim_{h\to0}\frac{0}{h}=\lim_{h\to0}0=0.$$ The limit exists at an arbitrary $c$, so $f$ is differentiable everywhere, with derivative $0$.
Shown: $f'(c)=0$ for every $c$, so a constant function is always differentiable.
Question 4
Prove that $f(x)=|x-5|$ is continuous at $x=5$ but has no derivative there.
Solution. $f(5)=0$. As $x\to5$, $|x-5|\to0$, so $f$ is continuous at $5$.
For the derivative, $\dfrac{f(5+h)-f(5)}{h}=\dfrac{|h|}{h}$. – For $h\to0^+$: $|h|=h$, so the quotient is $1$. Right derivative $=1$. – For $h\to0^-$: $|h|=-h$, so the quotient is $-1$. Left derivative $=-1$.
The one-sided derivatives are different, so $f'(5)$ does not exist.
Shown: continuous at $x=5$; left derivative $-1\neq$ right derivative $1$, so not differentiable.
Question 5
The function is $f(x)=2-x$ for $x\ge1$ and $f(x)=x$ for $0\le x\le1$. Prove that $f$ is continuous but not differentiable at $x=1$.
Solution. Both formulas must give $f(1)$: $2-1=1$ and $1$, so $f(1)=1$.
Continuity: $\lim_{x\to1^-}x=1$ and $\lim_{x\to1^+}(2-x)=1$, both equal to $f(1)$, so $f$ is continuous at $1$.
Left derivative (use $f(x)=x$ for $x<1$): $\displaystyle\lim_{h\to0^-}\frac{(1+h)-1}{h}=1$.
Right derivative (use $f(x)=2-x$ for $x>1$): $\displaystyle\lim_{h\to0^+}\frac{(2-(1+h))-1}{h}=\lim_{h\to0^+}\frac{-h}{h}=-1$.
Since $1\neq-1$, the derivative at $1$ does not exist.
Shown: continuous at $x=1$; left derivative $1$, right derivative $-1$, so not differentiable.
Question 6
Prove that the greatest-integer function $f(x)=[x]$ is neither continuous nor differentiable at $x=2$.
Solution. $f(2)=[2]=2$.
For $x$ slightly less than $2$ (say $1.9$), $[x]=1$, so $\lim_{x\to2^-}[x]=1$. For $x$ slightly more than $2$, $[x]=2$, so $\lim_{x\to2^+}[x]=2$. The two limits disagree, so $\lim_{x\to2}[x]$ does not exist and $f$ is discontinuous at $2$.
A function that is not continuous at a point cannot be differentiable there. Directly: the left quotient is $\dfrac{[2+h]-2}{h}=\dfrac{1-2}{h}=-\dfrac1h\to+\infty$ as $h\to0^-$, which is not finite.
Shown: left limit $1\neq$ right limit $2$, so $f$ is discontinuous, and hence not differentiable, at $x=2$.
Question 7
The function is $f(x)=1-x$ for $x<1$ and $f(x)=x^2-1$ for $x\ge1$. Prove it is continuous but not differentiable at $x=1$.
Solution. $f(1)=1^2-1=0$.
Continuity: $\lim_{x\to1^-}(1-x)=0$ and $\lim_{x\to1^+}(x^2-1)=0$, equal to $f(1)$. So $f$ is continuous at $1$.
Left derivative: $\displaystyle\lim_{h\to0^-}\frac{(1-(1+h))-0}{h}=\lim\frac{-h}{h}=-1$.
Right derivative: $\displaystyle\lim_{h\to0^+}\frac{((1+h)^2-1)-0}{h}=\lim_{h\to0^+}\frac{2h+h^2}{h}=\lim_{h\to0^+}(2+h)=2$.
The values $-1$ and $2$ differ, so $f$ is not differentiable at $1$.
Shown: continuous at $x=1$; left derivative $-1$, right derivative $2$, so not differentiable.
Question 8
Let $f(x)=2+x$ for $x\ge0$ and $f(x)=2-x$ for $x<0$. Prove that $f$ has no derivative at $x=0$.
Solution. $f(0)=2$.
Right derivative: $\displaystyle\lim_{h\to0^+}\frac{(2+h)-2}{h}=1$.
Left derivative: for $h<0$, $f(h)=2-h$, so $\displaystyle\lim_{h\to0^-}\frac{(2-h)-2}{h}=\lim\frac{-h}{h}=-1$.
The one-sided derivatives are $1$ and $-1$, which are unequal, so $f'(0)$ does not exist. (The function is continuous at $0$, since both pieces give $2$, but it has a corner.)
Shown: left derivative $-1\neq$ right derivative $1$, so $f$ is not differentiable at $x=0$.
Question 9
For $f(x)=|x|$, prove that the derivative at $x=2$ equals $1$.
Solution. Near $x=2$ the number $x$ is positive, so for small $|h|$ (say $|h|<2$) we have $2+h>0$ and $f(2+h)=|2+h|=2+h$. Then $$f'(2)=\lim_{h\to0}\frac{(2+h)-2}{h}=\lim_{h\to0}\frac{h}{h}=1.$$ Both one-sided limits are equal to $1$, so $f'(2)=1$.
Shown: $f'(2)=1$.
Question 10
Find $a$ and $b$ so that $f(x)=x^2+3x+a$ for $x\le1$ and $f(x)=bx+2$ for $x>1$ is differentiable at every real $x$.
Solution. Each piece is a polynomial, so the only trouble spot is $x=1$. Differentiability there needs two conditions.
Continuity at $1$: the left value is $1+3+a=4+a$ and the right limit is $b+2$. So $4+a=b+2$.
Equal slopes: the left derivative is $2x+3$ at $x=1$, i.e. $5$; the right derivative is $b$. So $b=5$.
Substituting, $4+a=7$, so $a=3$. Check: left piece at $1$ is $7$, right piece $5+2=7$; both slopes are $5$.
$a=3,\; b=5$
Common mistakes
- Proving only continuity and stopping. In Questions 4, 5 and 7 the second half, unequal one-sided derivatives, is the whole point.
- Using the wrong formula on each side. For Question 5 the piece $x$ applies to the left of $1$ and $2-x$ to the right; for Question 8 it is $2-x$ on the left of $0$.
- In Question 10, imposing only continuity (one equation, two unknowns) or only equal slopes. You need both, and the slope condition alone gives $b$, which then fixes $a$.
- In Question 2, saying “the limit does not exist” without noting it is $+\infty$ from both sides; the function is continuous there, with a vertical tangent.
Practise next
- Find $a$ and $b$ so that $f(x)=x^2+2x+a$ for $x\le2$ and $f(x)=bx-3$ for $x>2$ is differentiable at $x=2$.
Show answer
$a=1,\ b=6$. Equal slopes: $2(2)+2=6=b$. Continuity: $4+4+a=2b-3=9$, so $a=1$.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe