Algebra

⚡ Key Takeaways

Algebra is the branch of mathematics that uses symbols (variables) to represent numbers and quantities, allowing general relationships, equations, and structures to be expressed and manipulated. Key result: unknown quantities can be solved for systematically by applying balanced operations to equations. Where it applies: virtually all of science, engineering, finance, and higher mathematics. Who/when: formalized by al-Khwārizmī (c. 820 CE), with roots in Babylonian and Greek mathematics.

💡 The Core Insight

An equation is a balance: whatever you do to one side, you must do to the other to keep it true. A variable is a placeholder standing for an unknown or arbitrary number. By combining these two ideas — preserving equality while isolating the unknown — you can convert a tangled statement into the form x=(answer)x = (\text{answer}). The same symbolic rules that solve for one unknown also let you state laws that hold for every number, which is the true power of algebra over arithmetic.

Formal Statement

DefinitionVariable, Expression, and Equation

A variable is a symbol (e.g. x,y,nx, y, n) representing an unknown or arbitrary element of a number set. An algebraic expression is a finite combination of variables, constants, and operations (+,−,×,÷,powers,roots)(+, -, \times, \div, \text{powers}, \text{roots}), e.g. 3x2−5x+23x^2 - 5x + 2. An equation asserts two expressions are equal:

1
ax2+bx+c=0,a≠0\quad ax^2 + bx + c = 0, \qquad a \neq 0

Derivation hint: this is the general second-degree equation; a,b,ca,b,c are constant coefficients and xx is the unknown. A solution (or root) is a value of the variable that makes the equation true.

DefinitionField Axioms — The Rules of Algebra

For all real numbers a,b,ca, b, c, ordinary algebra obeys:

2
a+b=b+a,ab=ba(commutativity)\quad a + b = b + a, \qquad ab = ba \quad \text{(commutativity)}

Derivation hint: order of addition or multiplication does not affect the result.

3
(a+b)+c=a+(b+c),(ab)c=a(bc)(associativity)\quad (a+b)+c = a+(b+c), \qquad (ab)c = a(bc) \quad \text{(associativity)}

Derivation hint: grouping does not affect the result.

4
a(b+c)=ab+ac(distributivity)\quad a(b+c) = ab + ac \quad \text{(distributivity)}

Derivation hint: multiplication distributes over addition — the engine behind expanding and factoring.

TheoremThe Quadratic Formula

Every quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \neq 0 has solutions

5
x=−b±b2−4ac2a\quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Derivation hint: complete the square on the general quadratic (see proof below). The quantity Δ=b2−4ac\Delta = b^2 - 4ac is the discriminant:

  • Δ>0\Delta > 0: two distinct real roots,
  • Δ=0\Delta = 0: one repeated real root,
  • Δ<0\Delta < 0: two complex conjugate roots.

Why It Holds / Derivation

ProofDeriving the Quadratic Formula by Completing the Square

Start from the general quadratic and isolate the variable terms.

Step 1. Divide through by a≠0a \neq 0:

6
x2+bax+ca=0\quad x^2 + \frac{b}{a}x + \frac{c}{a} = 0

Derivation hint: dividing both sides by aa preserves equality (balance principle).

Step 2. Move the constant and complete the square by adding (b2a)2\left(\frac{b}{2a}\right)^2 to both sides:

7
x2+bax+b24a2=b24a2−ca\quad x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} = \frac{b^2}{4a^2} - \frac{c}{a}

Derivation hint: the left side is now a perfect square trinomial.

Step 3. Factor the left side and combine the right over a common denominator:

8
(x+b2a)2=b2−4ac4a2\quad \left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Derivation hint: use (x+k)2=x2+2kx+k2(x+k)^2 = x^2 + 2kx + k^2 with k=b/2ak = b/2a.

Step 4. Take the square root of both sides (introducing ±\pm):

9
x+b2a=±b2−4ac2a\quad x + \frac{b}{2a} = \pm \frac{\sqrt{b^2 - 4ac}}{2a}

Derivation hint: 4a2=2∣a∣\sqrt{4a^2} = 2|a|; the ±\pm absorbs the sign.

Step 5. Subtract b2a\frac{b}{2a} to isolate xx:

10
x=−b±b2−4ac2a■\quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \qquad \blacksquare

Derivation hint: combine the two fractions over the common denominator 2a2a.

∎
mathematician · Muhammad ibn Mūsā al-Khwārizmī | c. 780–850 CE

A Persian scholar at the House of Wisdom in Baghdad, al-Khwārizmī wrote al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa-l-muqābala ("The Compendious Book on Calculation by Completion and Balancing") around 820 CE. The term al-jabr gave us the word "algebra," and his Latinized name Algoritmi gave us "algorithm." He treated equations systematically and geometrically, classifying quadratics into solvable types — establishing algebra as a discipline distinct from arithmetic and geometry.

Building Intuition

🧠 Intuition

Think of an equation as a physical balance scale. The equals sign is the pivot; both pans hold the same weight. To find an unknown weight on the left, you remove equal amounts from both pans until the unknown stands alone. Adding 55 to one side without the other tips the scale — and breaks the truth. A variable is like a box whose contents are hidden: x+4=7x + 4 = 7 says "an unknown number plus 4 makes 7." You open the box by undoing the +4+4, i.e. subtracting 4 from both pans, revealing x=3x = 3. Every algebraic manipulation is just keeping the scale level while you peel away layers around the unknown.

Figure
The equation as a balance scale: isolating x by removing equal weights from both sides
Solving x + 4 = 7 x +4 7 Subtract 4 from BOTH pans → x = 3

Worked Examples

