The following pages link to To get more concious learning, do try to think the realistic solution and its reasoning to the following case : what will be (X^2 -1) /(X-1) if X = 1: