Functions

Leaving Cert Higher Level Mathematics revision notes with diagrams, key terms and self-check questions.

6 min readHigher LevelBy Studytok
Practise this topic — free →

A function is simply a mathematical rule that connects every input from a starting set to exactly one output. For Higher Level Leaving Certificate Mathematics, you need to understand the formal language of functions, how they behave algebraically, and how their curves look on paper. You will work with linear, quadratic, cubic, exponential, logarithmic, and trigonometric functions, moving easily between equations and graphs to spot roots, turning points, and intersections.

Essential Vocabulary

We write a function as f:ABf: A \to B, where set AA is the domain and set BB is the codomain. The domain contains every allowed input value. The codomain is the set of possible target values, but the range is the actual collection of outputs your function delivers. A function is injective (or one-to-one) if distinct inputs always produce distinct outputs; on a sketch, any horizontal line hits an injective curve at most once. A function is surjective (or onto) if the range matches the codomain completely, meaning every target value gets hit at least once. When a function is both injective and surjective, we call it bijective. Only bijective functions have true inverses, because each output must trace back to one distinct starting input. For example, consider f:RRf: \mathbb{R} \to \mathbb{R} where f(x)=x2f(x) = x^2. It is not injective because f(2)=f(2)=4f(2) = f(-2) = 4, so the horizontal line y=4y = 4 meets the graph twice. It is also not surjective because no real number xx produces x2=1x^2 = -1. However, if we restrict the domain and codomain to f:[0,)[0,)f: [0, \infty) \to [0, \infty), the function becomes bijective and has an inverse, f1(x)=xf^{-1}(x) = \sqrt{x}.

The full parabola meets y = 4 twice and never reaches y = −1. Its nonnegative branch maps nonnegative inputs bijectively onto nonnegative outputs.
The full parabola meets y = 4 twice and never reaches y = −1. Its nonnegative branch maps nonnegative inputs bijectively onto nonnegative outputs.

Quadratic Functions

Standard quadratics take the form f(x)=ax2+bx+cf(x) = ax^2 + bx + c. When a>0a > 0, the curve opens upward into a U-shape; when a<0a < 0, it opens downward. While you can find turning points using calculus, the syllabus specifically expects you to write quadratics in completed square form: f(x)=a(x+h)2+kf(x) = a(x + h)^2 + k. To do this, factor aa out of the x2x^2 and xx terms first, halve the new xx-coefficient, square that value, and balance it inside the brackets. From a(x+h)2+ka(x + h)^2 + k, the vertex sits at (h,k)(-h, k) and the axis of symmetry is the vertical line x=hx = -h. If a>0a > 0, the turning point is a minimum; if a<0a < 0, it is a maximum. Solving a(x+h)2+k=0a(x + h)^2 + k = 0 gives you the roots directly without needing the b-b formula. To sketch, plot the turning point (h,k)(-h, k), the roots (if any), and the yy-intercept f(0)f(0), then draw a U-shape if a>0a > 0 or an ∩-shape if a<0a < 0, symmetric about x=hx = -h.

The parabola y = 2(x + 2)² − 13 has vertex (−2,−13), symmetry axis x = −2, y-intercept (0,−5), and roots approximately −4.55 and 0.55.
The parabola y = 2(x + 2)² − 13 has vertex (−2,−13), symmetry axis x = −2, y-intercept (0,−5), and roots approximately −4.55 and 0.55.

Cubic Functions

A cubic function has the form f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d with a0a \neq 0. If a>0a > 0, the curve starts low on the left and rises to the top right; if a<0a < 0, it starts high on the left and finishes low. Because cubic graphs stretch from negative infinity to positive infinity, every cubic must cross the xx-axis at least once, giving between one and three real roots. They can have up to two turning points—one local maximum and one local minimum—though some cubics increase or decrease throughout their entire domain with no turning points at all. In exam questions, you often read approximate roots and turning points straight from a supplied plot, or use the factor theorem to break the cubic into a linear and a quadratic factor.

Schematic cubic graphs show opposite end behaviour for positive and negative leading coefficients, alongside an increasing cubic without turning points.
Schematic cubic graphs show opposite end behaviour for positive and negative leading coefficients, alongside an increasing cubic without turning points.

Exponential and Logarithmic Functions

An exponential function f(x)=abxf(x) = ab^x places the variable right in the power. For b>1b > 1 (with a>0a > 0), the function models growth, passing through (0,a)(0, a) and rising steeply. When 0<b<10 < b < 1 (with a>0a > 0), the graph falls instead (decay); it still passes through (0,a)(0, a). The special base e2.718e \approx 2.718 is used in growth and decay models. Its inverse is lnx\ln x, which means logex\log_e x, so ln(ex)=x\ln(e^x) = x and elnx=xe^{\ln x} = x for x>0x > 0. Also, ex>0e^x > 0 for every real xx. The xx-axis acts as a horizontal asymptote: the curve approaches y=0y = 0 as xx becomes very negative (for growth), but it never touches or crosses zero. The logarithmic function g(x)=logbxg(x) = \log_b x is the inverse of y=bxy = b^x, so reflecting the graph of y=bxy = b^x in the line y=xy = x gives the graph of y=logbxy = \log_b x. A log graph only accepts positive inputs (x>0x > 0), has a vertical asymptote along the yy-axis (x=0x = 0), and always cuts through (1,0)(1, 0) because logb1=0\log_b 1 = 0 for any valid base.

