When was algebra invented?
We generally credit Diophantus of Alexandria as laying the groundwork for algebra in the second or third centuries AD. We can’t be certain because records from that time are a challenge to find. Use the link to the related question to read a bit on the history of algebra. You’ll find that link below.