<human>:  When was algebra invented?
<bot>: The first known use of algebra was in the 6th century by the Indian mathematician Brahmagupta. He used it to solve quadratic equations, which are equations with two variables, like y = x2 + 1. The word algebra comes from the Arabic word al-jabr, which means to combine or to reunite.