Source: https://nickh9711.github.io/Teaching/mat224_TUT0101_TUT0102_S21/TUT4_linear_transformation_and_injective_surjective_annotated.pdf