Algebra was developed as a separate section of mathematics to solve problems involving unknown numbers. In algebra, unknown numbers are represented by variables like x, allowing problems to be solved using the same addition, subtraction, etc. operations as regular arithmetic. For example, if the number of boys in a class is unknown and represented by x, we can write an equation relating x to the total number of students and known number of girls to solve for x. Algebra introduces variables like x to represent unknowns, but applies the same basic math operations as used with numbers.