lkarch.org/tools/mathisfun/www.mathsisfun.com/sets/set-builder-notation.html
Lucas Kent e39465ad2f Changes to be committed:
new file:   Files/flashplayer_32_sa.exe
	new file:   favicon.ico
	new file:   globe.gif
	new file:   imgs/download.png
	new file:   imgs/zuck.jpg
	new file:   index.html
	new file:   other.ico
	new file:   script.js
	new file:   site.webmanifest
	new file:   sitemap.html
	new file:   styles/backround.css
	new file:   styles/border.css
	new file:   styles/fonts/Titillium_Web/OFL.txt
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf
	new file:   styles/fonts/webfontkit-20221027-163353/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2
	new file:   styles/fonts/webfontkit-20221027-165950/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2
	new file:   styles/style.css
	new file:   tools/2048/.gitignore
	new file:   tools/2048/.jshintrc
	new file:   tools/2048/CONTRIBUTING.md
	new file:   tools/2048/LICENSE.txt
	new file:   tools/2048/README.md
	new file:   tools/2048/Rakefile
	new file:   tools/2048/favicon.ico
	new file:   tools/2048/index.html
	new file:   tools/2048/js/animframe_polyfill.js
	new file:   tools/2048/js/application.js
	new file:   tools/2048/js/bind_polyfill.js
	new file:   tools/2048/js/classlist_polyfill.js
	new file:   tools/2048/js/game_manager.js
	new file:   tools/2048/js/grid.js
	new file:   tools/2048/js/html_actuator.js
	new file:   tools/2048/js/keyboard_input_manager.js
	new file:   tools/2048/js/local_storage_manager.js
	new file:   tools/2048/js/tile.js
    new file:   tools/2048/meta/apple-touch-icon.png
	new file:   tools/webretro/cores/neocd_libretro.js
	new file:   tools/webretro/cores/neocd_libretro.wasm
	new file:   tools/webretro/cores/nestopia_libretro.js
	new file:   tools/webretro/cores/nestopia_libretro.wasm
	new file:   tools/webretro/cores/o2em_libretro.js
	new file:   tools/webretro/cores/o2em_libretro.wasm
	new file:   tools/webretro/cores/opera_libretro.js
	new file:   tools/webretro/cores/opera_libretro.wasm
2022-11-02 08:40:01 -04:00

211 lines
13 KiB
HTML

