Mathematical tool