Model G20 2027 at FLAME University, registrations now open

Relations and Functions | CBSE Class 11 Maths Notes

23 min read

On this page

These CBSE Class 11 Mathematics notes cover ordered pairs, Cartesian products, relations, domain, codomain, range, functions, standard function graphs, restrictions on real functions, and the addition, subtraction, multiplication and division of functions.

What are ordered pairs, and when are they equal?

An ordered pair consists of two elements written in a particular order. In (a,b)(a,b), the symbol aa denotes the first element and bb denotes the second element. Their positions are part of the information carried by the pair.

If AA and BB denote two sets, a pair selected from them has its first element in AA and its second element in BB. The notation a∈Aa\in A means that aa belongs to AA. Reversing positions need not preserve the pair.

In the notation used below, == means equal and ≠\ne means unequal. The symbols << and >> mean less than and greater than; ≤\le and ≥\ge include equality. Addition, subtraction and powers retain their usual arithmetic meanings.

Property: Equality of ordered pairs

Let cc and dd denote the first and second elements of another ordered pair. Equality requires equality in corresponding positions:

(a,b)=(c,d)⟺a=c and b=d.(a,b)=(c,d)\quad\Longleftrightarrow\quad a=c\text{ and }b=d.

The symbol ⟺\Longleftrightarrow means “if and only if”. Thus both coordinate conditions are required. Comparing the first element of one pair with the second element of the other would test a different statement.

Worked example 1. If (x+1,y−2)=(3,1)(x+1,y-2)=(3,1), find the unknown numbers xx and yy.

Answer:

  1. Equate first elements: x+1=3.x+1=3.
  2. Subtract one from both sides: x=3−1=2.x=3-1=2.
  3. Equate second elements and add two: y−2=1,y=1+2=3.y-2=1,\qquad y=1+2=3.
  4. Check the original pair by substitution: (2+1,3−2)=(3,1).(2+1,3-2)=(3,1). Both positions agree, so the answers satisfy the given equality.

Order within a pair differs from the order of listing elements of a set. A set is identified by its elements, whereas the first and second positions distinguish the entries of an ordered pair. Keep that distinction when writing sets of pairs.

For numerical pairs, the same ordering gives coordinates in a plane. The first coordinate and second coordinate have different roles. An ordered triplet extends this idea to three positions and is useful when describing points in three-dimensional space.

How do you form and count Cartesian products?

Definition: The Cartesian product A×BA\times B is the set of all ordered pairs whose first element belongs to AA and whose second element belongs to BB.

Here ×\times denotes the Cartesian product of sets. Using the set-builder notation, in which the colon means “such that”, the definition is:

A×B={(a,b):a∈A, b∈B}.A\times B=\{(a,b):a\in A,\ b\in B\}.

To construct the product systematically, pair one element of the first set with every element of the second set. Then repeat for each remaining first element. This method includes every permitted pair and helps prevent omissions.

Property: Number of elements in a finite product

The notation n(A)n(A) denotes the number of elements of the finite set AA. Let pp and qq denote the numbers of elements in AA and BB, respectively. Then:

n(A)=p,n(B)=q⟹n(A×B)=pq.n(A)=p,\quad n(B)=q\quad\Longrightarrow\quad n(A\times B)=pq.

The symbol ⟹\Longrightarrow means “implies”. Each first element contributes one pair for each second element. If either set is empty, there are no possible pairs. Writing ∅\varnothing for the empty set, A×∅=∅A\times\varnothing=\varnothing.

Worked example 2. Let P={a,b,c}P=\{a,b,c\} and Q={r}Q=\{r\}, where the letters label set elements. Form both Cartesian products and compare them.

Answer:

  1. Use each element of PP first and the sole element of QQ second: P×Q={(a,r),(b,r),(c,r)}.P\times Q=\{(a,r),(b,r),(c,r)\}.
  2. Reverse the roles of the sets: Q×P={(r,a),(r,b),(r,c)}.Q\times P=\{(r,a),(r,b),(r,c)\}.
  3. Compare corresponding positions in the listed pairs. The products are different: P×Q≠Q×P.P\times Q\ne Q\times P.
  4. Check their sizes separately: n(P×Q)=3⋅1=3,n(Q×P)=1⋅3=3.n(P\times Q)=3\cdot1=3,\qquad n(Q\times P)=1\cdot3=3. The dot denotes multiplication of numbers; equal sizes do not establish equality of sets.

