Practice / Precalculus

Equations and inequalities

Ten review problems on solving equations and inequalities: a linear equation with fractions and a formula solved for one letter, quadratics by factoring and by the formula, the discriminant, the flight of a ball thrown upward, a rational equation and a radical equation that each produce an extraneous solution, absolute-value equations and inequalities with a machining tolerance, a compound inequality and a comparison of two rental plans, quadratic inequalities by a sign chart, and a rational inequality, with worked solutions and the mistakes of dividing both sides by x, keeping an extraneous root, not reversing an inequality, multiplying an inequality by an expression of unknown sign, and treating the factors of an inequality separately.

Before you start

Solving an equation means applying the same operation to both sides until the unknown stands alone. Most operations are safe. A few are not: dividing by something that might be zero loses solutions, squaring both sides or clearing a denominator can create false ones, and multiplying an inequality by a negative number reverses it. This review set covers the standard equation types of algebra with attention to those steps, and then inequalities, where the answer is a set of numbers. All five mistakes at the end come from an operation that is only sometimes allowed.

  • Quadratic equations. Write as ax2+bx+c=0ax^2 + bx + c = 0. Then factor and use the zero-product property (if a product is 00, one of its factors is 00), or use the quadratic formula x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}.
  • Discriminant. b2−4acb^2 - 4ac is positive for two real solutions, zero for one, and negative for none.
  • Completing the square. x2+bxx^2 + bx becomes a perfect square when (b2)2\left(\tfrac b2\right)^2 is added: x2+bx+(b2)2=(x+b2)2x^2 + bx + \left(\tfrac b2\right)^2 = \left(x + \tfrac b2\right)^2. One consequence: the parabola y=ax2+bx+cy = ax^2 + bx + c has its highest or lowest point at x=−b2ax = -\dfrac{b}{2a}.
  • Extraneous solutions. Multiplying both sides by an expression containing xx, or squaring both sides, can add solutions that do not satisfy the original equation. After either step, check every candidate in the original.
  • Absolute value. For c>0c > 0: ∣u∣=c\lvert u\rvert = c means u=cu = c or u=−cu = -c; ∣u∣<c\lvert u\rvert < c means −c<u<c-c < u < c; ∣u∣>c\lvert u\rvert > c means u<−cu < -c or u>cu > c. The same holds with ≤\le and ≥\ge. ∣x−a∣\lvert x - a\rvert is the distance between xx and aa.
  • Inequalities. Adding or subtracting the same number on both sides, or multiplying or dividing by a positive number, keeps the direction. Multiplying or dividing by a negative number reverses it.
  • Interval notation. (a,b)(a, b) excludes the endpoints, [a,b][a, b] includes them, and ∞\infty always takes a round bracket. ∪\cup joins two intervals.
  • Sign chart. For a polynomial or rational inequality: move everything to one side so that the other side is 00, factor, mark the values where the expression is zero or undefined, and test the sign in each interval between them.

Builds on: Exponents, radicals and rational expressions

