How do you know when an equation has infinitely many solutions? How do you know when an equation has no solution?

These things become apparent when you try to solve the equation or set of equations. There is no general rule.