Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Worked examples · Quadratic Functions

Quadratic Functions, Worked Examples (easy)

Four fully worked easy Quadratic Functions problems: solving by factorisation and by the quadratic formula, using the discriminant b24acb^2-4ac to name the type of roots, and completing the square to find a minimum value. Attempt each one first, then check every line against ours.

How to use this set

This set gathers four easy Quadratic Functions problems, each solved line by line so you can see exactly where every number comes from. Together they cover the four skills every Add Math student needs early in this chapter: solving a quadratic by factorisation, solving one with the quadratic formula, using the discriminant b24acb^2-4ac to decide the type of roots, and completing the square to read off a minimum value.

Work each question on paper before you look at our solution. Cover the working, attempt it in full, then compare line by line.

Checking this way catches the small slips, a lost sign, a wrong factor, that quietly cost method marks, and it builds the habit of showing every step clearly.

Pay attention to the shape of each answer, not just the final number. A factorised quadratic hands you its roots for free; the discriminant classifies the roots before you do any solving; and a completed square reveals the turning point directly.

Recognising which of these tools a question is really asking for is half the work in this chapter, and these four examples are chosen to train exactly that judgement. Read the wording carefully,'solve', 'type of roots', and 'minimum value' each point to a different first move.

Four worked examples

Q1[3 marks]

Solve the quadratic equation x2+2x15=0x^2 + 2x - 15 = 0 by factorisation.

Show worked solution

The word 'solve' asks for the values of xx that make the equation true, and the coefficients here are small whole numbers, so factorising is the quickest route. We need two numbers that multiply to 15-15 (the constant term) and add to +2+2 (the coefficient of xx).

List the factor pairs of 15-15: (1,15)(1,-15), (1,15)(-1,15), (3,5)(3,-5) and (3,5)(-3,5). The pair +5+5 and 3-3 works, since 5×(3)=155\times(-3)=-15 and 5+(3)=25+(-3)=2.

So the equation factorises as:

(x+5)(x3)=0(x+5)(x-3)=0

A product equals zero only when one of the factors is zero, so set each bracket to zero in turn:

x+5=0    x=5orx3=0    x=3x+5=0 \;\Rightarrow\; x=-5 \qquad \text{or} \qquad x-3=0 \;\Rightarrow\; x=3

The roots are x=5x=-5 and x=3x=3. It is worth checking at least one: substituting x=3x=3 gives (3)2+2(3)15=9+615=0(3)^2+2(3)-15 = 9+6-15 = 0, and substituting x=5x=-5 gives (5)2+2(5)15=251015=0(-5)^2+2(-5)-15 = 25-10-15 = 0, so both roots are confirmed.

Q2[3 marks]

Solve 3x2+5x2=03x^2 + 5x - 2 = 0 using the quadratic formula.

Show worked solution

The formula works for every quadratic, so it is the safe choice when the coefficient of x2x^2 is not 11 and factors are harder to spot. The quadratic formula is x=b±b24ac2ax = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}.

Read off the coefficients carefully: here a=3a=3, b=5b=5 and c=2c=-2, keeping the sign of cc.

First evaluate the discriminant b24acb^2-4ac, taking care with the double negative:

b24ac=524(3)(2)=25+24=49b^2-4ac = 5^2 - 4(3)(-2) = 25 + 24 = 49

Since 4949 is a perfect square, 49=7\sqrt{49}=7, which tells us the roots will be rational. Substitute into the formula, remembering that the whole numerator sits over 2a2a:

x=5±72(3)=5±76x = \dfrac{-5 \pm 7}{2(3)} = \dfrac{-5 \pm 7}{6}

Take the two signs separately to get the two roots:

x=5+76=26=13orx=576=126=2x = \dfrac{-5+7}{6} = \dfrac{2}{6} = \dfrac{1}{3} \qquad \text{or} \qquad x = \dfrac{-5-7}{6} = \dfrac{-12}{6} = -2

