Skip to the page
Home Campus
Start free

Quadratic Expressions

What terms, coefficients and constant terms are; how to tell a linear expression from a quadratic one; and how to add, subtract and simplify expressions with x2x^2 terms.

Before you start

In Secondary 1 you learnt that an algebraic expression is made of letters and numbers joined by ++, −-, ×\times and ÷\div, such as 3x+53x + 5 or 6−x2\frac{6 - x}{2}, and that like terms have the same letters, so they can be added: 3x+5−x+2=2x+7.3x + 5 - x + 2 = 2x + 7\text{.}

This chapter adds terms such as x2x^2 and xyxy. This lesson gives them their names and shows how to collect them.

Terms, Coefficients and Constant Terms

The parts of an expression joined by ++ and −- are its terms. Each term takes the sign in front of it. In x−3xy+4y−7x - 3xy + 4y - 7 the terms are xx, −3xy-3xy, 4y4y and −7-7.

Coefficients and the constant term

The coefficient of a term is the number that multiplies its letters, together with its sign. In x−3xy+4y−7x - 3xy + 4y - 7 the coefficient of xyxy is −3-3 and the coefficient of yy is 44.

A letter on its own has coefficient 11, and −x-x has coefficient −1-1: x=1×xx = 1 \times x and −x=−1×x-x = -1 \times x.

A term with no letter is the constant term. The constant term of x−3xy+4y−7x - 3xy + 4y - 7 is −7-7.

Example 1: Naming the parts

For the expression 5−3x2+x5 - 3x^2 + x, write down (a) its terms, (b) the coefficient of x2x^2, (c) the coefficient of xx, (d) the constant term. Then (e) write down the coefficient of xx in x2−xx^2 - x.

Solution

(a) Each term takes the sign in front of it: the terms are 55, −3x2-3x^2 and xx.

(b) The number multiplying x2x^2 is −3-3, sign included.

(c) xx means 1×x1 \times x, so the coefficient of xx is 11.

(d) The term with no letter is 55.

(e) In x2−xx^2 - x, the term in xx is −x=−1×x-x = -1 \times x, so the coefficient is −1-1.

Terms 55, −3x2-3x^2, xx; coefficient of x2x^2 is −3-3; coefficient of xx is 11; constant term 55. In x2−xx^2 - x the coefficient of xx is −1-1.

What x2x^2, −4x2-4x^2 and xyxy Mean

Just as 3×3=323 \times 3 = 3^2, we write x×xx \times x as x2x^2, read "xx squared". It is not 2x2x, which is x+xx + x. When x=3x = 3, x2=9x^2 = 9 but 2x=62x = 6.

Notation

x2=x×xx^2 = x \times x, and 2x=2×x=x+x2x = 2 \times x = x + x.

−4x2=−4×x×x-4x^2 = -4 \times x \times x: the square belongs to xx only, not to the −4-4.

(−4x)2=(−4x)×(−4x)=16x2:(-4x)^2 = (-4x) \times (-4x) = 16x^2\text{:} the brackets make the square cover the whole term.

xy=x×yxy = x \times y (not x+yx + y), and xy=yxxy = yx because multiplication can be done in either order.

To find the value of an expression, put the number in place of the letter, in brackets when it is negative, and work out the square first.

Example 2: Finding the value

Find the value of (a) x2−5x+6x^2 - 5x + 6 when x=−2x = -2; (b) −x2-x^2 when x=3x = 3; (c) (−x)2(-x)^2 when x=3x = 3.

Solution

(a) (−2)2−5(−2)+6=4+10+6=20.(-2)^2 - 5(-2) + 6 = 4 + 10 + 6 = 20\text{.} The square of −2-2 is (−2)×(−2)=4(-2) \times (-2) = 4, and −5×(−2)=+10-5 \times (-2) = +10.

(b) −x2-x^2 means −(x2)-(x^2): square first, then take the negative. −(32)=−9-(3^2) = -9.

(c) (−x)2=(−3)2=9.(-x)^2 = (-3)^2 = 9\text{.} The brackets square the whole of −3-3.

