RELATIONS

A relation associates an element of one set with one or more elements of another set.

If a is an element from set A which associates another element b from set B, then the elements can be written as ordered pairs (a, b).

Thus, we can define a relation as a set of ordered pairs.

Some relations are denoted by the letter R; in set notation, a relation can be written as:

R = {(a, b) : a is an element of the first set, b is an element of the second set}

Example of a relation

  • 1. Mwajuma is a wife of Juma.
  • 2. Amina is a sister of Joyce.
  • 3. y = 2x + 3
  • 4. Juma is tall, Anna is short. (Not a relation)

Note

If the relation R defines the set of all ordered pairs (x, y) such that y = 2x + 3, this can be written symbolically as:

R = {(x, y) : y = 2x + 3}

PICTORIAL REPRESENTATION OF RELATIONS

Relations can be represented pictorially by:

  1. Arrow diagram.
  2. Cartesian graph.

Arrow diagram

An arrow diagram (arrow graph) is a representation of a relation between sets by using arrows.

Example:

Show the relation “is less than or equal to” between the members of the set {1, 2, 3, 4} by using an arrow diagram.

Solution:

Arrow diagram

R = is less than or equal to

Note: The arrow indicates that one element of one set relates to one or more elements of the other set.

The element of a set which is mapped onto another set is called the Domain of a relation. The set onto which it is mapped is called the Range of a relation.

Domain and Range

ecolebooks.com

The elements of set A above are called the domains and those of set B are called the range.

Also, we use Mapping notation to mean “set A is mapped onto B”.

Example 1

If x mapping 2x, we mean “x is mapped onto 2 times x”.

When x is known, we can select values of x as 1, 2, 3, 4, 5 so the relation can be written as:

Example 1 relation

Example 2

Given that relation where A = {-1, 0, 2, 3, 4}. Draw a pictorial representation of the relation.

Example 2 relation

Solutions

(a) R: x mapping 3x

Table of values

Table of values

Pictorial representation

Pictorial representation

Domain and Range of a relation

Consider a relation R which is a set of all ordered pairs (x, y). The domain and range of R can be defined as follows:

Domain of R = {x : (x, y) belongs to R for some y}

Range of R = {y : (x, y) belongs to R for some x}

Note: x is called the independent variable.

y is the dependent variable.

Examples

  1. Given that the relation R = {(x, y) : y is a husband of x}, find the domain and range of R.

Solution

Domain of R = {all wives}

Range of R = {all husbands}

  1. Find domain and range of the relation R = {(0, 2), (0, 4), (1, 2), (3, 5)}

Solution

Domain of R = {0, 1, 3}

Range of R = {2, 4, 5}

  1. Find the domain and range of the relation y = 3x2 + 2

Solution

Domain = {all real numbers x}

To find the range, make x the subject.

Range calculation

Graphs of a relation

A graph of a relation is another way of representing a relation. The graph is drawn in the Cartesian plane and can also be called a Cartesian graph.

Examples:

  1. Draw the sketch of the relation R = {(x, y) : y = 2x}, state domain and range.

Solutions:

Table of values

Table of values

The graph can be obtained by plotting the ordered pairs in the x-y plane.

Domain of R = {all real numbers}

Range of R = {all real numbers}

  1. Draw the graphs of the relations:

Relations

Table of values for x = y

y = -x

x0123-1-2-3
y0-1-2-3123

Graph

Graph

Graph

Note

In sketching the graph of a relation of inequalities we use:

  • Dotted line (——) for < and >
  • Solid line (_____) for =, ≤ and ≥

We always shade the required region for the inequalities graph.

Example

Draw the graph for the relation relation

Solution

The graph can be sketched as a graph of y = x.

Some points belonging to the relation R = {(x, y) : y < x} are {(2,1), (4,3), (-2,-3), (-1,-4)}.

The graph is:

Graph of relation

THE INVERSE OF THE RELATION

The inverse of the relation R-1 can be obtained by reversing the order in all of the ordered pairs belonging to R.

i.e. If

relation

then

inverse relation

The pictorial representation for mapping can be obtained from the picture of R by reversing the direction of all the arrows.

Pictorial representation of R

Pictorial representation of R

Pictorial representation of R-1

Pictorial representation of inverse

The domain in R becomes the range of R-1 and the range of R becomes the domain of R-1.

The inverse of the above relation can also be found by first writing x in terms of y and then interchanging the variables. Therefore, (x, y) becomes (y, x) in the inverse relation.

Example

  1. Given the relation relation,

(a) Find the inverse of R.

(b) Find the domain and range of mapping.

Solution

relation

Interchange the variables and make y the subject:

interchange variables

make y subject

final form

final form

final form

(b)

domain and range

domain and range

GRAPHS OF THE INVERSE OF THE RELATION

Consider the relation relation.

Its inverse is inverse relation.

In this case, R is the relation “less than” for all real numbers.

The graph of R graph and inverse graph are shown as shaded regions below.

Graph shaded region

Graph shaded region

Note:

The graph of mapping for any relation can be obtained by reflecting the graph of R about the line y = x.

Thus, we can draw the graph of mapping when R is given by first drawing R and then reflecting it about the line y = x.

Examples

  1. Draw the graph of the inverse of relation. Find its domain and range.
  2. Draw the graph of the inverse of the relation shown in the figure below. Find its domain and range.

Relation figure

Solutions for question 1

Solution

The domain and range of mapping is the intersection of the domain of the two given relations.

Domain intersection

Range intersection

Solution for question 2

By using the coordinates on the boundary of R we have:

Coordinates

Coordinates

Use the ordered pairs to plot the graph of mapping.

Graph plot

Domain of domain

Range of range




');}
Bc0138c3d2dab0944d91d638547c2715

subscriber

5 Comments

  • 95671233fe4ebb3fdd95d420dc3726b6

    Rayan, February 14, 2026 @ 11:40 amReply

    This app is really good for revision

  • 74f2bf6255a7b747d489aa63d6f2d8c7

    Mesh, December 4, 2025 @ 7:54 pmReply

    How can I read when there is a problem to the Internet connection?

  • C1c7dd954cc25cc286338e4c7239b80b

    Elliot Mashumba, February 25, 2025 @ 6:41 amReply

    That’s great

  • 591cb37b554628d647be151182e80e66

    Badria, July 7, 2024 @ 12:59 pmReply

    🤔

  • F35f545ecf161ac2a88eca359c8c7da6

    julius, April 6, 2024 @ 7:15 pmReply

    why icannt search the work like oxdation in chemistry

Leave a Reply

Your email address will not be published. Required fields are marked *

Accept Our Privacy Terms.*