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