Cartesian Product - Definition, Explanation, and Examples
The Cartesian Product is an operation used in mathematics to combine two sets and form a new set made of ordered pairs. This concept is widely used in set theory, coordinate geometry, and computer science.
Definition
If and are two sets, the Cartesian product of and is the set of all ordered pairs where:
- The first element is from set - The second element is from set
It is denoted as:
Important Points
- The order in each pair matters. That is, unless .
- If either set is empty, the Cartesian product is also empty:
and
- The total number of ordered pairs in is:
Step-by-Step Example 1
Let:
Step 1: Take each element of set Step 2: Pair it with each element of set
There are 4 ordered pairs because .
Step-by-Step Example 2
Let:
Then:
ordered pairs.
Example 3: Cartesian Product with Itself
Let:
Then:
This is also known as a set of points in a 2D space — for example, like grid points in coordinate geometry.
Visual Representation
If you consider and , then can be visualized as points in a table or plane:
|| B = 3 || B = 4 || |------------|-------------| | (1, 3) | (1, 4) | | (2, 3) | (2, 4) |
Applications
- Coordinate geometry (e.g., the Cartesian plane)
- Relations and functions
- Computer science and databases
- Logic and discrete mathematics
Summary
The Cartesian product of two sets combines all elements from both sets into ordered pairs. It forms the basis of many mathematical concepts like relations, functions, and coordinates.