$$y'-2y=e^{ax}\text{ , } y(0)=0$$ Is the solution 1. continuous for every $a$? 2. differentiable for every $a$ ?
I solve the ODE and got $y=\frac{1}{a-2}(e^{ax}-e^{2x})$ so it obvious that at $a=2$ it is not continuous but maybe differentiable?
$$y'-2y=e^{ax}\text{ , } y(0)=0$$ Is the solution 1. continuous for every $a$? 2. differentiable for every $a$ ?
I solve the ODE and got $y=\frac{1}{a-2}(e^{ax}-e^{2x})$ so it obvious that at $a=2$ it is not continuous but maybe differentiable?
If $a\ne 2$, then of course, you have a solution you gave above. If $a=2$, then we have completely different solution: $y=xe^{2x}$.
Explicitly, the solution can be expanded in a joint Maclaurin series
$$ y(x,a) = \sum_{n=1}^\infty \sum_{k=0}^{n-1} \frac{2^{n-1-k}}{n!} a^k x^n $$
which converges absolutely for all $a$ and $x$, uniformly on compact sets, so is analytic in $a$ and $x$.
More generally, there are theorems on the dependence of solutions of differential equations on a parameter that apply. See e.g. Birkhoff and Rota, "Ordinary Differential Equations" (I don't have it with me at the moment, so I can't quote these theorems).