Posted by Anjali Kaur on Jul 24, 2020
Relations & Functions

What are the Functions?

After doing Relations in maths, the next topic under algebra is a function and its types. The function is a rule that connects every element of a non-empty set ‘A’ to a unique element of non-empty set ‘B’. Let’s understand this in more detail.

The difference between relation and functions

I will explain this with an example. Set A and set B are shown below in an arrow diagram form. As you will observe, in the figure below. Set A elements; “a,b,c,d” are connected with Set B elements; “f,g,i,h” respectively. But element ‘e’ under set A is not connected with any element in set B. This arrow diagram is an example of relations.


Now, let’s take the same example, but this time element ‘e’ of set A is connected with element ‘j’ of set B. This is an example of functions. (Thinking why? look at the rules of functions below)


To become a function there are two rules to be followed.

Conditions or the rule of functions

  • Every element of set A must be connected with a unique element of set B. Look at, figure 2 above.
  • Every element in Set A must be connected with 1 element only of set B. Lets take another example of functions as shown below:


Domain, Range and Co-domain

Let’s assume A->B.

Function is defined as:


Set A = {1, 2, 3, 4}

Set B = { 1, 2, 3, 4, 5, 9, 12, 16, 18}

Here x is 1, 2, 3 ,4 = Set A, this is domain.

x2 is what you map, 1, 4, 9, 16, this is range.

Set B is called co-domain.

So, range is always a subset of co-domain.

16 is an image of 4, 9 is an image of 3, 4 is an image of 2, and 1 is an image of 1. As shown below,

Domain range and co-domain

How do you read a function?

If we have a function, ‘f’ that connects A to B. Then, the following is an example of a function with its symbols.

Function ‘f’ maps A to B

Other posts you might like...

Learn with Anjali started because there wasn't an easy-to-consume resource to help students with their studies. Anjali is on single-minded mission to make you successful!

If you would like to suggest topics, leave feedback or share your story, please leave a message.

Leave a message