Add Maths · 2 Quadratic functions
2 Quadratic functions
Before you start
- Expanding a perfect square: .
- Factorising quadratics, including those with a leading coefficient, e.g. .
- Simplifying surds without a calculator, e.g. and .
- Range notation from the Functions lesson: a range is an inequality in , not in .
Syllabus objectives covered (5)
- Find the maximum or minimum value of the quadratic function f : x ↦ ax² + bx + c by completing the square or by differentiation.
- Use the maximum or minimum value of f(x) to sketch the graph of y = f(x) or determine the range for a given domain.
- Know the conditions for f(x) = 0 to have: (i) two real roots (ii) two equal roots (iii) no real roots and the related conditions for a given line to: (i) intersect a given curve (ii) be a tangent to a given curve (iii) not intersect a given curve.
- Solve quadratic equations for real roots.
- Find the solution set for quadratic inequalities either graphically or algebraically.
Part 1 of 8
Completing the square: where it comes from
- Every quadratic can be rewritten as . The effort is worth it because that form shows the turning point at a glance.
- Start from what a perfect square looks like when you expand it.
- The coefficient of is . To match you need , so . In words: **halve the coefficient of **.
- But has an extra that did not have. Take it straight back off.
- Then bring in the constant term.
- Check by expanding: . Do this every time. It takes ten seconds and catches sign slips.
- An odd coefficient of just gives fractions. Keep them exact.
Part 2 of 8
Reading off the maximum or minimum
- A square is never negative: , and it equals 0 only when .
- So is never less than 2, and it equals 2 exactly when . The minimum value is 2, and it occurs at .
- In general, turns where the bracket is zero, at , and the value there is . Watch the sign: is zero at .
- If , the turning point is a minimum. If , the square is multiplied by a negative number, so and the turning point is a maximum.
- When , take out of the and terms only, complete the square inside the bracket, then multiply back out.
- The trap is the . It is inside the bracket, so it is multiplied by 2 and becomes . Forget that and you get instead of .
- A negative works the same way. Take out , and check the sign of the term inside: .
- So has maximum value 13, at .
- The objective also mentions differentiation. That route comes with calculus in topic 14. For now, completing the square is your method, and on a non-calculator paper it gives exact values directly.
Part 3 of 8
Sketching a parabola from the completed square
- A sketch needs four things: the right way up, the vertex, the -intercept, and the -intercepts if there are any. Label each with its coordinates.
- Take . Completing the square gives , so the vertex is the minimum point .
- The -intercept comes from , which leaves just the constant: .
- The -intercepts come from solving : , so and .
The vertex comes from the completed square, the intercepts from and , and the roots sit symmetrically about . - The curve is symmetric about the vertical line through its vertex, . The roots and are each 3 units from that line, which is a free check on your arithmetic.
- Shape: gives a U with a minimum; gives an upside-down U with a maximum. If a U has its vertex above the -axis, there are no -intercepts to find.
Part 4 of 8
The range for a given domain
- The range is every output the function produces over its domain. For a quadratic, the only candidates for the smallest and largest values are the vertex and the ends of the domain.
- Step 1: is the -coordinate of the vertex inside the domain? If it is, the vertex value is one end of the range.
- Step 2: work out at each end of the domain. The other end of the range is the largest of these (for a U) or the smallest (for an upside-down U).
- For with : the vertex is inside, giving . The ends give and . The largest is 7.
- Now change the domain to . The vertex is outside it, and the curve only rises from there. So the least value is at the end: , and the range is .
- Write the range with . If an end of the domain is excluded (a strict ) and that end gives the extreme value, that value is excluded from the range too.
Part 5 of 8
Solving quadratic equations exactly
- Get zero on one side first. Every method below depends on it.
- Factorise when the numbers allow. It is fastest and exact. If a product is zero, one of its factors must be zero.
- The quadratic formula always works. It is printed on the List of formulas, so you don't need to memorise it.
- On a non-calculator paper, simplify the surd fully. For , , , , and .
- Every term on top must be divided. is not . Dividing the 4 but not the is a very common slip.
- Completing the square is the third route, and the syllabus expects you to be able to use it. Get the square on its own, square-root both sides, and remember the .
- Never divide both sides by . From , dividing by loses the solution . Factorise instead: , so or .
- 'Solve for real roots' means real numbers only. If is negative, there is no real square root to take, and the correct answer is that there are no real roots.
Part 6 of 8
The discriminant: how many roots, without solving
- The expression under the square root in the formula, , is the discriminant. It tells you how many real roots there are before you find any. The formula is given in the exam, but these conditions are not, so learn them.
- : you add and subtract a positive square root, giving two different real roots. The graph crosses the -axis twice.
- : adding and subtracting zero gives the same value twice, so there are two equal roots (a repeated root). The graph touches the -axis at its vertex.
- : a negative number has no real square root, so there are no real roots. The graph never meets the -axis.
Same shape, shifted up: the sign of decides whether the curve crosses, touches or misses the -axis. - 'Has real roots', with no other words, allows either two different or two equal roots, so the condition is .
- A typical use: find so that has two equal roots. Here , , , so and . Check: , a perfect square.
- Write , and down before you substitute. When is an expression, bracket it: , not .
Part 7 of 8
A line and a curve: two points, tangent, or no meeting
- Where a line meets a curve, their -values are equal. So set the two expressions for equal and rearrange to the form .
- Each real root of that equation is the -coordinate of a meeting point. So the discriminant of this equation counts the meeting points.
- : the line meets the curve at two distinct points. : the line is a tangent to the curve. : the line does not meet the curve.
- Example: and . Equate and rearrange.
- For a tangent, the discriminant is zero, with , and .
- Find the point of contact by putting back in: , so and . The curve agrees: .
Sliding the line down changes two meeting points to one (a tangent) to none, and the discriminant tracks each change. - The constant here is , not 5. Moving everything to one side before reading off , and is where most errors happen.
- Read the wording. 'Two distinct points' needs . If a question only says the line meets the curve, a tangent counts as meeting, so the condition is .
Part 8 of 8
Quadratic inequalities
- Solve . First solve the equation to find the critical values: , so and .
- Now sketch : a U crossing the axis at and . The inequality asks where , which is where the curve is below the -axis.
Below the axis between the roots gives one combined inequality; above the axis gives two separate pieces joined by 'or'. - That is the stretch between the roots.
- For you want where the curve is above the axis: the two outer pieces. Two separate regions need two inequalities joined by 'or'.
- The syllabus says solutions must be written in the correct form. Write as one combined inequality, and or as two. Never write : no number is above 5 and below at once.
- Use or in your answer exactly when the question does. '' includes the roots themselves.
- If is negative, either sketch the upside-down U, or multiply the whole inequality by first and reverse the sign. So becomes .
- Never solve by making each bracket greater than 7. Expand, move the 7 across so one side is zero, then factorise again. The last worked example does this.
- Inequalities also finish discriminant questions. ' has no real roots' means . The critical values are . As a function of this is a U, which is below the axis between its roots, so .
Worked examples
Example 1. . (a) Write in the form . (b) State the maximum value of and the value of at which it occurs. (c) Find the range of for the domain .
Show the working
- (a) Take out of the and terms. Check the sign inside: .
- Complete the square inside the bracket: half of is , and , so subtract 4.
- Multiply the back through both terms in the bracket. The becomes .
- Check by expanding: . Correct. So , , .
- (b) , and it is subtracted from 19. So can never exceed 19, and it equals 19 when , that is, when .
- (c) The vertex lies inside , so the maximum 19 belongs to the range.
- Now the ends: and . For an upside-down U the least value is at an end, here .
- Both ends are included, so both signs are .
Answer: (a) (b) maximum value , when (c)
Example 2. Find the values of for which the line is a tangent to the curve . Hence find the set of values of for which the line does not meet the curve.
Show the working
- Set the two expressions for equal, and rearrange so one side is zero.
- Group the terms into one coefficient so you can read off : , , .
- A tangent gives a repeated root, so the discriminant is zero.
- , so or . That gives or .
- Check : the equation becomes , a repeated root at . The line gives and the curve gives . They touch at .
- The line does not meet the curve when the discriminant is negative.
- This is a quadratic inequality in , with critical values and from above. The coefficient is , so as a function of it is a U, which is negative between its roots.
- Write the answer as one combined inequality.
Answer: Tangent when or . The line does not meet the curve when .
Example 3. Solve , giving your answers in exact form. Use completing the square, then check with the quadratic formula.
Show the working
- Take 3 out of the terms and complete the square.
- Set this equal to zero and get the square on its own.
- Square-root both sides, with .
- Simplify the surd by rationalising: .
- Now the formula, with , , . The discriminant is , and .
- Both routes agree. In the exam one clean method is enough: use the formula when fractions would make completing the square messy, and completing the square when the question asks for it or you already have the completed form.
Answer: or (equivalently )
Example 4. Find the set of values of for which .
Show the working
- The 7 on the right is the trap. Knowing a product is greater than 7 tells you nothing about each bracket on its own, so you cannot split it. Get zero on one side first.
- Expand, then subtract 7.
- Find the critical values by solving the equation.
- Sketch : a U through and . You want , the parts above the axis, which are the two outer pieces.
- Test a value to be sure: gives , which is not greater than 7. So the middle region is correctly left out.
- Two separate regions, so two inequalities joined by 'or'.
Answer: or
Where people go wrong
Mistake: Forgetting to multiply the subtracted constant by : writing as .
Instead: .
The is inside the bracket being multiplied by 2. Expanding your answer back out catches this at once.
Mistake: Reading the vertex of as .
Instead: The vertex is .
The turning point is where the bracket is zero. Solve rather than copying the sign you can see.
Mistake: Using for 'the equation has real roots'.
Instead: Use .
Two equal roots are still real roots. Only 'two distinct' or 'two different' real roots needs the strict .
Mistake: Writing the solution of as or .
Instead: Write or .
A combined inequality means lies between and . The outer regions are two separate pieces and need 'or'.
Mistake: Multiplying an inequality by to make positive, without reversing the sign.
Instead: becomes .
Multiplying by a negative number reverses order: , but .
Check yourself
- Write in the form , and state its minimum value.
Answer
. Minimum value , when . - Write in the form . Is its turning point a maximum or a minimum?
Answer
. A minimum, at , because . - State the range of for the domain .
Answer
The vertex is outside the domain, and the curve rises for , so the least value is . Range: . - Find the values of for which has two equal roots.
Answer
, so or . - Show that the line does not meet the curve .
Answer
gives . , so there are no real roots and the line does not meet the curve. - Solve .
Answer
, so or . - Solve , giving exact answers.
Answer
, so and or . - Solve .
Answer
Multiply by and reverse the sign: , so . The U is on or below the axis between its roots: .
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1. for .
(a) Write in the form , where , and are constants. 3 marks No calculator
Mark scheme
- B1 a = 2
- B1 b = −3
- B1 c = −11
(b) Write down the coordinates of the minimum point of the curve . 1 mark No calculator
Mark scheme
- B1 (3, −11); FT their b and c from (a)
(c) Find the range of when the domain is . 2 marks No calculator
Mark scheme
- M1 uses the minimum −11 (vertex inside the domain) and evaluates f(1) = −3 and/or f(7) = 21
- A1 −11 ≤ f(x) ≤ 21 (accept f or y in place of f(x))
Question 2. A line has equation , where is a constant. A curve has equation .
(a) Show that the -coordinates of any points where the line meets the curve satisfy . 2 marks No calculator
Mark scheme
- M1 x² + 3x + 5 = kx + 1 seen
- A1 rearranged to the given equation, with the x terms grouped, no errors seen
(b) Find the values of for which the line is a tangent to the curve. 3 marks No calculator
Mark scheme
- M1 (3 − k)² − 4(1)(4) seen
- M1 sets the discriminant equal to 0 and solves for k
- A1 k = −1 and k = 7
(c) Find the set of values of for which the line meets the curve at two distinct points. 2 marks No calculator
Mark scheme
- M1 (3 − k)² − 16 > 0 used, choosing the outer region of their critical values
- A1 k < −1 or k > 7
Question 3.
(a) Solve , giving your answers in the form , where and are rational numbers. 3 marks No calculator
Mark scheme
- M1 correct substitution into the quadratic formula, or 4(x − ½)² − 8 = 0 oe
- M1 √128 simplified to 8√2, or (x − ½)² = 2 reached
- A1 x = ½ ± √2
(b) Find the set of values of for which . 3 marks No calculator
Mark scheme
- M1 expands and rearranges to x² − 6x + 8 ≤ 0 oe
- A1 critical values 2 and 4
- A1 2 ≤ x ≤ 4
Question 4. The curve .
(a) Sketch the curve, stating the coordinates of its turning point and of the points where it meets the axes. 3 marks No calculator
Mark scheme
- B1 upside-down U shape
- B1 (−1, 0), (5, 0) and (0, 5) all stated
- B1 turning point (2, 9) stated
(b) Write down the set of values of for which the equation has two distinct real roots. 1 mark No calculator
Mark scheme
- B1 k < 9; FT their maximum value from (a)
(c) Write down the set of values of for which . 1 mark No calculator
Mark scheme
- B1 −1 < x < 5
How this is examined
- A line meeting a curve: the discriminant with an unknown constant: Equate a line and a curve, then find the values of for a tangent, or the set of values of for two points or no intersection; 4–6 marks across the parts. A three-term quadratic with every term on one side, written with the correct , and and the correct condition (, or ), both critical values of , and the final set in correct inequality notation.
- Completing the square and reading off the turning point: Write in the form , then state the maximum or minimum value or the coordinates of the vertex; 3–4 marks. All three constants correct (check by expanding), then the turning point at with value , called a maximum or minimum according to the sign of .
- Writing the solution set of a quadratic inequality: Find the set of values of for which a quadratic inequality holds; about 3 marks, sometimes as the last step of a discriminant question. A rearrangement to a quadratic compared with 0, both critical values, and the correct region written as , or as or . The right critical values with the wrong region is not a complete answer.
- Exact roots without a calculator: Solve a quadratic, giving answers in the form ; 2–3 marks. A correct substitution into the formula or a correct completed square, then the surd simplified fully with every term of the numerator divided.
- Sketches and ranges from the turning point: Sketch showing the vertex and axis intercepts, or state the range of for a restricted domain; 1–3 marks. The right orientation with the vertex and both axis intercepts labelled with coordinates; for a range, a check that the vertex is inside the domain, the end values worked out, and an inequality in .
Words to know
- Completed square form
- A quadratic written as . Its turning point is .
- Vertex (turning point)
- The minimum point of a U-shaped parabola () or the maximum point of an upside-down one ().
- Discriminant
- . Positive: two distinct real roots. Zero: two equal roots. Negative: no real roots.
- Tangent
- A line that touches a curve at one point without crossing it there. For a line and a parabola, the equation you get by equating them has discriminant .
- Critical values
- The roots of the equation you get by replacing the inequality sign with . They mark the ends of the solution regions.
- Solution set
- All the values that satisfy an inequality, written e.g. as , or or .