(a) 2020; (b) −9-9; (c) 99. So −x2-x^2 and (−x)2(-x)^2 are not the same.

Linear Expressions

Linear expression in xx

A linear expression in xx is one that can be written as ax+bax + b, where aa and bb are numbers and a≠0a \ne 0.

The highest power of xx in it is 11: there is a term in xx, and no x2x^2, x3x^3, 1x\frac{1}{x} or product of letters.

For example, 7−4x=−4x+77 - 4x = -4x + 7 (here a=−4a = -4, b=7b = 7), 5x5x (here b=0b = 0), and 2−x9=−19x+29\frac{2 - x}{9} = -\frac{1}{9}x + \frac{2}{9} are all linear in xx. In the same way 5y+85y + 8 is a linear expression in yy.

An expression can be linear in two variables. 4x+y−84x + y - 8 is a linear expression in xx and yy: each term is a number times one letter, or a number. It is the kind of expression in the equations x+2y=7x + 2y = 7 of chapter 2. It is not a linear expression in xx alone, because it also has yy.

A number on its own, such as 44, is a constant. It has no term in xx (it is ax+bax + b with a=0a = 0), so it is not a linear expression.

Quadratic Expressions

Quadratic expression in xx

A quadratic expression in xx is one that can be written as ax2+bx+cax^2 + bx + c, where aa, bb and cc are numbers and a≠0a \ne 0.

The highest power of xx is 22. aa is the coefficient of x2x^2, bb the coefficient of xx, and cc the constant term. bb or cc (or both) may be 00.

If a=0a = 0 and b≠0b \ne 0, the expression is bx+cbx + c, which is linear. If a=0a = 0 and b=0b = 0, it is the constant cc.

For example, x2−5x+6x^2 - 5x + 6 (a=1a = 1, b=−5b = -5, c=6c = 6), 3x2−9x3x^2 - 9x (c=0c = 0) and −4x2+3-4x^2 + 3 (b=0b = 0) are all quadratic. We usually write the terms in descending powers of xx: the x2x^2 term, then the xx term, then the constant.

Example 3: Linear, quadratic or neither?

State whether each expression is linear in xx, quadratic in xx, or neither, and give a reason. (a) 7−4x7 - 4x; (b) x2−5x+6x^2 - 5x + 6; (c) 44; (d) 4x+y−84x + y - 8; (e) x3+2xx^3 + 2x; (f) 1x+3\frac{1}{x} + 3; (g) 6−x26 - x^2

Solution

(a) 7−4x=−4x+77 - 4x = -4x + 7 is ax+bax + b with a=−4≠0a = -4 \ne 0: linear in xx.

(b) ax2+bx+cax^2 + bx + c with a=1a = 1: quadratic in xx.

(c) 44 has no term in xx: it is a constant, neither linear nor quadratic.

(d) Each term is a number times one letter, or a number, but there are two letters: linear in xx and yy, not a linear expression in xx alone.

(e) The highest power of xx is 33: neither.

(f) 1x\frac{1}{x} divides by xx; it is not a number times xx or x2x^2: neither.

(g) 6−x2=−x2+0x+6,6 - x^2 = -x^2 + 0x + 6\text{,} with a=−1≠0a = -1 \ne 0: quadratic in xx.

Linear in xx: (a). Quadratic in xx: (b), (g). Linear in two variables xx and yy: (d). Neither: (c), a constant; (e); (f).

Example 4: Reading off aa, bb and cc

Write each quadratic expression in descending powers of xx and state the values of aa, bb and cc. (a) 3−2x23 - 2x^2; (b) 3x2−9x3x^2 - 9x; (c) x−x2+5x - x^2 + 5

Solution

(a) 3−2x2=−2x2+33 - 2x^2 = -2x^2 + 3. There is no term in xx, so b=0b = 0: a=−2a = -2, b=0b = 0, c=3c = 3.

(b) 3x2−9x3x^2 - 9x is already in descending powers. There is no constant term, so c=0c = 0: a=3a = 3, b=−9b = -9, c=0c = 0.

