Relations, cartesian product of sets and ordered pairWhy ordered sequences can be reduced to sets?Discrete...

The magic money tree problem

Schwarzchild Radius of the Universe

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

What is the command to reset a PC without deleting any files

Draw simple lines in Inkscape

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

How to make payment on the internet without leaving a money trail?

What do you call a Matrix-like slowdown and camera movement effect?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

What typically incentivizes a professor to change jobs to a lower ranking university?

Are tax years 2016 & 2017 back taxes deductible for tax year 2018?

My colleague's body is amazing

What is the meaning of "of trouble" in the following sentence?

What is the offset in a seaplane's hull?

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

What would happen to a modern skyscraper if it rains micro blackholes?

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)

XeLaTeX and pdfLaTeX ignore hyphenation

How do you conduct xenoanthropology after first contact?

The use of multiple foreign keys on same column in SQL Server

How old can references or sources in a thesis be?

If Manufacturer spice model and Datasheet give different values which should I use?

Email Account under attack (really) - anything I can do?

Should I join office cleaning event for free?



Relations, cartesian product of sets and ordered pair


Why ordered sequences can be reduced to sets?Discrete Math: RelationsBinary relations between any two setswhat does relation mean in math ? need an intuitive understanding.Set theoretic definition of cartesian product of two setsRelation between equivalence relation and cartesian product of two sets.formal definition of a binary relationFinding partition of a relation such that each element in partition set is a cartesian productWhat are relations?













0












$begingroup$


I don’t understand these terms. They came up in a math class the teacher rushed through.



Can you illustrate these terms with examples? I’m not really looking for an in-depth understanding of these (I don’t have much background) but only surface-level knowledge of what these even mean.



I’ll mention some things I noted in class to give you an idea of the level I’m supposed to learn this to:



Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.



