Lemonmath
Tiếng Việt

Quadratic equations in one unknown

Lesson 6.2 · 20 min read · Updated

Quadratic equations are among the oldest problems in mathematics. On Babylonian clay tablets, some of them about 40004000 years old, there are already problems such as "find the sides of a rectangle given its area and the difference of its sides". Around the year 830830, the mathematician al-Khwarizmi in Baghdad solved such equations by rearranging pieces to "complete a square", and the title of his book (Hisab al-jabr w'al-muqabala) gave us the word "algebra" (MacTutor, University of St Andrews).

The old problem is still close to home. Suppose your family has a rectangular garden whose length is 33 m more than its width and whose area is 4040 m². How wide is the garden? Let the width be xx (m); then x(x+3)=40x(x+3)=40, that is x2+3x−40=0x^2+3x-40=0. Trying numbers one by one takes time, and the solutions are not always whole numbers. This lesson gives you a formula that solves every equation like this.

Quadratic equations in one unknown

Going deeper. The condition a≠0a\neq0 is essential: if a=0a=0, the equation becomes bx+c=0bx+c=0, a linear equation that you already know how to solve. The coefficients bb and cc may be 00. The equations x3−2x=0x^3-2x=0 (a cubic) and 1x+x=2\dfrac1x+x=2 (unknown in a denominator) are not quadratic equations, even though they can be turned into familiar forms.

Solving special quadratic equations

When c=0c=0, we take out the common factor xx to get a product equation. When b=0b=0, we rewrite the equation as x2=kx^2=k and use square roots.

How many solutions does x2=kx^2=k have? Exactly as many as the points where the parabola y=x2y=x^2 (lesson the function y=ax2y=ax^2) meets the horizontal line y=ky=k: two points when k>0k>0, one when k=0k=0, none when k<0k<0.

-3-2-1123-2-1123456xyO-22Oy = -1y = 4
The number of solutions of x2=kx^2=k

Explore: completing the square

Part c) suggests an idea: if we can write the left-hand side as a square, we can solve the equation. Try it with x2−6x+5=0x^2-6x+5=0. Since (x−3)2=x2−6x+9(x-3)^2=x^2-6x+9, we add 44 to both sides:

x2−6x+5=0⇔x2−6x+9=4⇔(x−3)2=4⇔x−3=±2.x^2-6x+5=0\Leftrightarrow x^2-6x+9=4\Leftrightarrow(x-3)^2=4\Leftrightarrow x-3=\pm2.

Hence x=5x=5 or x=1x=1. This is exactly al-Khwarizmi's "completing the square". Doing the same with any coefficients gives the quadratic formula.

The quadratic formula

Why? Divide both sides by aa and complete the square as in the exploration; we get

(x+b2a)2=b2−4ac4a2=Δ4a2.\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}=\frac{\Delta}{4a^2}.

The right-hand side has denominator 4a2>04a^2>0, so its sign is the sign of Δ\Delta. This is exactly the form X2=kX^2=k above: Δ>0\Delta>0 gives two roots, Δ=0\Delta=0 gives one, and Δ<0\Delta<0 gives none (a square is never negative). The word "discriminant" means the expression that discriminates, or tells apart, the three cases.

Now we answer the opening question, going through all four steps of solving a problem.

The reduced discriminant

When bb is even, write b=2b′b=2b'. Then Δ=4b′2−4ac=4(b′2−ac)\Delta=4b'^2-4ac=4(b'^2-ac), and the fractions in the quadratic formula can be simplified by 22.

Connections. Quadratic equations tie together many things you have learnt: algebraic identities (to complete the square), square roots (to find the roots), product equations (when c=0c=0) and the parabola y=x2y=x^2 (to "see" the number of solutions). Next, Viète's theorem gives the sum and product of the roots without solving, and the lesson solving word problems by forming equations uses the quadratic formula in many real situations.

Key terms

Summary

  • A quadratic equation: ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq0.
  • c=0c=0: take out the common factor xx; b=0b=0: rewrite as x2=kx^2=k.
  • Δ=b2−4ac\Delta=b^2-4ac: Δ>0\Delta>0 two roots x1,2=−b±Δ2ax_{1,2}=\dfrac{-b\pm\sqrt\Delta}{2a}; Δ=0\Delta=0 a repeated root −b2a-\dfrac{b}{2a}; Δ<0\Delta<0 no solutions.
  • b=2b′b=2b': Δ′=b′2−ac\Delta'=b'^2-ac, x1,2=−b′±Δ′ax_{1,2}=\dfrac{-b'\pm\sqrt{\Delta'}}{a}.
  • If aa and cc have opposite signs, there are always two distinct roots.
  • Real-life problems: check each root against the condition on the unknown.

Practice

Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.

Exercise 1

Solve the following equations:

a) 5x2−20=05x^2-20=0.

b) −2x2+6x=0-2x^2+6x=0.