How do products extend to three positions?

An ordered triplet contains three entries in specified positions. For a set PP, the product P×P×PP\times P\times P contains all triplets with every entry chosen from PP. Choices may repeat; there is no requirement that the three entries differ.

For P={1,2}P=\{1,2\}, the product is:

P×P×P={(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1),(2,1,2),(2,2,1),(2,2,2)}.P\times P\times P=\{(1,1,1),(1,1,2),(1,2,1),(1,2,2),(2,1,1),(2,1,2),(2,2,1),(2,2,2)\}.

Let R\mathbb R denote the set of real numbers. The product R×R\mathbb R\times\mathbb R represents coordinates of points in two-dimensional space; R×R×R\mathbb R\times\mathbb R\times\mathbb R represents coordinates in three-dimensional space. A product of non-empty sets is infinite if either factor is infinite.

What is a relation, and how are its domain and range found?

A relation, denoted by RR, from a non-empty set AA to a non-empty set BB is a subset of their Cartesian product. It selects ordered pairs according to a stated relationship between their first and second elements.

The notation R⊆A×BR\subseteq A\times B means that every pair in the relation belongs to the product. The symbol ⊆\subseteq means “is a subset of”, allowing equality. The product supplies all possible pairs; the relation identifies the selected pairs.

TermHow it is identified
DomainCollect all first elements of the ordered pairs actually present in the relation.
RangeCollect all second elements of the ordered pairs actually present in the relation.
CodomainUse the entire specified destination set, including elements that are not reached.
ImageThe second element of a related pair is an image of its first element.

A relation can be described by roster form, which lists its pairs, or set-builder form, which states the rule selecting them. An arrow diagram gives a visual representation, with arrows running from first elements to their related second elements.

Worked example 3. Let A={1,2,3,4,5,6}A=\{1,2,3,4,5,6\}. Define a relation on AA by R={(x,y):y=x+1, x,y∈A}R=\{(x,y):y=x+1,\ x,y\in A\}, where xx and yy denote its first and second elements. Find its domain, range and codomain.

Answer:

  1. Apply the rule to the permitted first elements: 1+1=2,2+1=3,3+1=4,4+1=5,5+1=6.1+1=2,\quad2+1=3,\quad3+1=4,\quad4+1=5,\quad5+1=6. The next calculation gives 6+1=76+1=7, which is outside the destination set.
  2. List the valid pairs: R={(1,2),(2,3),(3,4),(4,5),(5,6)}.R=\{(1,2),(2,3),(3,4),(4,5),(5,6)\}.
  3. Collect the first elements and second elements separately: Domain⁡(R)={1,2,3,4,5},Range⁡(R)={2,3,4,5,6}.\operatorname{Domain}(R)=\{1,2,3,4,5\},\quad\operatorname{Range}(R)=\{2,3,4,5,6\}.
  4. Retain the whole specified destination set: Codomain⁡(R)={1,2,3,4,5,6}.\operatorname{Codomain}(R)=\{1,2,3,4,5,6\}.

What the figure shows

Successor relation

Two ovals each contain the numbers from 11 to 66. Arrows join 11 to 22, 22 to 33, 33 to 44, 44 to 55, and 55 to 66. The left-hand 66 has no outgoing arrow.

See Fig. 2.5 in your NCERT textbook

A relation on a set means a relation from that set to itself. This does not require all elements to occur as first elements. The domain of a general relation is obtained from its pairs, as the example demonstrates.

How many relations can be defined between two finite sets?

Result: Counting relations by counting subsets

Every subset of a Cartesian product defines a relation. Therefore the number of relations from one finite set to another equals the number of subsets of their product. The empty subset and the complete product are included in this count.

Let AA and BB be finite sets, with pp and qq elements respectively. Their product has pqpq elements. Consequently, the total number of relations from AA to BB is 2pq2^{pq}.

Derivation: Why does the exponent contain a product?

  1. Write the sizes of the two sets: n(A)=p,n(B)=q.n(A)=p,\qquad n(B)=q.
  2. Count the ordered pairs available for selection: n(A×B)=pq.n(A\times B)=pq.
  3. Count the subsets of this product: Number of relations=2n(A×B)=2pq.\text{Number of relations}=2^{n(A\times B)}=2^{pq}.

Check the distinction: the product size counts individual pairs; the relation count counts sets of pairs. A single relation can contain several pairs, one pair, or no pairs. These are different objects being counted.

