Quarry School

College Algebra / Linear and rational equations

Linear and rational equations

Subject: Mathematics

All 5 lessons, in order.

The unit at a glance

  1. Solving a linear equation

    An equation says that two expressions are equal, and a solution is a value of the variable that makes the statement true.

  2. One solution, none, or every number

    Most linear equations have exactly one solution.

  3. Linear equations with fractions

    An equation such as x2 + x3 = 10 is easier once its fractions are gone.

  4. Rational equations

    A rational equation is built from fractions of polynomials and has the variable in at least one denominator, as in 12x = 3.

  5. Solving a formula for one variable

    A formula ties several quantities together: d = rt says distance is rate times time.

Rules (5)
  • Solving a linear equation

    Adding or subtracting the same number on both sides, or the same expression that is defined for every real number (such as 3x), or multiplying or dividing both sides by the same nonzero number, gives an equivalent equation: one with exactly the same solutions. A linear equation ax + b = 0 with a ≠ 0 has exactly one solution, x = −ba.

  • One solution, none, or every number

    A linear equation in x simplifies to one of three forms. ax = b with a ≠ 0: conditional, with the one solution x = ba. 0 = 0: an identity, true for every real number. 0 = c with c ≠ 0: inconsistent, with no solution.

  • Linear equations with fractions

    When the denominators of an equation are positive whole numbers, multiplying every term on both sides by their least common denominator, which is their least common multiple, gives an equivalent equation with no fractions.

  • Rational equations

    In a rational equation, the values that make any denominator 0 are excluded. For every other value, multiplying both sides by the least common denominator gives an equation with the same solutions. So the solutions are the solutions of the cleared equation that are not excluded values.

  • Solving a formula for one variable

    Every formula in this unit can be rewritten as M · v = N, where v is the chosen variable and the expressions M and N do not hold v. Reach that form with the equation-solving steps, every other letter treated as a known number. When M ≠ 0, v = NM, and the condition M ≠ 0 is stated with the answer. When M = 0 the formula does not fix v: every value of v that the setting allows works if N is 0 as well, and none works otherwise.

Recipes (5)
  • Solving a linear equation
    1. Remove parentheses by distributing, and combine like terms on each side.
    2. Add or subtract on both sides to collect the variable terms on one side and the number terms on the other.
    3. If the coefficient of the variable is not 0, divide both sides by it. If the variable cancels, the statement left is true for every number (an identity) or false for every number (no solution).
    4. Check by putting the value into the original equation and working out each side.
  • One solution, none, or every number
    1. Simplify each side: distribute and combine like terms.
    2. Collect the variable terms on one side.
    3. If a variable term is left with a nonzero coefficient, finish solving: one solution.
    4. If the variable is gone, read the statement that is left: true means every real number is a solution, false means there is none.
  • Linear equations with fractions
    1. Find the LCD of all the denominators.
    2. Multiply every term on both sides by the LCD, putting parentheses around any numerator that has more than one term.
    3. Simplify each term; the denominators divide out.
    4. Solve the linear equation that is left, and check in the original equation.
  • Rational equations
    1. Set each denominator equal to 0 to find the excluded values, and write them down.
    2. Find the LCD: the least common multiple of the number parts, times each different variable factor that appears in a denominator (the denominators in this unit have no repeated variable factors). Multiply every term on both sides by it.
    3. Solve the equation that is left.
    4. Throw away any candidate that is an excluded value, and check the others in the original equation.
  • Solving a formula for one variable
    1. Name the variable to solve for; treat every other letter as a known number.
    2. Clear fractions and remove parentheses if that brings the chosen variable into the open.
    3. Collect every term that holds the chosen variable on one side; if there are two or more, factor the variable out.
    4. Divide both sides by whatever multiplies the chosen variable, and state that it must be nonzero. If it is 0, the chosen variable is not fixed: every allowed value works when the other side is 0 as well, and none works otherwise.
    5. Check by putting the new expression for the chosen variable back into the original formula and simplifying: the two sides should become the same for every allowed value. A set of numbers makes a quick spot check as well.
Traps (5)
  • Solving a linear equation

    Doing an operation to only part of a side. Dividing both sides of 2x + 6 = 10 by 2 has to divide every term: x + 3 = 5, so x = 2. Writing x + 6 = 5 divides the 2x and the 10 and skips the 6, and its answer x = −1 fails the check, since 2 · (−1) + 6 = 4.

  • One solution, none, or every number

    Reading x = 0 as “no solution”. Zero is a number, so an equation whose solving ends at x = 0 has one solution, the number 0. For a linear equation, “no solution” is the answer when the variable disappears and a false statement such as 9 = 6 is left.

  • Linear equations with fractions

    Multiplying only the fractions by the LCD. Every term on both sides has to be multiplied. For x2 + 1 = x3, multiplying by 6 gives 3x + 6 = 2x, so x = −6; writing 3x + 1 = 2x leaves the 1 unmultiplied and gives x = −1, which fails the check: −12 + 1 = 12, while −13 is not 12.

  • Rational equations

    Skipping the comparison with the excluded values. Clearing denominators can produce a number that makes a denominator of the original equation 0. Such a number is not a solution, however carefully the algebra after the clearing was done.

  • Solving a formula for one variable

    Leaving the chosen variable on both sides. From A = P + Prt, writing P = A − Prt has not solved for P, because P still appears on the right. Factor P out of every term that holds it, then divide.

