Prove that
$g: (0,∞)×(0,2π)×(−π/2,π/2)→R^3,$
$g(r, \alpha, \beta) = (r\cos(\alpha)\cos(\beta), r\sin(\alpha)\cos(\beta), r\sin(\beta))$
is an injection.
Exactly what it says on the tin. I haven't gone beyond assuming $g(a,b,c) = g(c,d,e)$. After constructing the relevant system of equations I am stuck trying to equate the variables from there. I might have forgotten too much from trigonometry. This is homework, so I would appreciate if someone could walk me through the process, but not the solution.
hint
Put $$g(a,b,c)=(A,B,C)$$ $$g(d,e,f)=(D,E,F)$$
then
$$g(a,b,c)=g(d,e,f) \implies$$
$$(A,B,C)=(D,E,F)\implies$$
$$A^2+B^2+C^2=D^2+E^2+F^2\implies$$ $$a^2=d^2\implies a=d$$