Tree Diagram: Coin Toss Random Experiment
2015-02-01 08:54
This GeoGebra example demonstrates a probability tree diagram based on a coin-tossing random experiment. Using the Segment command, it connects nodes labeled with Heads and Tails outcomes to map all possible result paths across multiple tosses. The diagram visually illustrates the sample space structure, making it an effective tool for understanding independent events, compound probabilities, and
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.61.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1707" height="900" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.19976567076742824" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="100,100,700,550" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 | 551 550 11 , 22 , 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1,1,1" size="500" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="1707" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="128" visible="false" inframe="true" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 | 1 501 67 , 5 19 , 72 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="24"/>
<graphicsSettings javaLatexFonts="false"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1707" height="847"/>
<coordSystem xZero="214.99999999999994" yZero="314.99999999999994" scale="49.99999999999998" yscale="49.99999999999999"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="10"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<algebraView>
<collapsed val="0"/>
</algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="Tree Diagram" author="" date="">
<element type="point" label="A">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.38" y="-2.68" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="Heads_1">
<show object="true" label="true"/>
<condition showObject="o"/>
<objColor r="102" g="153" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-79" y="-12"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="3.14" y="0.14" z="1"/>
<pointSize val="6"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="Heads_1"/>
<output a0="a"/>
</command>
<element type="segment" label="a">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="102" g="153" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-2.8200000000000003" y="2.7600000000000002" z="8.4684"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="Tails_1">
<show object="true" label="true"/>
<condition showObject="o"/>
<objColor r="102" g="153" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-74" y="30"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="3.08" y="-5.08" z="1"/>
<pointSize val="6"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="Tails_1"/>
<output a0="b"/>
</command>
<element type="segment" label="b">
<show object="true" label="false"/>
<condition showObject="o"/>
<objColor r="102" g="153" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="2.4" y="2.7" z="6.324"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="Heads_2">
<show object="true" label="true"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-79" y="-15"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="7.8" y="1.72" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="1"/>
</element>
<command name="Segment">
<input a0="Heads_1" a1="Heads_2"/>
<output a0="c"/>
</command>
<element type="segment" label="c">
<show object="true" label="false"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-1.58" y="4.66" z="4.3088"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="C">
<show object="true" label="true"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-54" y="42"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="7.86" y="-0.66" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_2"/>
</element>
<command name="Segment">
<input a0="Heads_1" a1="C"/>
<output a0="d"/>
</command>
<element type="segment" label="d">
<show object="true" label="false"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0.8" y="4.720000000000001" z="-3.1728"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="H">
<show object="true" label="true"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-77" y="-22"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="7.8" y="-4.04" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Heads_2"/>
</element>
<command name="Segment">
<input a0="Tails_1" a1="H"/>
<output a0="i"/>
</command>
<element type="segment" label="i">
<show object="true" label="false"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-1.04" y="4.72" z="27.1808"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="I">
<show object="true" label="true"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-56" y="36"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="7.74" y="-6.34" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_2"/>
</element>
<command name="Segment">
<input a0="Tails_1" a1="I"/>
<output a0="j"/>
</command>
<element type="segment" label="j">
<show object="true" label="false"/>
<condition showObject="p"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="1.2599999999999998" y="4.66" z="19.792"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="boolean" label="o">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="102" g="153" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="78" y="61"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Tossing 1st Coin"/>
</element>
<element type="point" label="B">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-58" y="-6"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11.24" y="3.72" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Heads_3"/>
</element>
<command name="Segment">
<input a0="Heads_2" a1="B"/>
<output a0="e"/>
</command>
<element type="segment" label="e">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-2" y="3.4400000000000004" z="9.683200000000003"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="D">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-37" y="-10"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11.14" y="1.72" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_3"/>
</element>
<command name="Segment">
<input a0="Heads_2" a1="D"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0" y="3.3400000000000007" z="-5.7448000000000015"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="E">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-55" y="-13"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11.24" y="0.12" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Heads_3"/>
</element>
<command name="Segment">
<input a0="C" a1="E"/>
<output a0="g"/>
</command>
<element type="segment" label="g">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-0.78" y="3.38" z="8.3616"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="F">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-28" y="-11"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11" y="-1.68" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_3"/>
</element>
<command name="Segment">
<input a0="C" a1="F"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="1.02" y="3.1399999999999997" z="-5.9448"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="G">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-45" y="-10"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11.06" y="-3.28" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Heads_3"/>
</element>
<command name="Segment">
<input a0="H" a1="G"/>
<output a0="k"/>
</command>
<element type="segment" label="k">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-0.7600000000000002" y="3.2600000000000007" z="19.0984"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="J">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-26" y="-8"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="11.02" y="-4.74" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_3"/>
</element>
<command name="Segment">
<input a0="H" a1="J"/>
<output a0="l"/>
</command>
<element type="segment" label="l">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0.7000000000000002" y="3.2199999999999998" z="7.5488"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="K">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-45" y="-9"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="10.98" y="-6.16" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Heads_3"/>
</element>
<command name="Segment">
<input a0="I" a1="K"/>
<output a0="m"/>
</command>
<element type="segment" label="m">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="-0.17999999999999972" y="3.24" z="21.934800000000003"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="L">
<show object="true" label="true"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-21" y="-7"/>
<labelMode val="3"/>
<fixed val="true"/>
<coords x="10.74" y="-7.64" z="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<caption val="Tails_3"/>
</element>
<command name="Segment">
<input a0="I" a1="L"/>
<output a0="n"/>
</command>
<element type="segment" label="n">
<show object="true" label="false"/>
<condition showObject="q"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="1.2999999999999998" y="3" z="8.957999999999998"/>
<lineStyle thickness="6" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="boolean" label="q">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="78" y="185"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Tossing 3rd Coin"/>
</element>
<element type="boolean" label="p">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="79" y="126"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Tossing 2nd Coin"/>
</element>
</construction>
</geogebra>