Relations: These are defined between sets.
“For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.”
[I quoted my teacher exactly, I don’t understand this at all]










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I don’t understand these terms. They came up in a math class the teacher rushed through.



    Can you illustrate these terms with examples? I’m not really looking for an in-depth understanding of these (I don’t have much background) but only surface-level knowledge of what these even mean.



    I’ll mention some things I noted in class to give you an idea of the level I’m supposed to learn this to:



    Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.



    Relations: These are defined between sets.
    “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.”
    [I quoted my teacher exactly, I don’t understand this at all]










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      I don’t understand these terms. They came up in a math class the teacher rushed through.



      Can you illustrate these terms with examples? I’m not really looking for an in-depth understanding of these (I don’t have much background) but only surface-level knowledge of what these even mean.



      I’ll mention some things I noted in class to give you an idea of the level I’m supposed to learn this to:



      Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.



      Relations: These are defined between sets.
      “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.”
      [I quoted my teacher exactly, I don’t understand this at all]










      share|cite|improve this question









      $endgroup$




      I don’t understand these terms. They came up in a math class the teacher rushed through.



      Can you illustrate these terms with examples? I’m not really looking for an in-depth understanding of these (I don’t have much background) but only surface-level knowledge of what these even mean.



      I’ll mention some things I noted in class to give you an idea of the level I’m supposed to learn this to:



      Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.



      Relations: These are defined between sets.
      “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.”
      [I quoted my teacher exactly, I don’t understand this at all]







      relations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 20 at 12:22









      BrendaBrenda

      11




      11






















          3 Answers
          3






          active

          oldest

          votes


















          0












          $begingroup$

          To understand a Cartesian product, let's say you flip a coin twice, and you want to describe all the possible outcomes. Consider getting heads on the first flip and tails on the second as a different outcome from getting tails on the first and heads on the second. This is exactly what a Cartesian product tries to capture. So if $A = {$ heads, tails $}$. Then the ordered pairs (heads, tails) and (tails, heads) in $A times A$ are not the same.



          More generally, suppose you flip two coins. The sides of the first one are labelled heads and tails, but the sides of the second are labelled red and blue (because why not). Then you want the ordered pair (heads, blue) to reflect the order in which you flip the coins. So if $B = {$ red, blue $}$, then $A times B$ and $B times A$ are not the same.



          A relation is just a set of ordered pairs. Using the same example, suppose you don't care about outcomes in $A times B$ where the second coin flips to blue. Then you only consider the outcomes (heads, red) and (tails, red). Of course you can consider any possible subset of $A times B$ as the only outcomes you care about.



          Then it is a standard result that if $|A| = p$, $|B| = q$, then $|A times B| = pq$, and the number of subsets of $A times B$ (i.e. the number of possible relations) is $2^{pq}$. I hope this helps!






          share|cite|improve this answer









          $endgroup$





















            0












            $begingroup$

            Welcome to MSE!



            The notion of ordered pair is crucial if you want to consider cartesian product and relation.



            1) Given two elements $a,b$ of some set. The ordered pair of $a,b$ is written as $(a,b)$. What you need to know is that if you have two ordered pairs, $(a,b)$ and $(c,d)$, then they are equal, i.e., $(a,b)=(c,d)$, if and only if they coincide component-wise, i.e., $a=c$ and $b=d$. Thus $(1,2)ne (1,3)$ since they do not coincide in the 2nd component.



            2) Given two sets $A,B$. The cartesian product $Atimes B$ is the set of all ordered pairs $(a,b)$, where $ain A$ and $bin B$. Thus if $A={0,1}$ and $B={a,b}$, then $Atimes B = {(0,a),(0,b),(1,a),(1,b)}$.



            3) A relation $R$ from $A$ to $B$ is a subset of $Atimes B$, i.e., $Rsubseteq Atimes B$. In the above example, $R=emptyset$ (empty set), $R={(0,a)}$, $R={(0,a),(1,b)}$ or $R=Atimes B$ are some possibilities.



            Hope it helps!






            share|cite|improve this answer









            $endgroup$





















              0












              $begingroup$


              Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.




              In short, $Atimes B={(x,y):xin A, yin B}$, $Btimes A={(y,x):xin A, yin B}$, so generally $Atimes Bneq Btimes A$,... unless $A=B$ or at least one of them is the empty set.




              Relations: These are defined between sets. “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.” [I quoted my teacher exactly, I don’t understand this at all]




              If $lvert Arvert = p$ and $lvert Brvert=q$ then $lvert Atimes Brvert=pq$, basically because $Atimes B$ is formed by taking each of the $p$ elements in $A$ and forming pairs with each of the $q$ elements in $B$ -- thus there will be $pcdot q$ pairs in $Atimes B$.



              Okay, for any element $x$ of $A$ and element $y$ of $B$, we write $x$ is $R$-related to $y$, as $(x,y)in R$.   Since we are only concerned with how elements of $A$ related to elements of $B$, then the relation $R$ will contain some of the elements of the Cartessian product $Atimes B$, and nothing that is not.   Hence such a relation $R$ will be a subset of $Atimes B$ (we write $Rsubseteq Atimes B$).



              You should be aware that there are $2^n$ subsets of any set of size $n$.   Thus there are $2^{pq}$ ways we might we select elements of $Atimes B$ to construct such a relation.



              (A subset of a set of $n$ elements may be formed by choosing whether to include or exclude each of the $n$ elements in turn: that is by making $n$ independent choices from $2$ options, and there are $2^n$ distinct ways to perform that task.)



              So there are $2^{lvert Atimes Brvert}$ distinct ways to form relations from set $A$ to set $B$.






              share|cite|improve this answer









              $endgroup$














                Your Answer





                StackExchange.ifUsing("editor", function () {
                return StackExchange.using("mathjaxEditing", function () {
                StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
                StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
                });
                });
                }, "mathjax-editing");

                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "69"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                noCode: true, onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3155374%2frelations-cartesian-product-of-sets-and-ordered-pair%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                0












                $begingroup$

                To understand a Cartesian product, let's say you flip a coin twice, and you want to describe all the possible outcomes. Consider getting heads on the first flip and tails on the second as a different outcome from getting tails on the first and heads on the second. This is exactly what a Cartesian product tries to capture. So if $A = {$ heads, tails $}$. Then the ordered pairs (heads, tails) and (tails, heads) in $A times A$ are not the same.



                More generally, suppose you flip two coins. The sides of the first one are labelled heads and tails, but the sides of the second are labelled red and blue (because why not). Then you want the ordered pair (heads, blue) to reflect the order in which you flip the coins. So if $B = {$ red, blue $}$, then $A times B$ and $B times A$ are not the same.



                A relation is just a set of ordered pairs. Using the same example, suppose you don't care about outcomes in $A times B$ where the second coin flips to blue. Then you only consider the outcomes (heads, red) and (tails, red). Of course you can consider any possible subset of $A times B$ as the only outcomes you care about.



                Then it is a standard result that if $|A| = p$, $|B| = q$, then $|A times B| = pq$, and the number of subsets of $A times B$ (i.e. the number of possible relations) is $2^{pq}$. I hope this helps!






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  To understand a Cartesian product, let's say you flip a coin twice, and you want to describe all the possible outcomes. Consider getting heads on the first flip and tails on the second as a different outcome from getting tails on the first and heads on the second. This is exactly what a Cartesian product tries to capture. So if $A = {$ heads, tails $}$. Then the ordered pairs (heads, tails) and (tails, heads) in $A times A$ are not the same.



                  More generally, suppose you flip two coins. The sides of the first one are labelled heads and tails, but the sides of the second are labelled red and blue (because why not). Then you want the ordered pair (heads, blue) to reflect the order in which you flip the coins. So if $B = {$ red, blue $}$, then $A times B$ and $B times A$ are not the same.



                  A relation is just a set of ordered pairs. Using the same example, suppose you don't care about outcomes in $A times B$ where the second coin flips to blue. Then you only consider the outcomes (heads, red) and (tails, red). Of course you can consider any possible subset of $A times B$ as the only outcomes you care about.



                  Then it is a standard result that if $|A| = p$, $|B| = q$, then $|A times B| = pq$, and the number of subsets of $A times B$ (i.e. the number of possible relations) is $2^{pq}$. I hope this helps!






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    To understand a Cartesian product, let's say you flip a coin twice, and you want to describe all the possible outcomes. Consider getting heads on the first flip and tails on the second as a different outcome from getting tails on the first and heads on the second. This is exactly what a Cartesian product tries to capture. So if $A = {$ heads, tails $}$. Then the ordered pairs (heads, tails) and (tails, heads) in $A times A$ are not the same.



                    More generally, suppose you flip two coins. The sides of the first one are labelled heads and tails, but the sides of the second are labelled red and blue (because why not). Then you want the ordered pair (heads, blue) to reflect the order in which you flip the coins. So if $B = {$ red, blue $}$, then $A times B$ and $B times A$ are not the same.



                    A relation is just a set of ordered pairs. Using the same example, suppose you don't care about outcomes in $A times B$ where the second coin flips to blue. Then you only consider the outcomes (heads, red) and (tails, red). Of course you can consider any possible subset of $A times B$ as the only outcomes you care about.



                    Then it is a standard result that if $|A| = p$, $|B| = q$, then $|A times B| = pq$, and the number of subsets of $A times B$ (i.e. the number of possible relations) is $2^{pq}$. I hope this helps!






                    share|cite|improve this answer









                    $endgroup$



                    To understand a Cartesian product, let's say you flip a coin twice, and you want to describe all the possible outcomes. Consider getting heads on the first flip and tails on the second as a different outcome from getting tails on the first and heads on the second. This is exactly what a Cartesian product tries to capture. So if $A = {$ heads, tails $}$. Then the ordered pairs (heads, tails) and (tails, heads) in $A times A$ are not the same.



                    More generally, suppose you flip two coins. The sides of the first one are labelled heads and tails, but the sides of the second are labelled red and blue (because why not). Then you want the ordered pair (heads, blue) to reflect the order in which you flip the coins. So if $B = {$ red, blue $}$, then $A times B$ and $B times A$ are not the same.



                    A relation is just a set of ordered pairs. Using the same example, suppose you don't care about outcomes in $A times B$ where the second coin flips to blue. Then you only consider the outcomes (heads, red) and (tails, red). Of course you can consider any possible subset of $A times B$ as the only outcomes you care about.



                    Then it is a standard result that if $|A| = p$, $|B| = q$, then $|A times B| = pq$, and the number of subsets of $A times B$ (i.e. the number of possible relations) is $2^{pq}$. I hope this helps!







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Mar 20 at 12:37









                    vxnturevxnture

                    40410




                    40410























                        0












                        $begingroup$

                        Welcome to MSE!



                        The notion of ordered pair is crucial if you want to consider cartesian product and relation.



                        1) Given two elements $a,b$ of some set. The ordered pair of $a,b$ is written as $(a,b)$. What you need to know is that if you have two ordered pairs, $(a,b)$ and $(c,d)$, then they are equal, i.e., $(a,b)=(c,d)$, if and only if they coincide component-wise, i.e., $a=c$ and $b=d$. Thus $(1,2)ne (1,3)$ since they do not coincide in the 2nd component.



                        2) Given two sets $A,B$. The cartesian product $Atimes B$ is the set of all ordered pairs $(a,b)$, where $ain A$ and $bin B$. Thus if $A={0,1}$ and $B={a,b}$, then $Atimes B = {(0,a),(0,b),(1,a),(1,b)}$.



                        3) A relation $R$ from $A$ to $B$ is a subset of $Atimes B$, i.e., $Rsubseteq Atimes B$. In the above example, $R=emptyset$ (empty set), $R={(0,a)}$, $R={(0,a),(1,b)}$ or $R=Atimes B$ are some possibilities.



                        Hope it helps!






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          Welcome to MSE!



                          The notion of ordered pair is crucial if you want to consider cartesian product and relation.



                          1) Given two elements $a,b$ of some set. The ordered pair of $a,b$ is written as $(a,b)$. What you need to know is that if you have two ordered pairs, $(a,b)$ and $(c,d)$, then they are equal, i.e., $(a,b)=(c,d)$, if and only if they coincide component-wise, i.e., $a=c$ and $b=d$. Thus $(1,2)ne (1,3)$ since they do not coincide in the 2nd component.



                          2) Given two sets $A,B$. The cartesian product $Atimes B$ is the set of all ordered pairs $(a,b)$, where $ain A$ and $bin B$. Thus if $A={0,1}$ and $B={a,b}$, then $Atimes B = {(0,a),(0,b),(1,a),(1,b)}$.



                          3) A relation $R$ from $A$ to $B$ is a subset of $Atimes B$, i.e., $Rsubseteq Atimes B$. In the above example, $R=emptyset$ (empty set), $R={(0,a)}$, $R={(0,a),(1,b)}$ or $R=Atimes B$ are some possibilities.



                          Hope it helps!






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            Welcome to MSE!



                            The notion of ordered pair is crucial if you want to consider cartesian product and relation.



                            1) Given two elements $a,b$ of some set. The ordered pair of $a,b$ is written as $(a,b)$. What you need to know is that if you have two ordered pairs, $(a,b)$ and $(c,d)$, then they are equal, i.e., $(a,b)=(c,d)$, if and only if they coincide component-wise, i.e., $a=c$ and $b=d$. Thus $(1,2)ne (1,3)$ since they do not coincide in the 2nd component.



                            2) Given two sets $A,B$. The cartesian product $Atimes B$ is the set of all ordered pairs $(a,b)$, where $ain A$ and $bin B$. Thus if $A={0,1}$ and $B={a,b}$, then $Atimes B = {(0,a),(0,b),(1,a),(1,b)}$.



                            3) A relation $R$ from $A$ to $B$ is a subset of $Atimes B$, i.e., $Rsubseteq Atimes B$. In the above example, $R=emptyset$ (empty set), $R={(0,a)}$, $R={(0,a),(1,b)}$ or $R=Atimes B$ are some possibilities.



                            Hope it helps!






                            share|cite|improve this answer









                            $endgroup$



                            Welcome to MSE!



                            The notion of ordered pair is crucial if you want to consider cartesian product and relation.



                            1) Given two elements $a,b$ of some set. The ordered pair of $a,b$ is written as $(a,b)$. What you need to know is that if you have two ordered pairs, $(a,b)$ and $(c,d)$, then they are equal, i.e., $(a,b)=(c,d)$, if and only if they coincide component-wise, i.e., $a=c$ and $b=d$. Thus $(1,2)ne (1,3)$ since they do not coincide in the 2nd component.



                            2) Given two sets $A,B$. The cartesian product $Atimes B$ is the set of all ordered pairs $(a,b)$, where $ain A$ and $bin B$. Thus if $A={0,1}$ and $B={a,b}$, then $Atimes B = {(0,a),(0,b),(1,a),(1,b)}$.



                            3) A relation $R$ from $A$ to $B$ is a subset of $Atimes B$, i.e., $Rsubseteq Atimes B$. In the above example, $R=emptyset$ (empty set), $R={(0,a)}$, $R={(0,a),(1,b)}$ or $R=Atimes B$ are some possibilities.



                            Hope it helps!







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Mar 20 at 12:44









                            WuestenfuxWuestenfux

                            5,3631513




                            5,3631513























                                0












                                $begingroup$


                                Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.




                                In short, $Atimes B={(x,y):xin A, yin B}$, $Btimes A={(y,x):xin A, yin B}$, so generally $Atimes Bneq Btimes A$,... unless $A=B$ or at least one of them is the empty set.




                                Relations: These are defined between sets. “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.” [I quoted my teacher exactly, I don’t understand this at all]




                                If $lvert Arvert = p$ and $lvert Brvert=q$ then $lvert Atimes Brvert=pq$, basically because $Atimes B$ is formed by taking each of the $p$ elements in $A$ and forming pairs with each of the $q$ elements in $B$ -- thus there will be $pcdot q$ pairs in $Atimes B$.



                                Okay, for any element $x$ of $A$ and element $y$ of $B$, we write $x$ is $R$-related to $y$, as $(x,y)in R$.   Since we are only concerned with how elements of $A$ related to elements of $B$, then the relation $R$ will contain some of the elements of the Cartessian product $Atimes B$, and nothing that is not.   Hence such a relation $R$ will be a subset of $Atimes B$ (we write $Rsubseteq Atimes B$).



                                You should be aware that there are $2^n$ subsets of any set of size $n$.   Thus there are $2^{pq}$ ways we might we select elements of $Atimes B$ to construct such a relation.



                                (A subset of a set of $n$ elements may be formed by choosing whether to include or exclude each of the $n$ elements in turn: that is by making $n$ independent choices from $2$ options, and there are $2^n$ distinct ways to perform that task.)



                                So there are $2^{lvert Atimes Brvert}$ distinct ways to form relations from set $A$ to set $B$.






                                share|cite|improve this answer









                                $endgroup$


















                                  0












                                  $begingroup$


                                  Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.




                                  In short, $Atimes B={(x,y):xin A, yin B}$, $Btimes A={(y,x):xin A, yin B}$, so generally $Atimes Bneq Btimes A$,... unless $A=B$ or at least one of them is the empty set.




                                  Relations: These are defined between sets. “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.” [I quoted my teacher exactly, I don’t understand this at all]




                                  If $lvert Arvert = p$ and $lvert Brvert=q$ then $lvert Atimes Brvert=pq$, basically because $Atimes B$ is formed by taking each of the $p$ elements in $A$ and forming pairs with each of the $q$ elements in $B$ -- thus there will be $pcdot q$ pairs in $Atimes B$.



                                  Okay, for any element $x$ of $A$ and element $y$ of $B$, we write $x$ is $R$-related to $y$, as $(x,y)in R$.   Since we are only concerned with how elements of $A$ related to elements of $B$, then the relation $R$ will contain some of the elements of the Cartessian product $Atimes B$, and nothing that is not.   Hence such a relation $R$ will be a subset of $Atimes B$ (we write $Rsubseteq Atimes B$).



                                  You should be aware that there are $2^n$ subsets of any set of size $n$.   Thus there are $2^{pq}$ ways we might we select elements of $Atimes B$ to construct such a relation.



                                  (A subset of a set of $n$ elements may be formed by choosing whether to include or exclude each of the $n$ elements in turn: that is by making $n$ independent choices from $2$ options, and there are $2^n$ distinct ways to perform that task.)



                                  So there are $2^{lvert Atimes Brvert}$ distinct ways to form relations from set $A$ to set $B$.






                                  share|cite|improve this answer









                                  $endgroup$
















                                    0












                                    0








                                    0





                                    $begingroup$


                                    Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.




                                    In short, $Atimes B={(x,y):xin A, yin B}$, $Btimes A={(y,x):xin A, yin B}$, so generally $Atimes Bneq Btimes A$,... unless $A=B$ or at least one of them is the empty set.




                                    Relations: These are defined between sets. “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.” [I quoted my teacher exactly, I don’t understand this at all]




                                    If $lvert Arvert = p$ and $lvert Brvert=q$ then $lvert Atimes Brvert=pq$, basically because $Atimes B$ is formed by taking each of the $p$ elements in $A$ and forming pairs with each of the $q$ elements in $B$ -- thus there will be $pcdot q$ pairs in $Atimes B$.



                                    Okay, for any element $x$ of $A$ and element $y$ of $B$, we write $x$ is $R$-related to $y$, as $(x,y)in R$.   Since we are only concerned with how elements of $A$ related to elements of $B$, then the relation $R$ will contain some of the elements of the Cartessian product $Atimes B$, and nothing that is not.   Hence such a relation $R$ will be a subset of $Atimes B$ (we write $Rsubseteq Atimes B$).



                                    You should be aware that there are $2^n$ subsets of any set of size $n$.   Thus there are $2^{pq}$ ways we might we select elements of $Atimes B$ to construct such a relation.



                                    (A subset of a set of $n$ elements may be formed by choosing whether to include or exclude each of the $n$ elements in turn: that is by making $n$ independent choices from $2$ options, and there are $2^n$ distinct ways to perform that task.)



                                    So there are $2^{lvert Atimes Brvert}$ distinct ways to form relations from set $A$ to set $B$.






                                    share|cite|improve this answer









                                    $endgroup$




                                    Cartesian product of sets: For two sets A and B, the set of ordered pairs where the first element comes from A and the second from B. The teacher proceeded to illustrate this with an example and said that order matters, A cross B wouldn’t be the same as B cross A.




                                    In short, $Atimes B={(x,y):xin A, yin B}$, $Btimes A={(y,x):xin A, yin B}$, so generally $Atimes Bneq Btimes A$,... unless $A=B$ or at least one of them is the empty set.




                                    Relations: These are defined between sets. “For a relation defined between two sets A and B where A has p elements and B has q elements, tr mumber of elements in the set A cross B are pq. A relation is a subset of the cartesian product A cross B. Hence, the no. of relations possible between A and B are 2^pq.” [I quoted my teacher exactly, I don’t understand this at all]




                                    If $lvert Arvert = p$ and $lvert Brvert=q$ then $lvert Atimes Brvert=pq$, basically because $Atimes B$ is formed by taking each of the $p$ elements in $A$ and forming pairs with each of the $q$ elements in $B$ -- thus there will be $pcdot q$ pairs in $Atimes B$.



                                    Okay, for any element $x$ of $A$ and element $y$ of $B$, we write $x$ is $R$-related to $y$, as $(x,y)in R$.   Since we are only concerned with how elements of $A$ related to elements of $B$, then the relation $R$ will contain some of the elements of the Cartessian product $Atimes B$, and nothing that is not.   Hence such a relation $R$ will be a subset of $Atimes B$ (we write $Rsubseteq Atimes B$).



                                    You should be aware that there are $2^n$ subsets of any set of size $n$.   Thus there are $2^{pq}$ ways we might we select elements of $Atimes B$ to construct such a relation.



                                    (A subset of a set of $n$ elements may be formed by choosing whether to include or exclude each of the $n$ elements in turn: that is by making $n$ independent choices from $2$ options, and there are $2^n$ distinct ways to perform that task.)



                                    So there are $2^{lvert Atimes Brvert}$ distinct ways to form relations from set $A$ to set $B$.







                                    share|cite|improve this answer












                                    share|cite|improve this answer



                                    share|cite|improve this answer










                                    answered Mar 22 at 2:10









                                    Graham KempGraham Kemp

                                    87.8k43578




                                    87.8k43578






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Mathematics Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        Use MathJax to format equations. MathJax reference.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3155374%2frelations-cartesian-product-of-sets-and-ordered-pair%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Magento 2 - Add success message with knockout Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

                                        Fil:Tokke komm.svg

                                        Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?