Muḥammad ibn Mūsā al-Khwārizmī;
(Persian: Muḥammad Khwārizmī محمد بن موسى خوارزمی; c. 780 – c. 850), Arabized as al-Khwarizmi with al- and formerly Latinized as Algorithmi, was a Persian scholar who produced works in mathematics, astronomy, and geography. Around 820 AD he was appointed as the astronomer and head of the library of the House of Wisdom in Baghdad.
Al-Khwarizmi’s popularizing treatise on algebra (The Compendious Book on Calculation by Completion and Balancing, c. 813–833 CE) presented the first systematic solution of linear and quadratic equations. One of his principal achievements in algebra was his demonstration of how to solve quadratic equations by completing the square, for which he provided geometric justifications. Because he was the first to treat algebra as an independent discipline and introduced the methods of “reduction” and “balancing” (the transposition of subtracted terms to the other side of an equation, that is, the cancellation of like terms on opposite sides of the equation), he has been described as the father or founder of algebra. The term algebra itself comes from the title of his book (specifically the word al-jabr meaning “completion” or “rejoining”). His name gave rise to the terms algorism and algorithm. His name is also the origin of (Spanish) guarismo and of (Portuguese) algarismo, both meaning digit.