Problems

  1. ·

    (a) Solve x+13−x−24=2\dfrac{x + 1}{3} - \dfrac{x - 2}{4} = 2. (b) Solve A=P(1+rt)A = P(1 + rt) for rr, and find the simple interest rate at which $2000\$2000 grows to $2300\$2300 in 33 years.

  2. ·

    Solve: (a) 2x2−5x−3=02x^2 - 5x - 3 = 0, (b) x2−4x+1=0x^2 - 4x + 1 = 0, (c) x2=5xx^2 = 5x.

  3. ··

    (a) Show that x2+6x+11=0x^2 + 6x + 11 = 0 has no real solution, by completing the square and by the discriminant. (b) For which values of kk does x2+kx+9=0x^2 + kx + 9 = 0 have exactly one real solution? Find that solution for each kk.

  4. ··

    A ball is thrown straight up from a height of 1.51.5 m at 2020 m/s. Its height after tt seconds is h=−4.9t2+20t+1.5h = -4.9t^2 + 20t + 1.5 meters. (a) When does it hit the ground? (b) When is it 1515 m above the ground? (c) How high does it go?

  5. ··

    Solve xx−2=1x+2+8x2−4\dfrac{x}{x - 2} = \dfrac{1}{x + 2} + \dfrac{8}{x^2 - 4}.

  6. ··

    Solve x+7=x−5\sqrt{x + 7} = x - 5.

  7. ··

    Solve: (a) ∣2x−3∣=7\lvert 2x - 3\rvert = 7, (b) ∣2x−3∣<7\lvert 2x - 3\rvert < 7, (c) ∣x+1∣≥4\lvert x + 1\rvert \ge 4. (d) A bolt is specified as 1212 mm in diameter with a tolerance of ±0.05\pm 0.05 mm. Write that as an absolute-value inequality in the diameter dd and solve it.

  8. ··

    (a) Solve −3≤5−2x<9-3 \le 5 - 2x < 9 and write the answer in interval notation. (b) Plan A for a rental van costs $40\$40 a day plus $0.25\$0.25 per km. Plan B costs $70\$70 a day with unlimited distance. For what daily distances is Plan A cheaper?

  9. ··

    Solve: (a) x2−x−6>0x^2 - x - 6 > 0, (b) x2≤4xx^2 \le 4x.

  10. ···

    Solve x+3x−2≤2\dfrac{x + 3}{x - 2} \le 2.

Worked solutions

Problem 1

(a) Solve x+13−x−24=2\dfrac{x + 1}{3} - \dfrac{x - 2}{4} = 2. (b) Solve A=P(1+rt)A = P(1 + rt) for rr, and find the simple interest rate at which $2000\$2000 grows to $2300\$2300 in 33 years.

  1. (a) 4(x+1)−3(x−2)=244(x + 1) - 3(x - 2) = 24.Multiply every term by 1212, the least common denominator. Keep the numerators in brackets.
  2. 4x+4−3x+6=244x + 4 - 3x + 6 = 24.Distribute. The −3-3 multiplies both xx and −2-2.
  3. x+10=24x + 10 = 24, so x=14x = 14.Collect and subtract 1010.
  4. (b) AP=1+rt\dfrac AP = 1 + rt.Divide both sides by PP.
  5. rt=AP−1=A−PPrt = \dfrac AP - 1 = \dfrac{A - P}{P}, so r=A−PPtr = \dfrac{A - P}{Pt}.Subtract 11, combine over PP, and divide by tt.
  6. r=2300−20002000×3=3006000=0.05r = \dfrac{2300 - 2000}{2000 \times 3} = \dfrac{300}{6000} = 0.05.Substitute.
  7. (a) x=14x = 14. (b) r=A−PPtr = \dfrac{A - P}{Pt}, which gives 5%5\% per yearSteps 3, 5 and 6. Check (a): 153−124=5−3=2\tfrac{15}{3} - \tfrac{12}{4} = 5 - 3 = 2.

Problem 2

Solve: (a) 2x2−5x−3=02x^2 - 5x - 3 = 0, (b) x2−4x+1=0x^2 - 4x + 1 = 0, (c) x2=5xx^2 = 5x.

  1. (a) (2x+1)(x−3)=0(2x + 1)(x - 3) = 0.Factor: 2x2−6x+x−32x^2 - 6x + x - 3.
  2. 2x+1=02x + 1 = 0 or x−3=0x - 3 = 0, so x=−12x = -\dfrac12 or x=3x = 3.Zero-product property.
  3. (b) x=4±16−42=4±232=2±3x = \dfrac{4 \pm \sqrt{16 - 4}}{2} = \dfrac{4 \pm 2\sqrt3}{2} = 2 \pm \sqrt3.It does not factor over the integers, so use the formula with a=1a = 1, b=−4b = -4, c=1c = 1. 12=23\sqrt{12} = 2\sqrt3.
  4. (c) x2−5x=0x^2 - 5x = 0, so x(x−5)=0x(x - 5) = 0 and x=0x = 0 or x=5x = 5.Move everything to one side and factor. Do not divide by xx.
  5. (a) x=−12x = -\tfrac12 or 33; (b) x=2±3x = 2 \pm \sqrt3 (about 3.7323.732 and 0.2680.268); (c) x=0x = 0 or 55Steps 2 to 4.