Lesson 1 of 5

Solving a linear equation

Subject: MathematicsLeans on: The distributive propertyLeans on: Like termsOpen this lesson
Leans on 0Comes back in 0

1 In plain words

An equation says that two expressions are equal, and a solution is a value of the variable that makes the statement true. To solve 3x + 5 = 20, do the same thing to both sides until x stands alone: subtract 5 from both sides to get 3x = 15, then divide both sides by 3 to get x = 5. It is like a balance scale with equal weights in its two pans: take the same weight off both pans, or halve what is in both pans, and the scale stays level.

2 Picture it

3x + 5 = 20

subtract 5 from both sides: 3x = 15

divide both sides by 3: x = 5

Reminder

Reminder: The distributive property, Like terms
  • The distributive property. a(b+c)=ab+ac:3(2x−1)=6x−3.
  • Like terms. Terms with the same variable part combine: 6x − 4x = 2x.

3 Why

Adding the same number to both sides of a true equation keeps it true, and the step can be undone by subtracting that number again, so the new equation has exactly the same solutions as the old one. Multiplying or dividing both sides by the same nonzero number works the same way. Zero is ruled out because multiplying by 0 cannot be undone: it turns a linear equation such as 3x + 5 = 20 into 0 = 0, which every real number satisfies.

4 The rule

Adding or subtracting the same number on both sides, or the same expression that is defined for every real number (such as 3x), or multiplying or dividing both sides by the same nonzero number, gives an equivalent equation: one with exactly the same solutions.

A linear equation ax+b=0 with a≠0 has exactly one solution, x=−ba.

The same idea, other ways

Undo in reverse order

In 3x + 5 = 20, x was multiplied by 3 and then 5 was added. Undo the last operation first: subtract 5 from both sides, then divide both sides by 3.

3x + 5 = 20

3x = 15

x = 5

The variable on both sides

In 5x + 2 = 3x − 6, collect the x-terms on one side. Subtract 3x from both sides: 2x + 2 = −6. Subtract 2 from both sides: 2x = −8. Divide both sides by 2: x = −4.

Parentheses first

In 2(x − 3) + 4 = 10, distribute the 2 before anything else: 2x − 6 + 4 = 10, which is 2x − 2 = 10. Add 2 to both sides: 2x = 12. Divide both sides by 2: x = 6.

As a graph

The solution of 2x − 6 = 0 is the x-value where the line y = 2x − 6 has height 0, the point where it crosses the x-axis. That happens at x = 3.

(0, −6)(3, 0)246−8−44
The line y = 2x − 6 crosses the x-axis at x = 3, the solution of 2x − 6 = 0.

5 How

  1. Remove parentheses by distributing, and combine like terms on each side.
  2. Add or subtract on both sides to collect the variable terms on one side and the number terms on the other.
  3. If the coefficient of the variable is not 0, divide both sides by it. If the variable cancels, the statement left is true for every number (an identity) or false for every number (no solution).
  4. Check by putting the value into the original equation and working out each side.

6 Worked example

Worked example

The plumber's bill

A plumber charges a $45 call-out fee plus $60 for each hour of work, with part of an hour charged in proportion. A bill comes to $225. How many hours did the job take? In plain words: the fee plus 60 times the hours equals 225.

Show the steps and the answer
  1. 45+60h=225, where h is the number of hours.The bill is the fixed fee plus $60 for each of the h hours.
  2. 60h=180.Subtracting 45 from both sides removes the fee and leaves the charge for the hours alone.
  3. h=3.Dividing both sides by 60 turns the charge for the hours into the number of hours.
Answer
3 hours
Double-check 45 + 60 · 3 = 45 + 180 = 225, the bill.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Two steps

Solve 4x − 7 = 21.

Show the steps and the answer
  1. 4x=28.Adding 7 to both sides undoes the subtraction of 7.
  2. x=7.Dividing both sides by 4 undoes the multiplication by 4.
Answer
x = 7
Double-check 4·7−7=28−7=21.

Rung 2 of 4

The variable on both sides

Solve 9x − 13 = 4x + 22.

Show the steps and the answer
  1. 5x−13=22.Subtracting 4x from both sides leaves x-terms on the left only.
  2. 5x=35.Adding 13 to both sides leaves the x-term alone on the left.
  3. x=7.Dividing both sides by 5 leaves x alone.
Answer
x = 7
Double-check Left side: 9 · 7 − 13 = 50. Right side: 4 · 7 + 22 = 50. The sides agree.

Rung 3 of 4

Parentheses

Solve 3(2x − 1) − 4x = 9.

Show the steps and the answer
  1. 6x−3−4x=9.The 3 multiplies both terms inside the parentheses: 3 · 2x = 6x and 3 · (−1) = −3.
  2. 2x−3=9.6x and −4x are like terms, and 6x − 4x = 2x.
  3. 2x=12, so x=6.Adding 3 to both sides and then dividing both sides by 2 leaves x alone.
Answer
x = 6
Double-check 3(2·6−1)−4·6=3·11−24=33−24=9.

Rung 4 of 4

Decimals

Solve 0.2x + 1.5 = 0.5x − 0.6.