So x=13x=\tfrac{1}{3} or x=2x=-2. Substituting x=2x=-2 gives 3(2)2+5(2)2=12102=03(-2)^2+5(-2)-2 = 12-10-2 = 0, and x=13x=\tfrac13 gives 3(19)+5(13)2=13+532=03(\tfrac19)+5(\tfrac13)-2 = \tfrac13+\tfrac53-2 = 0, so both roots check out.

Q3[2 marks]

Using the discriminant, determine the type of roots of x26x+9=0x^2 - 6x + 9 = 0.

Show worked solution

Here the question only asks for the type of roots, so we do not need to solve fully, the discriminant b24acb^2-4ac settles it. Identify the coefficients: a=1a=1, b=6b=-6 and c=9c=9.

Squaring a negative bb still gives a positive value, which is a common place to slip.

b24ac=(6)24(1)(9)=3636=0b^2-4ac = (-6)^2 - 4(1)(9) = 36 - 36 = 0

When the discriminant equals 00, the equation has two real and equal roots (a repeated root). We can see this directly, since x26x+9=(x3)2x^2-6x+9=(x-3)^2, giving x=3x=3 twice.

A positive discriminant would instead give two distinct roots, and a negative one would give no real roots.

Q4[3 marks]

Express f(x)=x26x+11f(x) = x^2 - 6x + 11 in the form (xh)2+k(x-h)^2 + k. Hence state the minimum value of f(x)f(x) and the coordinates of the turning point.

Show worked solution

The phrase 'minimum value' is the signal to complete the square, because the completed form shows the vertex at a glance. Halve the coefficient of xx: half of 6-6 is 3-3, so we start from (x3)2(x-3)^2.

Since (x3)2=x26x+9(x-3)^2 = x^2-6x+9 carries an extra +9+9, we subtract it back so the value is unchanged:

f(x)=(x3)29+11=(x3)2+2f(x) = (x-3)^2 - 9 + 11 = (x-3)^2 + 2

The squared term (x3)2(x-3)^2 is never negative; its smallest value is 00, reached when the bracket is zero, that is when x=3x=3.

So the minimum value of f(x)f(x) is 22, occurring at x=3x=3. The turning point is therefore (3,2)(3,\,2), and it is a minimum because the coefficient of x2x^2 is positive, so the parabola opens upward.

Check by substitution: f(3)=(3)26(3)+11=918+11=2f(3)=(3)^2-6(3)+11 = 9-18+11 = 2, matching the value read from the completed square.

Q5[2 marks]

State the equation of the axis of symmetry of the curve y=x28x+10y = x^2 - 8x + 10.

Show worked solution

For a curve y=ax2+bx+cy=ax^2+bx+c, the axis of symmetry is the vertical line through the vertex, given directly by x=b2ax=-\dfrac{b}{2a}. Here a=1a=1, b=8b=-8 and c=10c=10, so read off the coefficients before substituting.

x=b2a=82(1)x = -\dfrac{b}{2a} = -\dfrac{-8}{2(1)}

Simplify the double negative in the numerator, then divide.

x=82=4x = \dfrac{8}{2} = 4

Answer

The axis of symmetry is x=4x=4. As a check, completing the square gives y=(x4)26y=(x-4)^2-6, confirming the same vertex line x=4x=4.

Q6[3 marks]

Form the quadratic equation whose roots are 44 and 3-3, giving your answer in the form x2+bx+c=0x^2+bx+c=0.

Show worked solution

When the two roots are known, the equation can be rebuilt directly from the factors (xα)(xβ)=0(x-\alpha)(x-\beta)=0, keeping each root's own sign inside its bracket.

(x4)(x(3))=0    (x4)(x+3)=0(x-4)(x-(-3))=0 \;\Rightarrow\; (x-4)(x+3)=0

Expand the brackets and collect like terms.

x2+3x4x12=0    x2x12=0x^2+3x-4x-12=0 \;\Rightarrow\; x^2-x-12=0

Answer

The equation is x2x12=0x^2-x-12=0. As a check, the sum of the roots 4+(3)=14+(-3)=1 equals b-b (since b=1b=-1), and the product 4×(3)=124\times(-3)=-12 equals cc, matching the coefficients.

