Why are Ramachandran angles of first and the last amino acid not necessary to define the full 3D structure of a protein chain?
Think about the case of a chain of N=3 points in space. There are only angles associated with the middle point, the two endpoints don't have angles associated with them because they only have one incident segment rather than two.