Problem 3

(a) Show that x2+6x+11=0x^2 + 6x + 11 = 0 has no real solution, by completing the square and by the discriminant. (b) For which values of kk does x2+kx+9=0x^2 + kx + 9 = 0 have exactly one real solution? Find that solution for each kk.

  1. (a) x2+6x+9=−11+9x^2 + 6x + 9 = -11 + 9, so (x+3)2=−2(x + 3)^2 = -2.Move 1111 across and add (62)2=9\left(\tfrac62\right)^2 = 9 to both sides.
  2. A square of a real number is never negative, so there is no real solution.The left side is at least 00.
  3. Discriminant: 62−4(1)(11)=36−44=−8<06^2 - 4(1)(11) = 36 - 44 = -8 < 0.The same conclusion: the formula would need −8\sqrt{-8}.
  4. (b) Exactly one solution needs k2−4(1)(9)=0k^2 - 4(1)(9) = 0.Discriminant zero.
  5. k2=36k^2 = 36, so k=6k = 6 or k=−6k = -6.Both signs.
  6. k=6k = 6: x2+6x+9=(x+3)2=0x^2 + 6x + 9 = (x + 3)^2 = 0, so x=−3x = -3. k=−6k = -6: (x−3)2=0(x - 3)^2 = 0, so x=3x = 3.Each is a perfect square.
  7. (a) (x+3)2=−2(x + 3)^2 = -2 is impossible, and the discriminant is −8-8. (b) k=6k = 6 with x=−3x = -3, or k=−6k = -6 with x=3x = 3Steps 1 to 6.

Problem 4

A ball is thrown straight up from a height of 1.51.5 m at 2020 m/s. Its height after tt seconds is h=−4.9t2+20t+1.5h = -4.9t^2 + 20t + 1.5 meters. (a) When does it hit the ground? (b) When is it 1515 m above the ground? (c) How high does it go?

  1. (a) −4.9t2+20t+1.5=0-4.9t^2 + 20t + 1.5 = 0, so t=−20±400+29.4−9.8t = \dfrac{-20 \pm \sqrt{400 + 29.4}}{-9.8}.Quadratic formula with a=−4.9a = -4.9, b=20b = 20, c=1.5c = 1.5: b2−4ac=400−4(−4.9)(1.5)=429.4b^2 - 4ac = 400 - 4(-4.9)(1.5) = 429.4.
  2. 429.4≈20.722\sqrt{429.4} \approx 20.722, so t≈−20−20.722−9.8≈4.16t \approx \dfrac{-20 - 20.722}{-9.8} \approx 4.16 or t≈−20+20.722−9.8≈−0.07t \approx \dfrac{-20 + 20.722}{-9.8} \approx -0.07.The negative time is before the throw, so it is rejected.
  3. (b) −4.9t2+20t+1.5=15-4.9t^2 + 20t + 1.5 = 15 becomes −4.9t2+20t−13.5=0-4.9t^2 + 20t - 13.5 = 0.Subtract 1515 to get 00 on one side.
  4. t=−20±400−264.6−9.8=−20±135.4−9.8t = \dfrac{-20 \pm \sqrt{400 - 264.6}}{-9.8} = \dfrac{-20 \pm \sqrt{135.4}}{-9.8}, with 135.4≈11.636\sqrt{135.4} \approx 11.636.4(4.9)(13.5)=264.64(4.9)(13.5) = 264.6.
  5. t≈0.85t \approx 0.85 or t≈3.23t \approx 3.23.Both are valid: once on the way up and once on the way down.
  6. (c) The highest point is at t=−b2a=209.8≈2.041t = -\dfrac{b}{2a} = \dfrac{20}{9.8} \approx 2.041, where h≈−4.9(2.041)2+20(2.041)+1.5≈21.91h \approx -4.9(2.041)^2 + 20(2.041) + 1.5 \approx 21.91.The vertex of the parabola. It is midway between the two times in step 5.
  7. (a) After about 4.164.16 s. (b) At about 0.850.85 s and 3.233.23 s. (c) About 21.9121.91 mSteps 2, 5 and 6.