Q7[3 marks]

Solve the inequality x22x80x^2-2x-8\le0.

Show worked solution

Start by factorising to find the critical values, the xx-values where the expression equals zero, since these are the points where the graph crosses the xx-axis.

x22x8=(x4)(x+2)=0    x=4 or x=2x^2-2x-8=(x-4)(x+2)=0 \;\Rightarrow\; x=4 \text{ or } x=-2

The coefficient of x2x^2 is positive, so the graph is an upward-opening parabola. It lies on or below the xx-axis (0\le 0) only on the interval between its two roots.

2x4-2 \le x \le 4

Answer

The solution is 2x4-2\le x\le 4. As a check, x=0x=0 lies in this interval and gives 022(0)8=800^2-2(0)-8=-8\le0, as expected.

Q8[3 marks]

Find the value of kk, where k>0k>0, for which the equation x2+kx+16=0x^2+kx+16=0 has two equal roots.

Show worked solution

Two equal roots occur exactly when the discriminant b24acb^2-4ac is zero. Identify the coefficients a=1a=1, b=kb=k and c=16c=16, then set the discriminant to zero.

k24(1)(16)=0k^2-4(1)(16)=0

Solve this equation for kk.

k2=64    k=±8k^2=64 \;\Rightarrow\; k=\pm8

Answer

Since k>0k>0, the required value is k=8k=8. As a check, substituting gives x2+8x+16=(x+4)2=0x^2+8x+16=(x+4)^2=0, a genuine repeated root at x=4x=-4.

Key method points

  • Factorise first for simple quadratics: find two numbers with the right product and sum, then set each bracket to zero.
  • The quadratic formula x=b±b24ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a} always works, substitute aa, bb, cc carefully and watch the signs.
  • The discriminant b24acb^2-4ac names the roots: positive gives two distinct real roots, zero gives two equal roots, negative gives no real roots.
  • Completing the square rewrites x2+bx+cx^2+bx+c as (xh)2+k(x-h)^2+k, so you read the minimum value kk and turning point (h,k)(h,k) straight off.
  • Show every line, with analytic marking, correct method earns marks even when a final answer slips.

Common slips to avoid

When you factorise, check both the product and the sum, a wrong pair often satisfies only one of them. In the quadratic formula, place the entire numerator over 2a2a, and square a negative bb before doing anything else, since (6)2=36(-6)^2=36, not 36-36.

When completing the square, the constant you add inside the bracket must be subtracted again outside it. A quick substitution of your answer back into the original equation catches almost all of these before they cost marks.

How a teacher helps

In class our teachers watch the exact spots where marks leak: a sign dropped when a factor is negative, the discriminant worked out with the wrong aa, or the +9+9 forgotten when completing the square. We ask you to talk each step through out loud, so the reasoning becomes automatic well before the exam.

We also help you decide, in the first few seconds, which method a question wants, factorise, use the formula, test the discriminant, or complete the square, because that single choice shapes the whole solution. Because Add Math is marked analytically, we train you to set out every line clearly, so the method itself earns marks.

Lessons are in English, and we build from the easy cases here up to the trickier ones, one secure step at a time.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

Should I always try factorising before using the formula?

If the quadratic factorises with small whole numbers, factorising is faster and less error-prone. When you cannot spot factors quickly, switch to the formula x=b±b24ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}, which works for every quadratic.

What does the discriminant actually tell me?

The value b24acb^2-4ac reveals the type of roots before you solve: positive means two different real roots, zero means two equal roots, and negative means no real roots.

Why complete the square instead of just reading the numbers?

Completing the square rewrites the function as (xh)2+k(x-h)^2+k, which shows the turning point (h,k)(h,k) and the minimum or maximum value kk directly, information you cannot read from the ordinary form.

Do I lose all the marks if my final answer is wrong?

No. Add Math is marked analytically, so clearly shown correct steps still earn method marks even if a later slip spoils the final value.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply