Skip to the page
Home Campus
Start free

Sketching Quadratic Graphs in Completed-Square Form

How to sketch y=(x−p)2+qy = (x - p)^2 + q and y=−(x−p)2+qy = -(x - p)^2 + q without a table of values: the shape, the turning point (p,q)(p, q), the line of symmetry x=px = p and the intercepts; the greatest or least value of yy; and the equation of a curve from its sketch.

Before you start

  • In Secondary 2 you found the turning point of a quadratic graph drawn from a table: a ∪-shaped graph has a minimum point, a ∩-shaped graph has a maximum point, and the graph is symmetrical about the vertical line through its turning point, its line of symmetry.
  • In lesson 1.1 you completed the square, writing an expression such as x2−6x+11x^2 - 6x + 11 in the form (x+a)2+b(x + a)^2 + b, and read its least value: bb, when x=−ax = -a.
  • For example, x2−6x+11=(x−3)2+2:x^2 - 6x + 11 = (x - 3)^2 + 2\text{:} its least value is 22, when x=3x = 3. On its graph that is the minimum point (3,2)(3, 2), and the line of symmetry is x=3x = 3.

The Turning Point from the Completed-Square Form

Look again at y=(x−3)2+2y = (x - 3)^2 + 2. A square is never negative, so (x−3)2≥0(x - 3)^2 \ge 0 and y≥2y \ge 2 for every value of xx. The value y=2y = 2 is reached only when x−3=0x - 3 = 0, that is, when x=3x = 3. So the lowest point of the graph is (3,2)(3, 2): the graph is ∪-shaped with its minimum point at (3,2)(3, 2), and we can say so without drawing up a table.

Values of xx the same distance either side of 33 give the same square: x=1x = 1 and x=5x = 5 both give (±2)2+2=6(\pm 2)^2 + 2 = 6. So the graph is symmetrical about the line x=3x = 3.

Now put a minus sign in front of the square: y=−(x−3)2+2y = -(x - 3)^2 + 2. Since (x−3)2≥0(x - 3)^2 \ge 0, −(x−3)2≤0-(x - 3)^2 \le 0, and so y≤2y \le 2. The graph is ∩-shaped, with its maximum point at (3,2)(3, 2).

A sketch of y = (x − 3)² + 2: a ∪-shaped curve with its minimum point at (3, 2) and its line of symmetry x = 3xyOx = 3(3, 2)
y=(x−3)2+2y = (x - 3)^2 + 2: minimum point (3,2)(3, 2)
A sketch of y = −(x − 3)² + 2: a ∩-shaped curve with its maximum point at (3, 2) and its line of symmetry x = 3xyOx = 3(3, 2)
y=−(x−3)2+2y = -(x - 3)^2 + 2: maximum point (3,2)(3, 2)

The graphs of y=(x−p)2+qy = (x - p)^2 + q and y=−(x−p)2+qy = -(x - p)^2 + q

y=(x−p)2+qy = (x - p)^2 + q is ∪-shaped. Its minimum point is (p,q)(p, q), and the least value of yy is qq, when x=px = p.

y=−(x−p)2+qy = -(x - p)^2 + q is ∩-shaped. Its maximum point is (p,q)(p, q), and the greatest value of yy is qq, when x=px = p.

In both, the line of symmetry is x=px = p.

Lesson 1.1 wrote the completed square as (x+a)2+b(x + a)^2 + b, with its least value at x=−ax = -a. Here it is written (x−p)2+q(x - p)^2 + q so that the turning point can be read as (p,q)(p, q). In lesson 1.1, pp and qq were the coefficient of xx and the number term of x2+px+qx^2 + px + q; here they mean something new: the turning point (p,q)(p, q). Read pp with care: it has the opposite sign to the number in the bracket. (x−5)2(x - 5)^2 gives p=5p = 5, but (x+5)2=(x−(−5))2(x + 5)^2 = (x - (-5))^2 gives p=−5p = -5. The number qq is read with its own sign: (x+3)2−4(x + 3)^2 - 4 has p=−3p = -3 and q=−4q = -4.

Example 1: Reading the turning point

For each graph, write down the turning point, say whether it is a maximum or a minimum point, and write down the line of symmetry.
(a) y=(x−5)2+3y = (x - 5)^2 + 3
(b) y=(x+5)2+3y = (x + 5)^2 + 3
(c) y=−(x+1)2−4y = -(x + 1)^2 - 4
(d) y=7−(x−2)2y = 7 - (x - 2)^2
(e) y=x2−5y = x^2 - 5