Problem 5

Solve xx−2=1x+2+8x2−4\dfrac{x}{x - 2} = \dfrac{1}{x + 2} + \dfrac{8}{x^2 - 4}.

  1. x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2), so x≠2x \ne 2 and x≠−2x \ne -2.Factor the denominators and note the excluded values before doing anything else.
  2. x(x+2)=(x−2)+8x(x + 2) = (x - 2) + 8.Multiply every term by (x−2)(x+2)(x - 2)(x + 2).
  3. x2+2x=x+6x^2 + 2x = x + 6, so x2+x−6=0x^2 + x - 6 = 0.Expand and move everything to one side.
  4. (x+3)(x−2)=0(x + 3)(x - 2) = 0, so x=−3x = -3 or x=2x = 2.Factor.
  5. x=2x = 2 is excluded: it makes two of the denominators zero.It is an extraneous solution, created in step 2 by multiplying by a quantity that is 00 when x=2x = 2.
  6. x=−3x = -3Steps 4 and 5. Check: the left side is −3−5=35\tfrac{-3}{-5} = \tfrac35, and the right side is 1−1+85=35\tfrac{1}{-1} + \tfrac{8}{5} = \tfrac35.

Problem 6

Solve x+7=x−5\sqrt{x + 7} = x - 5.

  1. x+7=(x−5)2=x2−10x+25x + 7 = (x - 5)^2 = x^2 - 10x + 25.Square both sides. This can add solutions, because a2=b2a^2 = b^2 also holds when a=−ba = -b.
  2. x2−11x+18=0x^2 - 11x + 18 = 0.Move everything to one side.
  3. (x−9)(x−2)=0(x - 9)(x - 2) = 0, so x=9x = 9 or x=2x = 2.Factor.
  4. Check x=9x = 9: 16=4\sqrt{16} = 4 and 9−5=49 - 5 = 4.It works.
  5. Check x=2x = 2: 9=3\sqrt9 = 3 but 2−5=−32 - 5 = -3.It fails. x=2x = 2 solves −x+7=x−5-\sqrt{x + 7} = x - 5, which has the same square.
  6. x=9x = 9Steps 4 and 5. A square root is never negative, so any solution must have x−5≥0x - 5 \ge 0, which rules out 22 at once.

Problem 7

Solve: (a) ∣2x−3∣=7\lvert 2x - 3\rvert = 7, (b) ∣2x−3∣<7\lvert 2x - 3\rvert < 7, (c) ∣x+1∣≥4\lvert x + 1\rvert \ge 4. (d) A bolt is specified as 1212 mm in diameter with a tolerance of ±0.05\pm 0.05 mm. Write that as an absolute-value inequality in the diameter dd and solve it.

  1. (a) 2x−3=72x - 3 = 7 or 2x−3=−72x - 3 = -7, so x=5x = 5 or x=−2x = -2.Two numbers have absolute value 77.
  2. (b) −7<2x−3<7-7 < 2x - 3 < 7.Less than: the inside lies between −7-7 and 77.
  3. −4<2x<10-4 < 2x < 10, so −2<x<5-2 < x < 5.Add 33 to all three parts, then divide by 22.
  4. (c) x+1≤−4x + 1 \le -4 or x+1≥4x + 1 \ge 4, so x≤−5x \le -5 or x≥3x \ge 3.Greater than: x+1x + 1 lies beyond −4-4 or beyond 44. The two parts cannot be written as one chain.
  5. (d) ∣d−12∣≤0.05\lvert d - 12\rvert \le 0.05.The distance of dd from 1212 is at most 0.050.05.
  6. −0.05≤d−12≤0.05-0.05 \le d - 12 \le 0.05, so 11.95≤d≤12.0511.95 \le d \le 12.05.Add 1212 to all three parts.
  7. (a) x=5x = 5 or −2-2. (b) (−2,5)(-2, 5). (c) (−∞,−5]∪[3,∞)(-\infty, -5] \cup [3, \infty). (d) ∣d−12∣≤0.05\lvert d - 12\rvert \le 0.05, so [11.95,12.05][11.95, 12.05] mmSteps 1 to 6. The answers to (a) are the endpoints of (b).

