The rank is and the nullity is . Extending a basis of the kernel to a basis of , the images of the added vectors form a basis of the image, proving the rank-nullity theorem
Since , the upper sum bound follows. Applying it to and interchanging gives the lower bound. For products, the image lies in and is the image under of , giving the upper bound; rank-nullity on that restriction gives
All four bounds are sharp. In a fixed basis, nested diagonal projections attain the product upper bound; placing with the smallest possible intersection with attains its lower bound. Taking on a subspace of dimension attains the sum lower bound, while choosing the two images in general position and avoiding cancellation attains the sum upper bound.
Both upper bounds need not be attainable simultaneously over every field. Over with and both ranks one, necessarily . Then but , below its upper bound one.
Solved by gpt-5.6-sol high.
Codex Wiki