Show the steps and the answer
  1. 1.5=0.3x−0.6.Subtracting 0.2x from both sides collects the x-terms on the right, where the coefficient stays positive.
  2. 2.1=0.3x.Adding 0.6 to both sides leaves the x-term alone.
  3. x=7.Dividing both sides by 0.3 gives 2.1 ÷ 0.3 = 7.
Answer
x = 7
Double-check Left side: 0.2 · 7 + 1.5 = 1.4 + 1.5 = 2.9. Right side: 0.5 · 7 − 0.6 = 3.5 − 0.6 = 2.9. The sides agree.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: From 3x + 5 = 20, 3x = 25.
The 5 was added to the right side when it should have been subtracted from both sides: undoing + 5 means subtracting 5.
✓ Instead: 3x = 15, so x = 5.
✗ Not this: From −2x = 8, x = 4.
Both sides are divided by −2, and 8 ÷ (−2) is −4.
✓ Instead: x = −4; check: −2 · (−4) = 8.

Tips and tricks

  • Do the same thing to both sides.
  • Undo the last operation first.
  • Check in the original equation.

7 The trap

Doing an operation to only part of a side. Dividing both sides of 2x + 6 = 10 by 2 has to divide every term: x + 3 = 5, so x = 2. Writing x + 6 = 5 divides the 2x and the 10 and skips the 6, and its answer x = −1 fails the check, since 2 · (−1) + 6 = 4.

Flash cards

Say the answer out loud, then flip.

What is a solution of an equation?
A value of the variable that makes the equation a true statement.
Solve 2x + 9 = 1.
2x = −8, so x = −4.
Why can both sides of a linear equation not be multiplied by 0 when solving?
It turns the equation into 0 = 0, which every real number satisfies. Unless the original equation was an identity, that is a different solution set, and the step cannot be undone.

Lesson 2 of 5

One solution, none, or every number

Subject: MathematicsLeans on: Parallel linesLeans on: DistributingOpen this lesson
Leans on 1Comes back in 0

1 In plain words

Most linear equations have exactly one solution. Sometimes, though, the variable disappears while you solve. If what is left is a true statement, such as 4 = 4, the equation is true for every real number, and it is called an identity. If what is left is a false statement, such as 9 = 6, no number makes the equation true, and it is called inconsistent. An equation with some solutions that is not an identity is conditional. It is like comparing taxi fares. A company that charges $3 plus $2 a mile and one that charges $5 plus $1 a mile cost the same at exactly one distance, 2 miles. A company compared with itself costs the same at every distance. And two companies with the same rate per mile and different starting fees never cost the same.

2 Picture it

x = 6: one solution

4 = 4: every real number

9 = 6: no solution

Reminder

Reminder: Parallel lines, Distributing
  • Parallel lines. Lines with the same slope and different y-intercepts never meet: y = 2x + 9 and y = 2x + 6.
  • Distributing. 2(x + 3) = 2x + 6: the 2 multiplies both terms.

3 Why

Each solving step gives an equivalent equation, so the last line has the same solutions as the first. If the last line is x = 6, only 6 works. If it is 4 = 4, the statement is true and does not mention x, so nothing about x can make it false: every real number works. If it is 9 = 6, the statement is false and nothing about x can make it true: no number works.

4 The rule

A linear equation in x simplifies to one of three forms.

ax=b with a≠0: conditional, with the one solution x=ba. 0=0: an identity, true for every real number. 0=c with c≠0: inconsistent, with no solution.

The same idea, other ways

Conditional

6x − 2 = 4x + 10: subtract 4x from both sides and add 2 to both sides to get 2x = 12, so x = 6. One solution.

An identity

4(x + 1) = 4x + 4: distributing gives 4x + 4 = 4x + 4. Subtracting 4x from both sides leaves 4 = 4, true whatever x is. Every real number is a solution.

Inconsistent

2x + 9 = 2(x + 3): distributing gives 2x + 9 = 2x + 6. Subtracting 2x from both sides leaves 9 = 6, false whatever x is. There is no solution.

As two lines

Graph each side as a line. Lines with different slopes cross once: one solution. The same line drawn twice agrees everywhere: an identity. Parallel lines never meet: no solution.

−6−4−224−4481216
The lines y = 2x + 9 (solid) and y = 2x + 6 (dashed) are parallel, so 2x + 9 = 2x + 6 has no solution.

5 How

  1. Simplify each side: distribute and combine like terms.
  2. Collect the variable terms on one side.
  3. If a variable term is left with a nonzero coefficient, finish solving: one solution.
  4. If the variable is gone, read the statement that is left: true means every real number is a solution, false means there is none.

6 Worked example

Worked example

Three equations, three answers

Solve each equation: (a) 3(x − 2) = 3x − 6; (b) 5x − 15 = 5(x − 4); (c) 4x + 3 = x + 15. In plain words: simplify each, and see whether the variable stays.

Show the steps and the answer
  1. (a) 3x−6=3x−6, so −6=−6.Distributing makes the two sides identical, and subtracting 3x from both leaves a true statement with no x in it.
  2. (b) 5x−15=5x−20, so −15=−20.Distributing and then subtracting 5x from both sides leaves a false statement with no x in it.
  3. (c) 3x+3=15, so 3x=12 and x=4.Subtracting x from both sides gives 3x + 3 = 15, subtracting 3 from both sides gives 3x = 12, and dividing both sides by 3 gives x = 4. An x-term with a nonzero coefficient stayed, so the equation has one solution.