Problem 8

(a) Solve −3≤5−2x<9-3 \le 5 - 2x < 9 and write the answer in interval notation. (b) Plan A for a rental van costs $40\$40 a day plus $0.25\$0.25 per km. Plan B costs $70\$70 a day with unlimited distance. For what daily distances is Plan A cheaper?

  1. (a) −8≤−2x<4-8 \le -2x < 4.Subtract 55 from all three parts.
  2. 4≥x>−24 \ge x > -2.Divide by −2-2. Dividing by a negative number reverses both inequality signs.
  3. −2<x≤4-2 < x \le 4.The same statement read from the small end.
  4. (b) 40+0.25k<7040 + 0.25k < 70, where kk is the distance in km.Plan A's cost is less than Plan B's.
  5. 0.25k<300.25k < 30, so k<120k < 120.Subtract 4040 and divide by 0.250.25, which is positive, so the direction stays.
  6. (a) (−2,4](-2, 4]. (b) Plan A is cheaper for less than 120120 km a daySteps 3 and 5. Check (a) with x=0x = 0: 5−0=55 - 0 = 5 lies between −3-3 and 99. At exactly 120120 km the plans cost the same, $70\$70.

Problem 9

Solve: (a) x2−x−6>0x^2 - x - 6 > 0, (b) x2≤4xx^2 \le 4x.

(a) Factor: x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2), which is zero at x=−2x = -2 and x=3x = 3. Test one value in each interval:

Interval x<−2x < -2 −2<x<3-2 < x < 3 x>3x > 3
Test value −3-3 00 44
(x−3)(x+2)(x - 3)(x + 2) (−6)(−1)=6(-6)(-1) = 6 (−3)(2)=−6(-3)(2) = -6 (1)(6)=6(1)(6) = 6
Sign ++ −- ++
  1. (a) The product is positive for x<−2x < -2 and for x>3x > 3.From the sign chart. The endpoints are left out because the inequality is strict.
  2. (b) x2−4x≤0x^2 - 4x \le 0, so x(x−4)≤0x(x - 4) \le 0.Get 00 on one side first, then factor. The zeros are 00 and 44.
  3. Test x=−1x = -1: (−1)(−5)=5>0(-1)(-5) = 5 > 0. Test x=2x = 2: (2)(−2)=−4<0(2)(-2) = -4 < 0. Test x=5x = 5: (5)(1)=5>0(5)(1) = 5 > 0.One value in each of the three intervals.
  4. The product is negative for 0<x<40 < x < 4 and zero at x=0x = 0 and x=4x = 4.The endpoints are included because the inequality allows equality.
  5. (a) (−∞,−2)∪(3,∞)(-\infty, -2) \cup (3, \infty). (b) [0,4][0, 4]Steps 1 and 4. On the graph in (a), these are the values of xx where the parabola is above the axis.

Problem 10

Solve x+3x−2≤2\dfrac{x + 3}{x - 2} \le 2.

  1. x+3x−2−2≤0\dfrac{x + 3}{x - 2} - 2 \le 0.Get 00 on one side. Do not multiply by x−2x - 2: its sign is unknown, so the direction of the inequality would be unknown too.
  2. x+3−2(x−2)x−2=7−xx−2≤0\dfrac{x + 3 - 2(x - 2)}{x - 2} = \dfrac{7 - x}{x - 2} \le 0.Combine over the common denominator: x+3−2x+4=7−xx + 3 - 2x + 4 = 7 - x.
  3. The fraction is zero at x=7x = 7 and undefined at x=2x = 2.These two values divide the number line into three intervals.
  4. Test x=0x = 0: 7−2<0\dfrac{7}{-2} < 0. Test x=3x = 3: 41>0\dfrac{4}{1} > 0. Test x=8x = 8: −16<0\dfrac{-1}{6} < 0.The sign in each interval.
  5. The fraction is negative for x<2x < 2 and for x>7x > 7, and zero at x=7x = 7.Include 77, where equality holds. Exclude 22, where the original is undefined.
  6. x<2x < 2 or x≥7x \ge 7, which is (−∞,2)∪[7,∞)(-\infty, 2) \cup [7, \infty)Step 5. Check in the original: x=0x = 0 gives −1.5≤2-1.5 \le 2, true; x=3x = 3 gives 6≤26 \le 2, false; x=8x = 8 gives 116≤2\tfrac{11}{6} \le 2, true.

