HELM/35_1_sets-web/35_1_sets-webse2.html
Kyle Stevenson f7fb60e852 Init commit
2023-04-30 22:34:22 -07:00

704 lines
15 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta content="HTML Tidy for HTML5 for Linux version 5.2.0" name="generator"/>
<title>
Venn diagrams
</title>
<meta charset="utf-8"/>
<meta content="target-densitydpi=device-dpi; width=device-width; initial-scale=1.0; minimum-scale=1.0; user-scalable=yes;" name="viewport"/>
<meta content="True" name="HandheldFriendly"/>
<meta content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" name="generator"/>
<link href="35_1_sets-web.css" rel="stylesheet" type="text/css"/>
<link href="additional.css" rel="stylesheet" type="text/css"/>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ mml2jax: { preview: ["[maths rendering]"]},
"fast-preview": {disabled: true},
explorer:{ subtitle: true },
displayAlign: "center",
MatchWebFonts: {
matchFor: { "HTML-CSS": true, NativeMML: false, SVG: false },
fontCheckDelay: 2000,
fontCheckTimeout: 30 * 1000
},
"HTML-CSS": {
preferredFont: "STIX",
availableFonts: ["STIX","TeX"],
webFont: "STIX-Web",
linebreaks: { automatic: true, width: "90% container" }
},
SVG: {
font: "STIX-Web",
linebreaks: { automatic: false, width: "90% container" }
},
menuSettings: { collapsible: false, autocollapse: false, explorer: false }
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Register.MessageHook("End Math", function (msg) {
var nodes = Array.from(msg[1].querySelectorAll('.MJX_Assistive_MathML [id]'));
while (nodes.length) {
nodes.shift().removeAttribute('id');
}
}, 20);
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full" type="text/javascript">
</script>
<style type="text/css">
".MathJax_MathML" {text-indent: 0;}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-V3KVNKQ1MQ">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-V3KVNKQ1MQ');
</script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js">
</script>
<link href="toplayer.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
<nav aria-labelledby="topnav">
<div id="topnav">
[
<a href="#main">
Skip navigation
</a>
] [
<a href="35_1_sets-webse3.html">
next
</a>
] [
<a href="35_1_sets-webse1.html">
prev
</a>
] [
<a href="35_1_sets-webse1.html#tail35_1_sets-webse1.html">
prev-tail
</a>
] [
<a href="#tail35_1_sets-webse2.html">
tail
</a>
] [
<a href="35_1_sets-web.html#35_1_sets-webse2.html">
up
</a>
]
</div>
</nav>
<main id="main" role="main">
<h3 class="sectionHead">
<span class="titlemark">
2
</span>
<a href="35_1_sets-web.html#QQ2-5-16" id="x5-160002">
Venn diagrams
</a>
</h3>
<!--l. 278
-->
<p class="noindent">
Sets are often represented pictorially by
<strong>
Venn diagrams
</strong>
(see Figure 1).
</p>
<!--l. 280
-->
<p class="noindent">
<strong>
Figure 1
</strong>
</p>
<!--l. 282
-->
<p class="noindent">
<img alt="No alt text was set. Please request alt text from the person who provided you with this resource." src="./figures/pdf/figure1a.svg"/>
</p>
<!--l. 285
-->
<p class="noindent">
Here
<!--l. 285
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
<mo class="MathClass-punc">
,
</mo>
<mi>
B
</mi>
<mo class="MathClass-punc">
,
</mo>
<mi>
C
</mi>
<mo class="MathClass-punc">
,
</mo>
<mi>
D
</mi>
</mrow>
</math>
represent sets. The sets
<!--l. 285
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
<mo class="MathClass-punc">
,
</mo>
<mi>
B
</mi>
</mrow>
</math>
have no items in common so are drawn as non-intersecting regions whilst the sets
<!--l. 286
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
C
</mi>
<mo class="MathClass-punc">
,
</mo>
<mi>
D
</mi>
</mrow>
</math>
have some items in common so are drawn overlapping.
</p>
<!--l. 289
-->
<p class="noindent">
In a Venn diagram the universal set is represented by a rectangle and sets of interest by area regions within this rectangle.
</p>
<!--l. 294
-->
<h5 class="likesubsubsectionHead">
<a href="#x5-170002" id="x5-170002">
Example 3
</a>
</h5>
<!--l. 295
-->
<p class="noindent">
Represent the sets
<!--l. 295
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
<mo class="MathClass-rel">
=
</mo>
<mrow>
<mo class="MathClass-open">
{
</mo>
<mrow>
<mn>
0
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
1
</mn>
</mrow>
<mo class="MathClass-close">
}
</mo>
</mrow>
</mrow>
</math>
and
<!--l. 295
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
<mo class="MathClass-rel">
=
</mo>
<mrow>
<mo class="MathClass-open">
{
</mo>
<mrow>
<mn>
0
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
1
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
2
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
3
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
4
</mn>
</mrow>
<mo class="MathClass-close">
}
</mo>
</mrow>
</mrow>
</math>
using a Venn diagram.
</p>
<!--l. 313
-->
<h5 class="likesubsubsectionHead">
<a href="#x5-180002" id="x5-180002">
Solution
</a>
</h5>
<!--l. 313
-->
<p class="noindent">
The elements 0 and 1 are in set
<!--l. 313
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
, represented by the small circle in the diagram. The large circle represents set
<!--l. 313
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
</mrow>
</math>
and so contains the elements 0,1,2,3 and 4. A suitable universal set in this case is the set of all integers. The universal set is shown by the rectangle.
</p>
<!--l. 313
-->
<p class="noindent">
Note that
<!--l. 313
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
<mo class="MathClass-rel">
&sube;
</mo>
<mi>
B
</mi>
</mrow>
</math>
. This is shown in the Venn diagram by
<!--l. 313
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
being completely inside
<!--l. 313
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
</mrow>
</math>
.
</p>
<!--l. 313
-->
<p class="noindent">
<strong>
Figure 2
</strong>
:
</p>
<!--l. 313
-->
<p class="noindent">
<img alt="{The set A is contained completely within B}" src="./figures/pdf/figure1.svg"/>
</p>
<!--l. 315
-->
<h5 class="likesubsubsectionHead">
<a class="btn btn-primary" href="#x5-190002" id="x5-190002">
Task!
</a>
</h5>
<!--l. 316
-->
<p class="noindent">
Given
<!--l. 316
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
<mo class="MathClass-rel">
=
</mo>
<mrow>
<mo class="MathClass-open">
{
</mo>
<mrow>
<mn>
0
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
1
</mn>
</mrow>
<mo class="MathClass-close">
}
</mo>
</mrow>
</mrow>
</math>
and
<!--l. 316
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
<mo class="MathClass-rel">
=
</mo>
<mrow>
<mo class="MathClass-open">
{
</mo>
<mrow>
<mn>
2
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
3
</mn>
<mo class="MathClass-punc">
,
</mo>
<mn>
4
</mn>
</mrow>
<mo class="MathClass-close">
}
</mo>
</mrow>
</mrow>
</math>
draw Venn diagrams showing &nbsp;
</p>
<!--l. 320
-->
<ol class="enumerate1" start="1">
<li class="enumerate" id="x5-19002x1">
<!--l. 321
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
and
<!--l. 321
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
<mspace class="nbsp" width="1em">
</mspace>
</mrow>
</math>
</li>
<li class="enumerate" id="x5-19004x2">
<!--l. 322
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mrow>
<mi>
A
</mi>
</mrow>
<mrow>
<mi>
&prime;
</mi>
</mrow>
</msup>
</mrow>
</math>
</li>
<li class="enumerate" id="x5-19006x3">
<!--l. 323
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mrow>
<mi>
B
</mi>
</mrow>
<mrow>
<mi>
&prime;
</mi>
</mrow>
</msup>
</mrow>
</math>
</li>
</ol>
<!--l. 336
-->
<h5 class="likesubsubsectionHead">
<button aria-controls="x5-200002" aria-expanded="false" class="btn btn-success" data-target="#x5-200002" data-toggle="collapse" role="button">
Answer
</button>
</h5>
<div class="collapse" id="x5-200002">
<!--l. 336
-->
<p class="noindent">
Note that
<!--l. 336
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
and
<!--l. 336
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
B
</mi>
</mrow>
</math>
have no elements in common. This is represented pictorially in the Venn diagram by circles which are totally separate from each other as shown in the diagram.
</p>
<!--l. 336
-->
<p class="noindent">
<img alt="No alt text was set. Please request alt text from the person who provided you with this resource." src="./figures/pdf/figure2.svg"/>
</p>
</div>
<!--l. 348
-->
<h5 class="likesubsubsectionHead">
<button aria-controls="x5-210002" aria-expanded="false" class="btn btn-success" data-target="#x5-210002" data-toggle="collapse" role="button">
Answer
</button>
</h5>
<div class="collapse" id="x5-210002">
<!--l. 348
-->
<p class="noindent">
The complement of
<!--l. 348
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
is the set whose elements do not belong to
<!--l. 348
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>
A
</mi>
</mrow>
</math>
. The set
<!--l. 348
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mrow>
<mi>
A
</mi>
</mrow>
<mrow>
<mi>
&prime;
</mi>
</mrow>
</msup>
</mrow>
</math>
is shown shaded in the diagram.
</p>
<!--l. 348
-->
<p class="noindent">
<img alt="{The complement of A contains elements which are not in A.}" src="./figures/pdf/figure3.svg"/>
</p>
</div>
<!--l. 356
-->
<h5 class="likesubsubsectionHead">
<button aria-controls="x5-220002" aria-expanded="false" class="btn btn-success" data-target="#x5-220002" data-toggle="collapse" role="button">
Answer
</button>
</h5>
<div class="collapse" id="x5-220002">
<!--l. 356
-->
<p class="noindent">
The set
<!--l. 356
-->
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mrow>
<mi>
B
</mi>
</mrow>
<mrow>
<mi>
&prime;
</mi>
</mrow>
</msup>
</mrow>
</math>
is shown shaded in the diagram.
</p>
<!--l. 356
-->
<p class="noindent">
<img alt="No alt text was set. Please request alt text from the person who provided you with this resource." src="./figures/pdf/figure4.svg"/>
</p>
</div>
</main>
<footer>
<hr/>
Original work was created by
<a href="https://www.lboro.ac.uk/departments/mlsc/student-resources/helm-workbooks/consortium-members/">
the HELM consortium.
</a>
<br/>
This work is licensed under a
<a href="http://creativecommons.org/licenses/by-nc/4.0/" rel="license">
Creative Commons Attribution-NonCommercial 4.0 International License
</a>
</footer>
<nav aria-labelledby="botnav">
<div id="botnav">
[
<a href="35_1_sets-webse3.html">
next
</a>
] [
<a href="35_1_sets-webse1.html">
prev
</a>
] [
<a href="35_1_sets-webse1.html#tail35_1_sets-webse1.html">
prev-tail
</a>
] [
<a href="35_1_sets-webse2.html">
front
</a>
] [
<a href="35_1_sets-web.html#35_1_sets-webse2.html">
up
</a>
]
</div>
</nav>
<a id="tail35_1_sets-webse2.html">
</a>
</div>
</body>
</html>