(c) x−x2+5=−x2+x+5:x - x^2 + 5 = -x^2 + x + 5\text{:} a=−1a = -1, b=1b = 1, c=5c = 5.

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

Like Terms with Powers

Like terms

Like terms have the same letters, each with the same power. Only like terms can be added or subtracted, by adding or subtracting their coefficients.

TermsLike or unlike?Why
3x23x^2 and −5x2-5x^2likeboth are a number times x2x^2
x2x^2 and xxunlikexx has a different power in each
xyxy and yxyxlikeyx=xyyx = xy
x2yx^2y and xy2xy^2unlikex2y=x×x×yx^2y = x \times x \times y, but xy2=x×y×yxy^2 = x \times y \times y
4x4x and 44unlike44 has no letter

So x2−5x+6x^2 - 5x + 6 cannot be simplified: its three terms are all unlike. And 3x2+2x3x^2 + 2x is not 5x35x^3 or 5x25x^2; it stays as it is.

Adding, Subtracting and Simplifying

To simplify, remove any brackets, collect the like terms together, and add or subtract their coefficients. Write the answer in descending powers.

Example 5: Collecting like terms

Simplify (a) 5x2+(−11x2)5x^2 + (-11x^2); (b) −3x2+(−4x2)+2−8.-3x^2 + (-4x^2) + 2 - 8\text{.}

Solution

(a) Adding −11x2-11x^2 is the same as subtracting 11x211x^2: 5x2−11x2=(5−11)x2=−6x2.5x^2 - 11x^2 = (5 - 11)x^2 = -6x^2\text{.}

(b) −3x2−4x2+2−8-3x^2 - 4x^2 + 2 - 8. The x2x^2 terms: −3−4=−7-3 - 4 = -7. The numbers: 2−8=−62 - 8 = -6.

=−7x2−6= -7x^2 - 6

(a) −6x2-6x^2; (b) −7x2−6-7x^2 - 6.

Example 6: Terms in xyxy

Simplify −4y2−yx+3y2−(−5xy).-4y^2 - yx + 3y^2 - (-5xy)\text{.}

Solution

Subtracting −5xy-5xy is adding 5xy5xy, and yx=xyyx = xy, so −yx=−xy-yx = -xy:

−4y2−xy+3y2+5xy-4y^2 - xy + 3y^2 + 5xy

The y2y^2 terms: −4y2+3y2=−y2-4y^2 + 3y^2 = -y^2. The xyxy terms: −xy+5xy=4xy-xy + 5xy = 4xy.

=−y2+4xy= -y^2 + 4xy

−y2+4xy-y^2 + 4xy

To subtract a whole expression, put it in brackets. The minus sign in front changes the sign of every term inside: −(x2+4x−5)=−x2−4x+5.-(x^2 + 4x - 5) = -x^2 - 4x + 5\text{.}

Example 7: Subtracting a quadratic expression

Simplify (3x2−2x+1)−(x2+4x−5).(3x^2 - 2x + 1) - (x^2 + 4x - 5)\text{.}

Solution

Remove the brackets; the minus changes every sign in the second: 3x2−2x+1−x2−4x+53x^2 - 2x + 1 - x^2 - 4x + 5

x2x^2 terms: 3x2−x2=2x23x^2 - x^2 = 2x^2. xx terms: −2x−4x=−6x-2x - 4x = -6x. Numbers: 1+5=61 + 5 = 6.

=2x2−6x+6= 2x^2 - 6x + 6

2x2−6x+62x^2 - 6x + 6

Example 8: The order of the words

Subtract 2x2−x2x^2 - x from 5x2+3x5x^2 + 3x.

Solution

"Subtract A from B" means B−AB - A: we start with 5x2+3x5x^2 + 3x and take away 2x2−x2x^2 - x.

(5x2+3x)−(2x2−x)=5x2+3x−2x2+x(5x^2 + 3x) - (2x^2 - x) = 5x^2 + 3x - 2x^2 + x

=3x2+4x= 3x^2 + 4x

3x2+4x3x^2 + 4x

Writing an Expression for an Area

Quadratic expressions arise naturally from areas: a length in xx times another length in xx gives a term in x2x^2.

