Algebraic Expressions, Powers and Roots

☰ Contents

Algebra is arithmetic with letters standing in for some of the numbers. Its rules are the rules of arithmetic, written so that they hold for every number at once.

What does a letter stand for?

A letter in algebra stands for a number that can change, or one that is not known yet. A number written beside a letter means multiply, so 3n means 3 × n, n² means n × n, and n/4 means n / 4. See Algebraic Notation. To find the value of an expression, replace each letter with its number and follow the order of operations. When n = 5, 3n + 2 is 3 × 5 + 2 = 17, and n² is 5 × 5 = 25. The letter is only a placeholder, so every rule of arithmetic still applies to the number underneath it. A power binds tighter than the multiplication in front of it, so 2n² squares n first: with n = 5 it is 2 × 25 = 50, not 10 × 10 = 100. Test a result with a second value: when n = 1, 3n + 2 gives 3 + 2 = 5.

Putting a number where the letter stands is called substitution. See Substitution.

n = 434+ 23 × 4 + 2 = 14
The 4 goes in the box — and only in the box. The 2 waits outside it. Full lesson: Substitution

To solve an equation, do the same thing to both sides until the letter stands alone. For 3x + 7 = 22, subtract 7 from both sides, then divide both sides by 3: x = 5. See Solving Linear Equations and the equations and inequalities guide.

3x + 214both sides − 2
A two-step one: 3x + 2 = 14. Clear the added 2 first, and both pans lose 2. Full lesson: Solving Linear Equations

Now you

n = −23−2+ 3

If n = −2, what is 3n + 3?

n = −22−2+ 7

If n = −2, what is 2n + 7?

How do you collect like terms?

Like terms have exactly the same letter part, including the same powers, and they combine by adding the numbers in front. Keep the letter part as it is: 3x + 5x = 8x, just as 3 apples and 5 apples make 8 apples. In 4a + 7b − a + 2b, the a terms give 3a and the b terms give 9b, so the expression simplifies to 3a + 9b. The number in front, the coefficient, counts copies of the letter part, so collecting just totals those copies. See Like Terms. Terms with different letter parts stay separate, so 3x + 5y and 3x + 3x² cannot be simplified: x and x² are different quantities, like a length and an area. Each sign belongs to the term after it. Try the result with numbers: with a = 2 and b = 1, the original gives 8 + 7 − 2 + 2 = 15, and 3a + 9b gives 6 + 9 = 15.

xxxyyxxxxxxx5xyy2y=

3x + 2x = 5x: every x strip is the same length, so the two groups lie end to end as one bar of 5; the 2y bar is a different length and stays 2y

Make the x strips collect into 8x

3a2a32a5a
3a and 2a are like terms, so they join into 5a. A 2b would stay apart. Full lesson: Like Terms

Expanding brackets

To expand a bracket, multiply every term inside by the term outside: 4(2x + 3) = 8x + 12. This is the distributive law, the same fact that makes 4 × 23 = 80 + 12. See Expanding Brackets.

axabxbaa(x + b)
The sides can be letters: a(x + b) is the ax strip plus the ab strip. Full lesson: Expanding Brackets

With two brackets, every term in the first multiplies every term in the second, and then the like terms collect: (x + 3)(x + 5) = x² + 5x + 3x + 15 = x² + 8x + 15. See Expanding Two Brackets.

x²3x2x6x3x2x² + 5x + 6
The two middle pieces are both lots of x, so 3x and 2x join into 5x. Full lesson: Expanding Two Brackets

Now you

x6x6

Expand (x + 6)(x + 6)

x−1x3

Expand (x + 3)(x − 1)

How do you factor?

Factoring writes a sum as a product, so it is expanding in reverse. Start by taking the greatest common factor of every term outside a bracket. For 6x + 9, both numbers share a factor of 3, so 6x + 9 = 3(2x + 3). With 12x² + 8x, both terms share 4x, giving 4x(3x + 2). It works because multiplication distributes over addition: 3 lots of 2x plus 3 lots of 3 equals 3 lots of the bracket. See Factoring by Common Factor. But x² + 7x + 12 has no common factor, so it needs two brackets: find two numbers that multiply to 12 and add to 7. Those are 3 and 4, since 3 × 4 = 12 and 3 + 4 = 7, giving (x + 3)(x + 4). Test a value to check: at x = 1, 12x² + 8x is 12 + 8 = 20, and 4x(3x + 2) is 4 × 5 = 20.

