Vector area sphere

1. Apr 7, 2012

aaaa202

1. The problem statement, all variables and given/known data
I wonna calculate the vector area dS of a sphere, but for some reason my result gets mixed areound. I need a trained eye to see where I make a silly mistake.

2. Relevant equations
Parametrization of a sphere:

(x,y,z) = r(cos$\phi$sin$\theta$,sin$\phi$cos$\theta$,cosθ)

3. The attempt at a solution
So ∂r/∂$\phi$ = r(cosθcos$\phi$,-sinθsin$\phi$,sinθ)
and
∂r/∂θ = r(-sin$\phi$sinθ,cos$\phi$sinθ,0)

and dS = ∂r/∂$\phi$ x ∂r/∂θ = r2 (sinθcosθcos$\phi$,sin$\phi$sinθ2, ......) dθd$\phi$

But the first two terms should be switched around according to my notes! Where do I go wrong? :(

2. Apr 7, 2012

LCKurtz

Well, you have the $\theta$ and $\phi$ reversed from the usual math notation for spherical coordinates, but I guess some physicists do that. But when you differentiated with respect to $\phi$ it looks like you differentiated the $\theta$ variables, and conversely.

3. Apr 7, 2012

aaaa202

nvm.. Found my mistake - the parametric equation was wrong.