Artificial intelligence has emerged as a complex force influencing our world. From self-driving cars to medical breakthroughs, AI's potential are breathtaking. Yet, its inner workings remain a mystery, provoking both fascination and anxiety. Aiming for understand AI, we must investigate its foundational principles. Mathematical models are the he