Example 9: A square and a rectangle

A square of side xx cm is placed next to a rectangle xx cm by 33 cm, as shown (lengths in cm). Write down an expression for (a) the total area, (b) the perimeter of the whole shape. Say which is quadratic and which is linear.

A square of side x centimetres next to a rectangle 3 centimetres wide and x centimetres high. The two together make a rectangle x by x plus 3.x3x

Solution

(a) Area of the square =x×x=x2= x \times x = x^2 cm². Area of the rectangle =3×x=3x= 3 \times x = 3x cm².

Total area =(x2+3x)= (x^2 + 3x) cm².

(b) The whole shape is a rectangle (x+3)(x + 3) cm long and xx cm high. Perimeter =(x+3)+x+(x+3)+x=(4x+6)= (x + 3) + x + (x + 3) + x = (4x + 6) cm.

x2+3xx^2 + 3x has highest power 2, so it is quadratic. 4x+64x + 6 is linear.

The area is (x2+3x)(x^2 + 3x) cm², a quadratic expression; the perimeter is (4x+6)(4x + 6) cm, a linear expression.

Common Mistakes

  • Reading x2x^2 as 2x2x. x2=x×xx^2 = x \times x; when x=5x = 5, x2=25x^2 = 25 but 2x=102x = 10.
  • Squaring the sign in −x2-x^2. When x=3x = 3, −x2=−9-x^2 = -9, not 99; only (−x)2(-x)^2 is 99.
  • Adding unlike terms: 3x2+2x3x^2 + 2x is not 5x35x^3 or 5x25x^2. It cannot be simplified.
  • Calling a constant such as 44 a linear expression. It has no term in xx.
  • Calling 4x+y−84x + y - 8 "not linear". It is linear in two variables, xx and yy.
  • Changing only the first sign when a bracket is subtracted: −(x2+4x−5)-(x^2 + 4x - 5) is −x2−4x+5-x^2 - 4x + 5, not −x2+4x−5-x^2 + 4x - 5.
  • Writing "subtract AA from BB" as A−BA - B. It is B−AB - A.

Practice

Try each question before you open its solution.

Question 1

For 7x2−x+4−2xy7x^2 - x + 4 - 2xy, write down the coefficient of x2x^2, the coefficient of xx, the coefficient of xyxy, and the constant term.

ShowHide solution

The terms, each with its sign, are 7x27x^2, −x-x, 44 and −2xy-2xy.

−x=−1×x-x = -1 \times x, so its coefficient is −1-1.

Coefficient of x2x^2: 77; of xx: −1-1; of xyxy: −2-2; constant term: 44.

Question 2

State whether each is linear in xx, quadratic in xx, or neither, with a reason. (a) 9−2x9 - 2x; (b) x2+1x^2 + 1; (c) −6-6; (d) 6−x2\frac{6 - x}{2}; (e) 5x3−x5x^3 - x; (f) 3a+2b−13a + 2b - 1

ShowHide solution

(a) −2x+9-2x + 9: ax+bax + b with a=−2a = -2. Linear.

(b) x2+0x+1x^2 + 0x + 1: a=1a = 1. Quadratic.

(c) A constant: no term in xx. Neither.

(d) 6−x2=−12x+3:\frac{6 - x}{2} = -\frac{1}{2}x + 3\text{:} a=−12a = -\frac{1}{2}. Linear.

(e) Highest power of xx is 33. Neither.

(f) A number times one letter in each term, but with two letters aa and bb and no xx: it is linear in aa and bb, not an expression in xx. Neither.

Linear in xx: (a), (d). Quadratic in xx: (b). Neither: (c), (e), and (f), which has no xx; (f) is linear in the two variables aa and bb.

Question 3

Write each in descending powers of xx and state aa, bb and cc. (a) 4−x24 - x^2; (b) 2x−5x22x - 5x^2; (c) 7+3x+x27 + 3x + x^2

ShowHide solution

(a) −x2+4-x^2 + 4: no xx term, so b=0b = 0.

(b) −5x2+2x-5x^2 + 2x: no constant term, so c=0c = 0.

