Suppose we have a quantum state $|\psi \rangle$ of $n$ qubits, where $|\psi\rangle=\sum_{x∈\{0,1\}^n}\alpha_x |x\rangle$,and we measure the first qubit of $|\psi\rangle$ in the computational basis. What is the probability that the measurement outcome is $1$, in terms of the $\alpha_x $ coefficients?
I'm not quite sure how to approach this. Usually the computational basis is $\{|0\rangle,|1\rangle\}$ and I'm not sure what ket I am meant to apply to the $|\psi\rangle$.
I'm also not sure what matrix I need to use to do the measurement.