Solution

(a) The square has a plus sign in front, so the graph is ∪-shaped. (x−5)2(x - 5)^2 gives p=5p = 5, and q=3q = 3: minimum point (5,3)(5, 3); line of symmetry x=5x = 5.

(b) (x+5)2=(x−(−5))2,(x + 5)^2 = (x - (-5))^2\text{,} so p=−5p = -5; q=3q = 3: minimum point (−5,3)(-5, 3); line of symmetry x=−5x = -5.

(c) The minus sign in front of the square makes it ∩-shaped. p=−1p = -1 and q=−4q = -4: maximum point (−1,−4)(-1, -4); line of symmetry x=−1x = -1.

(d) Write it in the usual order: y=−(x−2)2+7y = -(x - 2)^2 + 7. ∩-shaped, p=2p = 2, q=7q = 7: maximum point (2,7)(2, 7); line of symmetry x=2x = 2.

(e) y=x2−5=(x−0)2−5.y = x^2 - 5 = (x - 0)^2 - 5\text{.} ∪-shaped, p=0p = 0, q=−5q = -5: minimum point (0,−5)(0, -5), on the yy-axis. The line of symmetry is x=0x = 0, the yy-axis itself.

(a) minimum (5,3)(5, 3), x=5x = 5
(b) minimum (−5,3)(-5, 3), x=−5x = -5
(c) maximum (−1,−4)(-1, -4), x=−1x = -1
(d) maximum (2,7)(2, 7), x=2x = 2
(e) minimum (0,−5)(0, -5), x=0x = 0

Sketching the Graph

A sketch shows the shape of a graph and the points that matter, each labelled with its coordinates. It is not drawn to scale, and it needs no table of values and no graph paper: draw the two axes, mark the origin OO, and draw a smooth curve through the points you have worked out.

Besides the turning point, a sketch shows where the curve meets the axes. It meets the yy-axis where x=0x = 0. It meets the xx-axis where y=0y = 0: in completed-square form this is an equation solved by taking square roots, as in lesson 1.2.

Sketching y=±(x−p)2+qy = \pm(x - p)^2 + q

1. The shape: +(x−p)2+(x - p)^2 is ∪-shaped; −(x−p)2-(x - p)^2 is ∩-shaped.

2. The turning point (p,q)(p, q), and the line of symmetry x=px = p.

3. The yy-intercept: put x=0x = 0.

4. The xx-intercepts: put y=0y = 0 and solve. A ∪-shaped curve whose minimum point is above the xx-axis (q>0q > 0), or a ∩-shaped curve whose maximum point is below it (q<0q < 0), does not meet the xx-axis at all. If q=0q = 0, the turning point is on the xx-axis: the curve touches the axis there.

5. Draw the axes and OO, mark the points, and draw a smooth curve, symmetrical about x=px = p. Label each point with its coordinates, and the curve with its equation.

The symmetry gives one more point with no extra working. The yy-intercept, on the line x=0x = 0, has a partner point at the same height, the same distance away on the other side of x=px = p, at x=2px = 2p. It helps to draw both arms alike.

Example 2: A curve above the x-axis

Sketch the graph of y=(x−2)2+1y = (x - 2)^2 + 1, showing its turning point, its line of symmetry and the point where it meets the yy-axis.

Solution

Shape: a plus sign in front of the square, so ∪-shaped.

Turning point: p=2p = 2, q=1q = 1, so the minimum point is (2,1)(2, 1), and the line of symmetry is x=2x = 2.

yy-intercept: when x=0x = 0, y=(0−2)2+1=4+1=5,y = (0 - 2)^2 + 1 = 4 + 1 = 5\text{,} so (0,5)(0, 5).

Partner point: (0,5)(0, 5) is 22 units to the left of x=2x = 2, so (4,5)(4, 5), 22 units to the right, is on the curve too. Check: (4−2)2+1=5(4 - 2)^2 + 1 = 5 ✓

xx-intercepts: the least value of yy is 11, which is above 00, so the curve does not meet the xx-axis.

A sketch of y = (x − 2)² + 1: a ∪-shaped curve above the x-axis, with its minimum point at (2, 1), its line of symmetry x = 2, meeting the y-axis at (0, 5) and passing through (4, 5)xyOx = 2y = (x − 2)² + 1(2, 1)(0, 5)(4, 5)

A ∪-shaped curve with minimum point (2,1)(2, 1) and line of symmetry x=2x = 2, meeting the yy-axis at (0,5)(0, 5); it does not meet the xx-axis.