Answer
  • (a) every real number
  • (b) no solution
  • (c) x = 4
Double-check (a) Distributing the left side gives 3x − 6, which is the right side, so the two sides are equal for every real x; for instance, both are −6 at x = 0. (b) At x = 0 the sides are −15 and −20, and the left side stays 5 more than the right for every x. (c) 4 · 4 + 3 = 19 and 4 + 15 = 19.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

An identity

The two sides of an equation are 6(x − 4) + 3 and 6x − 21. For which values of x are they equal?

Show the steps and the answer
  1. 6x−21=6x−21.The 6 multiplies both terms in the parentheses, and −24 + 3 = −21, which makes the left side the same expression as the right.
  2. −21=−21.Subtracting 6x from both sides removes the variable and leaves a true statement.
Answer
every real number
Double-check At x = 1: 6(1 − 4) + 3 = −15 and 6 · 1 − 21 = −15. At x = 10: 6 · 6 + 3 = 39 and 60 − 21 = 39. The two sides are the same expression, so they agree for every x.

Rung 2 of 4

No solution

Solve 7x − 3 = 7x + 1.

Show the steps and the answer
  1. −3=1.Subtracting 7x from both sides removes the variable from both sides at once.
  2. There is no solution.−3 = 1 is false and has no x in it, so no value of x can make the equation true.
Answer
no solution
Double-check The left side minus the right side is (7x − 3) − (7x + 1) = −4 for every x, so the sides are never equal: at x = 0 they are −3 and 1, and at x = 2 they are 11 and 15.

Rung 3 of 4

Zero is a solution

The two sides of an equation are 3(5x − 2) and 8x − 6. For which values of x are they equal?

Show the steps and the answer
  1. 15x−6=8x−6.The 3 multiplies both terms in the parentheses.
  2. 7x=0.Subtracting 8x from both sides and adding 6 to both sides leaves an x-term with the nonzero coefficient 7.
  3. x=0.Dividing both sides by 7 gives 0 ÷ 7 = 0, a number, so the equation has one solution.
Answer
x = 0
Double-check 3(5 · 0 − 2) = −6 and 8 · 0 − 6 = −6.

Rung 4 of 4

Choose the constant

For which value of c is 6x + c = 3(2x − 7) an identity, and what happens for every other c?

Show the steps and the answer
  1. 6x+c=6x−21.Distributing the 3 on the right gives 6x − 21.
  2. c=−21 after subtracting 6x from both sides.With the x-terms gone, the statement left is c = −21, which is true only when c is −21.
  3. For c=−21 the equation is an identity; for any other c it has no solution.A true statement with no x holds for every x, and a false one holds for none.
Answer
  • c = −21 gives an identity
  • any other c gives no solution
Double-check The left side minus the right side is (6x + c) − (6x − 21) = c + 21 for every x: it is 0 when c = −21 and is not 0 for any other c. With c = 0, for example, the sides are 6x and 6x − 21, which differ by 21 for every x.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: 5x − 15 = 5x − 20 simplifies to −15 = −20, so the solutions are x = −15 and x = −20.
The statement −15 = −20 has no x in it and is false, so it says that no value of x works; the numbers in it are not values of x.
✓ Instead: No solution.
✗ Not this: 4(x + 1) = 4x + 4 simplifies to 0 = 0, so x = 0.
0 = 0 is a true statement that does not mention x. It does not say that x is 0.
✓ Instead: Every real number is a solution.

Tips and tricks

  • Variable left with a nonzero coefficient: one solution.
  • Variable gone, true statement: every real number.
  • Variable gone, false statement: no solution.

7 The trap

Reading x = 0 as “no solution”. Zero is a number, so an equation whose solving ends at x = 0 has one solution, the number 0. For a linear equation, “no solution” is the answer when the variable disappears and a false statement such as 9 = 6 is left.

Flash cards

Say the answer out loud, then flip.

What is an identity?
  • An equation that is true for every value of the variable for which both sides are defined
  • for a linear equation, every real number.
Solving a linear equation ends at 3 = 8. How many solutions?
None: the statement is false whatever x is.
Solving a linear equation ends at x = 0. How many solutions?
One: the number 0.

Lesson 3 of 5

Linear equations with fractions

Subject: MathematicsLeans on: Least common multipleLeans on: Subtracting a groupOpen this lesson
Leans on 0Comes back in 0

1 In plain words

An equation such as x2 + x3 = 10 is easier once its fractions are gone. Multiply both sides by a positive whole number that every denominator divides into, and each fraction turns into a whole-number multiple. The smallest such positive number is the least common denominator, the LCD. Here the LCD of 2 and 3 is 6: multiplying every term by 6 gives 3x + 2x = 60, so 5x = 60 and x = 12. It is like pricing in cents when prices come in halves and quarters of a dollar: after one multiplication, every amount is a whole number.

2 Picture it

x2+x3=10

multiply every term by 6: 3x + 2x = 60

x = 12

Reminder

Reminder: Least common multiple, Subtracting a group
  • Least common multiple. The smallest positive number that two numbers both divide into: for 4 and 6 it is 12.
  • Subtracting a group. −(x − 3) = −x + 3: the minus sign changes the sign of every term inside.

3 Why

Multiplying both sides of an equation by the same nonzero number gives an equivalent equation. The LCD is a multiple of every denominator, so in each term the denominator divides into it exactly and no fraction is left. A common denominator that is not the least one works as well and leaves larger numbers.

4 The rule

When the denominators of an equation are positive whole numbers, multiplying every term on both sides by their least common denominator, which is their least common multiple, gives an equivalent equation with no fractions.

The same idea, other ways

Finding the LCD

The LCD is the smallest positive number that every denominator divides into exactly. For 4 and 6 it is 12, since 12 = 4 · 3 = 6 · 2 and no smaller positive number is a multiple of both.

Every term

Multiply each term on both sides, the ones without fractions too. For x2 + 1 = x3, multiplying by 6 gives 3x + 6 = 2x: the 1 becomes 6.

A numerator with two terms

A fraction bar groups its numerator. In x+12 − x−34 = 2, multiplying by 4 gives 2(x + 1) − (x − 3) = 8: the minus sign applies to the whole of x − 3, so the left side is 2x + 2 − x + 3.

x+12−x−34=2

2(x+1)−(x−3)=8

2x+2−x+3=8

Two fractions set equal

When one fraction equals one fraction, as in x−25 = x+13, multiplying both sides by 15 gives 3(x − 2) = 5(x + 1). Each numerator ends up multiplied by the other side's denominator, which is called cross-multiplying.

5 How

  1. Find the LCD of all the denominators.
  2. Multiply every term on both sides by the LCD, putting parentheses around any numerator that has more than one term.
  3. Simplify each term; the denominators divide out.
  4. Solve the linear equation that is left, and check in the original equation.

6 Worked example

Worked example

Clearing two fractions

Solve x+12 − x−34 = 2. In plain words: multiply every term by 4, keeping each numerator grouped.

Show the steps and the answer
  1. 2(x+1)−(x−3)=8.The LCD of 2 and 4 is 4. Multiplying by 4 turns the first fraction into 2(x + 1), the second into (x − 3), and the right side into 8.
  2. 2x+2−x+3=8.Distributing the 2 and then the minus sign: −(x − 3) = −x + 3.
  3. x+5=8, so x=3.2x − x = x and 2 + 3 = 5; subtracting 5 from both sides leaves x alone.
Answer
x = 3
Double-check 3+12−3−34=42−04=2−0=2.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

One fraction

Solve x7 − 2 = 4.

Show the steps and the answer
  1. x7=6.Adding 2 to both sides leaves the fraction alone on the left.
  2. x=42.x was divided by 7, and multiplying both sides by 7 undoes that: 6 · 7 = 42.
Answer
x = 42
Double-check 427−2=6−2=4.

Rung 2 of 4

Two fractions

Solve x4 + x6 = 15.

Show the steps and the answer
  1. 3x+2x=180.The LCD of 4 and 6 is 12, and multiplying every term by 12 gives 12 · x4 = 3x, 12 · x6 = 2x and 12 · 15 = 180.
  2. 5x=180, so x=36.3x and 2x are like terms; dividing both sides by 5 leaves x alone.
Answer
x = 36
Double-check 364+366=9+6=15.

Rung 3 of 4

Fractions on both sides

Solve 3x4 − 13 = x12 + 5.

Show the steps and the answer
  1. 9x−4=x+60.The LCD of 4, 3 and 12 is 12. Multiplying every term by 12 gives 12 · 3x4 = 9x, 12 · 13 = 4, 12 · x12 = x and 12 · 5 = 60.
  2. 8x=64.Subtracting x from both sides and adding 4 to both sides collects the x-terms on the left and the numbers on the right.
  3. x=8.Dividing both sides by 8 leaves x alone.
Answer
x = 8
Double-check Left side: 244 − 13 = 6 − 13 = 173. Right side: 812 + 5 = 23 + 153 = 173. The sides agree.

Rung 4 of 4

Cross-multiply

Solve x−25 = x+13.

Show the steps and the answer
  1. 3(x−2)=5(x+1).Multiplying both sides by 15, the LCD of 5 and 3, leaves each numerator multiplied by the other side's denominator.
  2. 3x−6=5x+5.Each number outside multiplies both terms in its parentheses.
  3. −2x=11, so x=−112.Subtracting 5x from both sides and adding 6 to both sides gives −2x = 11; dividing both sides by −2 gives a negative answer.
Answer
x=−112
Double-check At x = −5.5: −5.5−25 = −7.55 = −1.5 and −5.5+13 = −4.53 = −1.5. The sides agree.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x+12 − x−34 = 2 becomes 2(x + 1) − x − 3 = 8.
The minus sign in front of the second fraction applies to its whole numerator, x − 3.
✓ Instead: 2(x + 1) − (x − 3) = 8, which is 2x + 2 − x + 3 = 8.
✗ Not this: From x3 = 5, x = 53.
x was divided by 3, and dividing again does not undo a division; multiplying does.
✓ Instead: x = 5 · 3 = 15.

Tips and tricks

  • Multiply every term by the LCD.
  • Keep each numerator in parentheses.
  • Check in the original equation.

7 The trap

