Quadratic Functions, the Discriminant and Inequalities AA SL
A quadratic function has a parabola as its graph, and its three forms show the intercepts, the vertex and the axis of symmetry. This page also covers the discriminant, which tells you how many real roots there are, then quadratic inequalities and simultaneous equations where one equation is quadratic.
Formulas at a glance
The quadratic formula, discriminant and axis of symmetry are in the formula booklet; vertex form is not.
Quadratic formula
In the bookletDiscriminant
In the bookletVertex form
, vertex
Not in the bookletAxis of symmetry
In the bookletWhich method to use
The wording of the question usually tells you which tool to reach for. On a calculator paper the solver is often quickest, but write down the method if the question says show.
| The question asks you to | Use | Why |
|---|---|---|
| Solve an equation with small whole-number coefficients | Factorising | Write and read off and |
| Find the vertex or the minimum or maximum value | Completing the square | Vertex form shows the vertex directly |
| Solve an equation with awkward or irrational roots | The quadratic formula | It always works, and it is in the formula booklet |
| Say how many roots there are, or find for two, one or no roots | The discriminant | The sign of answers it without solving |
| Solve a quadratic inequality | Find the roots, then sketch | Read the required region from the graph |
| Find where a line meets a curve | Substitute, then solve the quadratic | Substitute each back to find ; each solution gives one point |
| Show that a line is a tangent, or find for a tangent | Substitute, then set | gives two points, one point, none |
| Solve on a calculator paper | Graph, or use the equation solver | Check the answers by substituting back |
Section 1 of 4 SL2.6
Quadratic functions and their graphs
A quadratic function has a parabola as its graph, and the same function can be written in expanded, factorised or vertex form. The factorised form shows the -intercepts, the vertex form shows the vertex , and the expanded form shows the -intercept . The axis of symmetry is the line .
Key terms
What is the axis of symmetry?
The axis of symmetry is the vertical line through the vertex that splits the parabola into two mirror images. Its equation is , and for it is .
e.g. For , the axis of symmetry is .
How do you find the -intercepts from the factorised form?
In , the graph meets the -axis where a bracket equals zero, at and .
e.g. has -intercepts and .
What is the -intercept of a quadratic?
The -intercept is where the graph crosses the -axis, found by setting . For it is .
e.g. has -intercept .
How do you complete the square?
Write as . The result is in vertex form, so the vertex can be read from it.
e.g. , so the vertex is .
Worked example, step by step
The question No calculator needed [7 marks]
Write in the form . Hence state the vertex, the axis of symmetry, the minimum value and the -intercept, and find the -intercepts.
Worked solution: worked example
Answer: ; vertex ; axis ; minimum ; -intercept ; -intercepts .
Step 1 - Factor out the coefficient of .
Take the 2 out of the two terms that contain , leaving the constant alone: M1 - Factor out 2 from the terms in
Why? Completing the square only works neatly when the coefficient of is 1. Taking out the 2 first makes the bracket start with .
Step 2 - Complete the square inside the bracket.
Half of is , and . Add and subtract 9 inside the bracket: M1 - Complete the square inside the bracket
Why? Adding and subtracting the same number does not change the value of the expression. Half the coefficient of , squared, is exactly what makes into the perfect square with a leftover .
Step 3 - Remove the square bracket.
Multiply the by the 2 outside: This is the vertex form with , and . A1 -
Why? Vertex form has one constant outside the bracket, so the must leave the square bracket, picking up the factor 2 on the way, and combine with the .
Step 4 - Read off the features.
The vertex is . The axis of symmetry is . Since the parabola opens upwards, so the minimum value of is . The -intercept comes from : , so it is . A1 - Vertex A1 - -intercept
Why? This is why you converted: in vertex form the vertex is visible at once. The squared bracket is never negative, so its smallest value is 0, which gives the minimum at . The -intercept is on the -axis, where .
Step 5 - Find the -intercepts.
Set : The graph crosses the -axis at and . M1 - Set and solve for A1 -
Why? The -intercepts are where the graph meets . Vertex form lets you solve with a square root, which is quicker than the quadratic formula, and the gives two intercepts either side of the axis of symmetry.
Step 6 - Check.
Expand the vertex form: . It matches the original. Also , the minimum value.
Why? Expanding back to the starting expression is the standard test for completing the square, because any slip in the constants would show up as a different expression.
M1 Factor out 2 from the terms in
M1 Complete the square inside the bracket
A1
A1 Vertex
A1 -intercept
M1 Set and solve for
A1
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
(a) Find the roots.
Worked solution: practice question 1
Find .
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Calculator steps: Find a maximum, minimum or zero of a graph (stationary points), Solve a polynomial equation (all roots)
Common mistakes
- Forgetting the when reading intercepts off vertex form. Setting and rearranging still involves a square root, which gives two -intercepts, not one.
- Writing the vertex as instead of . In the vertex's -coordinate is itself, not its negative - a sign slip that's easy to make when is already negative.
- Confusing the axis of symmetry with the -intercept. The axis of symmetry is the vertical line ; the -intercept is the point where the graph crosses the -axis. They answer different questions.
Section 2 of 4 SL2.7
The discriminant and the nature of the roots
The discriminant of is the expression under the square root in the quadratic formula, and its sign decides how many real roots there are. A positive value gives two distinct real roots, zero gives two equal real roots and a negative value gives no real roots. It is also used to find unknown coefficients.
The discriminant and the three cases
Nature of the roots
: two distinct real roots.
: one repeated real root.
: no real roots.
This case split isn't itself a booklet formula - it's the interpretation you're expected to know cold.
Key terms
What are equal roots?
Equal roots occur when : the quadratic has one repeated solution and the graph just touches the -axis at its vertex. The quadratic is a perfect square.
e.g. has , and gives the repeated root .
What does it mean for a quadratic to have no real roots?
When the square root in the quadratic formula is not real, so the equation has no real solution and the graph does not meet the -axis.
e.g. For , , so there are no real roots.
How do you find an unknown coefficient using the discriminant?
Write in terms of the unknown, then use , or to match the condition given, and solve the resulting equation or inequality.
e.g. has two distinct real roots when , that is .
How do you identify , and ?
Rearrange the equation into the form first, then read off the coefficients including their signs.
e.g. rearranges to , so , , and .
Worked example, step by step
The question No calculator needed [6 marks]
The equation has two equal real roots. Find the possible values of . Then find the values of for which the equation has no real roots.
Worked solution: worked example
Answer: Equal roots when or ; no real roots when .
Step 1 - Identify , and .
Compare with : , and .
Why? The discriminant formula uses , and , so you read them off first. Here and contain the unknown , which is what makes the question a puzzle in .
Step 2 - Write the condition.
Two equal real roots means the discriminant is zero: M1 - Set the discriminant equal to zero
Why? The discriminant tells you how many roots there are without solving the equation. It is positive for two roots, zero for one repeated root and negative for none, so equal roots is the boundary case .
Step 3 - Substitute.
A1 -
Why? Substituting turns the condition about roots into an ordinary equation in .
Step 4 - Solve for .
M1 - Solve the quadratic in A1 - or
Why? The equation is a quadratic in , so you solve it in the usual way. There are two answers because there are two different values of that make the original equation have a repeated root.
Step 5 - Check both values.
If : , a repeated root at . If : , a repeated root at . Both give equal roots.
Why? Putting each back into the original equation shows that it works, and shows you what a repeated root looks like: a perfect square.
Step 6 - Now find when there are no real roots.
No real roots means , so The graph of is a U-shape crossing the axis at and , so it is below the axis between them: . Test : , so there are no real roots there. M1 - Use and the roots and A1 -
Why? No real roots is a different case, , so the equation becomes an inequality. You already have the critical values and from the equal roots case, and a U-shaped graph is below the axis between its roots. Testing one value inside the interval confirms the region.
M1 Set the discriminant equal to zero
A1
M1 Solve the quadratic in
A1 or
M1 Use and the roots and
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 12 marks
Common mistakes
- Not rearranging to before reading off , , . If the equation is given as , you must rewrite it as before substituting into the discriminant.
- Mixing up which sign gives which case. means two roots exist, not zero - it's easy to read the inequality backwards under pressure. Say the case out loud as you write it: "positive means two roots."
- Treating "distinct" and "real" as the same condition. "Two distinct real roots" needs the strict inequality ; "real roots" (allowing a repeated one) only needs . Read the question wording carefully before choosing or .
Section 3 of 4 SL2.7
Quadratic inequalities
A quadratic inequality asks for the set of -values for which a quadratic is positive or negative, for example . Rearrange so that one side is zero, find the roots, sketch the parabola, then read off where it lies above or below the -axis. The answer is given as one or two inequalities in .
Finding and using the critical values
You don't need to memorise the quadratic formula - it's in the booklet - but you do need to turn its roots into a sign diagram.
Read the sign
An upward-opening parabola () is negative between its roots and positive outside them; a downward-opening parabola is the reverse.
Sketch the shape first, then read the inequality straight off the sketch rather than guessing.
Key terms
What are critical values?
Critical values are the roots of the related equation, where the quadratic equals zero. They split the -axis into intervals on which the quadratic keeps the same sign.
e.g. For , the equation gives , so the critical values are and .
How do you read the solution from a sketch?
For a parabola opening upwards, the quadratic is negative between the roots and positive outside them. Reverse this when the parabola opens downwards.
e.g. For , the graph is below the axis between the roots, so .
How do you write a solution that lies outside the roots?
Use two separate inequalities joined by the word or, one for each side of the roots. Do not combine them into one chain.
e.g. is true for or .
How does a negative coefficient of change the sketch?
The parabola opens downwards, so it is above the axis between the roots. Alternatively, multiply through by and reverse the inequality sign.
e.g. has roots and , and the parabola opens downwards, so .
Worked example, step by step
The question No calculator needed [5 marks]
Solve the inequality .
Worked solution: worked example
Answer: or .
Step 1 - Get the inequality in the right form.
One side is already 0, so no rearranging is needed. Treat as a quadratic function and find where it is zero or positive.
Why? The sign of a quadratic is easiest to read when it is compared with 0, because the graph meets the -axis where the value is 0. Never divide an inequality by an expression containing , since its sign is not known.
Step 2 - Find the critical values.
Solve the related equation . It factorises: Check by expanding: . M1 - Solve the related equation A1 - Critical values and
Why? A quadratic can only change from negative to positive by passing through 0. The solutions of the equation are therefore the only places where the sign can change, so they are the boundaries of the answer.
Step 3 - Sketch the graph.
The coefficient of is positive, so the parabola is U-shaped. It crosses the -axis at and . You only need the shape and the two crossing points. M1 - Sketch the U-shaped graph through both roots
Why? A sketch turns a question about signs into a picture. You do not need exact values, only where the curve is above the axis.
Step 4 - Read off the region.
You want , the part of the graph on or above the -axis. For a U-shape that is outside the roots. The roots themselves are included because the inequality is .
Why? Above the axis means the value of the quadratic is positive. A U-shaped graph is above the axis on the outside of its roots and below it between them. The equals part of the sign includes the points where the graph touches the axis.
Step 5 - Write the answer correctly.
Use the word "or": the solution is two separate regions, and there is no single number that is both below and above . A1 - Correct regions: outside the roots, including them A1 - or , joined by "or"
Why? Marks are given for the form of the answer. Writing is wrong because no number satisfies it, so two separate inequalities joined by "or" are required.
Step 6 - Check with test values.
is between the roots: , so it is correctly excluded. : , correct. : , correct.
Why? Testing one value in each region is the quickest way to catch an answer that is the wrong way round, a very common error with inequalities.
M1 Solve the related equation
A1 Critical values and
M1 Sketch the U-shaped graph through both roots
A1 Correct regions: outside the roots, including them
A1 or , joined by "or"
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Find the values of for which the ball is more than 18 m above the ground.
Worked solution: practice question 3
Your score so far: 0 out of 12 marks
Calculator steps: Solve a polynomial equation (all roots)
Common mistakes
- Forgetting the when the roots come from completing the square. A square root always gives two possible values, so both critical values must go onto the sign diagram, not just one.
- Mixing up "between" and "outside" the roots. For an upward parabola, or holds between the roots and or holds outside them - sketch the graph rather than guessing which way round it goes.
- Getting the boundary wrong for a strict inequality. and exclude the critical values themselves; and include them. The final answer should use the same type of inequality symbol as the question.
Section 4 of 4 SL2.7
Quadratic simultaneous equations
Solving a linear and a quadratic equation together finds the points where a line and a parabola meet. Substitute the linear expression into the quadratic to get a single quadratic equation, solve it for , then use the linear equation to find each matching -value. Each solution is a coordinate pair, and the discriminant shows how many intersection points there are.
The substitution method
Substitute to eliminate a variable
Rearrange the linear equation for (if it isn't already), then substitute that expression into the quadratic. This leaves a single equation in alone.
Key terms
What is a point of intersection?
A point of intersection lies on both graphs, so its coordinates satisfy both equations. Its -coordinate solves the equation formed by setting the two expressions for equal.
e.g. The line and the curve meet where , that is , at and .
What is the method of substitution?
Replace one variable in the quadratic with its expression from the linear equation. This leaves an equation in a single variable.
e.g. Substituting into gives , so .
How do you find the -coordinates?
Substitute each -value into the linear equation, which is simpler than using the quadratic. Pair each with its own .
e.g. From with : gives and gives , so the points are and .
What does the discriminant tell you about the intersection?
After substituting, the discriminant of the resulting quadratic gives the number of intersections: two if it is positive, one if it is zero (the line is a tangent) and none if it is negative.
e.g. For and : has , so the line is a tangent, touching the curve at .
Worked example, step by step
The question No calculator needed [5 marks]
Find the coordinates of the points where the line meets the curve .
Worked solution: worked example
Answer: The line meets the curve at and .
Step 1 - Plan the method.
At a point where the line meets the curve, both equations give the same and the same . So set the two expressions for equal to each other, which gives one equation in only.
Why? There are two unknowns, and , and one equation is not enough to find both. Making the two expressions for equal removes , leaving a single equation that you can solve.
Step 2 - Eliminate .
M1 - Equate the two expressions for
Why? Both sides equal at an intersection point, so they must equal each other there.
Step 3 - Rearrange to equal zero.
Subtract and add 1 to both sides: A1 -
Why? A quadratic equation has to be written with 0 on one side before you can factorise it or use the formula.
Step 4 - Solve the quadratic.
Two solutions means the line crosses the curve at two points. M1 - Solve the quadratic A1 - and
Why? The number of solutions tells you how many intersection points there are. A repeated solution would mean the line only touches the curve.
Step 5 - Find the matching -values.
Substitute each into the simpler equation, the line: gives , and gives . A1 - Points and
Why? The question asks for coordinates, so each point needs a -value as well as an -value. The line is the simpler equation, so there is less chance of an arithmetic slip.
Step 6 - Check in the other equation.
In : at , , correct. At , , correct.
Why? A genuine intersection point lies on both graphs. If a point satisfies only one equation, it is a mistake.
M1 Equate the two expressions for
A1
M1 Solve the quadratic
A1 and
A1 Points and
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Find the range of values of .
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Calculator steps: Find where two graphs meet (intersection)
Common mistakes
- Stopping at the -values. Solving the quadratic gives , but the question asks for coordinates - always substitute back into the linear equation to find the matching -value for each root.
- Reporting only one intersection point. A line meeting a parabola almost always gives two points; if the quadratic has two distinct roots, there should be two coordinate pairs in the final answer, not one.
- Substituting into the wrong equation. Once is known, plug it back into the simpler (linear) equation to find - substituting into the quadratic instead is more error-prone and wastes time.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Find a maximum, minimum or zero of a graph (stationary points)
Used in: Quadratic functions and their graphs
How to find a maximum, minimum or zero on a TI-84 Plus CE
Graph the function and use the CALC menu | |
Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=. |
Plot1 Plot2 Plot3 \Y1=X^3-6X²+5X+4 \Y2= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-15 Ymax=10 Yscl=1 |
For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph. The screen shows Maximum with and . |
|
For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum. The screen shows Minimum with and . |
|
For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings. The zero between and is , with . |
|
Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.
The full guide: Find a maximum, minimum or zero of a graph (stationary points)
Solve a polynomial equation (all roots)
Used in: Quadratic functions and their graphs, Quadratic inequalities
How to solve a polynomial equation on a TI-84 Plus CE
Polynomial Root Finder (all roots at once) | |
Write the equation as a polynomial equal to zero, highest power first: has coefficients . Press apps and choose PlySmlt2. Press any key to pass the information screen, then choose 1:Polynomial Root Finder from the MAIN MENU. |
|
Set ORDER to the highest power, here 3. Leave the other settings as they are: Real shows real roots only, and a+bi also shows complex roots. Press graph under NEXT. |
ORDER=3 Real Auto |
Type each coefficient and press enter to move to the next: 1 enter, (−) 2 enter, (−) 4 enter, 3 enter. Every coefficient needs a value, so type 0 for a missing power. |
1X^3 -2X^2 -4X +3=0 |
Press graph under SOLVE. All the roots are listed together. The roots are , and to 3 significant figures. If a root appears as a fraction, switch the Auto / Dec setting to Dec and solve again. |
X1=-1.618034 X2=0.618034 X3=3.000000 |
A polynomial of degree n has n roots counting repeats, but only the real ones are what a graph shows crossing the x-axis. In Real mode a complex root is not listed as a number.
The full guide: Solve a polynomial equation (all roots)
Find where two graphs meet (intersection)
Used in: Quadratic simultaneous equations
How to find where two graphs meet on a TI-84 Plus CE
Graph both and use intersect | |
Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=. |
Plot1 Plot2 Plot3 \Y1=X²-3 \Y2=2X+1 \Y3= |
Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen. |
WINDOW Xmin=-3 Xmax=5 Xscl=1 Ymin=-4 Ymax=10 Yscl=1 |
Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter. |
|
Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter. The screen shows Intersection with and . |
|
For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter. and . |
|
The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.
The full guide: Find where two graphs meet (intersection)
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL2.6 | The quadratic function : its graph, -intercept . Axis of symmetry. The form , -intercepts and . The form , vertex . |
| SL2.7 | Solution of quadratic equations and inequalities, using factorisation, completing the square (vertex form), and the quadratic formula. The discriminant and the nature of the roots - two distinct real roots, two equal real roots, or no real roots. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
How do you find the vertex of a quadratic function?
Complete the square to write in the form - the vertex is then directly.
What is the discriminant of a quadratic equation?
For , the discriminant is . Its sign tells you how many real roots the equation has, without needing to solve it.
How do you solve a quadratic inequality?
Rearrange so one side is zero, factorise (or use the quadratic formula) to find the critical values, sketch the parabola, then read the sign you need straight off the sketch.
How do you solve a linear and a quadratic equation simultaneously?
Substitute the linear equation into the quadratic to eliminate one variable, solve the resulting quadratic for , then substitute each -value back into the linear equation to find the matching -value.
What does the sign of in a quadratic function tell you?
If is positive the parabola opens upward and the vertex is a minimum; if is negative it opens downward and the vertex is a maximum.
How does the discriminant relate to the graph?
If the parabola crosses the -axis twice, if it touches the axis once at the vertex, and if it lies entirely above or entirely below the axis.
Are the roots included in the solution of a quadratic inequality?
Only if the inequality is not strict. and include the roots; and exclude them.
How many solutions does a line and a parabola have?
Up to two, matching the two roots of the resulting quadratic - a line can cross a parabola at two points, touch it at one (tangent), or miss it completely.
How do I find a quadratic function from its vertex and one other point?
Substitute the vertex into , then substitute the other point to find . For vertex and the point : , so and .
How do I show that a quadratic is always positive?
Show that and , so the parabola opens upwards and never reaches the -axis. For , , so it is always positive.
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.