Relations and Functions: Class 11 Maths · Chapter 2
Mathematics · Companion notes, simulations and practice · Official NCERT chapter PDF ↗
Published · Updated
What you will learn in Relations and Functions
- Form the Cartesian product of two or three finite sets, count its elements and use the equality of ordered pairs.
- Describe a relation as a subset of A × B in roster form, set-builder form and as an arrow diagram, and find its domain, codomain and range.
- Count the relations from one finite set to another.
- Decide whether a relation is a function, and find the domain and range of a real function.
- Sketch and read the graphs of the identity, constant, polynomial, rational, modulus, signum and greatest integer functions.
- Add, subtract, multiply and divide real functions and state the domain of each result.
- Find a linear function from its values and graph functions defined in pieces.
Original companion text aligned to NCERT Mathematics Class 11, Chapter 2, pp. 24–42. Not affiliated with or endorsed by NCERT.
2.1 Introduction
A railway reservation chart matches every berth with a passenger, a marks register matches every roll number with a score, and your phone matches every contact name with a number. Each of these is really a collection of pairs, and in each pair it matters which item is written first. Mathematics is full of the same pattern: '12 is a multiple of 4' links two numbers, and 'triangle is congruent to triangle ' links two triangles.
This chapter builds the idea in three layers. First we form every possible pair from two sets. Next we keep only the pairs that obey a rule: a relation. Finally we single out relations in which each starting element has exactly one partner: the functions, the working language of the rest of mathematics, from Chapter 3's trigonometric functions to Chapter 12's derivatives.
2.2 Cartesian Products of Sets
A juice-and-tea stall offers three drinks, , each in two cup sizes, . How many different orders can a customer place? Choose the drink first and the size second. Each of the 3 drinks goes with each of the 2 sizes, so there are orders, which Fig. 2.1 lays out as a table. Every order is an ordered pair (क्रमित युग्म) such as , whose first entry is a drink from and whose second entry is a size from .
2/4Each cell is an ordered pair: drink first, size second.
A table whose three rows are labelled with the drinks chai, coffee and lassi (the set D) and whose two columns are labelled with the cup sizes S and L (the set C). In the first step the six cells are empty dashed boxes. In the second step each cell fills with its ordered pair, from (chai, S) in the top left to (lassi, L) in the bottom right. In the third step a line under the table counts them: 3 rows times 2 columns gives 6 pairs. In the fourth step the cell (lassi, S) is highlighted and the line under the table reads (lassi, S) is not equal to (S, lassi).
Order matters. is a small lassi, while puts a size where a drink should be. Coordinates behave the same way: on graph paper, and are different points. That is why two ordered pairs count as equal only when their first entries agree and their second entries agree.
Given sets and , their Cartesian product (read ' cross ') collects every ordered pair that takes its first entry from and its second entry from : . When either set is empty, so is .
Example.
A cinema hall uses the same idea for its seats. A ticket such as G-14 names a row and then a seat number. If the rows run from A to J and every row has 18 seats, the seat labels are exactly the elements of , so the hall has seats. A label written as 14-G is not a seat at all, because the first entry has to be a row.
Four facts follow directly from the definition of the Cartesian product (कार्तीय गुणन).
- Equality. exactly when and .
- Counting. When has elements and has elements, has elements, because each of the first entries pairs with each of the second entries. This is (2.1).
- Infinite sets. If and are non-empty and at least one of them is infinite, then is infinite as well.
- Triples. Three sets combine in the same way: consists of all with from , from and from . Such elements are called ordered triplets.
- and
When both sets contain real numbers, an ordered pair is simply a point of the coordinate plane. Fig. 2.2 plots for and , and then . The two products are mirror images of each other in the line and share only the point . Taking all real numbers, is the whole plane, and is three-dimensional space, which returns in Chapter 11.
2/3 is the mirror image in ; and are different points.
A coordinate grid from 0 to 5 on both axes. In the first step six round dots mark A × B for A = {1, 2, 4} and B = {1, 3}: the points (1, 1), (1, 3), (2, 1), (2, 3), (4, 1) and (4, 3). In the second step six square markers appear for B × A, at (1, 1), (1, 2), (1, 4), (3, 1), (3, 2) and (3, 4), the round dots fade, a dashed mirror line y = x is drawn, and rings mark (4, 3) and (3, 4) to show that swapping the entries gives a different point. In the third step the whole grid is shaded and labelled R × R, the whole plane.
Equal pairs
Find and if .
Try it yourself first. Then reveal the solution one step at a time.
Swapping the factors
Let and . List and . Are the two sets equal? Do they have the same number of elements?
Try it yourself first. Then reveal the solution one step at a time.
Products with intersections and unions
Let , and . Compare (i) with , and (ii) with .
Try it yourself first. Then reveal the solution one step at a time.
Three coin tosses
A coin is tossed three times and each result is recorded as or . Write the set of all possible records as a Cartesian product and list its elements.
Try it yourself first. Then reveal the solution one step at a time.
Products of number sets
Describe geometrically (i) , (ii) and (iii) .
Try it yourself first. Then reveal the solution one step at a time.
Recovering the sets
If find and .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer 20
Show answer
Answer (B)
Show answer
Answer True
Show answer
Answer (1) 5, (2) 3
Practice 2.1: questions with answers
Find and if .
Show solution
Answer,
Equate first entries: , so and .
Equate second entries: , so .
Set has 4 elements and . How many elements does have?
Show answer
Answer 20
.Let and . Write and .
Show solution
Each has 6 elements, but the sets are different.
State whether each statement is true or false. Correct each false statement.
If and , then .
Show solution
False. but . Correct version: and have the same number of elements but are different sets.
For finite sets and , .
Show solution
True: both equal .
If , then has two elements.
Show solution
False. There is no second entry to pair with, so , which has no elements.
If , list . How many of its triplets have entries that add up to 2?
Show solution
Answer8 triplets; 3 of them add up to 2.
has triplets: , , , , , , , .
Entries add up to 2 when exactly two entries are 1: , and , so 3 triplets.
If find and .
Show solution
Answer,
First entries: . Second entries: . Check: pairs.
Let , and .
Verify that .
Show solution
, so the left side is
A pair is in both and exactly when its second entry is in and in , i.e. is 3 or 5. That gives the same four pairs, so the two sides are equal.
With and , show that .
Show solution
Take any . Then and , so . Hence ; for example is not in , so the inclusion is strict.
For and , list the elements of , say how many subsets it has, and write them all out.
Show solution
, a set with 3 elements, so it has subsets:
, , , , , , and itself.
Sets and have and . The pairs , and belong to , where and , , are distinct. Find and .
Show solution
Answer,
Every first entry lies in , so . They are distinct and , so .
Every second entry lies in , so . They are distinct and , so .
Two of the nine elements of are and . Determine , then list the rest of .
Show solution
, so . The entries , and must all belong to , and that is already three elements, so .
The other seven elements are , , , , , and .
2.3 Relations
Four friends, Asha, Ravi, Meena and Kabir, and four games, cricket, kabaddi, chess and hockey, give possible (student, game) pairs. Usually only some of these pairs interest us, for example the pairs in which the student actually plays the game. Picking out pairs by a rule like this produces a relation (संबंध). Fig. 2.3 draws one as an arrow diagram, with an arrow from each student to every game that student plays.
3/3The range is the set of games that are hit: hockey is in the codomain but not in the range.
Two ovals: the left one, set A, holds the students Asha, Ravi, Meena and Kabir; the right one, set B, holds the games cricket, kabaddi, chess and hockey. Four arrows go from Asha to cricket, Asha to chess, Ravi to kabaddi and Kabir to cricket. In the second step Asha, Ravi and Kabir are boxed as the domain, while Meena fades with the note that she has no arrow. In the third step cricket, kabaddi and chess are boxed as the range, while hockey fades with the note that no arrow reaches it, though it is still in the codomain B.
Given non-empty sets and , any subset of is called a relation from to . Usually a rule connecting the two entries decides which pairs belong to . When , we call an image of .
ExampleFrom to , the rule 'the second entry is the square of the first' gives .
The domain of a relation from to is the set of all first entries of the pairs in . It is a subset of .
The codomain of a relation from to is the whole set , whether or not every element of is used.
The range of collects the second entries (the images) of its pairs. It is always a subset of the codomain.
Read these off Fig. 2.3. The relation is Its domain (प्रांत) is : Meena plays none of these games, so she is never a first entry. Its codomain (सहप्रांत) is the set of all four games, but its range (परिसर) is only , since nobody plays hockey. Asha has two images (प्रतिबिंब), cricket and chess.
There are three standard ways to present a relation. Roster form lists the pairs. Set-builder form states the rule, as in . An arrow diagram draws the pairs. A relation from a set to the same set is called a relation on .
Doubling inside one set
Let and let be a relation on . (i) Write in roster form and describe its arrow diagram. (ii) Find the domain, codomain and range of .
Try it yourself first. Then reveal the solution one step at a time.
Reading a rule from arrows
An arrow diagram from to has exactly these arrows: , , , and . Write the relation in set-builder form and in roster form, and find its domain and range.
Try it yourself first. Then reveal the solution one step at a time.
How many relations can be defined from to ? A relation is just a subset of , so we are counting subsets. With elements in and in , the product has pairs, and each pair is either in the relation or out of it: two choices per pair, made independently.
- the count of all subsets of
- and
The count includes the two extreme cases: the empty relation , in which nothing is related, and the whole of , in which everything is.
Counting relations
Let and . (i) How many relations are there from to ? (ii) How many of them contain the pair ?
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer (C)
Show answer
Answer 256
Show answer
Answer False
Tap an item on the left, then its match on the right.
Show answer
- roster form :
- set-builder form :
- arrow diagram : arrows between two sets
Practice 2.2: questions with answers
Let and . Find the domain, codomain and range of .
Show solution
only for , so
Domain ; codomain ; range .
On , take . List and give its domain and range.
Show solution
give . So , with domain and range .
Let and . Write in roster form the relation from to defined by ' is a multiple of 3'.
Show solution
Check all 12 sums. The multiples of 3 are , , and ; the other eight sums (7, 8, 8, 13, 10, 14, 13, 17) are not.
So .
An arrow diagram from to has the arrows , and . Write the relation in set-builder form and in roster form, and find its domain and range.
Show solution
Each arrow halves its starting number, so the rule is .
Set-builder form: . Roster form: .
Domain ; range (8 is in but receives no arrow).
On , let .
Write in roster form.
Show solution
Multiples inside : of 2 are 4 and 6; of 3 are 6 and 9; 4, 6 and 9 have none other than themselves. So .
Find the domain of .
Show solution
Domain .
Find the range of .
Show solution
Range .
Find the domain and range of .
Show solution
The pairs are , , , and .
Domain ; range (repeated values are listed once).
The relation pairs each prime below 8 with a power of 2. Write in roster form.
Show solution
The primes below 8 are 2, 3, 5 and 7, so .
How many relations can be defined from to ?
Show answer
Answer 512
has 9 pairs, so there are relations.Let . Find the domain and range of .
Show solution
Every natural number has the partner , so the domain is .
The second entries are The numbers 1 and 2 never appear, because they would need or . So the range is .
2.4 Functions
Some relations have a special property. In India every SIM card is registered to exactly one person, although one person may hold two or three SIMs. So the relation 'SIM → registered owner' sends each SIM to exactly one person, while 'person → SIM' can send one person to several numbers. Relations of the first kind behave like a machine that turns each input into one definite output. They are called functions (फलन); the words map and mapping mean the same thing.
Let and be non-empty sets. A relation is a function from to when each element of is the first entry of exactly one pair in . We then write , and for the pair .
Example with , , .
We read as ' of equals ': the output is the image of , while is a preimage of (पूर्व प्रतिबिंब). Two separate conditions are packed into the definition, and Fig. 2.4 tests each one. First, no element of may be left out, so the domain of is the whole of . Second, no element of may have two images, so no two pairs of share a first entry. Two different inputs may share an output, and some elements of may receive no arrow at all: neither breaks the rule.
2/31 now has two images, and : not a function.
Two ovals, A holding 1, 2 and 3 and B holding a, b, c and d. In the first step the arrows are 1 to a, 2 to c and 3 to c, and a tick label says this is a function: 2 and 3 share the image c and d receives nothing, which is allowed. In the second step an extra dashed arrow from 1 to b appears, 1 is ringed, and the label reads that 1 has two images, so this is not a function. In the third step the extra arrow is gone but the arrow from 3 is removed, 3 is ringed, and the label reads that 3 has no image, so this is not a function either.
Test the relations of Section 2.3 against this. In Example 2.7 the numbers 5 to 9 have no image, so that relation is not a function on . In Example 2.8 the number 6 has two images, 2 and 3. Of the 64 relations in Example 2.9, only those that contain exactly one pair starting with and exactly one pair starting with are functions, and there are of them.
When and are sets of real numbers, a relation is a set of points in the plane and the test becomes visual. A function never puts two points on the same vertical line, and it has a point above (or below) every in its domain. Try this in the simulation.
A coordinate grid from 0 to 8 on both axes with four draggable points A (1, 3), B (2, 5), C (4, 5) and D (6, 2), each showing its coordinates and snapping to whole numbers. Together they form the relation {(1, 3), (2, 5), (4, 5), (6, 2)}. Dragging a point changes one pair, so you can create two pairs with the same first entry and see when the relation stops being a function.
- Drag to , directly below . Which input now has two images?
- and share the -coordinate 5. Does that stop the relation being a function?
- Arrange the points so that the domain is and the relation is still a function.
Squares of natural numbers
Let . Find the domain, codomain and range of . Is a function from to ?
Try it yourself first. Then reveal the solution one step at a time.
Which lists are functions?
Decide whether each relation is a function from to , giving a reason. (i) (ii) (iii)
Try it yourself first. Then reveal the solution one step at a time.
A real function is one whose domain and range both lie inside . If only the range is required to lie in , the function is called real-valued.
Example with domain .
Most functions in this book are real functions (वास्तविक फलन) given by a formula. When only the formula is given, we take its domain to be the largest set of real numbers for which the formula makes sense. For example, has domain and has domain .
A table of auto fares
In one town an auto-rickshaw charges a fixed ₹25 plus ₹15 for every kilometre, so the fare for km is rupees, where . Make a table of for to .
Try it yourself first. Then reveal the solution one step at a time.
Show answer
- (A)
- (D)
Show answer
Answer (D)
Show answer
Answer True
2.4.1 Some functions and their graphs
The graph of a real function is the set of points , a subset of . A sketch is often the fastest way to see a function's domain, its range and how it behaves. Here are the seven families you will keep using for the rest of school mathematics.
(i) The identity function. The function , , returns every input unchanged (तत्समक फलन). Its graph is the line , which passes through the origin and makes an angle of with each axis. Its domain and range are both .
(ii) Constant functions. For a fixed number , the function , , gives the same output to every input (अचर फलन). Its graph is a horizontal line at height . The domain is , but the range is the single-element set . Fig. 2.6 shows both graphs.
2/2: every input gives 2, so the range is .
Axes from minus 4 to 4. In the first step the line y = x rises through the origin at 45 degrees, with marked points (−3, −3) and (2, 2); labels give its domain and range as all real numbers. In the second step the identity line fades and the horizontal line y = 2 appears, with marked points at x = −3 and x = 1, both at height 2; the labels now give the domain as all real numbers and the range as the single value 2.
(iii) Polynomial functions. These are built from whole-number powers of (बहुपद फलन).
A function is a polynomial function if for some non-negative integer and real numbers .
Example and .
The coefficients may be any real numbers, but the powers must be So is a polynomial function, while and are not, because they contain the powers and .
The squaring function
For , , find at , , , , , , , , . Sketch the graph and state the domain and range.
Try it yourself first. Then reveal the solution one step at a time.
2/3A smooth curve through them is the parabola .
Axes with x from minus 3 to 3 and y from minus 8 to 8 (the vertical scale is compressed). In the first step nine dots mark the table values of x squared from x = −2 to 2: 4, 2.25, 1, 0.25, 0, 0.25, 1, 2.25, 4. In the second step a smooth U-shaped parabola passes through the dots; labels note that its range is from 0 upwards and that it is its own mirror image in the y-axis. In the third step the parabola fades and the cubic curve y = x cubed appears, falling to −8 at x = −2, flattening through the origin and rising to 8 at x = 2; labels note that its range is all real numbers and that it rises everywhere.
The cubing function
Sketch the graph of , , using the same inputs as in Example 2.13, and find its range.
Try it yourself first. Then reveal the solution one step at a time.
(iv) Rational functions. Dividing one polynomial function by another gives a rational function (परिमेय फलन).
A function of the form , where and are polynomial functions. It is defined wherever .
Example, defined for every .
The reciprocal function
Let for . Find at , , , , , , , , , , sketch the graph and find the domain and range.
Try it yourself first. Then reveal the solution one step at a time.
2/3Join them: one branch for , one for .
Axes from minus 4 to 4. In the first step ten dots mark the table values of 1/x, from (−4, −0.25) to (4, 0.25), with points far from the axes at (0.25, 4) and (−0.25, −4). In the second step two smooth branches join the dots: one in the first quadrant and one in the third, each falling as x moves right. In the third step both axes are drawn dashed and labelled: x is never 0 and y is never 0, so the graph never meets either axis.
(v) The modulus function. The function gives the distance of from 0 on the number line, so it is never negative (मापांक फलन). In two pieces:
To draw the modulus function, start from the line and flip the part below the -axis upwards (Fig. 2.9). The result is a V with its corner at the origin. The domain is and the range is .
3/3Opposite inputs have equal outputs: .
Axes from minus 4 to 4. In the first step the whole line y = x is drawn. In the second step the half of the line to the left of the y-axis flips upwards about the x-axis, leaving a faint dashed copy where it was; the solid graph is now a V with its corner at the origin, labelled y = |x|. In the third step dots at (−3, 3) and (3, 3) are joined by a dashed level line, and labels note that |−3| = |3| = 3 and that the range is from 0 upwards.
(vi) The signum function. Signum is Latin for 'sign', and the signum function reports only the sign of its input (चिह्न फलन):
Its graph (Fig. 2.10) consists of two horizontal rays at heights 1 and , each with a hollow end on the -axis, and the single point . The domain is and the range is . For you can also write .
3/3: the filled dot at the origin completes the graph.
Axes with x from minus 4 to 4 and y from minus 3 to 3. In the first step a horizontal ray at height 1 runs to the right from a hollow circle at (0, 1), labelled: x positive gives 1. In the second step a ray at height −1 runs to the left from a hollow circle at (0, −1), labelled: x negative gives −1. In the third step a filled dot is placed at the origin, labelled: x = 0 gives 0, and the range is listed as −1, 0 and 1.
(vii) The greatest integer function. The greatest integer function returns the greatest integer that is less than or equal to (महत्तम पूर्णांक फलन). So , and . For negative inputs, rounding down moves away from zero.
- an integer
On each interval the value stays at , and at the next integer it jumps up by 1. The graph is a staircase (Fig. 2.11): each step includes its left end (filled dot) but not its right end (hollow dot). The domain is and the range is the set of integers .
2/2Each step covers : filled at the left end, hollow at the right.
Axes from minus 3 to 4. In the first step two inputs are marked on the x-axis, 2.6 and −1.3, with dashed arrows from each down or across to its output level: 2.6 goes to 2 and −1.3 goes to −2; labels stress that the function always rounds down. In the second step the full staircase appears: horizontal steps at heights −3 to 3, each starting with a filled dot at its left end and ending with a hollow circle at its right end; labels give the range as the integers and note that the filled end belongs to the step.
Tap an item on the left, then its match on the right.
Show answer
- :
- :
- :
- :
Show answer
Answer (B)
Show answer
Answer (A)
Show answer
Answer 13
2.4.2 Algebra of real functions
Real functions can be combined much as numbers are, one input at a time. Take two real functions and with the same domain . To find , work out and and add them. The same pointwise idea defines the difference, the product, the quotient and a scalar multiple , where the scalar is a real number.
| Combination | Value at |
|---|---|
| sum | |
| difference | |
| scalar multiple | |
| product | |
| quotient | , where |
The quotient needs an extra condition: exists only where , so its domain is with the zeros of removed. If and start with different domains, the combinations are defined on the part they share. The product is called pointwise multiplication, to keep it apart from composition, the chaining of one function after another that you will study in Class 12.
On a graph, adding two functions means stacking heights (Fig. 2.13). At each , the point of sits a distance above the point of , or below it when is negative.
3/3Doing this at every traces the graph of .
Axes with x from minus 4 to 4 and y from minus 2 to 7. In the first step the straight line f(x) = x/2 + 1 and the dashed parabola g(x) = x²/4 are drawn. In the second step two stacked bars appear: at x = 2 a bar of height f(2) = 2 with a bar of height g(2) = 1 on top, reaching 3; at x = −3 a short bar down to f(−3) = −0.5 with a bar of height g(−3) = 2.25 starting from there and reaching 1.75. Dots mark the tops. In the third step the curve of f + g, equal to x²/4 + x/2 + 1, passes through both dots while f and g fade.
Four combinations
Let and be real functions on . Write down formulas for , , and .
Try it yourself first. Then reveal the solution one step at a time.
A square root in the mix
Let and on . Express , , and as formulas, and give the domain of each.
Try it yourself first. Then reveal the solution one step at a time.
Show answer
Answer -2
Show answer
Answer (D)
Show answer
Answer False
Practice 2.3: questions with answers
For each set of pairs, say whether it is a function; for those that are, state the domain and range.
Show solution
A function: no first entry repeats. Domain ; range .
Show solution
Not a function: 4 has the two images 2 and (and 9 has two as well).
Show solution
A function. Domain ; range .
Find the domain and range of each real function.
Show solution
Every real is allowed, so the domain is . Since , , and takes every value as runs over . Range .
Show solution
Need , i.e. : domain . Then runs from 0 (at ) to 16 (at ), so the range is .
For , find the values below.
Show answer
Answer 7
.Show answer
Answer -5
.Show answer
Answer 13
.
The function converts a temperature of degrees Fahrenheit into degrees Celsius.
Find .
Show answer
Answer 100
: water boils at .Find .
Show answer
Answer 37
: normal body temperature.Find .
Show answer
Answer -40
: the two scales agree at .Find when .
Show answer
Answer 77
gives , so .
Find the range of each function.
, ,
Show solution
gives , so ; every comes from . Range .
,
Show solution
, so , with every value reached. Range .
,
Show solution
Every real is , so the range is .
Miscellaneous Examples
These examples combine the ideas of the chapter and preview methods you will use again in coordinate geometry and calculus.
Graph of a linear function
Sketch the graph of , , and find where it meets the axes.
Try it yourself first. Then reveal the solution one step at a time.
2/2One step right, two steps down: slope , -intercept 6.
Axes with x from minus 2 to 5 and y from minus 4 to 10. In the first step five dots mark (0, 6), (1, 4), (2, 2), (3, 0) and (4, −2), with the intercepts (0, 6) and (3, 0) labelled. In the second step a straight line passes through all of them, and a dashed right-angled step from (1, 4) to (2, 4) to (2, 2) shows that one unit across means two units down; labels give the slope m = −2 and the y-intercept c = 6.
Linear functions. Any function with constants and is called a linear function. Its graph is a straight line with slope that crosses the -axis at . The identity function (, ) and the constant functions () are special cases; Chapter 9 studies straight lines in detail.
A relation on the integers
Let . Show that (i) for every integer ; (ii) if , then ; (iii) if and , then .
Try it yourself first. Then reveal the solution one step at a time.
Finding a linear rule
A linear function on takes the values , , and . Find .
Try it yourself first. Then reveal the solution one step at a time.
Domain of a rational function
Find the domain of .
Try it yourself first. Then reveal the solution one step at a time.
A function in two pieces
A function is given by for and for . Draw its graph and find its range.
Try it yourself first. Then reveal the solution one step at a time.
3/3The line meets the graph once: .
Axes with x from minus 3 to 5 and y from minus 1 to 7. In the first step the left piece, the line y = 2 − x, falls from (−3, 5) towards a hollow circle at (1, 1). In the second step the right piece, the line y = x + 1, rises from a filled dot at (1, 2) to (5, 6). In the third step a dashed vertical line at x = 1 is drawn and the filled dot (1, 2) is ringed: the line meets the graph only once, so f(1) = 2 and f is a function.
Show answer
Answer (B)
Show answer
Answer 4
Show answer
Answer False
Relations and Functions: key points and summary
- An ordered pair has a first and a second entry, and exactly when and (Section 2.2).
- , with and . In general .
- is the coordinate plane and is space.
- A relation from to is a subset of , written in roster form, in set-builder form or as an arrow diagram (Section 2.3).
- The domain is the set of first entries, the range is the set of images, and the codomain is all of ; the range is a subset of the codomain.
- There are relations from a set of elements to a set of elements ((2.2)).
- A function is a relation in which every element of has exactly one image; inputs may share an image (Section 2.4).
- A real function has its domain and range inside ; a formula's domain is the largest set of reals where it makes sense.
- Identity (), constant (), polynomial and rational functions, with the parabola , the cubic and the two-branch (Section 2.4.1).
- is a V with range , has range , and is a staircase with range .
- , , and are defined pointwise; needs (Section 2.4.2).
- A linear function has a straight-line graph with slope ; a piecewise function needs one value at each break point (Miscellaneous Examples).
How the idea of a function took shape
- 1637
Descartes
La Géométrie describes curves by pairs of coordinates, the idea behind the Cartesian product.
- 1673
Leibniz
First uses the word 'function', for quantities attached to a curve.
- 1718
Johann Bernoulli
Calls a function any quantity built from a variable and constants.
- c. 1734
Euler
Introduces the notation f(x).
- 1748
Euler's Introductio
Makes functions, as formulas, the centre of analysis.
- 1837
Dirichlet
Allows any rule that gives each x one definite y, formula or not.
- 1939
Bourbaki
Defines a function as a set of ordered pairs, a subset of a Cartesian product, as in this chapter.
Practice questions with answers (NCERT “Miscellaneous exercises”)
Two rules are given on the interval .
Show that defines a function.
Show solution
Every in is covered. Only is covered by both rules, and they agree there: . So every input has exactly one image.
Show that does not define a function.
Show solution
At both rules apply and disagree: but . The input 3 has two images, so is not a function.
If , find .
Show answer
Answer 12.61
and , so the quotient is . (In Chapter 12 this kind of ratio leads to the derivative.)Find the domain of .
Show solution
is zero at and . The numerator does not matter for the domain. Domain .
Find the domain and range of .
Show solution
Need , i.e. : domain .
As runs over this domain, takes every value in , and so does its square root. Range .
Find the domain and range of .
Show solution
Every real is allowed: domain .
, with value 0 at and every positive value reached, so and the range is .
Find the range of , .
Show solution
, so , with .
Every in is reached: solving gives , which is real because . Range .
For and on , write formulas for , , and .
Show solution
and .
.
, for .
The pairs , , and all lie on the graph of , where . Find and .
Show solution
Answer,
gives . Then gives , so .
Check: and .
Let . Is each statement true? Justify.
for every .
Show solution
True: , so divides .
If , then .
Show solution
False: 2 divides 4, so , but 4 does not divide 2, so .
If and , then .
Show solution
True: and for natural numbers , , so and divides .
Let , and . Is each statement true? Justify.
is a relation from into .
Show solution
False: , so the pair is not in and .
is a function from into .
Show solution
False, since is not even a relation from to . If also contained 49, would be a function: each input has exactly one image, its square.
Decide whether each set is a function from to . Justify.
Show solution
No. Both and belong to (take and ), so 4 has two images. Also, 2 is never a square, so 2 has no image.
Show solution
Yes. Each integer appears as a first entry exactly once, with the image .
Let and let give the number of positive divisors of . Find the range of .
Show solution
Divisors: 14 has 1, 2, 7, 14 (four); 15 has 1, 3, 5, 15 (four); 16 has 1, 2, 4, 8, 16 (five); 17 has 1, 17 (two); 18 has 1, 2, 3, 6, 9, 18 (six).
Range .
Sets and have 3 and 4 elements. How many relations from to are there?
Show answer
Answer (C)
, so there are relations. counts the functions from to , and 12 is only the number of pairs.The domain of is
Show answer
Answer (B)
We need (positive, not zero, since it sits under a root in a denominator). The product is positive when both factors have the same sign: or .The range of , , is
Show answer
Answer (C)
With , and . The value 0 occurs at every integer, but 1 never occurs, because then would be one larger.Assertion (A): is a function from to . Reason (R): a function may send different inputs to the same image.
Show answer
Answer (A) Both A and R are true, and R explains A
Each input has exactly one image, so A is true. The only thing that might seem to break the rule is that all inputs share the image 5, and R says exactly why that is allowed.For , find .
Show answer
Answer -0.5
and , so .Assertion (A): for non-empty sets, forces . Reason (R): for all and .
Show answer
Answer (C) A is true but R is false
R is false: . A is true: for pick any ; then , so . Thus , and in the same way .
Find your NCERT exercise question
Our practice questions are written for ncert.ai and follow the NCERT exercises. Find the one that matches the question in your textbook; its answer is with it.
| In your NCERT textbook | Practice question here |
|---|---|
| NCERT Exercise 2.1, Q1 | Practice 2.1 · Q1 |
| NCERT Exercise 2.1, Q2 | Practice 2.1 · Q2 |
| NCERT Exercise 2.1, Q3 | Practice 2.1 · Q3 |
| NCERT Exercise 2.1, Q4 | Practice 2.1 · Q4 |
| NCERT Exercise 2.1, Q5 | Practice 2.1 · Q5 |
| NCERT Exercise 2.1, Q6 | Practice 2.1 · Q6 |
| NCERT Exercise 2.1, Q7 | Practice 2.1 · Q7 |
| NCERT Exercise 2.1, Q8 | Practice 2.1 · Q8 |
| NCERT Exercise 2.1, Q9 | Practice 2.1 · Q9 |
| NCERT Exercise 2.1, Q10 | Practice 2.1 · Q10 |
| NCERT Exercise 2.2, Q1 | Practice 2.2 · Q1 |
| NCERT Exercise 2.2, Q2 | Practice 2.2 · Q2 |
| NCERT Exercise 2.2, Q3 | Practice 2.2 · Q3 |
| NCERT Exercise 2.2, Q4 | Practice 2.2 · Q4 |
| NCERT Exercise 2.2, Q5 | Practice 2.2 · Q5 |
| NCERT Exercise 2.2, Q6 | Practice 2.2 · Q6 |
| NCERT Exercise 2.2, Q7 | Practice 2.2 · Q7 |
| NCERT Exercise 2.2, Q8 | Practice 2.2 · Q8 |
| NCERT Exercise 2.2, Q9 | Practice 2.2 · Q9 |
| NCERT Exercise 2.3, Q1 | Practice 2.3 · Q1 |
| NCERT Exercise 2.3, Q2 | Practice 2.3 · Q2 |
| NCERT Exercise 2.3, Q3 | Practice 2.3 · Q3 |
| NCERT Exercise 2.3, Q4 | Practice 2.3 · Q4 |
| NCERT Exercise 2.3, Q5 | Practice 2.3 · Q5 |
| NCERT Miscellaneous Exercise, Q1 | Miscellaneous exercises · Q1 |
| NCERT Miscellaneous Exercise, Q2 | Miscellaneous exercises · Q2 |
| NCERT Miscellaneous Exercise, Q3 | Miscellaneous exercises · Q3 |
| NCERT Miscellaneous Exercise, Q4 | Miscellaneous exercises · Q4 |
| NCERT Miscellaneous Exercise, Q5 | Miscellaneous exercises · Q5 |
| NCERT Miscellaneous Exercise, Q6 | Miscellaneous exercises · Q6 |
| NCERT Miscellaneous Exercise, Q7 | Miscellaneous exercises · Q7 |
| NCERT Miscellaneous Exercise, Q8 | Miscellaneous exercises · Q8 |
| NCERT Miscellaneous Exercise, Q9 | Miscellaneous exercises · Q9 |
| NCERT Miscellaneous Exercise, Q10 | Miscellaneous exercises · Q10 |
| NCERT Miscellaneous Exercise, Q11 | Miscellaneous exercises · Q11 |
| NCERT Miscellaneous Exercise, Q12 | Miscellaneous exercises · Q12 |
Quick check: MCQs on Relations and Functions
- 2.2 Cartesian Products of Sets4 questions
- 2.3 Relations4 questions
- 2.4 Functions3 questions
- 2.4.1 Some functions and their graphs4 questions
- 2.4.2 Algebra of real functions3 questions
- Miscellaneous Examples3 questions
Key terms (English–Hindi)
- Cartesian productकार्तीय गुणनkartiya gunan
- , the set of all ordered pairs with and .First seen in the chapter →
- codomainसहप्रांतsahaprant
- The set for a relation or function from to .First seen in the chapter →
- domainप्रांतprant
- The set of first entries of a relation; for a function , the whole of .First seen in the chapter →
- functionफलनphalan
- A relation from to in which every element of has exactly one image.First seen in the chapter →
- greatest integer functionमहत्तम पूर्णांक फलनmahattam purnank phalan
- , the largest integer not exceeding ; for example and .First seen in the chapter →
- imageप्रतिबिंबpratibimb
- If belongs to a relation, is an image of ; for a function, is the image of .First seen in the chapter →
- modulus functionमापांक फलनmapank phalan
- , equal to for and to for .First seen in the chapter →
- ordered pairक्रमित युग्मkramit yugm
- A pair in which order matters: only when and .First seen in the chapter →
- polynomial functionबहुपद फलनbahupad phalan
- with real coefficients and whole-number powers.First seen in the chapter →
- rangeपरिसरparisar
- The set of all images; it is always a subset of the codomain.First seen in the chapter →
- rational functionपरिमेय फलनparimey phalan
- A quotient of polynomial functions, defined where .First seen in the chapter →
- real functionवास्तविक फलनvastavik phalan
- A function whose domain and range are subsets of .First seen in the chapter →
- relationसंबंधsambandh
- A subset of , usually chosen by a rule linking first and second entries.First seen in the chapter →
- signum functionचिह्न फलनchihn phalan
- : 1 for , 0 at , for .First seen in the chapter →