x²2x3x6x2

the middle term is the sum of the two strips: 2x + 3x = 5x

Make the middle term 7x

4a4bab44(a + b)
Take the shared 4 outside and the rest goes into the bracket. Full lesson: Factoring by Common Factor

To factor x² + bx + c, find two numbers that multiply to c and add to b. For x² + 8x + 15, 3 × 5 = 15 and 3 + 5 = 8, so it is (x + 3)(x + 5). See Factoring Quadratics.

x²3x2x6x3
2 × 3 = 6 and 2 + 3 = 5, so 2 and 3 are the numbers. Full lesson: Factoring Quadratics

With a number in front of x², the pair must multiply to a × c. For 2x² + 11x + 15 that is 30, and 5 + 6 = 11. Split the middle term as 6x + 5x and factor each pair: 2x(x + 3) + 5(x + 3). The bracket (x + 3) appears twice, so take it out: (2x + 5)(x + 3). See Factoring by Grouping and Factoring Quadratics with a Leading Coefficient.

factor each half
x(2x + 1) + 3(2x + 1)the shared bracket comes out(2x + 1)(x + 3)
Factor each half and the same bracket appears twice — pull it out, and done. Full lesson: Factoring Quadratics with a Leading Coefficient
A product tells you when the expression is zero: if two things multiply to 0, one of them is 0. That is why quadratic equations are solved by factoring.

Now you

a pair multiplying to −5, adding to 4

Factor x² + 4x − 5

a pair multiplying to −6, adding to 5

Factor x² + 5x − 6

The identities worth recognizing

Three expansions are worth knowing by sight. See Algebraic Identities.

a²ababb²ababa² + 2ab + b²
A square of side a + b holds a², two ab strips and b² — so the middle is 2ab. Full lesson: Algebraic Identities

A sum or difference of two cubes factors too: a³ + b³ = (a + b)(a² − ab + b²). See The Sum and Difference of Two Cubes. If two expressions are equal for every x, their x² terms, x terms and constant terms are each equal, which gives one equation per unknown. See Finding Unknown Coefficients by Matching.

What are the laws of indices?

An index counts how many copies of the base are multiplied together: 2³ = 2 × 2 × 2 = 8, not 6. The laws follow from that count. Multiplying powers of the same base adds the indices: x³ × x⁴ = x⁷, three copies beside four. Dividing subtracts them: x⁵ / x² = x³, because two copies cancel. So 2⁴ × 2² is 2⁶, and indeed 16 × 4 = 64. See Index Notation and Laws of Indices. The laws only apply when the bases match. 2³ × 3² cannot become a single power, so work each part out: 8 × 9 = 72. Adding breaks the laws too: 2³ + 2³ is not 2⁶, because 8 + 8 = 16, which is 2⁴. Before trusting a law on a new problem, try it on small numbers: 3² × 3 = 27, and 3 × 3 × 3 = 27.

aaaaaa²a³aᵐ × aⁿ = aᵐ⁺ⁿ: 2 + 3 = 5 copies of am = 2n = 3aᵐ × aⁿ(aᵐ)ⁿ

aᵐ × aⁿ puts 2 copies beside 3 copies in one row: 2 + 3 = 5 copies, so the indices add

Switch to (aᵐ)ⁿ with m = 3 and n = 4 and count the copies

2·2·22·22³ × 2² = 2⁵
3 copies of 2 beside 2 more copies makes 5 copies in all. Full lesson: Laws of Indices

A power of a power multiplies the indices: (x³)⁴ = x¹², four groups of three copies. See The Power of a Power Rule.

The subtraction rule gives 2³ / 2³ = 2⁰, and division gives 8 ÷ 8 = 1, so 2⁰ = 1. One step further, 2² / 2³ = 2⁻¹ = 1/2: a negative index means one over the power. See Zero and Negative Indices.