Worked example 4. Find the number of relations from A={1,2}A=\{1,2\} to B={3,4}B=\{3,4\}.

Answer:

  1. Form the complete product: A×B={(1,3),(1,4),(2,3),(2,4)}.A\times B=\{(1,3),(1,4),(2,3),(2,4)\}.
  2. Count its elements: n(A×B)=2⋅2=4.n(A\times B)=2\cdot2=4.
  3. Apply the subset count: Number of relations=24.\text{Number of relations}=2^4.
  4. Evaluate the power: 24=2⋅2⋅2⋅2=16.2^4=2\cdot2\cdot2\cdot2=16. Thus there are sixteen relations, although the product itself has only four elements.

Do not interchange the two stages. First determine how many ordered pairs are available, using the sizes of the source and destination sets. Then count the possible subsets. Listing one particular subset answers a different question from counting all relations.

When does a relation qualify as a function?

Definition: A function from AA to BB is a relation in which every element of AA has one and only one image in BB.

The notation f:A→Bf:A\to B names the function ff, its domain AA, and its codomain BB. If (a,b)(a,b) belongs to this function, write f(a)=bf(a)=b. Here bb is the image of aa, and aa is a preimage of bb.

There are two requirements: every input in the specified domain must be covered, and its output must be unique. Different inputs may have the same image. The uniqueness requirement concerns the output for each input, rather than the number of inputs reaching an output.

How do you check a list of ordered pairs?

Inspect the first elements. If a first element occurs in distinct pairs with different second elements, the relation fails the function condition. Also compare the listed first elements with any explicitly stated domain to identify missing inputs.

Worked example 5. Decide whether R={(2,1),(3,1),(4,2)}R=\{(2,1),(3,1),(4,2)\} is a function on its set of first elements, and identify its domain and range.

Answer:

  1. Collect its first elements: Domain⁡(R)={2,3,4}.\operatorname{Domain}(R)=\{2,3,4\}.
  2. Read their images: 2↦1,3↦1,4↦2.2\mapsto1,\qquad3\mapsto1,\qquad4\mapsto2. The symbol ↦\mapsto means “maps to”.
  3. Each of these inputs has exactly one image, so the relation is a function. The shared image of the first two inputs does not violate the definition.
  4. Collect the distinct outputs: Range⁡(R)={1,2}.\operatorname{Range}(R)=\{1,2\}.

By contrast, {(2,2),(2,4),(3,3),(4,4)}\{(2,2),(2,4),(3,3),(4,4)\} is not a function because the input 22 has two different images. The successor relation on {1,2,3,4,5,6}\{1,2,3,4,5,6\} also fails to be a function on that whole set because its last element has no image.

Let N\mathbb N denote the natural numbers. The relation y=2xy=2x on N\mathbb N is a function: every natural-number input has one image. Its domain and codomain are N\mathbb N, while its range consists of even natural numbers.

A real-valued function has real numbers as its outputs. If its domain also consists of real numbers, it is a real function. Both the domain and range may be subsets of the real numbers; neither must contain every real number.

How do identity, constant and polynomial functions behave?

Standard functions connect an algebraic rule with a domain, a range and a graph. Let xx denote the real input and y=f(x)y=f(x) its output. A plotted point (x,y)(x,y) records one input together with the output assigned by the function.

What distinguishes identity and constant functions?

The identity function is defined by f(x)=xf(x)=x for every real input. Its domain and range are both R\mathbb R. Each input is its own image, and its graph is a straight line through the origin.

A constant function has the rule f(x)=cf(x)=c, where cc is a fixed real number. Its domain is R\mathbb R, but its range is the singleton set {c}\{c\}. Changing the input leaves the output unchanged.

What the figure shows

Identity and constant graphs

The identity graph is a rising straight line through the origin, labelled f(x)=xf(x)=x. The constant graph is a horizontal line at height 33, labelled f(x)=3f(x)=3.

See Figs. 2.8 and 2.9 in your NCERT textbook

What makes a function polynomial?

A polynomial function has the form below. Here nn is a non-negative integer and a0,a1,…,ana_0,a_1,\ldots,a_n are real coefficients, meaning the fixed numbers multiplying the powers of the input:

f(x)=a0+a1x+a2x2+⋯+anxn.f(x)=a_0+a_1x+a_2x^2+\cdots+a_nx^n.