Multiplying only the fractions by the LCD. Every term on both sides has to be multiplied. For x2 + 1 = x3, multiplying by 6 gives 3x + 6 = 2x, so x = −6; writing 3x + 1 = 2x leaves the 1 unmultiplied and gives x = −1, which fails the check: −12 + 1 = 12, while −13 is not 12.

Flash cards

Say the answer out loud, then flip.

What is the LCD of the denominators 2, 3 and 4?
12.
Multiply every term of x9 + 4 = 7 by 9.
x + 36 = 63.
Solve x5 = 4.
x = 20.

Lesson 4 of 5

Rational equations

Subject: MathematicsLeans on: Division by zeroLeans on: Clearing fractionsOpen this lesson
Leans on 1Comes back in 0

1 In plain words

A rational equation is built from fractions of polynomials and has the variable in at least one denominator, as in 12x = 3. Division by 0 has no meaning, so any value of the variable that makes a denominator 0 is ruled out before the solving starts: it is an excluded value. Then clear the denominators with the LCD as before and solve. If an answer turns out to be an excluded value, it is thrown away; it is called an extraneous solution. It is like splitting a bill among x people: 120x dollars each makes sense for 4 people or for 5, and makes no sense for 0 people.

2 Picture it

1. write the excluded values

2. multiply every term by the LCD

3. solve

4. drop any excluded candidate and check the others

Reminder

Reminder: Division by zero, Clearing fractions
  • Division by zero. 50 has no value: no number times 0 gives 5.
  • Clearing fractions. Multiply every term on both sides by the LCD: x2 + 1 = 4 becomes x + 2 = 8.

3 Why

The original equation has a meaning only where none of its denominators is 0: a zero denominator leaves its side undefined, and with it the equation. For every such x the LCD is a nonzero number, so multiplying both sides by it gives an equation with the same solutions among those x. The cleared equation has no denominators, so it can also be tested at the excluded values, where the original equation says nothing. A solution of the cleared equation found there, as x = 3 is for xx−3 = 3x−3 + 2, is not a solution of the original. That is why the candidates are compared with the excluded values.

4 The rule

In a rational equation, the values that make any denominator 0 are excluded.

For every other value, multiplying both sides by the least common denominator gives an equation with the same solutions. So the solutions are the solutions of the cleared equation that are not excluded values.

The same idea, other ways

Excluded values first

Set each denominator equal to 0 and solve. In 5x+2 = 3x the denominators are x + 2 and x, so x = −2 and x = 0 are excluded. Write them down before doing anything else.

Clear with the LCD

For the denominators in this unit, the LCD is the least common multiple of the number parts times each different variable factor. For 2x + 13 = 52x, with denominators x, 3 and 2x, it is 6x. Multiplying every term by 6x gives 12 + 2x = 15, with no fractions left.

Cross-multiplying

When one fraction equals one fraction, ab = cd with b and d not 0, multiplying both sides by bd gives ad = bc. So 5x+2 = 3x becomes 5x = 3(x + 2).

An answer that does not count

In xx−3 = 3x−3 + 2, the value x = 3 is excluded. Multiplying every term by x − 3 gives x = 3 + 2(x − 3), which simplifies to x = 3. The only candidate is the excluded value, so the equation has no solution.

xx−3=3x−3+2,x≠3

x=3+2(x−3)

x = 3: excluded, so no solution

5 How

  1. Set each denominator equal to 0 to find the excluded values, and write them down.
  2. Find the LCD: the least common multiple of the number parts, times each different variable factor that appears in a denominator (the denominators in this unit have no repeated variable factors). Multiply every term on both sides by it.
  3. Solve the equation that is left.
  4. Throw away any candidate that is an excluded value, and check the others in the original equation.

6 Worked example

Worked example

Two hoses, one pool

One hose fills a pool in 6 hours and a second hose fills it in 3 hours, each at a steady rate. Running together, how long do they take to fill the pool? In plain words: in one hour the first fills 16 of the pool and the second 13, and together they fill 1 over the time t.

Show the steps and the answer
  1. 16+13=1t, with t≠0.Each hose's share of the pool in one hour adds to the share the two fill together in one hour, which is 1t when the whole job takes t hours; t = 0 would put 0 in a denominator.
  2. t+2t=6.The LCD of 6, 3 and t is 6t, and multiplying every term by 6t gives 6t · 16 = t, 6t · 13 = 2t and 6t · 1t = 6.
  3. 3t=6, so t=2.t and 2t are like terms; dividing both sides by 3 leaves t alone, and 2 is not the excluded value 0.
Answer
2 hours
Double-check 16 + 13 = 16 + 26 = 36 = 12, which is 1t at t = 2. In 2 hours the first hose fills 26 of the pool and the second 23, and 13 + 23 = 1 whole pool.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

One denominator

Solve 12x = 3.

Show the steps and the answer
  1. x≠0.The denominator x would be 0 at x = 0, so 0 is excluded.
  2. 12=3x.Multiplying both sides by x clears the denominator.
  3. x=4.Dividing both sides by 3 leaves x alone, and 4 is not the excluded value.
Answer
x = 4
Double-check 124=3.

Rung 2 of 4

Cross-multiply

Solve 5x+2 = 3x.

