This thesis develops a general method for expressing ranks of matrix expressions that involve the Moore-Penrose inverse, the group inverse, the Drazin inverse, as well as the weighted Moore-Penrose inverse of matrices. Through this method we establish a variety of valuable rank equalities related to generalized inverses of matrices mentioned above. Using them, we characterize many matrix equalities in the theory of generalized inverses of matrices and their applications.