My book asks for the dimensions of the vector spaces for the following two cases:
1)vector space of all upper triangular $n × n$ matrices, and
2)vector space of all symmetric $n × n$ matrices
The answer for both is $n(n+1)/2$ and this is easy enough to verify with arbitrary instances but what is the formal way to conclude this in the general case, as per the question?
Thanks!
EDIT: I understand how bases and dimensions and linear independe relate. I'm asking how to find the number of dimensions for those two cases above WITHOUT just counting examples where n is equal to, say, 4, 5, 6...