Mathematics for Artificial Intelligence