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

  1. At \(\displaystyle x=2\) the function uses the branch \(\displaystyle x\leq2\), so \(\displaystyle f(2)=2a+1\).

    \[\displaystyle f(2)=2a+1\]
  2. 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\]
  3. Equate: \(\displaystyle 2a+1=4-2a\), so \(\displaystyle 4a=3\).

    \[\displaystyle 2a+1=4-2a \Rightarrow 4a=3\]
  4. Therefore \(\displaystyle a=\tfrac{3}{4}\).

    \[\displaystyle a=\frac{3}{4}\]

Answer

\(\displaystyle a=3/4\)

🎯 Build my path to this exercise