<!doctype html>
<html lang="en"><!-- #BeginTemplate "/Templates/Advanced.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/sets/set-builder-notation.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:38:29 GMT -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>Set-Builder Notation</title>
<meta name="description" content="Learn how to describe a set by saying what properties its members have." />
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=true;" />
<meta name="HandheldFriendly" content="true"/>
<meta http-equiv="pics-label" content='(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://www.mathsisfun.com" r (SS~~000 1))' />
<meta name="referrer" content="always">
<link rel="stylesheet" type="text/css" href="../style3.css" />
<script src="../main3.js" type="text/javascript"></script>
</head>
<body id="bodybg" class="adv">
<div class="bg">
<div id="stt"></div>
<div id="hdr"></div>
<div id="logo"><a href="../index.html"><img src="../images/style/logo.svg" alt="Math is Fun" /></a></div>
<div id="advText">Advanced</div>
<div id="gtran"><script type="text/javascript">document.write(getTrans());</script></div>
<div id="gplus"><script type="text/javascript">document.write(getGPlus());</script></div>
<div id="adTopOuter" class="centerfull noprint">
<div id="adTop">
<script type="text/javascript">document.write(getAdTop());</script>
</div>
</div>
<div id="adHide">
<div id="showAds1"><a href="javascript:showAds()">Show Ads</a></div>
<div id="hideAds1"><a href="javascript:hideAds()">Hide Ads</a><br>
<a href="../about-ads.html">About Ads</a></div>
</div>
<div id="menuWide" class="menu">
<script type="text/javascript">document.write(getMenu(0));</script>
</div>
<div id="linkto">
<div id="linktort"><script type="text/javascript">document.write(getLinks());</script></div>
</div>
<div id="search" role="search"><script type="text/javascript">document.write(getSearch());</script></div>
<div id="menuSlim" class="menu">
<script type="text/javascript">document.write(getMenu(1));</script>
</div>
<div id="menuTiny" class="menu">
<script type="text/javascript">document.write(getMenu(2));</script>
</div>
<div id="extra"></div>
</div>
<div id="content" role="main"><!-- #BeginEditable "Body" -->
<h1 align="center">Set-Builder Notation</h1>
<p align="center"><i>How to describe a set by saying what properties its members have.</i></p>
<div class="def">
<p style="float:right; margin: 0 0 5px 10px;"><img src="images/various-integers.svg" alt="set of various integers" /></p>
<p>A <a href="sets-introduction.html">Set</a> is <b>a collection of things </b>(usually numbers).</p>
<p>Example: <b>{5, 7, 11}</b> is a set.</p>
</div>
<p>But we can also &quot;build&quot; a set by describing what is in it.</p>
<p>Here is a simple example of set-builder notation:</p>
<p align="center"><img src="images/set-builder-notation-a.svg" alt="Set Builder Notation" /></p>
<p align="center" class="larger">It says <b><i>&quot;the set of all x's, such that x is greater than 0&quot;</i></b>.</p>
<p align="center">In other words <b>any value greater than 0</b></p>
<p>Notes:</p>
<div class="bigul">
<ul>
<li>The &quot;x&quot; is just a place-holder, it could be anything, such as <b>{ q | q &gt; 0 }</b></li>
<li>Some people use &quot;<b>:</b>&quot; instead of &quot;<b>|</b>&quot;, so they write <b>{ x : x &gt; 0 }</b></li>
</ul>
</div>
<h2>Type of Number</h2>
<p>It is also normal to show what <a href="number-types.html">type of number</a> <b>x</b> is, like this:</p>
<p align="center"><img src="images/set-builder-notation.svg" alt="Set Builder Notation" /></p>
<ul>
<li>The <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> means &quot;a member of&quot; (or simply &quot;in&quot;)</li>
<li>The <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> is the special symbol for <a href="../numbers/real-numbers.html">Real Numbers</a>. </li>
</ul>
<p>So it says:</p>
<p align="center" class="larger"> <i>&quot;the set of all x's that are <b>a member of the Real Numbers</b>, <br />
such that x is greater than or equal to 3&quot;</i></p>
<p align="center">In other words <b>&quot;all Real Numbers from 3 upwards&quot;</b></p>
<p>There are other ways we could have shown that:</p>
<div class="center80">
<p>On the <a href="../number-line.html">Number Line</a> it looks like: <img src="images/interval-3-inf.gif" alt="[3, infinity)" width="131" height="52" style="vertical-align:middle;"/></p>
<p>In <a href="intervals.html">Interval notation</a> it looks like:<span class="large"> [3, +&infin;)</span> </p>
</div>
<h2>Number Types</h2>
<p>We saw <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> (the special symbol for Real Numbers). Here are the <a href="number-types.html">common number types</a>:</p>
<table border="0" align="center">
<tr align="center" valign="top">
<td width="80"><img src="../images/symbols/set-n.svg" alt="Natural Numbers" /></td>
<td width="80"><img src="../images/symbols/set-z.svg" alt="Integers" /></td>
<td width="80"><img src="../images/symbols/set-q.svg" alt="Rational Numbers" /></td>
<td width="80"><img src="../images/symbols/set-r.svg" alt="Real Numbers" /></td>
<td width="80"><img src="../images/symbols/set-i.svg" alt="Imaginary Numbers" /></td>
<td width="80"><img src="../images/symbols/set-c.svg" alt="Complex Numbers" /></td>
</tr>
<tr align="center">
<td width="80"><a href="../whole-numbers.html">Natural Numbers</a></td>
<td width="80"><a href="../whole-numbers.html">Integers</a></td>
<td width="80"><a href="../rational-numbers.html">Rational Numbers</a></td>
<td width="80"><a href="../numbers/real-numbers.html">Real Numbers</a></td>
<td width="80"><a href="../numbers/imaginary-numbers.html">Imaginary Numbers</a></td>
<td width="80"><a href="../numbers/complex-numbers.html">Complex Numbers</a></td>
</tr>
</table>
<p>&nbsp;</p>
<div class="example">
<p>Example: <span class="larger">{ k <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-z.svg" alt="reals" height="16" style="vertical-align:middle;" /> | k &gt; 5 }</span></p>
<p><i>&quot;the set of all k's that are a member of the Integers,
such that k is greater than 5&quot;</i></p>
<p>In other words <b>all integers greater than 5</b>.</p>
<p>This could also be written {6, 7, 8, ... } , so:</p>
<p align="center"> <span class="larger">{ k <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-z.svg" alt="reals" height="16" style="vertical-align:middle;" /> | k &gt; 5 } = {6, 7, 8, ... }</span></p>
</div>
<h2>Why Use It?</h2>
<p>When we have a simple set like the <b>integers from 2 to 6</b> we can write:</p>
<p align="center" class="larger">{2, 3, 4, 5, 6}</p>
<p>But how do we list the Real Numbers in the same interval?</p>
<p align="center" class="larger">{2, 2.1, 2.01, 2.001, 2.0001, ... <b>???</b></p>
<p>So instead we say<b> how to build the list</b>:</p>
<p align="center"><span class="larger">{ x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &ge; 2 and x &le; 6 }</span><br />
<i>Start with all Real Numbers, then limit them between 2 and 6 inclusive.</i></p>
<p>We can also use set builder notation to do other things, like this:</p>
<p align="center"><span class="larger">{ x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x = x<sup>2</sup> } = {0, 1}</span><br />
<i>All Real Numbers such that x = x<sup>2</sup><br />
<b>0 and 1</b> are the only cases where x = x<sup>2</sup></i></p>
<h2>Another Example:</h2>
<div class="example">
<h3>Example: x &le; 2 or x &gt; 3</h3>
<p>Set-Builder Notation looks like this:</p>
<p align="center"><span class="larger">{ x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &le; 2 or x &gt;3 }</span></p>
<p>On the Number Line it looks like:</p>
<p align="center"><img src="images/interval-to-2-3-up.gif" alt="two intervals" width="240" height="50" /></p>
<p>Using Interval notation it looks like:</p>
<p align="center" class="large"> (&minus;&infin;, 2] &nbsp;U&nbsp; (3, +&infin;)</p>
<p align="center">We used a &quot;U&quot; to mean Union (the <a href="venn-diagrams.html">joining together of two sets</a>).</p>
</div>
<p>&nbsp;</p>
<h2>Defining a Domain</h2>
<p>Set Builder Notation is very useful for defining <a href="domain-range-codomain.html">domains</a>.</p>
<p style="float:left; margin: 0 10px 5px 0;"><img src="images/range-domain-graph.svg" alt="domain and range graph" /></p>
<p>In its simplest form the domain is <b>the set of all the values</b> that go into a function.</p>
<p>The <a href="function.html">function</a> must work for all values we give it, so it is <b>up to us</b> to make sure we get the domain correct!</p>
<div style="clear:both"></div>
<div class="example">
<h3>Example: The domain of 1/x </h3>
<p>1/x is <b>undefined</b> at x=0 (because 1/0 is <a href="../numbers/dividing-by-zero.html">dividing by zero</a>).</p>
<p>So we must exclude x=0 from the Domain:</p>
<p align="center" class="larger">The Domain of 1/x is all the Real Numbers, except 0</p>
<p>We can write this as</p>
<p align="center" class="larger">Dom(1/x) = {x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &ne; 0}</p>
</div>
<div class="example">
<h3>Example: The domain of g(x)=1/(x&minus;1) </h3>
<p>1/(x&minus;1) is <b>undefined</b> at x=1, so we must exclude x=1 from the Domain:</p>
<p align="center" class="larger">The Domain of 1/(x&minus;1) is all the Real Numbers, except 1</p>
<p>Using set-builder notation it is written:</p>
<p align="center"><span class="larger">Dom( g(x) ) = { x<img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /><img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &ne; 1}</span></p>
</div>
<div class="example">
<h3>Example: The domain of &radic;x </h3>
<p>Is all the Real Numbers from 0 onwards, because we can't take the square root of a negative number (unless we use <a href="../numbers/imaginary-numbers.html">Imaginary Numbers</a>, which we aren't).</p>
<p>We can write this as</p>
<p align="center" class="larger">Dom(&radic;x) = {x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &ge; 0}</p>
</div>
<div class="example">
<h3>Example The domain of f(x) = x/(x<sup>2</sup> &minus; 1) </h3>
<p>To avoid dividing by zero we need: x<sup>2</sup> - 1 &ne; 0 </p>
<p align="center">Factor: <b>x<sup>2</sup> - 1 = (x&minus;1)(x+1)</b></p>
<p align="center">(x&minus;1)(x+1) = 0 when <b>x = 1</b> or <b>x = &minus;1</b>, which we want to avoid!</p>
<p>So:</p>
<p align="center" class="larger">Dom( f(x) ) = {x <img src="../images/symbols/member-of-sm.gif" alt="member of" width="14" height="19" style="vertical-align:middle;" /> <img src="../images/symbols/set-r.svg" alt="reals" height="16" style="vertical-align:middle;" /> | x &ne; 1, x &ne; &minus;1}</p>
</div>
<p>&nbsp;</p>
<div class="questions">
<script type="text/javascript">getQ(7211, 551, 552, 1187, 1188, 7212, 553, 1189, 1190, 554);</script>&nbsp;
</div>
<div class="related">
<a href="intervals.html">Intervals</a>
<a href="index.html">Sets Index</a>
<a href="../algebra/index.html">Algebra Index</a> </div>
<!-- #EndEditable --></div>
<div id="adend" class="centerfull noprint">
<script type="text/javascript">document.write(getAdEnd());</script>
</div>
<div id="footer" class="centerfull noprint">
<script type="text/javascript">document.write(getFooter());</script>
</div>
<div id="copyrt">
Copyright &copy; 2018 MathsIsFun.com
</div>
<script type="text/javascript">document.write(getBodyEnd());</script>
</body>
<!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/sets/set-builder-notation.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:38:32 GMT -->
</html>