c) Compute $$\text{Prob}(\uparrow_\hat{n}\uparrow_\hat{m}) \equiv \text{tr}(\pmb{E}_A(\hat{n})\pmb{E}_B(\hat{n})\pmb{p}(\lambda)), \tag{4.164}$$
where $\pmb{E}_A(\hat{n})$ is the projection of Alice's qubit onto $\left|\uparrow_{\hat{n}}\right\rangle$ and $\pmb{E}_B(\hat{m})$ is the projection of Bob's qubit onto $\left|\uparrow_{\hat{m}}\right\rangle$.
So what they are actually asking is, you have an entangled system of two qubits $\rho$ and we measure the first qubit on some (random) axis n and then the second on some other (random) axis $m$. What is the probability of both spins being "spin-up" on their respective axes? The system in the actual exercise is a bit hard, but to show my problem, let's take an easy example:
$$\rho = \left|\uparrow \downarrow \right\rangle _{AB} \left\langle \uparrow \downarrow\right|_{AB}$$
Now without actually using the formula, let's assume we measure in the z-direction twice. We will measure for example a spin-up for qubit A, so looking at the system we know that the second qubit should be spin-down, because this density matrix comes from the state $|\psi \rangle_{AB} = \left|\uparrow \downarrow\right\rangle $. Now if we look at the given formula, $E_B(z)$ measures the spin of qubit B, which can be for example -1, then the second operator measures $E_A(z)$, as we said, is +1 in the given state (because A & B have opposite spins). We know that the expectation value of an operator is $\langle E_A E_B \rangle$, which is the same as taking the trace $\text{Tr}(E_A E_B \rho)$, which is the described formula above. We will not explicitly calculate this with the trace formula, because we have the corresponding state here, so we know that the probability is
$$\text{Tr}(E_A E_B \rho)= \langle E_A E_B \rangle = \langle \psi | E_A E_B | \psi \rangle = \langle \psi | (+1)(-1) | \psi \rangle = -1$$
So we have a "probability" of minus 1. How can this be a probability? In the original example, I have also calculated this and we get an expression in the function of the angle between the two axes, which can also be negative. This seems quite logical for two qubits A and B which are entangled in a way they will almost always have opposite spin direction, for example. So my question is: how can this probability be negative?