Consider following problem from Apostol Chap. 4: 
I did the following proof however later discovered the standard proof involves an auxiliary function, along the lines of the solution outlined here. I was wondering if I made any mistake. Here is the proof:
Without loss of generality let us assume $f_{k}(a)=\max(f_{1}(a),...,f_{m}(a))$
$\therefore f(a)=f_{k}(a)$
Each $f_{i}(.)$ is continuous at $a.$
Take any $\epsilon \gt 0. \therefore \exists \delta_{i} \gt 0 $ such that $|f_{i}(x)-f_{i}(a)|\lt\epsilon \forall x$ such that $|x-a|\lt \delta$. Let $\delta=min(\delta_{1},...,\delta_{m})$
$\therefore \forall x$ such that $|x-a|\lt \delta,$ $|f_{i}(x)-f_{i}(a)|\lt \epsilon, \forall i$.
i.e. $(f_{i}(a)-\epsilon)\lt f_{i}(x)\lt (f_{i}(a)+\epsilon), \forall i$
$f_{k}(a)=\max(f_{1}(a),...,f_{m}(a))$ $\therefore (f_{k}(a)+\epsilon) \ge (f_{i}(a)+\epsilon), \forall i$
$\forall x$ $ s.t. |x-a| \lt \delta, f_{k}(x)\lt(f_{k}(a)+\epsilon)$
$\therefore \forall x$ $ s.t. |x-a| \lt \delta, \max(f_{1}(x),...,f_{m}(x))\lt(f_{k}(a)+\epsilon)$ ... (A)
Also, $ \forall x$ $ s.t. |x-a| \lt \delta, f_{k}(x)\gt (f_{k}(a)-\epsilon)$
$\therefore \max(f_{1}(x),...,f_{m}(x))\gt(f_{k}(a)-\epsilon)$... (B)
Combining (A) and (B), $ \forall x$ $ s.t. |x-a|\lt \delta, (f(a)-\epsilon)\lt f(x)\lt (f(a)+\epsilon)$
$\therefore f(x)$ is continuous at $a$.
Is this correct? Thanks a lot in advance for your help.