Function
A function is a special relationship where each input has a single output. This note includes all the notes of function including its types, features and the way of representation.
Summary
A function is a special relationship where each input has a single output. This note includes all the notes of function including its types, features and the way of representation.
Things to Remember
- To be a relation a function all the elements of the domain must have 9image in co-domain. Otherwise, it will not be the function.
- Also, the condition for uniqueness should be a function exist. Instead of these, the function can also be tested by using a test known as vertical line test. For this test, a vertical line is drawn in the graph at any point. If the vertical line cuts the graph at only one point it is a function and if it cuts at more than one point then it is not a function.
-
Main features of a function
- to every x∈A,there exists an element y∈B such that (x,y)∈f i.e. y is an image of x under f i.e. y = f(x).
- no element of A can have more than one image in B.
- there may be elements of B which are not associated with any element of A.
- distinct elements of A may have the same image in B.
MCQs
No MCQs found.
Subjective Questions
No subjective questions found.
Videos
No videos found.

Function

A function is a special relationship where each input has a single output. Let A and B be two sets. AB is the set of all ordered pairs (a,b) such that a ∈ A and b ∈ B . Let f:AB be a non-empty subset of AB. Then f is a relation from A to B. This f is said to be a function from A to B if f associates each element of B. So, a function is a special type of relation which associates each element of the set A with one and only element of B.
Image and Pre-image
Let f = {(x,y) : x ∈ A, y ∈ B} be a function from A to B. The first element x of ordered pair (x,y) is called pre-image of second element y under the function f and y is called an image of x under f. We write f(x) = y to mean y is the image of x under f and is read as f of x is y or of f of x equals y. Since y is the image of x under f, so, f(x) is an image of x under f.
Domain, Co-domain and Range of a function

Let f be a function a set A to a set B. Then, A is called domain of f and B is called codomain of f. The set of all images of the elements of an under f is called range of f. Range of f is denoted by f(A).
If A = {1,2,3}, B = {1,4,9}
f = {(1,1),(2,4),(3,9)}, then f is the function from A to B.
Here,
Domain of f = A = {1,2,,3}
Co-domain of f = B = {1,4,9}
Range of f = f(A) = {1,4,9}
Here, range of f and co-domain of f are equal sets. i.e. f(A) = B.
Again, consider a function g which is define as follows:
Here
Domain of g = A = {1,2,3}
Co-domain of g = {1,2,3,4}
In this example, a range of g i.e. g (A) is a proper subset of co-domain of g i.e. B.
Hence, a range of a function may be a proper subset of its co-domain or equal to co-domain.
So for a function f from A to B, we write f(A)≤B.
Types of Function

- Onto function
Let f be a function from A to B. Then f is said to be an onto function, if each element of B appears as the image of at least one member of A.
Here, the element of B appears as the image of element of A. So, f is onto function.
In this example, a range of f and co-domain of f are equal.So, a function f is called an onto function if its range and co-domain are equal i.e. f(A) = B. - Into Function
Let f be a function A to B. Then, f is said o be an into function if there is at least one element in B which does not appear the image of any into a function.
Here, range of f = {1,2,3} = A
Co-domain of f = {1,2,3,4} = B
Here, range of f is a proper subset of its co-domain.
Hence, a function f is said to be an into function if a range of f is a proper subset of its co-domain. - One-to-one function
Let f be a function from A to B. Then, f is called a one-to-one function if no two different elements inA have the sane imagine in B. - Many-to-one function
Let f be the function from A to B. Then, f is called many to one function if at least two elements of A have the same imagine in B. - Equal functions
Two functions f and g defined on the same domain are said to be equal if f(a) = g(a) for every element a in the domain. - Independent and dependent variable
Let f be a function from A to B, then the variable x which takes on values in the domain is called the independent variable and the variable y which takes on values in the range is called the dependent variable.
Main features of a function
Let f be a function from A to B, then
- to every x∈A, there exists an element y∈B such that (x,y)∈f i.e. y is an image of x under f i.e. y = f(x).
- no element of A can have more than one image in B.
- there may be elements of B which are not associated with any element of A.
- distinct elements of A may have the same image in B.
Testing of a function

A function can be tested in various ways. We usually test it through the definition, i.e.
a. The relation is said to be a function if all the elements of the domain must have an image in co-domain. Otherwise, it will not be the function.
The function can also be tested by using a test known as vertical line test. For this test, a vertical line is drawn in the graph at any point. If the vertical line cuts the graph at only one point it is a function and if it cuts at more than one point then it is not a function.
Representation of a function
- Roster form
In this form, a function is represented by the set of all ordered pairs which belong to the given function.
For example, let A = {0,2,3,5,7} and
B = {0,2,4,5,7,9,10,15}, and f be the function 'is less than' form A to B. then
f = {(0,2)(2,4)(3,5)(5,7)(7,9)} - Set-builder form
In this form, the function is represented as {():xA, yB, x...y}, the blank is to be replaced by the rule which associates x and y.
For example, let, A = {2,5,7,8}, B = {-3,0,1,2,3,4} and f = {(2,-3),(5,0),(7,2),(8,3)} then as f in the set builder form can be written as
f = {(): x∈A,y∈B, x is greater than y} - By formula
In this form , a formula can be used to represent a function.
For example, the equation y = 3x + 1 represents a function where x takes all values on the set of natural numbers N and the values of y are obtained by using the above equation. - By table
In this form, a table can be used to represent a function.
For example, the table given below represents a function:x 1 2 3 4 5 6 7 y 1 4 9 16 25 36 49 - By arrow diagram
In this form, the function is represented by drawing arrows from first components to the second components of all ordered pairs which belong to the given function.
For example, the function
f = {(-1,2),(2,0),(3,2),(4,-1),(5,0)} can be represented by the following arrow diagram. - By graph
A function can be represented by a graph.
For example, consider the function f(x) = 2x + 1, x is real number.
Here, someorderedpairsof f are:x 0 1 2 f(x) 1 3 5
Lesson
Algebra: Ordered Pair and Cartesian Product
Subject
Optional Mathematics
Grade
Grade 9
Recent Notes
No recent notes.
Related Notes
No related notes.