Show the steps and the answer
  1. x≠−2 and x≠0.x + 2 is 0 at x = −2, and x is 0 at x = 0.
  2. 5x=3(x+2).Multiplying both sides by x(x + 2), the LCD, leaves each numerator multiplied by the other side's denominator.
  3. 5x=3x+6, so 2x=6 and x=3.Distributing the 3, subtracting 3x from both sides and dividing both sides by 2; 3 is not an excluded value.
Answer
x = 3
Double-check 53+2 = 55 = 1 and 33 = 1. The sides agree.

Rung 3 of 4

An LCD with a number and a letter

Solve 2x + 13 = 52x.

Show the steps and the answer
  1. x≠0.Both x and 2x are 0 at x = 0, and 3 is never 0.
  2. 12+2x=15.The LCD of x, 3 and 2x is 6x. Multiplying every term by 6x gives 6x · 2x = 12, 6x · 13 = 2x and 6x · 52x = 15.
  3. 2x=3, so x=32.Subtracting 12 from both sides and dividing both sides by 2; 32 is not the excluded value.
Answer
x=32
Double-check At x = 1.5: 21.5 + 13 = 43 + 13 = 53, and 52·1.5 = 53. The sides agree.

Rung 4 of 4

No solution

Solve xx−3 = 3x−3 + 2.

Show the steps and the answer
  1. x≠3.The denominator x − 3 is 0 at x = 3.
  2. x=3+2(x−3).Multiplying every term by x − 3 clears both fractions and turns the 2 into 2(x − 3).
  3. x=2x−3, so x=3.3 + 2x − 6 = 2x − 3; subtracting 2x from both sides gives −x = −3, and dividing both sides by −1 gives x = 3.
  4. There is no solution.The only candidate, 3, is the excluded value, where the original equation has no meaning.
Answer
no solution
Double-check At x = 3 both fractions would have the denominator 0. For any other x, subtracting 3x−3 from both sides gives x−3x−3 = 2, which says 1 = 2, a false statement.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: xx−3 = 3x−3 + 2 has the solution x = 3.
At x = 3 the denominators are 0, so neither side of the original equation has a value there.
✓ Instead: The equation has no solution.
✗ Not this: Cross-multiplying 5x+2 = 3x gives 5(x + 2) = 3x.
Cross-multiplying pairs each numerator with the other side's denominator, not with its own.
✓ Instead: 5x = 3(x + 2), so x = 3.

Tips and tricks

  • Write the excluded values first.
  • Multiply every term by the LCD.
  • A candidate that is excluded is not a solution.

7 The trap

Skipping the comparison with the excluded values. Clearing denominators can produce a number that makes a denominator of the original equation 0. Such a number is not a solution, however carefully the algebra after the clearing was done.

Flash cards

Say the answer out loud, then flip.

What are the excluded values of 4x−1 = 2x+5?
x = 1 and x = −5, where a denominator is 0.
What is an extraneous solution?
  • When denominators are cleared, a solution of the cleared equation that is an excluded value of the original equation
  • it is not a solution of the original.
Solve 10x = 2.
  • x ≠ 0
  • 10 = 2x, so x = 5.

Lesson 5 of 5

Solving a formula for one variable

Subject: MathematicsLeans on: Factoring out a common factorLeans on: Dividing a sumOpen this lesson
Leans on 0Comes back in 0

1 In plain words

A formula ties several quantities together: d = rt says distance is rate times time. To solve a formula for a variable means to rewrite it with that variable alone on one side. Treat every other letter as if it were a known number and use the same steps as before. Dividing both sides of d = rt by r gives t = dr, which holds when r ≠ 0. It is like running a unit converter backwards: F = 1.8C + 32 turns a Celsius temperature into Fahrenheit, and the same formula solved for C turns Fahrenheit into Celsius.

2 Picture it

F−32=1.8C

C=F−321.8

Reminder

Reminder: Factoring out a common factor, Dividing a sum
  • Factoring out a common factor. ab + ac = a(b + c): P + Prt = P(1 + rt).
  • Dividing a sum. P−2l2 = P2 − l: every term of the numerator is divided.

3 Why

The letters in a formula stand for numbers, so everything that keeps an equation equivalent still applies: add or subtract the same expression on both sides, provided it has a value for every allowed value of the letters, and multiply or divide both sides by the same nonzero expression. Dividing by a letter is allowed only when it is not 0, which is why the condition is written next to the answer.

4 The rule

Every formula in this unit can be rewritten as M·v=N, where v is the chosen variable and the expressions M and N do not hold v.

Reach that form with the equation-solving steps, every other letter treated as a known number. When M≠0,v=NM, and the condition M≠0 is stated with the answer. When M=0 the formula does not fix v: every value of v that the setting allows works if N is 0 as well, and none works otherwise.

The same idea, other ways

The same moves

Solve P = 2l + 2w for w the way you would solve 16 = 10 + 2w. Subtract 2l from both sides: P − 2l = 2w. Divide both sides by 2: w = P−2l2.

With a fraction

To solve A = 12bh for h when b ≠ 0, multiply both sides by 2 to clear the fraction: 2A = bh. Then divide both sides by b: h = 2Ab.

The variable appears twice

In A = P + Prt, with 1 + rt ≠ 0, the letter P is in two terms. Factor it out: A = P(1 + rt). Then divide both sides by 1 + rt: P = A1+rt.

