Who Was Alive

Were Brahmagupta and Alī ibn Abī Ṭālib alive at the same time?

Yes. Brahmagupta and Alī ibn Abī Ṭālib were alive at the same time, from c. AD 598 to AD 661.

Alī ibn Abī Ṭālib was about a year old when Brahmagupta was born.

Brahmagupta

Indian mathematician and astronomer

Born c. AD 598 · died c. AD 670

Alī ibn Abī Ṭālib

4th Rashidun Caliph (r. 656–661) and first Shia Imam

Born 17 March AD 599 · died AD 661, aged 61 or 62

Brahmagupta and Alī ibn Abī Ṭālib in bold, with some of their best-known contemporaries. Drag across to see the age each reached in any year. Faded ends mark uncertain dates.