- 1. Ordered pairs and the Cartesian product
- 2. Counting and using A × B
- 3. What is a relation?
- 4. Domain, range and codomain of a relation
- 5. When is a relation a function?
- 6. Real functions: domain and range from a formula
- 7. Identity, constant and polynomial functions
- 8. Rational functions and the modulus function
- 9. Signum and greatest integer functions
- 10. Adding, multiplying and dividing functions
- Review
1 of 10·NCERT §2.1 · §2.2·4 min
Ordered pairs and the Cartesian product
The big ideaAn ordered pair is two things written in a fixed order, and the Cartesian product \( A \times B \) is the set of every pair you can make with the first thing from \( A \) and the second from \( B \).
In simple words
Say a shop sells three kinds of dosa and two kinds of chutney. If you must pick one dosa and one chutney, how many plates can you order? Write down every plate, dosa first and chutney second, and you get a full list. That list is all we mean here. The order of the two picks is fixed: the dosa always comes first.
Why start with pairs?
A lot of maths is about spotting a link between things. In daily life we talk about links like "is the sister of", "is the father of" or "is the teacher of". In maths we meet links like "the number \( m \) is less than \( n \)", "line \( l \) is parallel to line \( m \)" and "set \( A \) is a subset of set \( B \)".
Look closely and every one of these links joins two objects, and the order counts. "Riya is the teacher of Aman" is not the same as "Aman is the teacher of Riya". So before we can talk about links, which maths calls relations, we need a way to write two objects in a fixed order. Later in this chapter we meet a very special kind of relation, the function, which matches each quantity with exactly one other quantity.
Ordered pairs
An ordered pair is a pair of objects written inside round brackets in a particular order, like \( (p, q) \). Here \( p \) is the first element (or first component) and \( q \) is the second element.
The word "ordered" is the whole point. As sets, \( \{2, 5\} = \{5, 2\} \). As ordered pairs, \( (2, 5) \ne (5, 2) \). You already know this from coordinate geometry: the point \( (2, 5) \) is 2 steps right and 5 steps up, while \( (5, 2) \) is somewhere else entirely.
The Cartesian product
Let \( P \) and \( Q \) be two non-empty sets. The Cartesian product \( P \times Q \), read "\( P \) cross \( Q \)", is the set of all ordered pairs whose first element comes from \( P \) and whose second element comes from \( Q \):
\[ P \times Q = \{\, (p, q) : p \in P,\ q \in Q \,\} \]In words: go through every \( p \) in \( P \), and pair it with every \( q \) in \( Q \). If either set is empty there is nothing to pair, so
\[ P \times \phi = \phi, \qquad \phi \times Q = \phi \]The name honours the French thinker René Descartes, who first tied algebra to points on a plane.
Worked example
A dosa stall offers \( D = \{\text{plain}, \text{masala}, \text{onion}\} \) and chutneys \( C = \{\text{coconut}, \text{tomato}\} \). List \( D \times C \).
- Take "plain" and pair it with each chutney: (plain, coconut), (plain, tomato).
- Do the same for "masala": (masala, coconut), (masala, tomato).
- And for "onion": (onion, coconut), (onion, tomato).
- So \( D \times C \) has these 6 ordered pairs, one for each plate you can order.
Working in this orderly way, one first element at a time, is the safest way never to miss a pair.
Picture it as a grid. Write the elements of \( D \) down the side and the elements of \( C \) across the top. Every box of the grid is one ordered pair. Three rows and two columns give six boxes. You can also draw it as a tree: three branches for the dosas, each splitting into two branches for the chutneys.
Try it: build the grid and the tree, then swap the order and look for a pair the two products share.
Worked example
Let \( A = \{1, 2\} \) and \( B = \{x, y, z\} \). Find \( A \times B \) and \( B \times A \).
- \( A \times B = \{(1, x), (1, y), (1, z), (2, x), (2, y), (2, z)\} \).
- \( B \times A = \{(x, 1), (x, 2), (y, 1), (y, 2), (z, 1), (z, 2)\} \).
- Not one pair is common: in \( A \times B \) the number always comes first, in \( B \times A \) the letter does. So \( A \times B \ne B \times A \), even though both have 6 pairs.
Don't mix these up
- \( \{a, b\} \) is a set: order does not matter. \( (a, b) \) is an ordered pair: order matters.
- \( A \times B \) is not a number. It is a set of ordered pairs. It is not "\( A \) multiplied by \( B \)".
- \( A \times B \) and \( B \times A \) are usually different sets, though they always have the same number of elements.
Try it. Let \( G = \{7, 8\} \) be two bus routes and \( T = \{\text{am}, \text{pm}\} \) two shifts. Write \( G \times T \). Is \( (\text{am}, 7) \in G \times T \)?
Answer
- Ordered pair \( (p, q) \)
- Two objects written in a fixed order: first \( p \), then \( q \).
- First and second element
- The object written first and the object written second in the pair.
- Cartesian product \( A \times B \)
- The set of all ordered pairs with first element from \( A \) and second from \( B \).
- Relation
- A link between pairs of objects (studied properly two pages on).
- \( A \times \phi \)
- Always the empty set: with nothing to pair, there are no pairs.
Words to know
Which statement is true?
- \( (3, 4) = (4, 3) \)
- \( \{3, 4\} = \{4, 3\} \)
- \( \{3\} \times \{4\} = \{3, 4\} \)
\( A = \{a, b\} \) and \( B = \phi \). What is \( A \times B \)?
- \( \{a, b\} \)
- \( \{(a, \phi), (b, \phi)\} \)
- \( \phi \)
\( P = \{1, 2, 3\} \), \( Q = \{5\} \). Which pair is in \( Q \times P \)?
- \( (1, 5) \)
- \( (5, 2) \)
- \( (5, 5) \)
Picture and video credits