under what condition the rank of the matrix A=
Your question is incomplete but I will tell you the easy general way to calculate rank of matrix. Rank of matrix can be easily found by calculating number of non zero columns or non zero rows. To do this transforming by matrix in its echelon form by row or column transformation is the simplest way.