Example 3: A curve that crosses the x-axis

Sketch the graph of y=(x−3)2−4y = (x - 3)^2 - 4, showing its turning point and the points where it meets the axes.

Solution

Shape: ∪-shaped. Turning point: minimum point (3,−4)(3, -4); line of symmetry x=3x = 3.

yy-intercept: when x=0x = 0, y=(0−3)2−4=9−4=5,y = (0 - 3)^2 - 4 = 9 - 4 = 5\text{,} so (0,5)(0, 5).

xx-intercepts: the minimum point is below the xx-axis and the curve opens upwards, so it crosses the xx-axis twice. Put y=0y = 0:

(x−3)2−4=0(x - 3)^2 - 4 = 0, so (x−3)2=4(x - 3)^2 = 4, and x−3=2x - 3 = 2 or x−3=−2x - 3 = -2.

So x=5x = 5 or x=1x = 1: the points (1,0)(1, 0) and (5,0)(5, 0). They are each 22 units from x=3x = 3, as the symmetry says they must be.

A sketch of y = (x − 3)² − 4: a ∪-shaped curve with its minimum point at (3, −4), meeting the x-axis at (1, 0) and (5, 0) and the y-axis at (0, 5)xyOy = (x − 3)² − 4(3, −4)(1, 0)(5, 0)(0, 5)

A ∪-shaped curve with minimum point (3,−4)(3, -4), meeting the xx-axis at (1,0)(1, 0) and (5,0)(5, 0) and the yy-axis at (0,5)(0, 5).

Example 4: A ∩-shaped curve

Sketch the graph of y=−(x+3)2+1y = -(x + 3)^2 + 1, showing its turning point, its line of symmetry and the points where it meets the axes.

Solution

Shape: a minus sign in front of the square, so ∩-shaped.

Turning point: (x+3)2=(x−(−3))2,(x + 3)^2 = (x - (-3))^2\text{,} so p=−3p = -3, and q=1q = 1. The maximum point is (−3,1)(-3, 1); the line of symmetry is x=−3x = -3.

yy-intercept: when x=0x = 0, y=−(0+3)2+1=−9+1=−8,y = -(0 + 3)^2 + 1 = -9 + 1 = -8\text{,} so (0,−8)(0, -8). The square is worked out first, 32=93^2 = 9, and then the minus sign is applied.

xx-intercepts: put y=0y = 0: −(x+3)2+1=0-(x + 3)^2 + 1 = 0, so (x+3)2=1(x + 3)^2 = 1, and x+3=1x + 3 = 1 or x+3=−1x + 3 = -1. So x=−2x = -2 or x=−4x = -4.

Partner point of (0,−8)(0, -8): it is 33 units to the right of x=−3x = -3, so (−6,−8)(-6, -8) is on the curve too.

A sketch of y = −(x + 3)² + 1: a ∩-shaped curve with its maximum point at (−3, 1), its line of symmetry x = −3, meeting the x-axis at (−4, 0) and (−2, 0) and the y-axis at (0, −8)xyOx = −3y = −(x + 3)² + 1(−3, 1)(−4, 0)(−2, 0)(0, −8)

A ∩-shaped curve with maximum point (−3,1)(-3, 1) and line of symmetry x=−3x = -3, meeting the xx-axis at (−4,0)(-4, 0) and (−2,0)(-2, 0) and the yy-axis at (0,−8)(0, -8).

Greatest and Least Values

The yy-coordinate of the turning point is the least value of yy on a ∪-shaped graph, and the greatest value of yy on a ∩-shaped graph. The completed-square form gives it straight away, together with the value of xx at which it occurs.

A ∪-shaped graph has no greatest value: its arms rise without end. In the same way a ∩-shaped graph has no least value.

Example 5: Greatest or least?

Say whether each expression has a greatest or a least value. Find that value and the value of xx at which it occurs.
(a) (x+4)2−7(x + 4)^2 - 7
(b) 3−(x−1)23 - (x - 1)^2

Solution

(a) (x+4)2≥0(x + 4)^2 \ge 0, so (x+4)2−7≥−7(x + 4)^2 - 7 \ge -7. The graph of y=(x+4)2−7y = (x + 4)^2 - 7 is ∪-shaped with minimum point (−4,−7)(-4, -7).

There is a least value, −7-7, when x+4=0x + 4 = 0, that is, x=−4x = -4.