value2³82²42¹2
Step the index down by 1 and the value halves each time. Full lesson: Zero and Negative Indices
Multiplying two by itself zero times has no meaning, so 2⁰ = 1 is not read off the definition. It is the value that keeps the index laws true, and negative and fractional indices are defined the same way.

A square root undoes squaring, so √25 = 5; a cube root undoes cubing, so ∛27 = 3. See Squares and Square Roots and Cubes and Cube Roots.

A fractional index is a root: x^(1/2) × x^(1/2) = x¹, so x^(1/2) is the square root of x, and 8^(2/3) = (∛8)² = 4. See Fractional Indices.

3·33 × 3 = 9, so 9^½ = 3
So 9^½ = 3, the number that squares to 9. Full lesson: Fractional Indices

A power is worked out after brackets and before multiplying, so 3 × 2² = 12, not 36. See Powers in the Order of Operations.

Now you

5·55·5·5·5

5^2 × 5^4 = 5 to the power of what?

5·5·5·5·5·5

5^6 / 5^3 = 5 to the power of what?

Standard form

Standard form writes a number as a value from 1 up to 10 times a power of ten: 4,700,000 = 4.7 × 10⁶ and 0.00032 = 3.2 × 10⁻⁴. See Standard Form.

4.7each digit three places left4700 = 4.7 × 1000three tens multiplied together
the power counts the places
Three places is × 1000, and 1000 = 10³, so 4700 = 4.7 × 10³. Full lesson: Standard Form

To multiply, multiply the front numbers and add the powers, then bring the front number back below 10: (3 × 10⁵) × (4 × 10³) = 12 × 10⁸ = 1.2 × 10⁹. See Calculating in Standard Form.

a front of 30 is too big
one ten moves into the power
If the front grows past 10, hand a ten to the power: 30 × 10⁸ is 3 × 10⁹. Full lesson: Calculating in Standard Form

What is a surd?

A surd, also called a radical, is a root that is not a whole number or a fraction. Its decimal never stops, so √2 is exact and 1.414 is only an approximation. To simplify a surd, split the number into a square factor and what is left, then take the root of the square: √12 = √4 × √3 = 2√3. For √50, the largest square factor is 25, so √50 = √25 × √2 = 5√2. The root of a product is the product of the roots, which is why the split is allowed. See Radicals. Always use the largest square factor; splitting √72 as √4 × √18 leaves a square inside √18, and the work must go on to 6√2. A sum never splits this way: √9 + √16 is 3 + 4 = 7, but √(9 + 16) is √25, which is 5. Check a simplified surd by squaring it: 5√2 squared is 25 × 2 = 50, the number you started with.

side = 64^(1/2) = 8area 64(64^(1/2))^1 = 8^1 = 8(64^1)^(1/2) = 64^(1/2) = 864^(1/2) = 8x = 8x = 64p = 1p = 2p = 3q = 2q = 3

the denominator q = 2 takes a root and the numerator p = 1 is a power; root first or power first, both routes give the same value

Set x = 8, p = 2, q = 3 and compare the two routes

×
the square part comes out as a whole number
The square part comes out of the root, and the rest stays in. Full lesson: Radicals

Surds with the same root add like terms: 2√3 + 5√3 = 7√3, while √2 + √3 stays as it is. Multiplying joins the roots: √2 × √8 = √16 = 4. See Adding and Multiplying Surds.

the numbers multiply under one root
4
Multiplying joins the roots: √2 × √8 = √16 — and √16 is exactly 4. Full lesson: Adding and Multiplying Radicals

To rationalize a denominator, multiply the numerator and the denominator by the root: 1/√3 = √3/3. If the denominator is 2 + √5, multiply both by 2 − √5 instead; the difference of two squares makes the denominator 4 − 5 = −1, so 1/(2 + √5) = √5 − 2. See Rationalizing the Denominator.

a root times itself is the number
2
In the denominator, √2 × √2 is exactly 2. The root is gone, which was the point. Full lesson: Rationalizing the Denominator

Now you

what does this come to?

Simplify √20

what does this come to?

Simplify √63

Algebraic fractions

