Hi Amd,

From a logical perspective, I would think about a categorical variable as only one dimension.

Multiple linear regression formula with matrices: (least-squares model)

B=((X'X)^(-1))*X'Y

From the calculation perspective, when you calculate linear regression each additional dummy increases the size of the X matrix.

Each dummy variable is another dimension in X.