(b) 3−(x−1)2=−(x−1)2+3.3 - (x - 1)^2 = -(x - 1)^2 + 3\text{.} Since (x−1)2≥0(x - 1)^2 \ge 0, the expression is 33 or less: the graph is ∩-shaped with maximum point (1,3)(1, 3).

There is a greatest value, 33, when x−1=0x - 1 = 0, that is, x=1x = 1.

(a) least value −7-7, when x=−4x = -4
(b) greatest value 33, when x=1x = 1

Example 6: The greatest profit

A bubble tea stall finds that when it charges xx dollars for a cup, its profit for the day is yy hundred dollars, where y=−(x−5)2+9y = -(x - 5)^2 + 9.
(a) What price gives the greatest profit, and what is that profit?
(b) At which two prices does the stall make no profit?

Solution

(a) The minus sign in front of the square makes the graph ∩-shaped, with maximum point (5,9)(5, 9). So the greatest value of yy is 99, when x=5x = 5.

The profit is 99 hundred dollars, that is, $900, at $5 a cup.

(b) No profit means y=0y = 0: −(x−5)2+9=0-(x - 5)^2 + 9 = 0, so (x−5)2=9(x - 5)^2 = 9, and x−5=3x - 5 = 3 or x−5=−3x - 5 = -3.

So x=8x = 8 or x=2x = 2. Check x=2x = 2: −(2−5)2+9=−9+9=0-(2 - 5)^2 + 9 = -9 + 9 = 0 ✓

The two prices are the same distance, $3, either side of $5, as the symmetry says.

(a) The greatest profit is $900, when a cup costs $5.
(b) The stall makes no profit at $2 and at $8 a cup.

The Equation from a Sketch

Working the other way, when a curve is known to be of the form y=(x−p)2+qy = (x - p)^2 + q or y=−(x−p)2+qy = -(x - p)^2 + q, a sketch that shows the shape and the turning point gives the equation at once. A ∪-shaped curve with minimum point (2,−3)(2, -3) is y=(x−2)2−3y = (x - 2)^2 - 3; a ∩-shaped curve with maximum point (2,−3)(2, -3) is y=−(x−2)2−3y = -(x - 2)^2 - 3. Then check with another point that the sketch shows.

The equation from the turning point

For a curve of the form y=±(x−p)2+qy = \pm(x - p)^2 + q:

A ∪-shaped curve with minimum point (p,q)(p, q): y=(x−p)2+qy = (x - p)^2 + q.

A ∩-shaped curve with maximum point (p,q)(p, q): y=−(x−p)2+qy = -(x - p)^2 + q.

Check: substitute the xx of another point on the sketch and see that you get its yy. If it does not fit, the curve is not of this form.

Example 7: From the minimum point

The sketch shows the graph of a quadratic function of the form y=(x−p)2+qy = (x - p)^2 + q. Find its equation.

A sketch of a ∪-shaped curve with its minimum point at (2, −3), meeting the y-axis at (0, 1)xyO(2, −3)(0, 1)

Solution

The minimum point is (2,−3)(2, -3), so p=2p = 2 and q=−3q = -3: y=(x−2)2−3y = (x - 2)^2 - 3.

Check with the yy-intercept: when x=0x = 0, y=(0−2)2−3=4−3=1y = (0 - 2)^2 - 3 = 4 - 3 = 1 ✓, the point (0,1)(0, 1) on the sketch.

y=(x−2)2−3y = (x - 2)^2 - 3

Example 8: A maximum point and an x-intercept

The sketch shows a ∩-shaped curve with maximum point (−1,4)(-1, 4). It meets the xx-axis at (1,0)(1, 0) and at AA.
(a) Find the equation of the curve in the form y=−(x−p)2+qy = -(x - p)^2 + q.
(b) Find the coordinates of AA.

A sketch of a ∩-shaped curve with its maximum point at (−1, 4), meeting the x-axis at A, to be found, and at (1, 0)xyO(−1, 4)A(1, 0)

Solution

(a) The maximum point is (−1,4)(-1, 4), so p=−1p = -1 and q=4q = 4: y=−(x−(−1))2+4=−(x+1)2+4.y = -(x - (-1))^2 + 4 = -(x + 1)^2 + 4\text{.}

Check with (1,0)(1, 0): −(1+1)2+4=−4+4=0-(1 + 1)^2 + 4 = -4 + 4 = 0 ✓

(b) The line of symmetry is x=−1x = -1. The point (1,0)(1, 0) is 22 units to its right, so AA is 22 units to its left, at x=−3x = -3, on the xx-axis.