An algebraic fraction follows the ordinary fraction rules, with one extra step: factor before you cancel, because only a factor of the whole numerator and denominator can be canceled: (x² − 9)/(x + 3) = (x + 3)(x − 3)/(x + 3) = x − 3. See Algebraic Fractions.

write both as factors
the shared 3 and x cancel
1 ÷ 2
What is left is one half, and only a whole factor could be canceled. Full lesson: Algebraic Fractions

Adding needs a common denominator, just as 1/2 + 1/3 does: 1/x + 1/y = (x + y)/xy. See Adding and Multiplying Algebraic Fractions.

One expression, simplified step by step

Simplify (2x²y³)³ / (4x⁴y²). Work the bracket first, then the numbers, then each letter.

−10123456xx²2xx² = 1, 2x = 2x = 1: ≠5x + 4 = 2x + 19x² = 2x ?

x = 1: x² = 1 and 2x = 2, different, so x² and 2x are not equivalent, whatever happened at x = 2; a disagreement at one x is a proof, an agreement at one x is not

Find every x where the two sides agree

  1. Expand the power. The index outside applies to every factor inside, including the 2: (2x²y³)³ = 8x⁶y⁹.
  2. Divide the numbers: 8 ÷ 4 = 2.
  3. Subtract the indices, letter by letter: x⁶ / x⁴ = x² and y⁹ / y² = y⁷.
  4. Write the answer: 2x²y⁷.

Check by substitution. With x = 1 and y = 2, the original gives 16³ / 16 = 256 and the answer gives 2 × 128 = 256. One agreement does not prove the answer, but a disagreement proves a mistake.

and 2x: equal at x = 2
one match is not equivalence
x = 3: 9 against 6
Agreeing at one x proves nothing: x² and 2x meet at x = 2. Algebra covers every x. Full lesson: Recognizing Equivalent Expressions

The four mistakes worth naming

Where this leads next

These rules are the tools for solving equations, the subject of equations and inequalities. Whether a root is irrational is settled in number theory, and the arithmetic these rules generalize is in arithmetic methods.

Related guides: Ratio, Rates and Proportion.

Your turn

Three to try — tap what you get.

Simplify 3a + 2a − a

2³ × 2²

√81

Questions and answers

What are like terms?
Like terms have exactly the same letters raised to exactly the same powers, so only their number in front differs. 3x and 5x are like terms and add to 8x; 3x and 3x squared are not, and neither are 3x and 3y. The rule is the same one as adding fractions or lengths: you can only add counts of identical things.
How do you expand two brackets?
Multiply every term in the first bracket by every term in the second, then collect like terms. For (x + 3)(x + 5): x times x is x squared, x times 5 is 5x, 3 times x is 3x, and 3 times 5 is 15, giving x squared + 8x + 15. Four products for two binomials, and a grid keeps track of them without any acronym.
Why does anything to the power zero equal 1?
Because dividing powers subtracts the indices, and any number divided by itself is 1. Take 2 cubed divided by 2 cubed: the subtraction rule gives 2 to the power zero, and the division gives 8 over 8, which is 1. So 2 to the power zero must be 1 for the index laws to stay consistent. The same argument makes negative indices reciprocals.
What does a fractional index mean?
A fractional index is a root: x to the power one half is the square root of x, and x to the power one third is the cube root. It follows from the power-of-a-power rule, since raising x to the half and then squaring it gives x to the power one. So 8 to the power two thirds is the cube root of 8 squared, which is 4.
How do you rationalise a denominator?
Multiply the top and the bottom by whatever clears the root from the bottom. For 1 over root 3, multiply both by root 3 to get root 3 over 3. When the bottom is a sum such as 2 + root 5, multiply by 2 - root 5 instead: the difference of two squares turns the bottom into 4 - 5, which is a whole number.
How do you factor a quadratic?
For x squared + bx + c, find two numbers that multiply to c and add to b, then write the brackets from them. For x squared + 8x + 15, the numbers 3 and 5 multiply to 15 and add to 8, so it factors as (x + 3)(x + 5). Expanding the answer back is a complete check and takes a few seconds.
Mr. Chalk