Determining limits using algebraic manipulation