Check: −(−3+1)2+4=−4+4=0-(-3 + 1)^2 + 4 = -4 + 4 = 0 ✓

(a) y=−(x+1)2+4y = -(x + 1)^2 + 4
(b) A(−3,0)A(-3, 0)

Example 9: An unknown in the equation

The sketch shows the graph of y=(x−1)2+ky = (x - 1)^2 + k, which meets the yy-axis at (0,−3)(0, -3). Find the value of kk and the coordinates of the minimum point.

A sketch of y = (x − 1)² + k: a ∪-shaped curve with its minimum point at (1, k), meeting the y-axis at (0, −3)xyOy = (x − 1)² + k(1, k)(0, −3)

Solution

The point (0,−3)(0, -3) is on the curve, so substitute x=0x = 0 and y=−3y = -3: −3=(0−1)2+k=1+k.-3 = (0 - 1)^2 + k = 1 + k\text{.}

So k=−3−1=−4k = -3 - 1 = -4, and the curve is y=(x−1)2−4y = (x - 1)^2 - 4.

Its minimum point is (1,k)=(1,−4)(1, k) = (1, -4).

k=−4k = -4; the minimum point is (1,−4)(1, -4).

Coming next

Lesson 1.8 sketches the factorised form y=(x−a)(x−b)y = (x - a)(x - b). A quadratic is often given expanded, as y=x2−4x+1y = x^2 - 4x + 1: lesson 1.9 completes the square first, as in lesson 1.1, and then sketches it in the way of this lesson.

Common Mistakes

  • Reading pp with the wrong sign: y=(x+5)2+3y = (x + 5)^2 + 3 has its minimum point at (−5,3)(-5, 3), not (5,3)(5, 3).
  • Calling the turning point of y=−(x−2)2+3y = -(x - 2)^2 + 3 a minimum. The minus sign in front of the square makes the graph ∩-shaped, so (2,3)(2, 3) is a maximum point.
  • Taking the yy-intercept to be qq. For y=(x−2)2+1y = (x - 2)^2 + 1, put x=0x = 0: y=4+1=5y = 4 + 1 = 5, so the curve meets the yy-axis at (0,5)(0, 5), not (0,1)(0, 1).
  • Losing the minus sign: for y=−(x+3)2+1y = -(x + 3)^2 + 1 at x=0x = 0, −(3)2=−9-(3)^2 = -9, not +9+9.
  • Writing the line of symmetry as y=2y = 2 or as the number 22. It is a vertical line, x=2x = 2.
  • Giving a greatest value for (x−p)2+q(x - p)^2 + q. Its graph is ∪-shaped and has only a least value, qq.
  • Drawing a sketch with a pointed bottom or with arms of different shapes. The curve is smooth and symmetrical about its line of symmetry.

Practice Questions

A sketch needs no graph paper: draw the axes, mark OO, and label every point you find with its coordinates. The questions get harder as you go.

Question 1

For each graph, write down the turning point, say whether it is a maximum or a minimum point, and write down the line of symmetry.
(a) y=(x−4)2+1y = (x - 4)^2 + 1
(b) y=(x+2)2−6y = (x + 2)^2 - 6
(c) y=−(x−1)2+5y = -(x - 1)^2 + 5
(d) y=−x2−3y = -x^2 - 3
(e) y=2−(x+3)2y = 2 - (x + 3)^2

ShowHide solution

(a) ∪-shaped, p=4p = 4, q=1q = 1: minimum point (4,1)(4, 1); x=4x = 4.

(b) ∪-shaped; (x+2)2=(x−(−2))2,(x + 2)^2 = (x - (-2))^2\text{,} so p=−2p = -2, q=−6q = -6: minimum point (−2,−6)(-2, -6); x=−2x = -2.

(c) ∩-shaped, p=1p = 1, q=5q = 5: maximum point (1,5)(1, 5); x=1x = 1.

(d) y=−(x−0)2−3y = -(x - 0)^2 - 3: ∩-shaped, maximum point (0,−3)(0, -3); the line of symmetry is the yy-axis, x=0x = 0.

(e) y=−(x+3)2+2y = -(x + 3)^2 + 2: ∩-shaped, p=−3p = -3, q=2q = 2: maximum point (−3,2)(-3, 2); x=−3x = -3.

(a) minimum (4,1)(4, 1), x=4x = 4
(b) minimum (−2,−6)(-2, -6), x=−2x = -2
(c) maximum (1,5)(1, 5), x=1x = 1
(d) maximum (0,−3)(0, -3), x=0x = 0
(e) maximum (−3,2)(-3, 2), x=−3x = -3

