Functions, Image and Pre-image: Definition and Examples

Functions, Image and Pre-image: Definition and Examples

Edited By Komal Miglani | Updated on Oct 12, 2024 12:02 PM IST

Functions are one of the basic concepts in mathematics that have numerous applications in the real world. Be it mega skyscrapers or super-fast cars, their modeling requires methodical application of functions. Almost all real-world problems are formulated, interpreted, and solved using functions. Image and pre-image help in determining the domain and range of the function. The practical applications of image and pre-image are graphing functions, inverse functions, and database queries.

Functions, Image and Pre-image: Definition and Examples
Functions, Image and Pre-image: Definition and Examples

In this article, we will cover the concepts of function and its image and pre-image. This concept falls under the broader category of sets relation and function, a crucial Chapter in class 11 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination (JEE Main), and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. Over the last ten years of the JEE Main exam (from 2013 to 2023), a total of eight questions have been asked on this concept, including one in 2016, two in 2021, three in 2022, and two in 2023.

Function-

A relation from a set A to a set B is said to be a function from A to B if every element of set A has one and only one image in set B.

OR

A and B are two non-empty sets, then a relation from A to B is said to be a function if each element x in A is assigned a unique element f(x) in B, and it is written as

f: A ➝ B and read as f is mapping from A to B.

Function Function Not a function


Not a function

Third one is not a function because d is not related(mapped) to any element in B.

Fourth is not a function as element a in A is mapped to more than one element in B.

Image of a function

The image of a function refers to the set of all output values it produces from its domain.

Given a function f: A→B and a subset X⊆A, the image of X under f is the set of all elements f(x) where x∈X. The image of X is denoted as f(X) and is defined as: f(X)={f(x)∣x∈X}

If we consider the entire domain A, the image of the function f, also called the range, is: Image(f)=f(A)={f(a)∣a∈A}

Pre-image of a function

The pre-image of a function refers to the set of all input values that produce a given output value or set of output values.

Given a function f:AB and a subset YB, the pre-image of Y under f is the set of all elements xA such that f(x)Y. The pre-image of Y is denoted as f1(Y) and is defined as: f1(Y)={xAf(x)Y} If yB, the pre-image of {y}is:

f1({y})={xAf(x)=y}

If f is a function from A to B and ( a , b) belongs to f , then f(a)=b, where ' b ' is called the image of ' a ' under f and 'a' is called the pre-image of ' b ' under f .
In the ordered pair (1,2). 1 is the pre-image of 2 .

Number of functions from A to B
Let set A={x1,x2,x3,xm} i.e. m elements
and B={y1,y2,y3yn}n elements

Total number of functions from A to B = nm

(The proof of this formula requires the use of Permutation and Combination, so it will be covered later)

Vertical Line Test

Functionality check using the graph:

If any line drawn parallel to the y-axis cuts the curve at most one point, then it is a function.

If any such line cuts the graph at more than one point, then it is not a function.


In Figure 1, any line parallel to the y-axis cuts the curve at one point only. Each value of x would have one and only one image (value of y), so Figure 1 is a function.

Whereas in Figure 2, a line parallel to the y-axis cuts the curve in three points. Here for x = x1, we have three images i.e. y1, y2, and y3. Therefore, figure 2 is not a function.

Summary

We concluded that function is a very important term in mathematics. Without this half of the mathematics is meaningless. The concepts of image and pre-image, one can gain a deeper understanding of the behavior of functions and their mappings between different sets.

Recommended Video :

Solved Examples Based On the Image and Pre-image of Functions:

Example 1: A real-valued function f(x)satisfies the functional equation f(xy)=f(x)f(y)f(ax)f(a+y)where 'a' is a given constant and f(0)=1,f(2ax) is equal to
1) f(x)
2) f(x)
3) f(x)
4) f(a)+f(ax)

Solution:

f(xy)=f(x)f(y)f(ax)f(a+y)f(0)=1,f(2ax)=? Put x=y=0f(0)=f(0)×f(0)f(a)×f(a)1=1f2(a)f2(a)=0f(a)=0


Now f(2ax)=f(a+ax)=f(a(xa))
Where xa

yxa

\therefore f(a) f(x - a) - f(a - a) f(a + x - a) = 0 - 1 \times f(x) = - f(x)

Hence, the answer is the option 2.

Example 2: If f(x)+2f(1x)=3x,x0, and S S ={xR:f(x)=f(x)}; then s:
1) is an empty set
2) contains exactly one element
3) contains exactly two elements
4) contains more than two elements

Solution:

f(x)+2f(1x)=3x

1
Put x at the place of

f(1x)+2f(x)=3x2f(1x)+f(x)=3x


Multiplying (i) by 2

2f(1x)+4f(x)=6x2f(1x)+f(x)=3x

3f(x)=6x3xf(x)=2xx and f(x)=2x+x2xx=2x+x4x2x=042x2x=04=2x2x2=2x=±2,x0
Hence, the answer is the option 3.

Example 3: Which of the following relations is not a function?

1) {(1,2);(1,3);(2,3);(1,4)}
2) {(1,2);(2,2);(3,2);(5,4)}
3) {(1,2);(3,4);(5,6)}
4) {(1,2);(3,4)}

Solution:
In option 1, the element 1 has 2 images 2 and 3 . Hence it is not a function.
Hence, the answer is the option 1.
Example 4: if n(A)=4 and n(B)=3, then the total number of functions from A to B is
Solution:
As we learned,
The number of functions:

f:ABn(A)=mn(B)=n
Total number of functions =nm

Number of functions =(n(B))n(A)=34=81

Hence, the answer is 81.

Example 5: If n(A)=n(B) and total functions from A to B are 3125 , then what is the value of n(A)+n(B) ?
Solution:
As we learned
The number of functions:

f:ABn(A)=mn(B)=n

Total number of functions =nm
Since 3125=55
Thus, n(A)=n(B)=5
Thus, n(A)+n(B)=10

Hence, the answer is 10.


Frequently Asked Questions (FAQs)

1. What is a function?

A relation from a set A to a set B is said to be a function from A to B if every element of set A has one and only one image in set B.

2. What is an image of a function?

The image of a function refers to the set of all output values it produces from its domain.

3. What is a pre-image of a function?

The pre-image of a function refers to the set of all input values that produce a given output value or set of output values.

4. What is a vertical line test?

If any line drawn parallel to the y-axis cuts the curve at most one point, then it is a function.

If any such line cuts the graph at more than one point, then it is not a function.

5. If $n(A)=2$ and $n(B)=3$, then find the number of functions from B to A .

The number of functions-
Total number of functions =nm
The number of functions =23=8

Articles

Get answers from students and experts
Back to top