What you need and how to start

What you need: if b=0b=0, rewrite as x2=kx^2=k; if c=0c=0, take out a common factor.

Steps:

  1. a) Rearrange and divide by 55.
  2. b) Write −2x(x−3)=0-2x(x-3)=0.
Show solution

a) We have 5x2=20⇔x2=4⇔x=25x^2=20\Leftrightarrow x^2=4\Leftrightarrow x=2 or x=−2x=-2.

b) We have −2x(x−3)=0⇔x=0-2x(x-3)=0\Leftrightarrow x=0 or x=3x=3.

So a) x=±2x=\pm2; b) x=0x=0, x=3x=3.

Answer. a) x=2x=2, x=−2x=-2; b) x=0x=0, x=3x=3.

Exercise 2

Solve the following equations using the quadratic formula:

a) x2−7x+10=0x^2-7x+10=0.

b) 2x2+x−1=02x^2+x-1=0.

c) 9x2−6x+1=09x^2-6x+1=0.

What you need and how to start

What you need: Δ=b2−4ac\Delta=b^2-4ac and the quadratic formula.

Steps:

  1. Identify aa, bb, cc and work out Δ\Delta.
  2. Look at the sign of Δ\Delta, then apply the formula.
Show solution

a) We have Δ=49−40=9\Delta=49-40=9 and Δ=3\sqrt\Delta=3, so x1=7+32=5x_1=\dfrac{7+3}{2}=5 and x2=7−32=2x_2=\dfrac{7-3}{2}=2.

b) We have Δ=1+8=9\Delta=1+8=9, so x1=−1+34=12x_1=\dfrac{-1+3}{4}=\dfrac12 and x2=−1−34=−1x_2=\dfrac{-1-3}{4}=-1.

c) We have Δ=36−36=0\Delta=36-36=0, so the equation has a repeated root x1=x2=618=13x_1=x_2=\dfrac{6}{18}=\dfrac13.

So a) x=5x=5, x=2x=2; b) x=12x=\dfrac12, x=−1x=-1; c) x=13x=\dfrac13.

Answer. a) 55; 22. b) 12\dfrac12; −1-1. c) Repeated root 13\dfrac13.

Exercise 3

Solve the following equations using the reduced discriminant:

a) x2−4x−1=0x^2-4x-1=0.

b) 5x2+2x+1=05x^2+2x+1=0.

What you need and how to start

What you need: b=2b′b=2b', Δ′=b′2−ac\Delta'=b'^2-ac.

Steps:

  1. Find b′b' and work out Δ′\Delta'.
  2. Apply x1,2=−b′±Δ′ax_{1,2}=\dfrac{-b'\pm\sqrt{\Delta'}}{a}.
Show solution

a) We have b′=−2b'=-2 and Δ′=4+1=5>0\Delta'=4+1=5>0, so x1,2=2±5x_{1,2}=2\pm\sqrt5.

b) We have b′=1b'=1 and Δ′=1−5=−4<0\Delta'=1-5=-4<0, so the equation has no solutions.

So a) x=2+5x=2+\sqrt5, x=2−5x=2-\sqrt5; b) no solutions.

Answer. a) x=2±5x=2\pm\sqrt5; b) no solutions.

Exercise 4

Solve the following equations:

a) (x+1)(x−3)=2x−7(x+1)(x-3)=2x-7.

b) x(x+2)=3(x+4)x(x+2)=3(x+4).

What you need and how to start

What you need: expand and rearrange into the form ax2+bx+c=0ax^2+bx+c=0.

Steps:

  1. Expand both sides and move everything to the left-hand side.
  2. Solve the resulting quadratic equation.
Show solution

a) We have x2−2x−3=2x−7⇔x2−4x+4=0x^2-2x-3=2x-7\Leftrightarrow x^2-4x+4=0. We have Δ′=4−4=0\Delta'=4-4=0, so the equation has a repeated root x=2x=2.

b) We have x2+2x=3x+12⇔x2−x−12=0x^2+2x=3x+12\Leftrightarrow x^2-x-12=0. We have Δ=1+48=49\Delta=1+48=49, so x1=1+72=4x_1=\dfrac{1+7}{2}=4 and x2=1−72=−3x_2=\dfrac{1-7}{2}=-3.

So a) x=2x=2; b) x=4x=4, x=−3x=-3.

Answer. a) x=2x=2; b) x=4x=4, x=−3x=-3.

Exercise 5