Question 2

Say whether each expression has a greatest or a least value. Find that value and the value of xx at which it occurs.
(a) (x+6)2−2(x + 6)^2 - 2
(b) 9−(x−4)29 - (x - 4)^2
(c) −(x+3)2-(x + 3)^2

ShowHide solution

(a) (x+6)2≥0(x + 6)^2 \ge 0, so the expression is −2-2 or more: a least value, −2-2, when x+6=0x + 6 = 0, that is, x=−6x = -6.

(b) −(x−4)2≤0-(x - 4)^2 \le 0, so the expression is 99 or less: a greatest value, 99, when x=4x = 4.

(c) −(x+3)2≤0-(x + 3)^2 \le 0: a greatest value, 00, when x=−3x = -3. (Here q=0q = 0: the maximum point (−3,0)(-3, 0) is on the xx-axis.)

(a) least value −2-2, when x=−6x = -6
(b) greatest value 99, when x=4x = 4
(c) greatest value 00, when x=−3x = -3

Question 3

Sketch the graph of y=(x−1)2+3y = (x - 1)^2 + 3, showing its turning point and the point where it meets the yy-axis. Explain why it does not meet the xx-axis.

ShowHide solution

∪-shaped, minimum point (1,3)(1, 3), line of symmetry x=1x = 1.

When x=0x = 0, y=(0−1)2+3=1+3=4:y = (0 - 1)^2 + 3 = 1 + 3 = 4\text{:} the point (0,4)(0, 4). Its partner, 11 unit to the right of x=1x = 1, is (2,4)(2, 4).

A sketch of y = (x − 1)² + 3: a ∪-shaped curve above the x-axis, with its minimum point at (1, 3), meeting the y-axis at (0, 4) and passing through (2, 4)xyOy = (x − 1)² + 3(1, 3)(0, 4)(2, 4)

The least value of yy is 33. Every point of the curve has y≥3y \ge 3, so yy is never 00.

Minimum point (1,3)(1, 3); yy-intercept (0,4)(0, 4). The least value of yy is 3>03 > 0, so the curve does not meet the xx-axis.

Question 4

Sketch the graph of y=(x+1)2−9y = (x + 1)^2 - 9, showing its turning point and the points where it meets the axes.

ShowHide solution

∪-shaped; p=−1p = -1, q=−9q = -9: minimum point (−1,−9)(-1, -9), line of symmetry x=−1x = -1.

When x=0x = 0, y=(0+1)2−9=1−9=−8:y = (0 + 1)^2 - 9 = 1 - 9 = -8\text{:} the point (0,−8)(0, -8).

When y=0y = 0: (x+1)2=9(x + 1)^2 = 9, so x+1=3x + 1 = 3 or x+1=−3x + 1 = -3, giving x=2x = 2 or x=−4x = -4.

A sketch of y = (x + 1)² − 9: a ∪-shaped curve with its minimum point at (−1, −9), meeting the x-axis at (−4, 0) and (2, 0) and the y-axis at (0, −8)xyOy = (x + 1)² − 9(−1, −9)(−4, 0)(2, 0)(0, −8)

Minimum point (−1,−9)(-1, -9); it meets the xx-axis at (−4,0)(-4, 0) and (2,0)(2, 0) and the yy-axis at (0,−8)(0, -8).

Question 5

Sketch the graph of y=−(x−2)2+4y = -(x - 2)^2 + 4, showing its turning point, its line of symmetry and the points where it meets the axes.

ShowHide solution

∩-shaped, maximum point (2,4)(2, 4), line of symmetry x=2x = 2.

When x=0x = 0, y=−(0−2)2+4=−4+4=0:y = -(0 - 2)^2 + 4 = -4 + 4 = 0\text{:} the curve passes through the origin.

When y=0y = 0: (x−2)2=4(x - 2)^2 = 4, so x−2=2x - 2 = 2 or x−2=−2x - 2 = -2, giving x=4x = 4 or x=0x = 0. The root x=0x = 0 is the origin again.

A sketch of y = −(x − 2)² + 4: a ∩-shaped curve with its maximum point at (2, 4), its line of symmetry x = 2, passing through the origin O and meeting the x-axis again at (4, 0)xyx = 2y = −(x − 2)² + 4(2, 4)O(0, 0)(4, 0)

Maximum point (2,4)(2, 4), line of symmetry x=2x = 2; it meets the axes at the origin O(0,0)O(0, 0) and at (4,0)(4, 0).

Question 6

