through some expansion formulas for ranks and inertias of Hermitian matrices, where A, B, C and D are given complex matrices with A and C Hermitian, X is a variable matrix, and denotes the conjugate transpose of a complex matrix. We first introduce an algebraic linearization method for studying this matrix-valued function, and establish a group of explicit formulas for calculating the global maximum and minimum ranks and inertias of this matrix-valued function with respect to the variable matrix X. We then use these rank and inertia formulas to derive:
necessary and sufficient conditions for the matrix equation to have a solution, as well as the four matrix inequalities in the L枚wner partial ordering to be feasible, respectively;
necessary and sufficient conditions for the four matrix inequalities in the L枚wner partial ordering to hold for all matrices X, respectively;
the two matrices and such that the inequalities and hold for all matrices X in the L枚wner partial ordering, respectively.
An application of the quadratic matrix-valued function in control theory is also presented.