How to find the infinite limits