Upgrade to access all content for this subject

Let $W = \{(x_1, x_2, \ldots, x_n) \in \mathbb{R}^n \mid x_1 + x_2 + \ldots + x_n = 0\}$, which is a subspace of $\mathbb{R}^n$. What is $\dim(W)$?

$n+1$

$n$

$n-1$

$n-2$

$2$

$1$