Solving problem 4.2 from the MIT course “18.06SC – Linear Algebra”.