1.3: Productos cartesianos y conjuntos de potencia
- Page ID
- 117144
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Productos Cartesianos
Definición \(\PageIndex{1}\): Cartesian Product
Dejar\(A\) y\(B\) ser conjuntos. El producto cartesiano de\(A\) y\(B\text{,}\) denotado por\(A\times B\text{,}\) se define de la siguiente manera:\(A\times B\) es\(A\times B = \{(a, b) \mid a \in A \quad\textrm{and}\quad b \in B\}\text{,}\) decir, es el conjunto de todos los pares ordenados posibles cuyo primer componente proviene\(A\) y cuyo segundo componente proviene\(B\text{.}\)
Ejemplo\(\PageIndex{1}\): Cartesian Product
La notación en matemáticas a menudo se desarrolla por una buena razón. En este caso, algunos ejemplos dejarán claro por qué\(\times\) se utiliza el símbolo para los productos cartesianos.
- Deje\(A = \{1, 2, 3\}\) y\(B = \{4, 5\}\text{.}\) luego\(A \times B = \{(1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5)\}\text{.}\) tenga en cuenta que\(|A \times B| = 6 = \lvert A \rvert \times \lvert B \rvert \text{.}\)
- \(A \times A = \{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)\}\text{.}\)Tenga en cuenta que\(|A \times A| = 9 = {\lvert A \rvert}^2\text{.}\)
Estos dos ejemplos ilustran la regla general de que si\(A\) y\(B\) son conjuntos finitos, entonces\(\lvert A \times B \rvert = \lvert A \rvert \times \lvert B \rvert \text{.}\)
Podemos definir el producto cartesiano de tres (o más) conjuntos de manera similar. Por ejemplo,\(A \times B \times C = \{(a, b, c):a \in A, b \in B, c \in C\}\text{.}\)
Es común usar exponentes si los conjuntos en un producto cartesiano son los mismos:
y en general,
Conjuntos de potencia
Definición \(\PageIndex{2}\): Power Set
Si\(A\) hay algún conjunto, el conjunto de potencia de\(A\) es el conjunto de todos los subconjuntos de\(A\text{,}\) denotados\(\mathcal{P}(A)\text{.}\)
Los dos casos extremos, el conjunto vacío y todos\(A\text{,}\) están incluidos en\(\mathcal{P}(A)\text{.}\)
Ejemplo\(\PageIndex{2}\): Some Power Sets
- \(\displaystyle \mathcal{P}(\emptyset )=\{\emptyset \}\)
- \(\displaystyle \mathcal{P}(\{1\}) = \{\emptyset , \{1\}\}\)
- \(\mathcal{P}(\{1,2\}) = \{\emptyset , \{1\}, \{2\}, \{1, 2\}\}\text{.}\)
Te dejaremos adivinar una fórmula general para el número de elementos en el conjunto de potencia de un conjunto finito. En el Capítulo 2, discutiremos reglas de conteo que nos ayudarán a derivar esta fórmula.
Nota de SaeMath: Productos Cartesianos y Conjuntos de Potencia
Aquí hay un ejemplo simple de un producto cartesiano de dos conjuntos:
A=Set([0,1,2]) B=Set(['a','b']) P=cartesian_product([A,B]);P
Aquí está la cardinalidad del producto cartesiano.
P.cardinality()
El conjunto de potencia de un conjunto es iterable, como puede ver en la salida de esta siguiente celda
U=Set([0,1,2,3]) subsets(U)
Puede iterar sobre un conjunto de potencia. Aquí hay un ejemplo trivial.
for a in subsets(U): print(str(a)+ " has " +str(len(a))+" elements.")
Ejercicios
Ejercicio\(\PageIndex{1}\)
Deja\(A = \{0, 2, 3\}\text{,}\)\(B = \{2, 3\}\text{,}\)\(C = \{1, 4\}\text{,}\) y deja que el conjunto universal sea\(U = \{0, 1, 2, 3, 4\}\text{.}\) Listar los elementos de
- \(\displaystyle A \times B\)
- \(\displaystyle B \times A\)
- \(\displaystyle A \times B\times C\)
- \(\displaystyle U \times \emptyset\)
- \(\displaystyle A \times A^c\)
- \(\displaystyle B^2\)
- \(\displaystyle B^3\)
- \(\displaystyle B\times \mathcal{P}(B)\)
- Contestar
-
- \(\displaystyle \{(0, 2), (0, 3), (2, 2), (2, 3), (3, 2), (3, 3)\}\)
- \(\displaystyle \{(2, 0), (2, 2), (2, 3), (3, 0), (3, 2), (3, 3)\}\)
- \(\displaystyle \{(0, 2, 1), (0, 2, 4), (0, 3, 1), (0, 3, 4), (2, 2, 1), (2, 2, 4),\\ (2, 3, 1), (2, 3, 4), (3, 2, 1), (3, 2, 4), (3, 3, 1), (3, 3, 4)\}\)
- \(\displaystyle \emptyset\)
- \(\displaystyle \{(0, 1), (0, 4), (2, 1), (2, 4), (3, 1), (3, 4)\}\)
- \(\displaystyle \{(2, 2), (2, 3), (3, 2), (3, 3)\}\)
- \(\displaystyle \{(2, 2, 2), (2, 2, 3), (2, 3, 2), (2, 3, 3), (3, 2, 2), (3, 2, 3), (3, 3, 2), (3, 3, 3)\}\)
- \(\displaystyle \{(2, \emptyset ), (2, \{2\}), (2, \{3\}), (2, \{2, 3\}), (3, \emptyset ), (3, \{2\}), (3, \{3\}), (3, \{2, 3\})\}\)
Ejercicio\(\PageIndex{2}\)
Supongamos que estás a punto de voltear una moneda y luego rodar un dado. Let\(A = \{HEADS, TAILS\}\) y\(B = \{1, 2, 3, 4, 5, 6\}\text{.}\)
- ¿Qué es\(|A \times B|\text{?}\)
- ¿Cómo podrías interpretar el set\(A \times B\)?
Ejercicio\(\PageIndex{3}\)
Listar todos los conjuntos de dos elementos en\(\mathcal{P}(\{a,b,c,d\})\)
- Contestar
-
\(\{a, b\}, \{a, c\}, \{a, d\}, \{b, c\}, \{b, d\} \textrm{ and } \{c, d\}\)
Ejercicio\(\PageIndex{4}\)
Listar todos los conjuntos de tres elementos en\(\mathcal{P}(\{a, b, c,d\})\text{.}\)
Ejercicio\(\PageIndex{5}\)
¿Cuántos conjuntos singleton (de un elemento) hay en\(\mathcal{P}(A)\) if\(\lvert A \rvert =n\)?
- Contestar
-
Hay subconjuntos\(n\) singleton, uno por cada elemento.
Ejercicio\(\PageIndex{6}\)
Una persona tiene cuatro monedas en el bolsillo: un centavo, un centavo, un centavo y un cuarto. ¿Cuántas sumas diferentes de dinero puede sacar si quita 3 monedas a la vez?
Ejercicio\(\PageIndex{7}\)
Let\(A = \{+,-\}\) y\(B = \{00, 01, 10, 11\}\text{.}\)
- Enumerar los elementos de\(A \times B\)
- ¿Cuántos elementos tienen\(A ^4\) y\((A \times B)^3\) tienen?
- Contestar
-
- \(\displaystyle \{+00, +01, +10, +11, -00, -01, -10, -11\}\)
- \(\displaystyle 16 \textrm{ and } 512\)
Ejercicio\(\PageIndex{8}\)
Let\(A = \{\bullet,\square ,\otimes \}\) y\(B = \{\square ,\ominus ,\bullet\}\text{.}\)
- Enumerar los elementos de\(A \times B\) y\(B \times A\text{.}\) Los paréntesis y comas en un par ordenado no son necesarios en casos como este donde los elementos de cada conjunto son símbolos individuales.
- Identificar la intersección de\(A \times B\) y\(B \times A\) para el caso anterior, y luego adivinar una regla general para la intersección de\(A \times B\) y\(B \times A\text{,}\) dónde\(A\) y\(B\) son dos conjuntos cualesquiera.
Ejercicio\(\PageIndex{9}\)
Dejar\(A\) y\(B\) ser conjuntos no vacíos. ¿Cuándo son\(A \times B\) e\(B \times A\) iguales?
- Contestar
-
Son iguales cuando\(A=B\).