ExampleSolving a Linear Equation

Given: Solve 3x−7=2x+53x - 7 = 2x + 5 for xx.

Step 1. Gather variable terms on one side — subtract 2x2x from both sides:

11
3x−2x−7=5  ⇒  x−7=5\quad 3x - 2x - 7 = 5 \;\Rightarrow\; x - 7 = 5

Derivation hint: 3x−2x=x3x - 2x = x by distributivity in reverse.

Step 2. Isolate xx — add 77 to both sides:

12
x=5+7=12\quad x = 5 + 7 = 12

Derivation hint: undo the −7-7 to leave xx alone.

Check: 3(12)−7=293(12) - 7 = 29 and 2(12)+5=292(12) + 5 = 29. ✓

x=12\boxed{x = 12}
ExampleSolving a Quadratic with the Formula

Given: Solve 2x2−4x−6=02x^2 - 4x - 6 = 0.

Step 1. Identify coefficients: a=2a = 2, b=−4b = -4, c=−6c = -6.

Step 2. Compute the discriminant:

13
Δ=(−4)2−4(2)(−6)=16+48=64\quad \Delta = (-4)^2 - 4(2)(-6) = 16 + 48 = 64

Derivation hint: substitute into b2−4acb^2 - 4ac; note Δ>0\Delta > 0 means two real roots.

Step 3. Apply the quadratic formula:

14
x=−(−4)±642(2)=4±84\quad x = \frac{-(-4) \pm \sqrt{64}}{2(2)} = \frac{4 \pm 8}{4}

Derivation hint: 64=8\sqrt{64} = 8.

Step 4. Split the ±\pm:

15
x=4+84=3orx=4−84=−1\quad x = \frac{4+8}{4} = 3 \qquad \text{or} \qquad x = \frac{4-8}{4} = -1

Derivation hint: evaluate the two sign choices separately.

Check: 2(9)−12−6=02(9) - 12 - 6 = 0 ✓ and 2(1)+4−6=02(1) + 4 - 6 = 0 ✓

x=3   or   x=−1\boxed{x = 3 \;\text{ or }\; x = -1}

Common Misconceptions

⚠️ Operations Must Be Applied to Whole Sides

A frequent error is "doing something to one term" instead of to the entire side. In x+32=5\frac{x+3}{2} = 5, you cannot "cancel" the 33 — you must multiply the whole left side by 2 first: x+3=10x + 3 = 10, then x=7x = 7. Similarly, x2+9≠x+3\sqrt{x^2 + 9} \neq x + 3; the square root does not distribute over addition. Always treat each side as a single object when applying the balance principle.

CounterexampleSquaring Can Introduce False Solutions

Squaring both sides is not always reversible and may create extraneous roots. Consider x=x−6\sqrt{x} = x - 6. Squaring gives x=x2−12x+36x = x^2 - 12x + 36, i.e. x2−13x+36=0x^2 - 13x + 36 = 0, so x=4x = 4 or x=9x = 9. But check: 4=2\sqrt{4} = 2 while 4−6=−24 - 6 = -2 — false. Only x=9x = 9 works (9=3=9−6\sqrt 9 = 3 = 9-6). The operation of squaring lost the sign information, so every solution must be checked against the original equation.

Connections

connection

Algebra is the connective tissue of mathematics. It underlies Functions, where an expression like f(x)=2x+1f(x) = 2x+1 assigns outputs to inputs, and Coordinate Geometry, where equations such as y=mx+by = mx + b become lines on the plane. Solving systems of linear equations leads directly into Linear Algebra and matrices. The manipulation of Polynomials generalizes the quadratic to higher degrees, while Inequalities replace the equals sign with << or >> using nearly the same rules. The abstract study of the field axioms above blossoms into Abstract Algebra (groups, rings, fields).

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 1800 BCE: Babylonian clay tablets (e.g. Plimpton 322) solve quadratic-type problems by procedures equivalent to completing the square.
- c. 250 CE: Diophantus of Alexandria writes Arithmetica, introducing symbolic abbreviations — "syncopated" algebra.
- c. 628 CE: Brahmagupta in India gives rules for solving quadratics and works with zero and negative numbers.
- c. 820 CE: Al-Khwārizmī's al-Jabr systematizes the solution of linear and quadratic equations, founding algebra as a subject.
- 1202 CE: Fibonacci's Liber Abaci spreads Hindu–Arabic numerals and algebraic methods in Europe.
- 1545 CE: Cardano publishes Ars Magna with general solutions to cubic and quartic equations.
- 1591 CE: François Viète introduces letters for both knowns and unknowns, creating modern symbolic algebra.
- 1637 CE: Descartes' La Géométrie unites algebra with geometry via coordinates and standardizes x,y,zx, y, z for unknowns.
- 1832 CE: Évariste Galois proves no general algebraic formula exists for degree-5 equations, birthing group theory and abstract algebra.

Subtleties & Limits

open-problem

While quadratics, cubics, and quartics have explicit formulas in terms of radicals, Galois proved (1832) that the general quintic and higher-degree polynomial equations cannot be solved by any formula using only +,−,×,÷+, -, \times, \div, and roots. This is not a failure to find the formula — it is a proof that none can exist. Modern questions persist in the broader landscape: efficient algorithms for solving large polynomial systems (computational algebraic geometry), the difficulty of factoring large integers (underpinning cryptographic security), and open conjectures such as those relating polynomial complexity to the famous P versus NP problem. Algebra's foundational rules are settled, but the computational frontier remains wide open.

See Also

Functions · Polynomials · Inequalities · Coordinate Geometry · Linear Algebra · Abstract Algebra · Quadratic Equations