The powers of the input are non-negative integers. The rule f(x)=x3−x2+2f(x)=x^3-x^2+2 is polynomial. So is g(x)=x4+2 xg(x)=x^4+\sqrt2\,x, where gg names another function. The radical sign x\sqrt{\phantom{x}} denotes the non-negative square root. A coefficient need not be rational.

In contrast, the function h(x)=x2/3+2xh(x)=x^{2/3}+2x, where hh is another function name, is not polynomial because of the fractional power of the input. Distinguish the nature of the coefficient from the exponent attached to the variable.

Worked example 6. For f:R→Rf:\mathbb R\to\mathbb R defined by f(x)=x2f(x)=x^2, calculate the values at the integer inputs from −4-4 to 44, then state the domain and range.

Answer:

  1. Square the negative inputs, retaining parentheses: f(−4)=(−4)2=16,f(−3)=(−3)2=9,f(−2)=(−2)2=4,f(−1)=(−1)2=1.f(-4)=(-4)^2=16,\quad f(-3)=(-3)^2=9,\quad f(-2)=(-2)^2=4,\quad f(-1)=(-1)^2=1.
  2. Evaluate at zero: f(0)=02=0.f(0)=0^2=0.
  3. Square the positive inputs: f(1)=12=1,f(2)=22=4,f(3)=32=9,f(4)=42=16.f(1)=1^2=1,\quad f(2)=2^2=4,\quad f(3)=3^2=9,\quad f(4)=4^2=16.
  4. The rule accepts all real inputs. Its outputs are their squares: Domain⁡(f)=R,Range⁡(f)={x2:x∈R}=[0,∞).\operatorname{Domain}(f)=\mathbb R,\qquad\operatorname{Range}(f)=\{x^2:x\in\mathbb R\}=[0,\infty). The interval denotes all non-negative real numbers; ∞\infty indicates that it has no finite upper bound.

What the figure shows

Square function

The graph labelled f(x)=x2f(x)=x^2 is an upward-opening curve with its lowest point at the origin. Its two arms lie on opposite sides of the vertical axis.

See Fig. 2.10 in your NCERT textbook

The cubic function f(x)=x3f(x)=x^3 is another polynomial example. A finite table helps locate points, but the domain of a polynomial function here is the entire real line. The tabulated inputs are selected plotting values, not a restriction on the function's domain.

How do denominator restrictions determine a real function's domain?

A rational function is a quotient of polynomial functions. If ff and gg name those polynomials, the expression f(x)/g(x)f(x)/g(x) is defined only where g(x)≠0g(x)\ne0. The denominator condition is part of specifying the function.

For the reciprocal function f(x)=1/xf(x)=1/x, zero is excluded from the domain. No permitted input gives an output of zero either. Therefore its domain and range are both R∖{0}\mathbb R\setminus\{0\}, where ∖\setminus means set difference, removing the stated element.

What the figure shows

Reciprocal function

The graph labelled f(x)=1/xf(x)=1/x has one branch above the positive horizontal axis and another below the negative horizontal axis. The branches approach the coordinate axes without meeting them in the drawing.

See Fig. 2.12 in your NCERT textbook

How do you locate excluded inputs?

Find all inputs that make the denominator zero. Factorisation can turn this task into solving simpler equations. The resulting excluded inputs must remain visible in the final domain statement; an algebraic expression alone does not communicate the restriction.

Worked example 7. Find the domain of the real function f(x)=x2+3x+5x2−5x+4.f(x)=\frac{x^2+3x+5}{x^2-5x+4}.

Answer:

  1. Identify the condition imposed by the denominator: x2−5x+4≠0.x^2-5x+4\ne0.
  2. Factorise it: x2−5x+4=(x−4)(x−1).x^2-5x+4=(x-4)(x-1).
  3. Find the forbidden inputs from the two factors: x−4=0⟹x=4,x−1=0⟹x=1.x-4=0\Longrightarrow x=4,\qquad x-1=0\Longrightarrow x=1.
  4. Check these exclusions in the original denominator: 42−5⋅4+4=16−20+4=0,12−5⋅1+4=1−5+4=0.4^2-5\cdot4+4=16-20+4=0,\quad1^2-5\cdot1+4=1-5+4=0.
  5. Remove both inputs from the real numbers: Domain⁡(f)=R∖{1,4}.\operatorname{Domain}(f)=\mathbb R\setminus\{1,4\}.

