Let $P$ be a projective space of dimension $n$ and $Q$ a linear subspace of it. If the complement of $Q$ is affine, why must $Q$ be of dimension $n - 1$?
The following is my thought:
Take the homogeneous coordinate system $[T_0:\cdots:T_n]$. (Suppose that $Q$ is not a hyperplane.) Let $Q$ be of dimension $d(d < n - 1)$, satisfying $T_{i} = 0(i\in\{d+1,\cdots, n\})$. Then what's left is to show that $\{[T_0:\cdots:T_n]:\exists i\in\{d+1,\cdots, n\}, s.t. T_i\neq 0\}$ is not affine. How to prove this assertion?
For the other direction, I know it's obvious. Many thanks!