StudyDeck

Language of Functions

Exam code: 4037
Written by: Ashika|Reviewed by: Caroline Carroll|Updated 2 July 2026

Introduction to Functionsvideo

Introduction to Functions

Introduction to functions

What is a mapping?

  • A mapping takes an 'input' from one set of values to an 'output' in another

Input and output of a mapping
  • Mappings can be

    • 'many-one' (many 'input' values map to one 'output' value)

    • 'one-one' (one 'input' value maps to one 'output' value)

      • You may also come across 'many-many' and 'one-many' functions

What is a function?

  • A function is a mapping where every 'input' value maps to a single 'output'

  • Therefore only many-one and one-one mappings are functions

What notation is used for functions?

  • Functions are denoted by fx, gx{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}, etc

    • e.g.  fx=x2-3x+2{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} 

    • These would be pronounced as 'f of x', 'g of x', etc

  • There is an alternative notation

    • e.g.  f:x↦x2-3x+2{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

    • Which may be pronounced 'the function f maps x to x-squared minus three x plus two'

How does a function work?

  • A function has an input x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} and output (fx or  y){"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

  • Whatever goes in the bracket (instead of x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}) with f, replaces the x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} on the other side

    • This is the input

  • If the input is known, the output can be calculated

    • For example, given the function f(x) = 2x + 1{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

      • f(3) = 2 × 3 + 1=7{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

      • f(-4) = 2 × (-4) + 1 = -7{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

      • f(a) = 2a + 1{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

  • If the output is known, an equation can be formed and solved to find the input

    • For example, given the function f(x) = 2x + 1{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

      • If f(x) = 15{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}, the equation 2x + 1 = 15{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} can be formed

      • Solving this equation gives an input of 7

Domain & Range

Domain & range

What is the domain of a function?

  • The domain of a function is the set of values that are allowed to be the ‘input’

  • A function is only fully defined once its domain has been stated

    • If a domain is not stated then it is assumed that the domain is the largest set of possible values

      • e.g. the largest set of possible values for the function fx=x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} would be x≥0{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

  • Restrictions on a domain can turn many-one functions into one-one functions

Restricting the domain can turn a many-one function into a one-one function

What is the range of a function?

  • The range of a function is the set of values of all possible ‘outputs’

  • The type of values in the range depend on the domain

cie-adma25-2023-domainrange-2

 

How do I find a range from a given domain?

  • The domain of a function is the set of values that are used as inputs

  • The range of a function is the set of values that are given as outputs

  • Finding the range of a function involves determining all possible output values from a given domain

    • This may need to be done by calculating each output value individually by applying the function to each input value

    • Or by considering the shape or pattern of the function 

  • To graph a function we use the inputs as the x-coordinates and the outputs as the y-coordinates

    •  f(2)=5{"language":"en","fontFamily":"Times New Roman","fontSize":"18"} corresponds to the coordinates (2, 5)

  • Graphing the function can help you visualise the range

    • For example the range of the function fx = x2{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} for a domain of all real values of x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} will be fx ≥0 {"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}as the y-coordinates on the graph are all greater than or equal to zero

The Modulus Function

The modulus function

What is the modulus function?

  • The modulus function makes any 'input' positive

    • This is sometimes called the absolute value (of the input)

    • The modulus function is indicated by a pair of vertical lines being written around the input

      • Similar to how brackets are used

      • e.g.  |7|=7,   |-7|=7{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

What is the relationship between a function and its modulus?

  • For an 'output' such that fx≥0{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}, then |fx|=fx{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

    • Both the function and its modulus are positive

  • For an 'output' such that fx<0{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}, then |fx|=-fx{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

    • The function value is negative, but its modulus is positive