Suppose a ball is kicked straight up from the ground and its height after tt seconds is h=−5t2+20th=-5t^2+20t (metres). After how many seconds is the ball at a height of 1515 m?

What you need and how to start

What you need: solve the equation −5t2+20t=15-5t^2+20t=15 with t≥0t\geq0.

Steps:

  1. Rearrange and divide both sides by −5-5.
  2. Solve the resulting equation, then explain what the two roots mean.
Show solution

We have −5t2+20t=15⇔t2−4t+3=0-5t^2+20t=15\Leftrightarrow t^2-4t+3=0. We have Δ′=4−3=1\Delta'=4-3=1, so t1=2+1=3t_1=2+1=3 and t2=2−1=1t_2=2-1=1.

So the ball is at a height of 1515 m twice: after 11 second (on the way up) and after 33 seconds (on the way down).

Answer. After 11 second and after 33 seconds.

Exercise 6

Suppose Mrs Lan puts 100100 million dong into a savings account at an interest rate rr per year, and the first year's interest is added to the capital before the second year's interest is worked out (compound interest). After 22 years she receives 112.36112.36 million dong. Find the interest rate rr.

What you need and how to start

What you need: each year the amount is multiplied by 1+r1+r.

Steps:

  1. Form the equation 100(1+r)2=112.36100(1+r)^2=112.36.
  2. Solve it as X2=kX^2=k with X=1+r>0X=1+r>0.
Show solution

After 22 years the amount is 100(1+r)2100(1+r)^2 (million dong). We have

100(1+r)2=112.36⇔(1+r)2=1.1236⇔1+r=1.06 (since 1+r>0).100(1+r)^2=112.36\Leftrightarrow(1+r)^2=1.1236\Leftrightarrow 1+r=1.06\ \text{(since }1+r>0).

Hence r=0.06r=0.06.

So the interest rate is 6%6\% per year.

Answer. r=6%r=6\% per year.

Exercise 7

Solve the equation xx−2−1x=2x(x−2)\dfrac{x}{x-2}-\dfrac1x=\dfrac{2}{x(x-2)}. (Revise equations with the unknown in a denominator.)

What you need and how to start

What you need: find the conditions for the equation to be defined, clear the denominators and check the conditions.

Steps:

  1. Conditions: x≠0x\neq0, x≠2x\neq2.
  2. Multiply both sides by x(x−2)x(x-2).
  3. Solve the resulting quadratic equation and reject any root that breaks the conditions.
Show solution

The equation is defined for x≠0x\neq0, x≠2x\neq2. Clearing the denominators, we get

x2−(x−2)=2⇔x2−x=0⇔x(x−1)=0⇔x=0  or  x=1.x^2-(x-2)=2\Leftrightarrow x^2-x=0\Leftrightarrow x(x-1)=0\Leftrightarrow x=0\ \text{ or }\ x=1.

The value x=0x=0 breaks the conditions, and x=1x=1 satisfies them.

So the equation has the solution x=1x=1.

Answer. x=1x=1.

Exercise 8

(2.0 marks)

a) Solve the equation 2x2−3x−5=02x^2-3x-5=0.

b) Find the coordinates of the points where the parabola (P):y=x2(P): y=x^2 meets the line (d):y=x+2(d): y=x+2.

c) Solve the equation x2−22x−6=0x^2-2\sqrt2x-6=0.

What you need and how to start

What you need: the quadratic formula; the xx-coordinates of the points where (P)(P) meets (d)(d) are the roots of x2=x+2x^2=x+2.

Steps:

  1. a) Work out Δ\Delta.
  2. b) Solve x2−x−2=0x^2-x-2=0, then work out y=x2y=x^2.
  3. c) Use b′=−2b'=-\sqrt2.
Show solution

a) We have Δ=9+40=49\Delta=9+40=49, so x1=3+74=52x_1=\dfrac{3+7}{4}=\dfrac52 and x2=3−74=−1x_2=\dfrac{3-7}{4}=-1.

b) The xx-coordinates of the points of intersection are the roots of x2=x+2⇔x2−x−2=0x^2=x+2\Leftrightarrow x^2-x-2=0. We have Δ=1+8=9\Delta=1+8=9, so x=2x=2 or x=−1x=-1. When x=2x=2, y=4y=4; when x=−1x=-1, y=1y=1.

c) We have b′=−2b'=-\sqrt2, Δ′=2+6=8\Delta'=2+6=8 and Δ′=22\sqrt{\Delta'}=2\sqrt2. Hence x1=2+22=32x_1=\sqrt2+2\sqrt2=3\sqrt2 and x2=2−22=−2x_2=\sqrt2-2\sqrt2=-\sqrt2.

So a) x=52x=\dfrac52, x=−1x=-1; b) the points of intersection are (2,4)(2, 4) and (−1,1)(-1, 1); c) x=32x=3\sqrt2, x=−2x=-\sqrt2.

Answer. a) 52\dfrac52; −1-1. b) (2,4)(2, 4), (−1,1)(-1, 1). c) 323\sqrt2; −2-\sqrt2.

Exercise 9 Challenge

From a rectangular metal sheet 3030 cm long and 2020 cm wide, four equal squares are cut from the corners and the sides are folded up to make an open box. How long must the side of each square be for the base of the box to have area 336336 cm²? What is the volume of the box then, in cubic centimetres?

What you need and how to start

What you need: the base of the box is a rectangle (30−2x)×(20−2x)(30-2x)\times(20-2x), and the height of the box is xx.

Steps:

  1. Let the side of the square be xx (cm), 0<x<100<x<10.
  2. Form and solve the equation (30−2x)(20−2x)=336(30-2x)(20-2x)=336.
  3. Check against the condition, then find the volume.
Show solution

Let the side of the square be xx (cm), 0<x<100<x<10. From the problem we have the equation

(30−2x)(20−2x)=336⇔4x2−100x+264=0⇔x2−25x+66=0.(30-2x)(20-2x)=336\Leftrightarrow4x^2-100x+264=0\Leftrightarrow x^2-25x+66=0.

We have Δ=625−264=361\Delta=625-264=361 and Δ=19\sqrt\Delta=19, so x1=25+192=22x_1=\dfrac{25+19}{2}=22 (rejected, since 22>1022>10) and x2=25−192=3x_2=\dfrac{25-19}{2}=3 (satisfies the condition). The volume of the box is then 336⋅3=1008336\cdot3=1008 (cm³).

So the side of each square is 33 cm and the box holds 10081008 cm³.

Answer. 33 cm; 10081008 cm³.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. Which of the following is a quadratic equation in one unknown?
Question 2. The discriminant Δ\Delta of the equation 2x2−3x−2=02x^2-3x-2=0 is
Question 3. The equation x2−6x+9=0x^2-6x+9=0
Question 4. The reduced discriminant Δ′\Delta' of the equation 3x2−4x−1=03x^2-4x-1=0 is

Part II. True or false

Question 1. Consider the equation x2−2x−8=0x^2-2x-8=0. Decide whether each statement is true or false.
a) The coefficients are a=1a=1, b=−2b=-2, c=−8c=-8.
b) Δ′=9\Delta'=9.
c) The equation has the two roots x=−4x=-4 and x=2x=2.
d) The equation has a repeated root.

Part III. Short answer

Question 1. Find the positive root of the equation x2+x−12=0x^2+x-12=0.

Question 2. Find the smaller root of the equation 2x2−5x−3=02x^2-5x-3=0 (give your answer as a decimal).

Show answers and explanations
  1. Part I, question 1: C. a=−1≠0a=-1\neq0, b=0b=0, c=5c=5. A and D (with a=0a=0) are linear equations, and B is a cubic equation.
  2. Part I, question 2: A. Δ=9−4⋅2⋅(−2)=9+16=25\Delta=9-4\cdot2\cdot(-2)=9+16=25. B has the wrong sign of cc, C uses 2ac2ac instead of 4ac4ac, and D writes b2=−9b^2=-9.
  3. Part I, question 3: B. Δ′=9−9=0\Delta'=9-9=0, repeated root x=−b′a=3x=-\dfrac{b'}{a}=3. A confuses it with x2=9x^2=9, C has the wrong sign of b′b', and D works out Δ′=−9−9<0\Delta'=-9-9<0 by mistake.
  4. Part I, question 4: A. b′=−2b'=-2, Δ′=4−3⋅(−1)=7\Delta'=4-3\cdot(-1)=7. B has the wrong sign of cc, C is Δ\Delta, and D uses b2b^2 instead of b′2b'^2.
  5. Part II, question 1: a) True; b) True; c) False; d) False. a) True. b) True: Δ′=1+8=9\Delta'=1+8=9. c) False: x=1±3x=1\pm3, that is x=4x=4, x=−2x=-2. d) False: Δ′>0\Delta'>0.
  6. Part III, question 1: 3. Δ=1+48=49\Delta=1+48=49, x=−1±72x=\dfrac{-1\pm7}{2}, that is x=3x=3 or x=−4x=-4.
  7. Part III, question 2: -0.5. Δ=25+24=49\Delta=25+24=49, x=5±74x=\dfrac{5\pm7}{4}, that is x=3x=3 or x=−0.5x=-0.5.