I want to derive the round metric $g=d\theta^{\,2}+\sin\left(\theta\right)^2d\phi^{\,2}$ but I cannot get the correct answer. I know that the metric in cartesian coordinates is $g=dx^2+dy^2$. I've used the formula $dx=\frac{dx}{d\theta}d\theta+\frac{dx}{d\phi}d\phi$ and $dy=\frac{dy}{d\theta}d\theta+\frac{dy}{d\phi}d\phi$. From
$x=\sin\left(\theta\right)\cos\left(\phi\right)$ and $y=\sin\left(\theta\right)\sin\left(\phi\right)$,
I find that
$\frac{dx}{d\theta}=\cos\left(\theta\right)\cos\left(\phi\right)$,
$\frac{dx}{d\phi}=-\sin\left(\theta\right)\sin\left(\phi\right)$,
$\frac{dy}{d\theta}=\cos\left(\theta\right)\sin\left(\phi\right)$,
$\frac{dy}{d\phi}=\sin\left(\theta\right)\cos\left(\phi\right)$.
This leads to $g=dx^2+dy^2=\cos\left(\theta\right)^2d\theta^{\,2}+\sin\left(\theta\right)^2d\phi^{\,2}$ which is not correct.
edit: metric was typed incorrectly
Embed the sphere using spherical coordinates in the usual way, and compute the pullback of $\bar{g} = dx^2 + dy^2 + dz^2$ to the sphere, which amounts to replacing $x, y, z$ with their expressions in spherical coordinates.
– Travis Willse Apr 14 '16 at 11:53