Mathematical tools