A = P + Prt

A = P(1 + rt)

P = A1+rt

5 How

  1. Name the variable to solve for; treat every other letter as a known number.
  2. Clear fractions and remove parentheses if that brings the chosen variable into the open.
  3. Collect every term that holds the chosen variable on one side; if there are two or more, factor the variable out.
  4. Divide both sides by whatever multiplies the chosen variable, and state that it must be nonzero. If it is 0, the chosen variable is not fixed: every allowed value works when the other side is 0 as well, and none works otherwise.
  5. Check by putting the new expression for the chosen variable back into the original formula and simplifying: the two sides should become the same for every allowed value. A set of numbers makes a quick spot check as well.

6 Worked example

Worked example

Fahrenheit to Celsius

The formula F = 1.8C + 32 gives the Fahrenheit temperature F for a Celsius temperature C. Solve it for C, and find the Celsius temperature when it is 86 °F. In plain words: undo the + 32, then undo the · 1.8.

Show the steps and the answer
  1. F−32=1.8C.Subtracting 32 from both sides undoes the last operation done to C.
  2. C=F−321.8.Dividing both sides by 1.8, which is not 0, leaves C alone.
  3. At F = 86: C=86−321.8=541.8=30.Putting 86 in for F; 54 ÷ 1.8 = 30.
Answer
  • C=F−321.8
  • 86 °F is 30 °C
Double-check Putting C = F−321.8 into the original formula gives 1.8 · F−321.8 + 32 = (F − 32) + 32 = F for every F. At C = 30 the original formula gives F = 1.8 · 30 + 32 = 54 + 32 = 86.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

One division

Solve d = rt for t, given that r ≠ 0.

Show the steps and the answer
  1. rt =d.Writing the formula with the side that holds t on the left changes nothing: an equation says the same read either way.
  2. t=dr.t is multiplied by r, and dividing both sides by r undoes that; the division is allowed because r ≠ 0.
Answer
t=dr
Double-check Putting t = dr into rt gives r · dr = d, the left side of the formula. For example, r = 60 and t = 2.5 give d = 150, and 15060 = 2.5 gives t back.

Rung 2 of 4

Two steps

Solve P = 2l + 2w for w.

Show the steps and the answer
  1. P−2l=2w.Subtracting 2l from both sides leaves the term with w alone.
  2. w=P−2l2.Dividing both sides by 2 leaves w alone; the whole of P − 2l is divided.
Answer
w=P−2l2
Double-check Putting w = P−2l2 into 2l + 2w gives 2l + (P − 2l) = P, the left side of the formula. For example, l = 5 and w = 3 give P = 10 + 6 = 16, and 16−102 = 3 gives w back.

Rung 3 of 4

A fraction and a sum

The area of a trapezoid is A = 12h(b + c), where b and c are the lengths of its parallel sides and h is its height, all positive. Solve for h.

Show the steps and the answer
  1. 2A=h(b+c).Multiplying both sides by 2 clears the fraction 12.
  2. h=2Ab+c.h is multiplied by the sum b + c, and dividing both sides by that sum leaves h alone; the lengths b and c are positive, so the sum is not 0.
Answer
h=2Ab+c
Double-check Putting h = 2Ab+c into 12h(b + c) gives 12 · 2A = A, the left side of the formula. For example, b = 3, c = 5 and h = 4 give A = 12 · 4 · 8 = 16, and 2·163+5 = 328 = 4 gives h back.

Rung 4 of 4

The variable appears twice

Solve A = P + Prt for P, given that 1 + rt ≠ 0.

Show the steps and the answer
  1. A=P(1+ rt).Both terms on the right hold the factor P, and P · 1 + P · rt = P(1 + rt).
  2. P=A1+rt.P is multiplied by 1 + rt, and dividing both sides by it leaves P alone; the division is allowed because 1 + rt ≠ 0.
Answer
P = A1+rt
Double-check Putting P = A1+rt into P + Prt = P(1 + rt) gives A1+rt · (1 + rt) = A, the left side of the formula. For example, P = 1,000, r = 0.05 and t = 2 give A = 1,000 + 100 = 1,100, and 1,1001+0.1 = 1,1001.1 = 1,000 gives P back.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: From P = 2l + 2w, w = P2 − 2l.
Dividing both sides by 2 divides every term, the 2l as well.
✓ Instead: w = P2 − l, the same as P−2l2.
✗ Not this: From F = 1.8C + 32, C = F1.8 − 32.
Dividing by 1.8 first has to divide the 32 as well; the usual route subtracts 32 before dividing.
✓ Instead: C=F−321.8.

Tips and tricks

  • Treat the other letters as numbers.
  • If the variable appears twice, factor it out.
  • State what must be nonzero.

7 The trap

Leaving the chosen variable on both sides. From A = P + Prt, writing P = A − Prt has not solved for P, because P still appears on the right. Factor P out of every term that holds it, then divide.

Flash cards

Say the answer out loud, then flip.

Solve A = lw for w, given that l ≠ 0.
w=Al.
Solve y = mx + b for x, given that m ≠ 0.
x=y−bm.
What does it mean to solve a formula for a variable?
To rewrite it so that the variable is given in terms of the other quantities: alone on one side and not on the other, together with any condition the rewriting needs, such as a divisor that is not 0.