Continuous function · Exercise-CONTINUOUS-FUNCTION-005
Step-by-step solved exercise: Continuity
Which value of k makes \(\displaystyle f(x)=\begin{cases}kx-3&\text{if }x\leq2\\ x^{2}-1&\text{if }x>2\end{cases}\) continuous at \(\displaystyle x = 2\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
Since \(\displaystyle x=2\) belongs to the branch \(\displaystyle x\leq2\), \(\displaystyle f(2)=2k-3\).
\[\displaystyle f(2)=2k-3\]
From the right, the limit of \(\displaystyle x^{2}-1\) as \(\displaystyle x\to2^+\) is \(\displaystyle 3\).
\[\displaystyle \lim_{x\to2^+}(x^{2}-1)=3\]
Equate: \(\displaystyle 2k-3=3\), so \(\displaystyle 2k=6\).