n=1 and how to come up with matrix