For two given positive integers m,n>1, let aij(i=1,2,⋯,n,j=1,2,⋯,m) be nonnegative real numbers, not all zero, find the maximum and the minimum values of f, where
f=(∑i=1n∑j=1maij)2+mn∑i=1n∑j=1maij2n∑i=1n(∑j=1maij)2+m∑j=1m(∑i=1naij)2. functioninequalitiesCauchy Inequalityalgebra proposedalgebra