Linear equations

Given a system of 8 linear equations in 5 variables, if the rank of the coefficient matrix AAis rr, what is the maximum value rrcan be?
More Rank of a Matrix Questions: