Linear and quadratic functions
IB Mathematics: Analysis and Approaches HLΒ· 6 min read
1. Linear Functionsβ β βββHL onlyβ± 15 min
Linear function
A first-degree polynomial function that graphs to a straight line. is the constant gradient (slope), and is the y-intercept (the point where the line crosses the y-axis).
Example:
f(x) = 3x - 2 has gradient 3 and crosses the y-axis at (0, -2).
To find the equation of a line passing through two points and , first calculate the gradient as , then substitute one point and into to solve for .
Find the equation of the line passing through and .
- 1
Calculate the gradient from the two points:
- 2
- 3
Substitute and to find :
- 4
- 5
Write the final equation of the line:
- 6
Exam tip:
Always check your answer by substituting the second point into your final equation to confirm it is correct.
2. Quadratic Functions: Forms and Key Featuresβ β β ββHL onlyβ± 25 min
Quadratic function
Standard: ; Vertex: ; Factored:
A second-degree polynomial function that graphs to a parabola. The leading coefficient determines the direction it opens: opens upwards, opens downwards.
Each form of a quadratic is designed to show different key features: standard form gives the y-intercept directly, vertex form gives the turning point (vertex) at directly, and factored form gives the roots (x-intercepts) at and directly. To convert from standard form to vertex form, you use the method of completing the square.
Convert to vertex form and state the vertex coordinates.
- 1
Factor the leading coefficient out of the x terms:
- 2
- 3
Complete the square inside the bracket by adding and subtracting the square of half the x coefficient:
- 4
- 5
Substitute back and simplify, remembering to multiply the constant term by 3:
- 6
- 7
State the vertex from vertex form:
- 8
3. Intersections and the Discriminantβ β β β βHL onlyβ± 20 min
To find intersections between a line and a quadratic, equate the two expressions for to get a single quadratic equation in . The number of real intersections is determined by the discriminant of this quadratic.
Discriminant
\Delta = b^2 - 4acax^2 + bx + c = 0$
A value that tells you how many real roots a quadratic equation has. The rules are: = 2 distinct real roots, = 1 repeated real root, = 0 real roots.
Find how many intersections there are between and .
- 1
Equate the two expressions for y:
- 2
- 3
Rearrange into standard quadratic form:
- 4
- 5
Calculate the discriminant with , , :
- 6
- 7
Interpret the result:
- 8
Test your understanding of discriminant rules:
A line is tangent to a parabola. What is the discriminant of the resulting quadratic?
Negative
Zero
Positive
Reveal answer
Zero βA tangent touches the parabola at exactly one point, so there is one repeated root, which gives a discriminant of zero.
The discriminant of a quadratic is -9. How many real roots does it have?
0
1
2
Reveal answer
0 βNegative discriminant means no real roots, only two complex roots.
4. Common Pitfalls
Wrong move:
Writing the gradient formula as instead of
Why:
This gives the reciprocal of the correct gradient, leading to a wrong line equation and lost marks
Correct move:
Remember gradient = rise over run, which is change in y divided by change in x
Wrong move:
Forgetting to multiply the constant term by the leading coefficient when completing the square
Why:
When you factor out of the x terms, the constant you subtract inside the bracket must be multiplied by when you expand
Correct move:
Always expand your final vertex form back to standard form to check it matches the original quadratic
Wrong move:
Reading the x-coordinate of the vertex as from vertex form
Why:
The vertex occurs when the bracket equals zero: , not
Correct move:
Always set the bracket term equal to zero to find the x-coordinate of the vertex to avoid sign errors
Wrong move:
Stating there are two intersections even when the discriminant is negative
Why:
IB exam questions regularly test whether you remember that negative discriminant means no real intersections
Correct move:
Always calculate and explicitly reference the discriminant when asked for the number of intersections or roots
Wrong move:
Taking the y-intercept from standard form as instead of
Why:
When , all terms with disappear, so , not
Correct move:
Substitute into the quadratic to confirm the y-intercept if you are unsure
5. Quick Reference Cheatsheet
Concept | Form/Rule | Key Feature |
|---|---|---|
Linear function | = gradient, = y-intercept | |
Quadratic (standard) | Y-intercept at | |
Quadratic (vertex) | Vertex at | |
Quadratic (factored) | Roots at | |
Discriminant | : 2 roots; : 1 root; : 0 real roots |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2022 Β· P1
Find quadratic vertex by completing square
- 2023 Β· P2
Find number of line-parabola intersections
What's Next
Linear and quadratic functions are the foundation for all higher-degree polynomials and more complex functions you will encounter in IB AA HL. The skills you learned here, from completing the square to using the discriminant, will be used repeatedly in topics like calculus, complex numbers, and general polynomial functions. Understanding how to find intersections and key graph features is also essential for solving systems of equations and optimization problems, which are common on both Paper 1 and Paper 2 exams. Next, you will build on this knowledge to explore more complex polynomial functions and their properties.
