Chapter 2 ยท Introduction

Chapter 2 โ€” Relations and Functions

Pair things up, link them, and send every input to exactly one output โ€” ordered pairs, Cartesian products, relations and functions, the language in which the rest of school mathematics describes change.

Every row of your school's timetable pairs a period with a subject; every entry in a phone's contact list pairs a name with a number; a railway reservation chart pairs each seat with a passenger. In each case the order matters โ€” "(Period 3, Physics)" is not the same as "(Physics, Period 3)" โ€” and in each case we are interested in some pairs and not others. The mathematics of such pairings begins with the ordered pair and the set of all possible pairs, the Cartesian product $A\times B$ โ€” named after Renรฉ Descartes, whose idea of labelling every point of a plane by a pair of numbers you used throughout Class 10 coordinate geometry.

A relation picks out the pairs we care about: "is a factor of", "is the capital of", "was born in the same month as". A function is a relation with one strict rule โ€” every input has exactly one output โ€” and that rule is what makes functions so useful: a vending machine, a tax calculator or the formula $s=ut+\tfrac12at^2$ would be useless if one input could give two answers. In this chapter you will meet the standard real functions โ€” identity, constant, polynomial, rational, modulus, signum and greatest integer โ€” draw their graphs, and learn to add, subtract, multiply and divide functions. Everything in Chapter 3 (trigonometric functions) and in Chapter 12 (limits and derivatives) is built on this foundation.

Pair: ordered pairs, $A\times B$โ†’Select: relations as subsets of $A\times B$โ†’Restrict: one output per input โ€” functionsโ†’Picture and combine: graphs, $f\pm g$, $fg$, $f/g$
๐ŸŽฏ By the end of this chapter you canโ€ฆ
  • use equality of ordered pairs, write $A\times B$ in roster form, and find $n(A\times B)=n(A)\cdot n(B)$;
  • describe a relation from $A$ to $B$ in roster form, set-builder form and as an arrow diagram, and find its domain, codomain and range;
  • count the relations from $A$ to $B$, and decide whether a given relation is a function;
  • find the domain and range of a real function, and sketch the graphs of the identity, constant, polynomial, rational, modulus, signum and greatest integer functions;
  • form $f+g$, $f-g$, $fg$, $f/g$ and $\alpha f$, and state the domain of each.
Teaser โ€” From Arrows to a Graph

On the left, each input $x$ sends an arrow to its output. On the right, the same arrow becomes an ordered pair $(x,y)$ โ€” a point. After the listed inputs, the rule is applied to every real number in between and the points fuse into a curve: the graph. Try the last rule: one input sends out two arrows, so it is a relation but not a function โ€” and its picture fails the "one point above each $x$" test.

nowโ€”
ordered pairs so farโ€”
function?โ€”

Sections in this chapter

โœ… Before you start
You need the language of sets from Chapter 1: roster and set-builder forms (Section 1.1), subsets, intervals such as $[a,b)$ and $(-\infty,b]$ (Section 1.2), and union, intersection and difference (Section 1.3) โ€” domains of functions are written with exactly these tools. From Class 10 Mathematics you need coordinate geometry (plotting points, Chapter 7), polynomials and their zeroes (Chapter 2), and linear and quadratic equations (Chapters 3 and 4), since finding where a denominator is zero is part of finding a domain.