(c) x2+3x+7x^2 + 3x + 7.

(a) a=−1a = -1, b=0b = 0, c=4c = 4; (b) a=−5a = -5, b=2b = 2, c=0c = 0; (c) a=1a = 1, b=3b = 3, c=7c = 7.

Question 4

Find the value of each expression when x=−3x = -3. (a) 2x2−x+12x^2 - x + 1; (b) −x2+4x-x^2 + 4x; (c) (2x)2(2x)^2 and 2x22x^2

ShowHide solution

(a) 2(−3)2−(−3)+1=2(9)+3+1=22.2(-3)^2 - (-3) + 1 = 2(9) + 3 + 1 = 22\text{.}

(b) −(−3)2+4(−3)=−9−12=−21.-(-3)^2 + 4(-3) = -9 - 12 = -21\text{.}

(c) (2x)2=(−6)2=36.(2x)^2 = (-6)^2 = 36\text{.} 2x2=2×(−3)2=2×9=18.2x^2 = 2 \times (-3)^2 = 2 \times 9 = 18\text{.}

(a) 2222; (b) −21-21; (c) (2x)2=36(2x)^2 = 36 and 2x2=182x^2 = 18: they are different.

Question 5

Are these pairs like or unlike terms? (a) 3x23x^2 and −x2-x^2; (b) 4x4x and 4x24x^2; (c) 2ab2ab and −5ba-5ba; (d) a2ba^2b and ab2ab^2

ShowHide solution

(a) Both are a number times x2x^2.

(b) xx and x2x^2 are different powers.

(c) ba=abba = ab, so both are a number times abab.

(d) a2b=a×a×ba^2b = a \times a \times b and ab2=a×b×bab^2 = a \times b \times b.

(a) like; (b) unlike; (c) like; (d) unlike.

Question 6

Simplify (a) 8x2−15x28x^2 - 15x^2; (b) −2y2+9y2−7y2-2y^2 + 9y^2 - 7y^2; (c) 6x2−4x+3−2x2+9x−86x^2 - 4x + 3 - 2x^2 + 9x - 8

ShowHide solution

(a) (8−15)x2=−7x2(8 - 15)x^2 = -7x^2.

(b) (−2+9−7)y2=0y2=0.(-2 + 9 - 7)y^2 = 0y^2 = 0\text{.}

(c) x2x^2 terms: 6x2−2x2=4x26x^2 - 2x^2 = 4x^2. xx terms: −4x+9x=5x-4x + 9x = 5x. Numbers: 3−8=−53 - 8 = -5.

(a) −7x2-7x^2; (b) 00; (c) 4x2+5x−54x^2 + 5x - 5.

Question 7

Simplify (a) 3ab−5ba+2a23ab - 5ba + 2a^2; (b) x2−3xy+5yx−4x2x^2 - 3xy + 5yx - 4x^2

ShowHide solution

(a) ba=abba = ab: 3ab−5ab=−2ab3ab - 5ab = -2ab. The answer in descending powers of aa is 2a2−2ab2a^2 - 2ab.

(b) x2−4x2=−3x2x^2 - 4x^2 = -3x^2, and −3xy+5xy=2xy-3xy + 5xy = 2xy.

(a) 2a2−2ab2a^2 - 2ab; (b) −3x2+2xy-3x^2 + 2xy.

Question 8

Simplify (a) (4x2−3x+2)−(x2−5x+7);(4x^2 - 3x + 2) - (x^2 - 5x + 7)\text{;} (b) (2x2+x−1)+(−5x2+4x+6)(2x^2 + x - 1) + (-5x^2 + 4x + 6)

ShowHide solution

(a) 4x2−3x+2−x2+5x−7:4x^2 - 3x + 2 - x^2 + 5x - 7\text{:} 3x2+2x−53x^2 + 2x - 5.

(b) The plus sign leaves the signs as they are: 2x2+x−1−5x2+4x+6:2x^2 + x - 1 - 5x^2 + 4x + 6\text{:} −3x2+5x+5-3x^2 + 5x + 5.