Domain and range require different questions. For the domain, ask which inputs allow the given rule to be evaluated. For the range, ask which outputs the permitted inputs actually produce. The exclusions in a denominator directly address the first question.

When the rule is supplied with a specified domain, retain that domain as well as the restrictions needed by the expression. In operations involving several functions, the permitted inputs must make every required function value meaningful.

How do modulus, signum and greatest integer functions differ?

These functions describe outputs by conditions on the input. A piecewise rule requires reading both the formula and the condition attached to it. The equality signs at a boundary determine which part supplies the value there.

What does the modulus function return?

The modulus function, written f(x)=∣x∣f(x)=|x|, returns the input for a non-negative real number and its negative for a negative real number. The vertical bars denote modulus. Its rule is:

∣x∣={x,x≥0,−x,x<0.|x|=\begin{cases}x,&x\ge0,\\-x,&x<0.\end{cases}

The output is non-negative in both cases. Negating an already negative input gives its positive magnitude. The two parts therefore fit together at the origin rather than extending as a single straight line through negative output values.

What the figure shows

Modulus function

Two straight arms meet at the origin to form a V. The graph is labelled f(x)=∣x∣f(x)=|x|; both arms rise above the horizontal axis as they move away from the origin.

See Fig. 2.13 in your NCERT textbook

What information does the signum function retain?

The signum function records whether the input is positive, zero or negative. Its rule and range are:

f(x)={1,x>0,0,x=0,−1,x<0,Range⁡(f)={−1,0,1}.f(x)=\begin{cases}1,&x>0,\\0,&x=0,\\-1,&x<0,\end{cases}\qquad\operatorname{Range}(f)=\{-1,0,1\}.

Its domain is R\mathbb R. All positive inputs have the same output, and all negative inputs have the same output. The separate zero case matters: the positive-input and negative-input rules do not include the origin.

How does the greatest integer function handle boundaries?

The greatest integer function is written f(x)=[x]f(x)=[x]. Here the square brackets mean the greatest integer less than or equal to the input, rather than an interval. It is a function on the real numbers.

Input conditionGreatest integer value
−1≤x<0-1\le x<0[x]=−1[x]=-1
0≤x<10\le x<1[x]=0[x]=0
1≤x<21\le x<2[x]=1[x]=1
2≤x<32\le x<3[x]=2[x]=2

The left endpoint belongs to each listed interval; the right endpoint does not. This explains why the value changes at an integer boundary. For negative inputs, the defining inequality remains essential: selecting an integer merely by removing a fractional part can give the wrong answer.

What the figure shows

Greatest integer graph

The graph labelled f(x)=[x]f(x)=[x] consists of horizontal steps at integer heights, with open circles at their right endpoints. Each step includes its left endpoint and excludes its right endpoint.

See Fig. 2.15 in your NCERT textbook

How are real functions added, multiplied and divided?

The algebra of functions combines values at the same input. Let XX denote a common domain contained in R\mathbb R, and let f:X→Rf:X\to\mathbb R and g:X→Rg:X\to\mathbb R be real functions. Let α\alpha denote a scalar, meaning a real number.

OperationRule at an inputCondition
Addition(f+g)(x)=f(x)+g(x)(f+g)(x)=f(x)+g(x)x∈Xx\in X
Subtraction(f−g)(x)=f(x)−g(x)(f-g)(x)=f(x)-g(x)x∈Xx\in X
Scalar multiplication(αf)(x)=αf(x)(\alpha f)(x)=\alpha f(x)x∈Xx\in X, with α\alpha real
Pointwise multiplication(fg)(x)=f(x)g(x)(fg)(x)=f(x)g(x)x∈Xx\in X
Division(fg)(x)=f(x)g(x)\left(\frac f g\right)(x)=\frac{f(x)}{g(x)}x∈Xx\in X and g(x)≠0g(x)\ne0

The word pointwise emphasises that both function values use the same input. In subtraction, brackets protect the entire second expression. In division, the common domain must be restricted further wherever the denominator function vanishes.

Worked example 8. For real functions f(x)=x2f(x)=x^2 and g(x)=2x+1g(x)=2x+1, find their sum, difference, product and quotient.

Answer:

  1. Add the values at the same input: (f+g)(x)=f(x)+g(x)=x2+(2x+1)=x2+2x+1.(f+g)(x)=f(x)+g(x)=x^2+(2x+1)=x^2+2x+1.
  2. Subtract the whole second expression: (f−g)(x)=f(x)−g(x)=x2−(2x+1)=x2−2x−1.(f-g)(x)=f(x)-g(x)=x^2-(2x+1)=x^2-2x-1.
  3. Multiply and distribute: (fg)(x)=x2(2x+1)=2x3+x2.(fg)(x)=x^2(2x+1)=2x^3+x^2.
  4. Form the quotient and solve its denominator condition: (fg)(x)=x22x+1,2x+1≠0⟹x≠−12.\left(\frac f g\right)(x)=\frac{x^2}{2x+1},\qquad2x+1\ne0\Longrightarrow x\ne-\frac12.

How does a restricted starting domain affect the answer?

A quotient can have fewer permitted inputs than either of its component functions. State the starting domain first, then apply the denominator condition. This is particularly useful when zero is a permitted input for both components but makes their quotient undefined.

Worked example 9. Let f(x)=xf(x)=\sqrt{x} and g(x)=xg(x)=x, both defined on the non-negative real numbers. Find the four operations.

Answer:

  1. Retain the given common domain x≥0x\ge0 and add: (f+g)(x)=x+x.(f+g)(x)=\sqrt{x}+x.
  2. Subtract at the same input: (f−g)(x)=x−x.(f-g)(x)=\sqrt{x}-x.
  3. Multiply the input powers: (fg)(x)=xx=x1x1/2=x3/2.(fg)(x)=x\sqrt{x}=x^1x^{1/2}=x^{3/2}.
  4. For division, remove zero from the common domain: (fg)(x)=xx=x1/2−1=x−1/2,x>0.\left(\frac f g\right)(x)=\frac{\sqrt{x}}x=x^{1/2-1}=x^{-1/2},\qquad x>0.

Note: The first three operations in the square-root example retain zero as a permitted input. The quotient does not. A simplified power expression must be accompanied by the restriction obtained from the original quotient.

How can you reconstruct a linear rule and verify a relation?

A linear function has the form f(x)=mx+cf(x)=mx+c, where mm and cc are fixed real numbers. Known input-output pairs can determine these constants. After finding a rule, substitute the other supplied inputs to check agreement.

Worked example 10. A linear function agrees with the pairs (1,1),(2,3),(0,−1),(−1,−3)(1,1),(2,3),(0,-1),(-1,-3). Find its rule.

Answer:

  1. Use the linear form: f(x)=mx+c.f(x)=mx+c.
  2. Substitute the pair with zero input: f(0)=m⋅0+c=−1⟹c=−1.f(0)=m\cdot0+c=-1\Longrightarrow c=-1.
  3. Use the pair with input one: f(1)=m−1=1⟹m=2.f(1)=m-1=1\Longrightarrow m=2.
  4. Write the resulting rule: f(x)=2x−1.f(x)=2x-1.
  5. Check the remaining given pairs: f(2)=2⋅2−1=3,f(−1)=2(−1)−1=−3.f(2)=2\cdot2-1=3,\qquad f(-1)=2(-1)-1=-3.

How do integer differences verify related pairs?

Let Q\mathbb Q denote the rational numbers and Z\mathbb Z the integers. Consider the relation RR on Q\mathbb Q defined by R={(a,b):a,b∈Q, a−b∈Z}R=\{(a,b):a,b\in\mathbb Q,\ a-b\in\mathbb Z\}. Here aa, bb, and cc below denote rational elements.

The defining condition is that the difference is an integer. To verify a claim about membership, compute the relevant difference and establish this condition. The following numbered arguments use zero, negatives of integers, and sums of integers.

  1. For any rational element paired with itself, a−a=0∈Z⟹(a,a)∈R.a-a=0\in\mathbb Z\Longrightarrow(a,a)\in R.
  2. If (a,b)∈R(a,b)\in R, reverse the difference: b−a=−(a−b)∈Z⟹(b,a)∈R.b-a=-(a-b)\in\mathbb Z\Longrightarrow(b,a)\in R.
  3. If (a,b)∈R(a,b)\in R and (b,c)∈R(b,c)\in R, add the integer differences: a−c=(a−b)+(b−c)∈Z⟹(a,c)∈R.a-c=(a-b)+(b-c)\in\mathbb Z\Longrightarrow(a,c)\in R.

Use the stated relationship throughout. These arguments follow from the integer-difference rule for this particular relation. They do not follow merely from calling a collection of pairs a relation. Each conclusion has been checked against the condition that defines membership.

Glossary

  • Ordered pair — Two elements grouped in a specified order, with distinct first and second positions.
  • Cartesian product — The set of all ordered pairs formed by choosing elements from two sets in order.
  • Ordered triplet — Three elements grouped in a specified order, preserving the position of each entry.
  • Relation — A subset of a Cartesian product describing a relationship between paired elements.
  • Domain — The set of all first elements appearing in the ordered pairs of a relation.
  • Codomain — The entire specified destination set into which a relation or function is defined.
  • Range — The set of all second elements that actually occur in a relation's ordered pairs.
  • Function — A relation assigning exactly one image to every element of its specified domain.
  • Image — The output element associated with an input through a relation or a function.
  • Preimage — An input element whose image under a function is the given output element.
  • Real function — A function whose domain and range both consist of real numbers or their subsets.
  • Constant function — A function assigning the same fixed output to every input in its domain.
  • Rational function — A quotient of polynomial functions, defined only where its denominator is non-zero.
  • Greatest integer function — A function returning the greatest integer that is less than or equal to its real input.

Common errors and misconceptions

  • Misconception: Reversing a pair preserves it. Correct: Corresponding positions determine equality. Reversing unequal entries changes the ordered pair.
  • Misconception: Equal numbers of elements make two Cartesian products equal. Correct: The products must contain the same ordered pairs, not merely the same number of pairs.
  • Misconception: Range means the entire destination set. Correct: The codomain is the entire destination set; the range contains outputs actually reached.
  • Misconception: Every relation from a set uses every member as an input. Correct: A general relation may omit first elements; a function on that specified domain must cover them all.
  • Misconception: Different inputs cannot share an output in a function. Correct: Each input needs a unique output, but several inputs may share that output.
  • Misconception: A polynomial cannot have an irrational coefficient. Correct: Real coefficients are permitted; the input powers must be non-negative integers.
  • Misconception: The greatest integer function rounds to the nearest integer. Correct: It selects the greatest integer less than or equal to the input.
  • Misconception: Dividing functions preserves their whole common domain. Correct: Inputs where the denominator function is zero must also be excluded.

Exam-style questions with model answers

Q1. If (x+1,y−2)=(3,1)(x+1,y-2)=(3,1), find xx and yy. [2 marks]
  1. Equality of first elements gives x+1=3x+1=3, so subtracting one gives x=2x=2.
  2. Equality of second elements gives y−2=1y-2=1, so adding two gives y=3y=3. Substitution returns the required pair (3,1)(3,1).
Q2. Let A={1,2}A=\{1,2\} and B={3,4}B=\{3,4\}. Find their Cartesian product and the number of relations from AA to BB. [3 marks]
  1. Pair each first-set element with both second-set elements: A×B={(1,3),(1,4),(2,3),(2,4)}A\times B=\{(1,3),(1,4),(2,3),(2,4)\}. This lists every permitted ordered pair.
  2. The product has 2⋅2=42\cdot2=4 elements. Each relation is a subset of this product, so the required count is a subset count.
  3. Therefore the number of relations is 24=2⋅2⋅2⋅2=162^4=2\cdot2\cdot2\cdot2=16. This includes both the empty relation and the full Cartesian product.
Q3. Let A={1,2,3,4,5,6}A=\{1,2,3,4,5,6\}, and let R={(x,y):y=x+1, x,y∈A}R=\{(x,y):y=x+1,\ x,y\in A\}. Write its roster form, domain, range and codomain, and decide whether it is a function from AA to AA. [5 marks]
  1. Adding one to the permitted inputs gives the pairs R={(1,2),(2,3),(3,4),(4,5),(5,6)}R=\{(1,2),(2,3),(3,4),(4,5),(5,6)\}. The next possible output is 6+1=76+1=7, which does not belong to the specified destination set.
  2. The domain consists of the first elements that actually occur: Domain⁡(R)={1,2,3,4,5}\operatorname{Domain}(R)=\{1,2,3,4,5\}. The unused element is omitted from this set.
  3. The range consists of the second elements reached by these pairs: Range⁡(R)={2,3,4,5,6}\operatorname{Range}(R)=\{2,3,4,5,6\}.
  4. The codomain remains the entire destination set: Codomain⁡(R)=A={1,2,3,4,5,6}\operatorname{Codomain}(R)=A=\{1,2,3,4,5,6\}. It includes an element that no arrow reaches.
  5. The relation is not a function from AA to AA. The element 66 of the required input set has no image, violating the requirement that every input have exactly one image.
Q4. Is R={(2,1),(3,1),(4,2)}R=\{(2,1),(3,1),(4,2)\} a function on its set of first elements? Give its domain and range. [3 marks]
  1. Its first elements are 22, 33, and 44, so its domain is {2,3,4}\{2,3,4\}. Each occurs with a single second element in the listed relation.
  2. The respective images are 11, 11, and 22. Every domain element has exactly one image, so the relation is a function.
  3. The range is {1,2}\{1,2\}, obtained by collecting distinct second elements. The shared output of two inputs does not violate the definition of a function.
Q5. Find the domain of the real function f(x)=x2+3x+5x2−5x+4f(x)=\frac{x^2+3x+5}{x^2-5x+4}. [3 marks]
  1. The expression is a quotient of polynomials, so its denominator must not be zero. Thus the input must satisfy x2−5x+4≠0x^2-5x+4\ne0.
  2. Factorising gives x2−5x+4=(x−4)(x−1)x^2-5x+4=(x-4)(x-1). The factors vanish at x=4x=4 and x=1x=1, respectively, so both values are excluded.
  3. No other real input makes this denominator zero. Hence the domain is R∖{1,4}\mathbb R\setminus\{1,4\}, meaning all real numbers except those two values.
Q6. For f(x)=x2f(x)=x^2 and g(x)=2x+1g(x)=2x+1, both defined for real inputs, find their sum, difference, product and quotient, and state the quotient restriction. [5 marks]
  1. Add the function values at the same input: (f+g)(x)=x2+(2x+1)=x2+2x+1(f+g)(x)=x^2+(2x+1)=x^2+2x+1. Both polynomial components are defined for every real input.
  2. Subtract the entire second expression, changing both its signs: (f−g)(x)=x2−(2x+1)=x2−2x−1(f-g)(x)=x^2-(2x+1)=x^2-2x-1. The brackets ensure that the constant is subtracted too.
  3. Multiply the expressions and distribute the first factor: (fg)(x)=x2(2x+1)=2x3+x2(fg)(x)=x^2(2x+1)=2x^3+x^2. This is pointwise multiplication of the two function values.
  4. Divide the first function value by the second to obtain (fg)(x)=x22x+1\left(\frac f g\right)(x)=\frac{x^2}{2x+1}. This operation requires an additional denominator condition.
  5. Solve that condition: 2x+1≠02x+1\ne0, hence x≠−12x\ne-\frac12. The quotient domain excludes this input because the denominator vanishes there; the other three operations retain all real inputs.

Key takeaways

  • Ordered pairs preserve position: equality requires matching first elements and matching second elements separately.
  • A Cartesian product includes every permitted pairing, taking the first entry from the first set.
  • A relation selects a subset of a Cartesian product; its domain and range come from its actual pairs.
  • The codomain is the specified destination set, while the range records outputs that are actually reached.
  • A function assigns exactly one image to every input, while allowing different inputs to share an image.
  • Standard function rules should be connected with their domains, ranges, graphs and any conditions at boundaries.
  • Operations on functions combine values at the same input; subtraction applies to the whole second expression.
  • A quotient of functions requires a non-zero denominator, so its domain may exclude otherwise permitted inputs.

Test yourself

What must be true for two ordered pairs to be equal?

Their first elements must be equal, and their second elements must also be equal.

What happens to a Cartesian product if either factor is empty?

The product is empty because no ordered pair can select an element from the empty factor.

How does the domain of a relation differ from its codomain?

The domain contains first elements actually used; the codomain is the entire specified destination set.

Can two inputs of a function have the same image?

Yes. Each input must have exactly one image, but different inputs may share that image.

What are the domain and range of the identity function on the real numbers?

Both are R\mathbb R, because every real input is mapped to itself.

What is the range of the signum function?

Its range is {−1,0,1}\{-1,0,1\}, recording negative inputs, zero, and positive inputs respectively.

How is the greatest integer function defined?

It returns the greatest integer less than or equal to the given real input.

What extra restriction is needed when dividing two functions?

Exclude every input where the denominator function is zero, while retaining the original common-domain requirements.