I've been thinking about this for a while and I can't seem to figure it out. In a class, a teacher will call a student to answer a questions and the number of questions $n$ is equal to the number of students. A question is asked to one student at random. Using linearity of expectation, if there are $n$ students and $n$ questions, what is the expected number of students that don't get called?
I decided to try it out with $n=2$. Using $1$ = called, and $0$=not called, there are 4 possibilities $(11, 10, 01, 00)$. Then, we would have to multiply the probability with the value. Now, I am totally lost. There is a probability of $1/4$ is for $00$, and $1/4$ for both $01$ and $10$ each. Then is the expected value just $3/4$?
And how would I apply it to $n$ cases, instead of just $n=2$?
For each question, the probability that a given student doesn't get called is $\left(\frac{n-1}{n}\right)$. Therefore, after all $n$ questions, the probability that a given student doesn't get called is $\left(\frac{n-1}{n}\right)^n$ Thus, the expected value of the number of students that don't get called is $$ n\left(\frac{n-1}{n}\right)^n\sim\frac ne $$ That is, for large $n$, approximately $\frac1e=36.79\%$ of them don't get called.