Where this goes wrong

1. Dividing both sides by x

Dividing both sides by the same quantity is a standard step.

  1. Solve x2=5xx^2 = 5xRight so far: Problem 2(c).
  2. Divide both sides by xx: x=5x = 5Dividing by xx assumes x≠0x \ne 0, and x=0x = 0 is a solution: 02=5(0)0^2 = 5(0). The division discarded it.
  3. “The solution is x=5x = 5.”It follows from step 2, so it inherits the error. Move everything to one side and factor: x(x−5)=0x(x - 5) = 0 gives x=0x = 0 or x=5x = 5.

2. Keeping an extraneous root

Squaring both sides removes a square root.

  1. x+7=x−5\sqrt{x + 7} = x - 5; squaring gives x2−11x+18=0x^2 - 11x + 18 = 0Right so far: Problem 6, steps 1 and 2.
  2. (x−9)(x−2)=0(x - 9)(x - 2) = 0, so x=9x = 9 or x=2x = 2Right so far: these solve the squared equation.
  3. “The solutions are x=9x = 9 and x=2x = 2.”Squaring is not reversible: it also admits solutions of −x+7=x−5-\sqrt{x + 7} = x - 5. At x=2x = 2 the left side is 33 and the right side is −3-3. Only x=9x = 9 solves the original.

3. Not reversing an inequality

Inequalities are solved with the same moves as equations, with one exception.

  1. −3≤5−2x<9-3 \le 5 - 2x < 9, so −8≤−2x<4-8 \le -2x < 4Right so far: Problem 8(a), step 1.
  2. Divide by −2-2: 4≤x<−24 \le x < -2Dividing by a negative number reverses the order: 4≥x>−24 \ge x > -2. As written, the line asks for a number that is at least 44 and less than −2-2, and there is none.
  3. “No solution.”It follows from step 2. The solution is −2<x≤4-2 < x \le 4; for example x=0x = 0 gives 55, which is between −3-3 and 99.

4. Multiplying an inequality by an expression of unknown sign

Clearing a denominator works for equations.

  1. Solve x+3x−2≤2\dfrac{x + 3}{x - 2} \le 2Right so far: Problem 10.
  2. Multiply both sides by x−2x - 2: x+3≤2x−4x + 3 \le 2x - 4This keeps the direction only when x−2>0x - 2 > 0. When x<2x < 2 the multiplier is negative and the inequality reverses.
  3. 7≤x7 \le x, so the solution is x≥7x \ge 7It follows from step 2 and is half the answer. Every x<2x < 2 also works: at x=0x = 0, 3−2=−1.5≤2\tfrac{3}{-2} = -1.5 \le 2. Subtract 22 and use a sign chart: x<2x < 2 or x≥7x \ge 7.

5. Treating the factors of an inequality separately

The zero-product property splits an equation into one equation per factor.

  1. x2−x−6>0x^2 - x - 6 > 0, so (x−3)(x+2)>0(x - 3)(x + 2) > 0Right so far: Problem 9(a).
  2. “So x−3>0x - 3 > 0 or x+2>0x + 2 > 0, as for an equation.”The habit that causes the mistake: a product is zero when one factor is zero, but it is positive when the factors have the same sign, either both positive or both negative.
  3. x>3x > 3 or x>−2x > -2, which is x>−2x > -2x=0x = 0 satisfies this, but 0−0−6=−60 - 0 - 6 = -6 is not positive. Both factors positive gives x>3x > 3; both negative gives x<−2x < -2. The solution is x<−2x < -2 or x>3x > 3.

Print this set: equations-and-inequalities.pdf (problems, answers, and worked solutions on separate pages).