The graphs of y = eˣ and y = ln x reflect across y = x, exchanging the intercepts (0,1) and (1,0) and the horizontal and vertical asymptotes.
The graphs of y = eˣ and y = ln x reflect across y = x, exchanging the intercepts (0,1) and (1,0) and the horizontal and vertical asymptotes.

Inverse Functions and Graphical Solutions

An inverse function f1(x)f^{-1}(x) undoes whatever operation f(x)f(x) performed. To work out an inverse formula algebraically, write y=f(x)y = f(x), rearrange the terms to isolate xx completely on one side, and then swap your variables so the rule is written in terms of xx. On a graph, ff and f1f^{-1} are mirror reflections of each other across the line y=xy = x. If a point (p,q)(p, q) sits on the graph of ff, the swapped point (q,p)(q, p) must lie on the graph of f1f^{-1}. The solutions of f(x)=0f(x) = 0 are the xx-values where the graph crosses the xx-axis, and the solutions of f(x)=kf(x) = k are the xx-values where the graph meets the horizontal line y=ky = k. Graph readings are approximate. When an exam asks you to solve f(x)=g(x)f(x) = g(x) graphically, find the xx-coordinates where the two plots intersect. If an inequality asks for f(x)>g(x)f(x) > g(x), identify the xx-intervals where the curve of ff sits vertically higher than gg.

A schematic parabola and line intersect at x₁ and x₂. Between those values, f lies above g, so f(x) > g(x).
A schematic parabola and line intersect at x₁ and x₂. Between those values, f lies above g, so f(x) > g(x).

Trigonometric Graphs

Leaving Cert models for tides, temperatures, and alternating currents often rely on waves of the form f(t)=a+bsin(ct)f(t) = a + b\sin(ct) or f(t)=a+bcos(ct)f(t) = a + b\cos(ct). Here, aa represents the mean level or vertical shift, which sits midway between the maximum and minimum values: a=Max+Min2a = \frac{\text{Max} + \text{Min}}{2}. The number b|b| gives the amplitude, calculated as MaxMin2\frac{\text{Max} - \text{Min}}{2}. The range runs from aba - |b| up to a+ba + |b|. The period is the time or horizontal distance needed to complete one full cycle. In radians, you calculate the period using T=2πcT = \frac{2\pi}{c}, which lets you find cc whenever the peak-to-peak time is known.

A cosine wave oscillates around a, between a − |b| and a + |b|. Amplitude is measured from the mean to a peak; period is measured between consecutive peaks.
A cosine wave oscillates around a, between a − |b| and a + |b|. Amplitude is measured from the mean to a peak; period is measured between consecutive peaks.

Key terms

Domain
The complete set of all allowable input values (xx-values) for which a function is defined.
Bijective
A function that is simultaneously injective (one-to-one) and surjective (onto), meaning every element in the codomain connects to exactly one input.
Turning Point
A point on a curve where the gradient changes sign, forming a local maximum or local minimum.
Asymptote
A straight line that a curve gets closer and closer to as xx or yy becomes very large (or very negative). For example, y=exy = e^x approaches y=0y = 0 as xx \to -\infty.
Inverse Function
A function, written f1f^{-1}, that reverses the transformation of ff so that f1(f(x))=xf^{-1}(f(x)) = x and f(f1(x))=xf(f^{-1}(x)) = x.
Period
The horizontal length along the domain over which a repeating function completes one full cycle.

Check yourself

  1. What are the coordinates of the turning point of f(x)=3(x4)2+7f(x) = 3(x - 4)^2 + 7, and is it a maximum or a minimum?

    The turning point is (4,7)(4, 7). Since the leading coefficient a=3a = 3 is positive, the parabola opens upwards, making this a minimum point.

  2. Find the exact solution to the equation e2x=5e^{2x} = 5.

    Take natural logs of both sides: ln(e2x)=ln5\ln(e^{2x}) = \ln 5, which simplifies to 2x=ln52x = \ln 5. Dividing by 2 gives x=12ln5x = \frac{1}{2}\ln 5 (or ln5\ln\sqrt{5}).

  3. Determine the period of the function g(x)=sin(4x)g(x) = \sin(4x) in radians.

    Using the period formula T=2πcT = \frac{2\pi}{c} with c=4c = 4, we get T=2π4=π2T = \frac{2\pi}{4} = \frac{\pi}{2} radians.

You've read the theory
Now turn it into exam marks.

Practise functions as questions and flashcards in Studytok, with explanations when you get stuck.

Continue for free →
  1. Read the notes
    6 sections
  2. 2
    Test yourself
    Questions marked instantly
  3. 3
    Keep revising
    Flashcards and exam-style practice