Sketch the graph of y=−(x+3)2−1y = -(x + 3)^2 - 1, showing its turning point and the point where it meets the yy-axis. Does it meet the xx-axis?

ShowHide solution

∩-shaped; p=−3p = -3, q=−1q = -1: maximum point (−3,−1)(-3, -1), line of symmetry x=−3x = -3.

When x=0x = 0, y=−(0+3)2−1=−9−1=−10:y = -(0 + 3)^2 - 1 = -9 - 1 = -10\text{:} the point (0,−10)(0, -10).

The greatest value of yy is −1-1, which is below 00, so the whole curve lies below the xx-axis.

A sketch of y = −(x + 3)² − 1: a ∩-shaped curve below the x-axis, with its maximum point at (−3, −1), meeting the y-axis at (0, −10)xyOy = −(x + 3)² − 1(−3, −1)(0, −10)

Maximum point (−3,−1)(-3, -1); yy-intercept (0,−10)(0, -10). It does not meet the xx-axis, because its greatest value, −1-1, is below 00.

Question 7

Sketch the graph of y=(x−5)2−10y = (x - 5)^2 - 10, showing its turning point and the points where it meets the axes. Give the xx-intercepts correct to 2 decimal places.

ShowHide solution

∪-shaped, minimum point (5,−10)(5, -10), line of symmetry x=5x = 5.

When x=0x = 0, y=(0−5)2−10=25−10=15:y = (0 - 5)^2 - 10 = 25 - 10 = 15\text{:} the point (0,15)(0, 15).

When y=0y = 0: (x−5)2=10(x - 5)^2 = 10, so x−5=10x - 5 = \sqrt{10} or x−5=−10x - 5 = -\sqrt{10}, where 10=3.162 28…\sqrt{10} = 3.162\,28\ldots

So x=5+3.162 28…=8.162 28…x = 5 + 3.162\,28\ldots = 8.162\,28\ldots or x=5−3.162 28…=1.837 72…,x = 5 - 3.162\,28\ldots = 1.837\,72\ldots\text{,} that is, x=8.16x = 8.16 or x=1.84x = 1.84 to 2 decimal places.

A sketch of y = (x − 5)² − 10: a ∪-shaped curve with its minimum point at (5, −10), meeting the x-axis at about (1.84, 0) and (8.16, 0) and the y-axis at (0, 15)xyOy = (x − 5)² − 10(5, −10)(≈ 1.84, 0)(≈ 8.16, 0)(0, 15)

Minimum point (5,−10)(5, -10); it meets the yy-axis at (0,15)(0, 15) and the xx-axis at (1.84,0)(1.84, 0) and (8.16,0)(8.16, 0), to 2 decimal places.

Question 8

The sketch shows a ∩-shaped curve. Find its equation in the form y=−(x−p)2+qy = -(x - p)^2 + q.

A sketch of a ∩-shaped curve with its maximum point at (3, 2), meeting the y-axis at (0, −7)xyO(3, 2)(0, −7)
ShowHide solution

The maximum point is (3,2)(3, 2), so p=3p = 3 and q=2q = 2: y=−(x−3)2+2y = -(x - 3)^2 + 2.

Check with (0,−7)(0, -7): −(0−3)2+2=−9+2=−7-(0 - 3)^2 + 2 = -9 + 2 = -7 ✓

y=−(x−3)2+2y = -(x - 3)^2 + 2

Question 9

The sketch shows the graph of y=(x−p)2+qy = (x - p)^2 + q. Its line of symmetry is x=4x = 4, and it meets the yy-axis at (0,10)(0, 10). Find pp and qq, and write down the minimum point.

A sketch of y = (x − p)² + q: a ∪-shaped curve with its line of symmetry x = 4, meeting the y-axis at (0, 10)xyOx = 4y = (x − p)² + q(0, 10)
ShowHide solution

The line of symmetry is x=px = p, so p=4p = 4, and y=(x−4)2+qy = (x - 4)^2 + q.

The point (0,10)(0, 10) is on the curve: 10=(0−4)2+q=16+q,10 = (0 - 4)^2 + q = 16 + q\text{,} so q=10−16=−6q = 10 - 16 = -6.

So y=(x−4)2−6y = (x - 4)^2 - 6, with minimum point (4,−6)(4, -6).

p=4p = 4, q=−6q = -6; the minimum point is (4,−6)(4, -6).

Question 10

Water from a fountain rises from a nozzle on the ground and falls back to the ground. At a horizontal distance of xx metres from the nozzle, the water is yy metres above the ground, where y=−(x−3)2+9y = -(x - 3)^2 + 9.
(a) Find the greatest height of the water, and how far from the nozzle it is reached.
(b) How far from the nozzle does the water land?

ShowHide solution

(a) The graph is ∩-shaped with maximum point (3,9)(3, 9): the greatest value of yy is 99, when x=3x = 3.

(b) The water is on the ground when y=0y = 0: (x−3)2=9(x - 3)^2 = 9, so x−3=3x - 3 = 3 or x−3=−3x - 3 = -3, giving x=6x = 6 or x=0x = 0.

x=0x = 0 is the nozzle itself, where the water starts. Check x=6x = 6: −(6−3)2+9=−9+9=0-(6 - 3)^2 + 9 = -9 + 9 = 0 ✓

(a) The greatest height is 9 m, 3 m from the nozzle.
(b) The water lands 6 m from the nozzle.

Question 11

A workshop makes lanterns for the Mid-Autumn Festival. When it makes xx hundred lanterns in a week, the cost of making each lantern is yy dollars, where y=(x−6)2+4y = (x - 6)^2 + 4.
(a) Find the least cost of making a lantern, and the number of lanterns made in a week that gives it.
(b) Find the cost of making each lantern when 300 are made in a week.
(c) Without substituting, find the other number of lanterns for which each costs the same as in (b).

ShowHide solution

(a) The graph is ∪-shaped with minimum point (6,4)(6, 4): the least value of yy is 44, when x=6x = 6, that is, 600 lanterns.

(b) 300 lanterns is x=3x = 3: y=(3−6)2+4=9+4=13.y = (3 - 6)^2 + 4 = 9 + 4 = 13\text{.}

(c) The line of symmetry is x=6x = 6. x=3x = 3 is 33 to its left, so the partner is 33 to its right: x=9x = 9, that is, 900 lanterns. Check: (9−6)2+4=13(9 - 6)^2 + 4 = 13 ✓

(a) $4 a lantern, when 600 are made
(b) $13 a lantern
(c) 900 lanterns

Question 12

The sketch shows a ∪-shaped curve with minimum point (−2,k)(-2, k). It meets the yy-axis at (0,1)(0, 1) and passes through (1,m)(1, m). Find its equation in the form y=(x−p)2+qy = (x - p)^2 + q, and the values of kk and mm.

A sketch of a ∪-shaped curve with its minimum point at (−2, k), meeting the y-axis at (0, 1) and passing through (1, m)xyO(−2, k)(0, 1)(1, m)
ShowHide solution

The minimum point is (−2,k)(-2, k), so p=−2p = -2 and q=kq = k: y=(x+2)2+ky = (x + 2)^2 + k.

At (0,1)(0, 1): 1=(0+2)2+k=4+k,1 = (0 + 2)^2 + k = 4 + k\text{,} so k=−3k = -3, and y=(x+2)2−3y = (x + 2)^2 - 3.

At x=1x = 1: m=(1+2)2−3=9−3=6.m = (1 + 2)^2 - 3 = 9 - 3 = 6\text{.}

y=(x+2)2−3y = (x + 2)^2 - 3; k=−3k = -3 and m=6m = 6.

Key Points

  • y=(x−p)2+qy = (x - p)^2 + q is ∪-shaped with minimum point (p,q)(p, q); y=−(x−p)2+qy = -(x - p)^2 + q is ∩-shaped with maximum point (p,q)(p, q).
  • The line of symmetry of both is x=px = p.
  • pp has the opposite sign to the number in the bracket: (x+5)2(x + 5)^2 gives p=−5p = -5.
  • The least value of (x−p)2+q(x - p)^2 + q, and the greatest value of −(x−p)2+q-(x - p)^2 + q, is qq, when x=px = p.
  • The yy-intercept: put x=0x = 0. The xx-intercepts: put y=0y = 0 and take square roots.
  • A ∪-shaped curve with q>0q > 0, or a ∩-shaped curve with q<0q < 0, does not meet the xx-axis; if q=0q = 0, the curve touches the xx-axis at its turning point.
  • A sketch shows the axes, OO, the shape and the labelled points, and is symmetrical about x=px = p; it is not drawn to scale.
  • From a sketch: the shape and the turning point (p,q)(p, q) give the equation; check it with another point.

Previous lesson1.6 Forming Quadratic Equations to Solve Problems Next lesson1.8 Sketching Quadratic Graphs in Factorised Form

All Secondary 3 (Grade 9) lessons

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

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