(a) 3x2+2x−53x^2 + 2x - 5; (b) −3x2+5x+5-3x^2 + 5x + 5.

Question 9

Subtract 3x2−2x+43x^2 - 2x + 4 from x2+xx^2 + x.

ShowHide solution

Start with x2+xx^2 + x and take away 3x2−2x+43x^2 - 2x + 4:

(x2+x)−(3x2−2x+4)=x2+x−3x2+2x−4(x^2 + x) - (3x^2 - 2x + 4) = x^2 + x - 3x^2 + 2x - 4

=−2x2+3x−4= -2x^2 + 3x - 4

−2x2+3x−4-2x^2 + 3x - 4

Question 10

A square photograph of side xx cm is stuck on a square card of side 3x3x cm. Write down an expression for the area of the card that is not covered.

ShowHide solution

Area of the card =(3x)2=3x×3x=9x2= (3x)^2 = 3x \times 3x = 9x^2 cm².

Area of the photograph =x2= x^2 cm².

Area not covered =9x2−x2=8x2= 9x^2 - x^2 = 8x^2 cm².

The uncovered area is 8x28x^2 cm².

Question 11

A square room of side xx m has a corridor xx m long and 22 m wide along one side, so that together they make a rectangle xx m by (x+2)(x + 2) m. (a) Write the total floor area as the sum of the two areas. (b) Write the perimeter of the whole rectangle. (c) Which expression is quadratic and which is linear? (d) Find both when x=5x = 5.

ShowHide solution

(a) Room: x×x=x2x \times x = x^2. Corridor: x×2=2xx \times 2 = 2x. Total: (x2+2x)(x^2 + 2x) m².

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

(c) x2+2xx^2 + 2x has highest power 2: quadratic. 4x+44x + 4: linear.

(d) Area: 52+2(5)=25+10=35.5^2 + 2(5) = 25 + 10 = 35\text{.} Perimeter: 4(5)+4=244(5) + 4 = 24. Check: the rectangle is 55 m by 77 m, area 3535 m², perimeter 5+7+5+7=245 + 7 + 5 + 7 = 24 m.

(a) (x2+2x)(x^2 + 2x) m²; (b) (4x+4)(4x + 4) m; (c) the area is quadratic, the perimeter linear; (d) 3535 m² and 2424 m.

Question 12

Wei Jie made one mistake in each line. Find it and correct it. (a) 5x2−2x=3x5x^2 - 2x = 3x; (b) −(x2−4x)=−x2−4x;-(x^2 - 4x) = -x^2 - 4x\text{;} (c) when x=−2x = -2, −x2=4-x^2 = 4

ShowHide solution

(a) 5x25x^2 and 2x2x are unlike terms, so one cannot be taken from the other. 5x2−2x5x^2 - 2x stays as it is.

(b) The minus changes the sign of every term: −(x2−4x)=−x2+4x.-(x^2 - 4x) = -x^2 + 4x\text{.}

(c) Square first, then take the negative: −(−2)2=−(4)=−4.-(-2)^2 = -(4) = -4\text{.}

(a) 5x2−2x5x^2 - 2x cannot be simplified; (b) −x2+4x-x^2 + 4x; (c) −4-4.

Key Points

  • Each term takes the sign in front of it; a coefficient is the number multiplying the letters, sign included.
  • x2=x×xx^2 = x \times x, not 2x2x; −4x2=−4×x2-4x^2 = -4 \times x^2, while (−4x)2=16x2(-4x)^2 = 16x^2.
  • A linear expression in xx can be written ax+bax + b with a≠0a \ne 0; a constant is not linear.
  • 4x+y−84x + y - 8 is linear in two variables, xx and yy.
  • A quadratic expression in xx can be written ax2+bx+cax^2 + bx + c with a≠0a \ne 0; bb and cc may be 00.
  • Like terms have the same letters with the same powers; only like terms can be collected.
  • A minus sign in front of a bracket changes the sign of every term inside; "subtract AA from BB" is B−AB - A.

‹ 2.10 Solving Problems with Simultaneous Equations 3.2 Expanding a Term Times a Bracket ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.