Study Guide

Linear and quadratic functions

IB Mathematics: Analysis and Approaches HLΒ· 6 min read

1. Linear Functionsβ˜…β˜…β˜†β˜†β˜†HL only⏱ 15 min

πŸ“˜ Definition

Linear function

f(x)=mx+cf(x) = mx + c

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 .

πŸ“ Worked Example

Find the equation of the line passing through and .

  1. 1

    Calculate the gradient from the two points:

  2. 2
    m=1βˆ’71βˆ’3=βˆ’6βˆ’2=3m = \frac{1 - 7}{1 - 3} = \frac{-6}{-2} = 3
  3. 3

    Substitute and to find :

  4. 4
    1=3(1)+cβ€…β€ŠβŸΉβ€…β€Šc=1βˆ’3=βˆ’21 = 3(1) + c \implies c = 1 - 3 = -2
  5. 5

    Write the final equation of the line:

  6. 6
    y=3xβˆ’2y = 3x - 2

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

πŸ“˜ Definition

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.

πŸ“ Worked Example

Convert to vertex form and state the vertex coordinates.

  1. 1

    Factor the leading coefficient out of the x terms:

  2. 2
    f(x)=3(x2βˆ’4x)+5f(x) = 3(x^2 - 4x) + 5
  3. 3

    Complete the square inside the bracket by adding and subtracting the square of half the x coefficient:

  4. 4
    x2βˆ’4x=(x2βˆ’4x+4)βˆ’4=(xβˆ’2)2βˆ’4x^2 - 4x = (x^2 - 4x + 4) - 4 = (x-2)^2 - 4
  5. 5

    Substitute back and simplify, remembering to multiply the constant term by 3:

  6. 6
    f(x)=3((xβˆ’2)2βˆ’4)+5=3(xβˆ’2)2βˆ’12+5=3(xβˆ’2)2βˆ’7f(x) = 3\left((x-2)^2 - 4\right) + 5 = 3(x-2)^2 - 12 + 5 = 3(x-2)^2 - 7
  7. 7

    State the vertex from vertex form:

  8. 8
    Vertex=(2,βˆ’7)\text{Vertex} = (2, -7)

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.

πŸ“˜ Definition

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.

πŸ“ Worked Example

Find how many intersections there are between and .

  1. 1

    Equate the two expressions for y:

  2. 2
    2x+3=2x2βˆ’3x+12x + 3 = 2x^2 - 3x + 1
  3. 3

    Rearrange into standard quadratic form:

  4. 4
    2x2βˆ’5xβˆ’2=02x^2 - 5x - 2 = 0
  5. 5

    Calculate the discriminant with , , :

  6. 6
    Ξ”=(βˆ’5)2βˆ’4(2)(βˆ’2)=25+16=41\Delta = (-5)^2 - 4(2)(-2) = 25 + 16 = 41
  7. 7

    Interpret the result:

  8. 8
    Ξ”=41>0β€…β€ŠβŸΉβ€…β€Š2 distinct real intersections\Delta = 41 > 0 \implies \text{2 distinct real intersections}
βœ“ Quick check

Test your understanding of discriminant rules:

  1. 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.

  2. 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.