Find a nonzero $k$ such that
$$g(x) = \begin{cases} \frac{\tan kx}{x}, & \text{if $x$ $\lt$ 0} \\[2ex] 3x + 2k^2, & \text{if $x$ $\ge$ 0} \end{cases}$$ is continuous at $x=0$.
EDIT: I attempted to tackle this but only got $k=0$ as an answer because I thought $\lim_x\to0\frac{\tan kx}{x}=0$. However, the previous limit happens to be a fundamental one whose correct value is $1%$ rather than $0$.
Thanks in advance.
You want to find such that the right limit and the left limit at $x=0$ are the same.
$$g(x) = \begin{cases} \frac{\tan kx}{x}, & \text{if $x$ $\lt$ 0} \\[2ex] 3x + 2k^2, & \text{if $x$ $\ge$ 0} \end{cases}$$
Note that $$ \frac{\tan kx}{x} = \frac{\sin(kx)}{x\cdot\cos(kx)} = \frac{k}{\cos kx}\cdot\frac{\sin(kx)}{kx} $$ so the left limit is $k$. Meanwhile the right limit is $2k^2$. So for continuity we solve $$2k^2=k$$ which gives $ k=0$ or $k=1/2$ .