Nusc said:
There's a negative sign in front of |-><-| so its not the identity.
But (|+><+|)+(|-><-|) = 1 is.
Actually for an arbitrary set [tex]
<br />
\sum_a |a\rangle \langle a | = 1<br />
[/tex]
|+> = ( 1 0 )^T
|-> = ( 0 1 )^T
Sorry ... you are of course correct (it's late and I am not paying close enough attention). However, the equation you gave was generated from the resolution of the identity as follows:
[tex]S_z = S_z \{|+\rangle\langle+|\:+\:|-\rangle\langle-|\}[/tex]
But of course,
[tex]S_z|+\rangle=\frac{\hbar}{2}|+\rangle;\:\:S_z|-\rangle=-\frac{\hbar}{2}|-\rangle[/tex]
So we have (parentheses used to group terms for clarity):
[tex]S_z = (S_z|+\rangle)\langle+|\:+\:(S_z|-\rangle)\langle-| = \frac{\hbar}{2}[\:|+\rangle\langle+|\:-\:|-\rangle\langle-|\:][/tex]
As you correctly wrote. As for S
x, the treatment is basically the same, although you have to be a little bit careful at the beginning. I find it clearest to do the resolution of the identity in terms of the eigenstates of S
x (as opposed to |+> and |->, which are the eigenstates of S
z by convention). Then use the expressions for the S
x eigenstates in the basis of |+> and |-> to simplify the result.
EDIT: Ok, that TeX code came out pretty ugly, but it is correct .. let me know if you have any more questions. Bedtime now.