Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the codimension of X? X is subset of space of $2\times 2$ matrices $M_{2\times 2}$. \begin{equation} X=\left\{\left( \begin{array}{cc} 0 & 0 \\ 0 & x \end{array}\right)\bigg| x \in \mathbb{R}\right\} \end{equation} I think that the codimension is two, because dimension of $M_{2\times 2}$ is four, and dimension of $X$ is two, then the codimension is $4-2$. What do you think? thank you very much

share|cite|improve this question
up vote 1 down vote accepted

The dimension of $X$ is $1$, since its elements only depend on the single parameter $x$. The dimension of $M_{2x2}$ is, as you said, 4. The codimension is therefore $4 - 1 = 3$.

share|cite|improve this answer

$\left( \begin{array}{cc} 0 & 0 \\ 0 & 1 \end{array}\right)$ is a basis of $X$. Hence the dimension of $X$ is 1. Since the dimension of $M_{2\times 2}$ is 4, the codimension of $X$ is 3.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.