Publication 4012, Resident or Nonresident Alien Decision Tree
Publication 4012, Determination of Filing Status—Decision Chart
Publication 4012, Overview of Rules for claiming a dependent