Continuous function · Exercise-CONTINUOUS-FUNCTION-016
Step-by-step solved exercise: Continuity
Find \(\displaystyle a\) so that the function is continuous at \(\displaystyle 2\): \(\displaystyle f(x)=ax+1\) if \(\displaystyle x\le2\), \(\displaystyle f(x)=x^2-ax\) if \(\displaystyle x>2\).
Step by step with comments, a check and common mistakes.
Step-by-step solution
At \(\displaystyle x=2\) the function uses the branch \(\displaystyle x\leq2\), so \(\displaystyle f(2)=2a+1\).
\[\displaystyle f(2)=2a+1\]
From the right, the limit of \(\displaystyle x^{2}-ax\) as \(\displaystyle x\to2^+\) is \(\displaystyle 4-2a\).
\[\displaystyle \lim_{x\to2^+}(x^{2}-ax)=4-2a\]
Equate: \(\displaystyle 2a+1=4-2a\), so \(\displaystyle 4a=3\).