lkarch.org/tools/mathisfun/www.mathsisfun.com/data/probability-complement.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

201 lines
8.2 KiB
HTML

<!DOCTYPE html>
<html lang="en"><!-- #BeginTemplate "/\Templates\Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/data/probability-complement.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:42:07 GMT -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- #BeginEditable "doctitle" -->
<title>Probability: Complement</title>
<meta name="description" content="The Complement of an event is all the other outcomes (not the ones we want). And together the Event and its Complement make all possible outcomes.">
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta name="referrer" content="always">
<link rel="stylesheet" type="text/css" href="../style3.css">
<script src="../main3.js"></script>
</head>
<body id="bodybg">
<div class="bg">
<div id="stt"></div>
<header>
<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="gtran">
<script>document.write(getTrans());</script>
</div>
<div id="adTopOuter" class="centerfull noprint">
<div id="adTop">
<script>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>
</header>
<nav>
<div id="menuWide" class="menu">
<script>document.write(getMenu(0));</script>
</div>
<div id="linkto">
<div id="linktort">
<script>document.write(getLinks());</script>
</div>
</div>
<div id="search" role="search">
<script>document.write(getSearch());</script>
</div>
<div id="menuSlim" class="menu">
<script>document.write(getMenu(1));</script>
</div>
<div id="menuTiny" class="menu">
<script>document.write(getMenu(2));</script>
</div>
</nav>
<div id="extra"></div>
</div>
<article id="content" role="main">
<!-- #BeginEditable "Body" -->
<h1 class="center">Probability: Complement</h1>
<p class="center"><span class="larger">Complement of an Event: All outcomes that are <b>NOT</b> the event</span>. </p>
<table cellspacing="10" border="0">
<tbody>
<tr>
<td align="center"><img src="images/head-tails.jpg" alt="pair of dice" height="70" width="81"></td>
<td>When the event is <b>Heads</b>, the complement is <b>Tails</b></td>
</tr>
<tr>
<td><img src="images/month-thumb.gif" alt="weeks" height="58" width="100"></td>
<td>When the event is <b>{Monday, Wednesday}</b> the complement is <b>{Tuesday, Thursday, Friday, Saturday, Sunday}</b></td>
</tr>
<tr>
<td><img src="images/cards.jpg" alt="cards" height="78" width="100"></td>
<td>When the event is <b>{Hearts}</b> the complement is <b>{Spades, Clubs, Diamonds, Jokers}</b></td>
</tr>
</tbody></table>
<p>So the Complement of an event is all the <b>other</b> outcomes (<b>not</b> the ones we want).</p>
<p>And together the Event and its Complement make all possible outcomes.</p>
<h2>Probability</h2>
<p class="center larger">Probability of an event happening = <span class="intbl"><em>Number of ways it can happen</em><strong>Total number of outcomes</strong></span> </p>
<div class="example">
<h3>Example: the chances of rolling a "4" with a die</h3>
<p><b>Number of ways it can happen: 1</b> (there is only 1 face with a "4" on it)</p>
<p><b>Total number of outcomes: 6</b> (there are 6 faces altogether)</p>
<p class="center">So the probability = <span class="intbl"><em>1</em><strong>6</strong></span></p>
</div>
<p>The probability of an event is shown using "P":</p>
<p class="center larger"><b>P(A)</b> means "Probability of Event A"</p>
<p>The complement is shown by a little mark after the letter such as <span class="larger">A'</span> (or sometimes <span class="larger">A<sup>c</sup></span> or <span class="larger" style="text-decoration:overline">A</span>):</p>
<p class="center larger"><b>P(A')</b> means "Probability of the complement of Event A"</p>
<p>The two probabilities always add to 1</p>
<p class="center larger">P(A) + P(A') = 1</p>
<div class="example">
<h3>Example: Rolling a "5" or "6" </h3>
<p style="float:right; margin: 10px;"><img src="images/probability-complement.svg" alt="probability complement"></p>
<p><b>Event A</b> is {5, 6}</p>
<p>Number of ways it can happen: 2</p>
<p>Total number of outcomes: 6</p>
<p class="center larger">P(A) = <span class="intbl"><em>2</em><strong>6</strong></span> = <span class="intbl"><em>1</em><strong>3</strong></span></p>
<p>&nbsp;</p>
<p>The <b>Complement of Event A</b> is {1, 2, 3, 4} </p>
<p>Number of ways it can happen: 4</p>
<p>Total number of outcomes: 6</p>
<p class="center larger">P(A') = <span class="intbl">
<em>4</em>
<strong>6</strong>
</span> = <span class="intbl">
<em>2</em>
<strong>3</strong>
</span></p>
<p>Let us add them:</p>
<p class="center larger">P(A) + P(A')&nbsp; = &nbsp;<span class="intbl">
<em>1</em>
<strong>3</strong>
</span> + <span class="intbl">
<em>2</em>
<strong>3</strong>
</span>&nbsp; = &nbsp;<span class="intbl">
<em>3</em>
<strong>3</strong>
</span>&nbsp; = &nbsp;1</p>
<p>Yep, that makes 1</p>
<p>It makes sense, right? <b>Event A</b> plus all outcomes that are <b>not Event A</b> make up all possible outcomes.</p>
</div>
<p>&nbsp;</p>
<div>
<h2>Why is the Complement Useful?</h2>
<p> It is sometimes easier to work out the complement first.</p>
</div>
<div class="example">
<p style="float:right; margin: 5px;"><img src="../geometry/images/pair-dice2.svg" alt="pair of dice"></p>
<h3>Example. Throw two dice. What is the probability the two scores are <b>different</b>?</h3>
<p>Different scores are like getting a <b>2 and 3</b>, or a <b>6 and 1</b>. It is a long list:</p>
<p class="center larger">A = { (1,2), (1,3), (1,4), (1,5), (1,6), <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (2,1), (2,3), (2,4), (1,5), (1,6),<br>
(3,1), (3,2), ... etc ! } </p>
<p>&nbsp;</p>
<p>But the complement (which is when the two scores are the same) is only <b>6 outcomes</b>:</p>
<p class="center larger">A' = { (1,1), (2,2), (3,3), (4,4), (5,5), (6,6) }</p>
<p>And its probability is:</p>
<p class="center larger">P(A') = <span class="intbl"><em>6</em><strong>36</strong></span> = <span class="intbl"><em>1</em><strong>6</strong></span></p>
<!-- P(A') = 6/36 = 1/6 -->
<p>&nbsp;</p>
<p>Knowing that P(A) and P(A') together make 1, we can calculate:</p>
<table align="center" border="0">
<tbody>
<tr>
<td><span class="large">P(A)</span>&nbsp;</td>
<td><span class="large">= 1 &minus; P(A') </span></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span class="large">= 1 &minus; <span class="intbl"><em>1</em><strong>6</strong></span></span></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span class="large">= <span class="intbl"><em>5</em><strong>6</strong></span> &nbsp;</span></td>
</tr>
</tbody></table>
<!-- P(A) = 1 - P(A') = 1 - 1/6 = 5/6 -->
<p><br>
So in this case (and many others) it is easier to work out <b>P(A')</b> first, then calculate <b>P(A) = 1 &minus; P(A')</b></p>
</div>
<p>&nbsp;</p>
<div class="questions">
<script>getQ(3082, 3083, 3084, 3085, 3086, 3087, 3821, 3822, 3823, 184);</script>&nbsp;
</div>
<div class="related"><a href="probability.html">Probability</a> <a href="index.html">Data Index</a>
</div>
<!-- #EndEditable -->
</article>
<div id="adend" class="centerfull noprint">
<script>document.write(getAdEnd());</script>
</div>
<footer id="footer" class="centerfull noprint">
<script>document.write(getFooter());</script>
</footer>
<div id="copyrt">
Copyright &copy; 2020 MathsIsFun.com
</div>
<script>document.write(getBodyEnd());</script>
</body><!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/data/probability-complement.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:42:08 GMT -->
</html>