Problem: Idempotent matrices

Problem

Solution