Solution:
Key idea: We use the standard limit θ→0limθtanθ=1, and ∣x∣=−x for x<0, ∣x∣=x for x>0.
Step 1 — Part (a): find the left-hand limit.
We put x=−h, and since tan(−2h)=−tan2h the minus signs cancel; then we multiply and divide by 2h.
LHL=h→0lim−3htan(−2h)=h→0lim2htan2h⋅32=1×32=32
Step 2 — Part (a): find the right-hand limit.
We put x=h and use the same standard limit.
RHL=h→0lim3htan2h=h→0lim2htan2h⋅32=32
Step 3 — Part (a): compare with the value.
Both one-sided limits equal 32, which is also the given value f(0), so f is continuous at x=0.
Step 4 — Part (b): find the one-sided limits.
We put x=−h for the left, where ∣x∣=h, and x=h for the right.
LHL=h→0lim(1+−hh)=1−1=0
RHL=h→0lim(1+hh)=1+1=2
Step 5 — Part (b): decide.
The left-hand limit 0 is not equal to the right-hand limit 2, so the limit does not exist and f is discontinuous at x=0, whatever value f(0) is given.
Therefore, (a) f is continuous at x=0; (b) f is discontinuous at x=0.