Domain and Range of a Function
2013-03-24 15:15
This applet demonstrates how to find the domain and range of a function from its graph and express them using interval notation. It provides a visual representation to help users intuitively understand the possible values of the independent and dependent variables, and master the basic rules of interval notation.
In collections
函數
Loading the GeoGebra board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.2.843.0" app="classic" platform="w" id="90779213-87c8-4293-8fea-89599f8a0531" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1242" height="552" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0" orientation="1" />
</panes>
<views>
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 51 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 , 538 | 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 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="200" window="0,0,400,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="4097" visible="false" inframe="false" stylebar="true" location="1,1" size="326" window="100,100,700,550" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="1242" window="0,0,400,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="200" tab="ALGEBRA" window="0,0,200,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="771" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="128" visible="false" inframe="false" 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 39 59 | 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 66 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="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1241" height="498"/>
<coordSystem xZero="636.5" yZero="285.5333333333333" scale="45.75" yscale="36.53336314562238"/>
<evSettings axes="true" grid="true" 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="true" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="1"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1" tickExpression="1"/>
<grid distX="1" distY="0.5" distTheta="0.5235987755982988"/>
</euclidianView>
<algebraView>
<mode val="1"/>
<auxiliary show="true"/></algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="0" max="0" step="0"/>
<scripting blocked="false" disabled="false"/>
<construction title="Domain & Range" author="Alison Schubert" date="">
<worksheetText above="As you change the x value by dragging the blue dot in the top left and right the possible x & y values will be recorded on the respective axes. Use this information to write the domain and range in interval notation. You can check your answer by selecting "Show Answer"" below="For more practice click on the blue arrows in the top right and it will generate a new graph."/>
<expression label="poss_m" exp="{0, 0.5, 1}"/>
<element type="list" label="poss_m">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Append">
<input a0="Sort[{Random[-4, -1], Random[-3, 1]}]" a1="Random[0, 1]"/>
<output a0="sp1_{tmp}"/>
</command>
<element type="list" label="sp1_{tmp}">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Append">
<input a0="sp1_{tmp}" a1="If[Element[sp1_{tmp}, 1] ≟ Element[sp1_{tmp}, 2] ∧ Element[sp1_{tmp}, 3] ≟ 1, 0, Random[0, 1]]"/>
<output a0="split"/>
</command>
<element type="list" label="split">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Element" type="numeric">
<input a0="poss_m" a1="Random[1, Length[poss_m]]"/>
<output a0="m"/>
</command>
<element type="numeric" label="m">
<value val="0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<expression label="sign" exp="{(If[Random[0, 1] ≟ 0, -1, 1] * Random[1, 3]), If[Random[0, 1] ≟ 0, -1, 1], If[Random[0, 1] ≟ 0, -1, 1]}" />
<element type="list" label="sign">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="shift_v" exp="{Random[2, 4], Random[If[Element[sign, 2] ≟ 1, -6, 2], If[Element[sign, 2] ≟ 1, -2, 6]], 1}" />
<element type="list" label="shift_v">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="part_3" exp="part_3(x) = ((Element[sign, 3] * m) * x) + Element[shift_v, 3]" />
<element type="function" label="part_3">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<command name="Append">
<input a0="Sort[{Random[Element[split, 2] + 3, Min[Element[split, 2] + 5, 4]], Random[Element[split, 2] + 3, Min[Element[split, 2] + 5, 4]]}]" a1="Random[0, 1]"/>
<output a0="sp2_{tmp}"/>
</command>
<element type="list" label="sp2_{tmp}">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Append">
<input a0="sp2_{tmp}" a1="If[Element[sp2_{tmp}, 1] ≟ Element[sp2_{tmp}, 2] ∧ Element[sp2_{tmp}, 3] ≟ 1, 0, Random[0, 1]]"/>
<output a0="split2"/>
</command>
<element type="list" label="split2">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="part_2" exp="part_2(x) = (Element[sign, 2] * (x - Element[split, 2] - 2)^(2)) + Element[shift_v, 2]" />
<element type="function" label="part_2">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="end" exp="{Random[-7, -6], Random[5, 6]}" />
<element type="list" label="end">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<element type="numeric" label="c">
<value val="-5.17"/>
<slider min="-8" max="8" absoluteScreenLocation="true" width="300" x="14" y="45" fixed="false" horizontal="true" showAlgebra="false"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="true"/>
<objColor r="102" g="102" b="255" alpha="0.1"/>
<layer val="1"/>
<labelMode val="2"/>
<animation step="0.01" speed="1" type="0" playing="false"/>
<caption val="x"/>
</element>
<expression label="part_1" exp="part_1(x) = (Element[sign, 1] * sin((3 * (x - Element[split, 1])))) + Element[shift_v, 1]" />
<element type="function" label="part_1">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="LB" exp="{Element[shift_v, 1] - abs(Element[sign, 1]), If[Element[sign, 2] > 0, y(Extremum[part_2]), Min[part_2(Element[split, 2]), part_2(Element[split2, 1])]], Min[part_3(Element[split2, 2]), part_3(Element[end, 2])]}" />
<element type="list" label="LB">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="If">
<input a0="Element[split, 3] ≟ 0" a1="If[x ≥ Element[end, 1] ∧ x < Element[split, 1], part_1(x), If[Element[split, 4] ≟ 0, If[Element[split2, 3] ≟ 0, If[x > Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x > Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]], If[Element[split2, 3] ≟ 0, If[x ≥ Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x ≥ Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]]]]" a2="If[x ≥ Element[end, 1] ∧ x ≤ Element[split, 1], part_1(x), If[Element[split, 4] ≟ 0, If[Element[split2, 3] ≟ 0, If[x > Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x > Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]], If[Element[split2, 3] ≟ 0, If[x ≥ Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x ≥ Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]]]]"/>
<output a0="f"/>
</command>
<element type="function" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
</element>
<expression label="End_l" exp="(Element[end, 1], part_1(Element[end, 1]))" type="point" />
<element type="point" label="End_l">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="-6" y="2.5588309963978517" z="1"/>
</element>
<expression label="End_r" exp="(Element[end, 2], part_3(Element[end, 2]))" type="point" />
<element type="point" label="End_r">
<show object="true" label="false"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="5" y="1" z="1"/>
</element>
<expression label="sp1R_s" exp="(Element[split, 2], part_2(Element[split, 2]))" type="point" />
<element type="point" label="sp1R_s">
<show object="true" label="false"/>
<condition showObject="Element[split, 4] ≟ 1"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="-1" y="-2" z="1"/>
</element>
<expression label="sp2L_s" exp="(Element[split2, 1], part_2(Element[split2, 1]))" type="point" />
<element type="point" label="sp2L_s">
<show object="true" label="false"/>
<condition showObject="Element[split2, 3] ≟ 1"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="2" y="1" z="1"/>
</element>
<expression label="sp2R_o" exp="(Element[split2, 2], part_3(Element[split2, 2]))" type="point" />
<element type="point" label="sp2R_o">
<show object="true" label="false"/>
<condition showObject="Element[split2, 4] ≟ 0"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="2"/>
<coords x="4" y="1" z="1"/>
</element>
<expression label="A" exp="(c, f(c))" type="point" />
<element type="point" label="A">
<show object="true" label="false"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="-5.17" y="2.7202601989439366" z="1"/>
</element>
<command name="OrthogonalLine">
<input a0="A" a1="yAxis"/>
<output a0="a"/>
</command>
<element type="line" label="a">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<coords x="0" y="-1" z="2.7202601989439366"/>
</element>
<command name="Intersect">
<input a0="a" a1="yAxis"/>
<output a0="R"/>
</command>
<element type="point" label="R">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<trace val="true"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="0" y="2.7202601989439366" z="1"/>
</element>
<command name="Segment">
<input a0="A" a1="R"/>
<output a0="line_r"/>
</command>
<element type="segment" label="line_r">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<startStyle val="default"/>
<endStyle val="default"/>
<coords x="0" y="5.17" z="-14.063745228540151"/>
</element>
<command name="OrthogonalLine">
<input a0="A" a1="xAxis"/>
<output a0="b"/>
</command>
<element type="line" label="b">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<coords x="-1" y="0" z="-5.17"/>
</element>
<command name="Intersect">
<input a0="b" a1="xAxis"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="true" label="false"/>
<objColor r="204" g="0" b="204" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<trace val="true"/>
<pointSize val="2"/>
<pointStyle val="0"/>
<coords x="-5.17" y="0" z="1"/>
</element>
<command name="Segment">
<input a0="A" a1="D"/>
<output a0="linr_d"/>
</command>
<element type="segment" label="linr_d">
<show object="true" label="false"/>
<objColor r="204" g="0" b="204" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
<startStyle val="default"/>
<endStyle val="default"/>
<coords x="2.7202601989439366" y="0" z="14.063745228540151"/>
</element>
<expression label="UB" exp="{Element[shift_v, 1] + abs(Element[sign, 1]), If[Element[sign, 2] < 0, y(Extremum[part_2]), Max[part_2(Element[split, 2]), part_2(Element[split2, 1])]], Max[part_3(Element[split2, 2]), part_3(Element[end, 2])]}" />
<element type="list" label="UB">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="Pts_L" exp="{"[", If[y(sp1R_s) ≟ y(sp2L_s) ∧ y(sp2L_s) ≟ Element[LB, 2], If[Element[split, 4] ≟ 0 ∧ Element[split2, 3] ≟ 0, "(", "["], If[y(sp1R_s) ≟ Element[LB, 2] ∧ Element[split, 4] ≟ 0, "(", If[y(sp2L_s) ≟ Element[LB, 2] ∧ Element[split2, 3] ≟ 0, "(", "["]]], If[Element[LB, 3] ≟ y(sp2R_o) ∧ Element[split2, 4] ≟ 0 ∧ m > 0, "(", "["]}" />
<element type="list" label="Pts_L">
<show object="false" label="true"/>
<objColor r="0" g="110" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="Pts_U" exp="{"]", If[y(sp1R_s) ≟ y(sp2L_s) ∧ y(sp2L_s) ≟ Element[UB, 2], If[Element[split, 4] ≟ 0 ∧ Element[split2, 3] ≟ 0, ")", "]"], If[y(sp1R_s) ≟ Element[UB, 2] ∧ Element[split, 4] ≟ 0, ")", If[y(sp2L_s) ≟ Element[UB, 2] ∧ Element[split2, 3] ≟ 0, ")", "]"]]], If[Element[UB, 3] ≟ y(sp2R_o) ∧ Element[split2, 4] ≟ 0 ∧ m > 0, ")", "]"]}" />
<element type="list" label="Pts_U">
<show object="false" label="true"/>
<objColor r="0" g="110" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sort">
<input a0="Sequence[(Element[LB, i], i), i, 1, 3]"/>
<output a0="LB_s"/>
</command>
<element type="list" label="LB_s">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="If[y(Element[LB_s, i]) ≟ 1, {Element[LB, 1], Element[Pts_L, 1], Element[UB, 1], Element[Pts_U, 1]}, If[y(Element[LB_s, i]) ≟ 2, {Element[LB, 2], Element[Pts_L, 2], Element[UB, 2], Element[Pts_U, 2]}, {Element[LB, 3], Element[Pts_L, 3], Element[UB, 3], Element[Pts_U, 3]}]]" a1="i" a2="1" a3="3"/>
<output a0="int"/>
</command>
<element type="list" label="int">
<objColor r="0" g="110" b="0" alpha="0.1"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<element type="boolean" label="d">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelOffset x="391" y="17"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="Show Answer"/>
</element>
<expression label="text1" exp=""Drag me to change the x-value""/>
<element type="text" label="text1">
<show object="true" label="false"/>
<objColor r="102" g="102" b="255" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<absoluteScreenLocation x="13" y="17"/>
</element>
<expression label="text_R" exp=""Range: " + (Element[Element[int, 1], 2]) + (Element[Element[int, 1], 1]) + "," + (If[Element[Element[int, 1], 3] < Element[Element[int, 2], 1], Element[Element[int, 1], 3] + Element[Element[int, 1], 4] + " U " + (Element[Element[int, 2], 2]) + (Element[Element[int, 2], 1]) + "," + (If[Element[Element[int, 2], 3] < Element[Element[int, 3], 1], Element[Element[int, 2], 3] + Element[Element[int, 2], 4] + " U " + (Element[Element[int, 3], 2]) + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 1] ∧ Element[Element[int, 2], 4] ≟ ")" ∧ Element[Element[int, 3], 2] ≟ ")", Element[Element[int, 2], 3] + ") U (" + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] < Element[Element[int, 3], 3], Element[Element[int, 3], 3] + Element[Element[int, 3], 4], If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 3], If[Element[Element[int, 2], 4] ≟ "]" ∨ Element[Element[int, 3], 4] ≟ "]", Element[Element[int, 2], 3] + "]", Element[Element[int, 2], 3] + ")"], Element[Element[int, 2], 3] + Element[Element[int, 2], 4]]]]]), If[Element[Element[int, 1], 3] ≟ Element[Element[int, 2], 1] ∧ Element[Element[int, 1], 4] ≟ ")" ∧ Element[Element[int, 2], 2] ≟ "(", Element[Element[int, 1], 3] + ") U (" + (Element[Element[int, 2], 1]) + "," + (If[Element[Element[int, 2], 3] < Element[Element[int, 3], 1], Element[Element[int, 2], 3] + Element[Element[int, 2], 4] + " U " + (Element[Element[int, 3], 2]) + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 1] ∧ Element[Element[int, 2], 4] ≟ ")" ∧ Element[Element[int, 3], 2] ≟ "(", Element[Element[int, 2], 3] + ") U (" + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] < Element[Element[int, 3], 3], Element[Element[int, 3], 3] + Element[Element[int, 3], 4], If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 3], If[Element[Element[int, 2], 4] ≟ "]" ∨ Element[Element[int, 3], 4] ≟ "]", Element[Element[int, 3], 3] + "]", Element[Element[int, 3], 3] + ")"], Element[Element[int, 2], 3] + Element[Element[int, 2], 4]]]]]), If[Element[Element[int, 1], 3] < Element[Element[int, 2], 3], If[Element[Element[int, 2], 3] < Element[Element[int, 3], 1], Element[Element[int, 2], 3] + Element[Element[int, 2], 4] + " U " + (Element[Element[int, 3], 2]) + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 1] ∧ Element[Element[int, 2], 4] ≟ ")" ∧ Element[Element[int, 3], 2] ≟ "(", Element[Element[int, 2], 3] + ") U (" + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 2], 3] < Element[Element[int, 3], 3], Element[Element[int, 3], 3] + Element[Element[int, 3], 4], If[Element[Element[int, 2], 3] ≟ Element[Element[int, 3], 3] ∧ Element[Element[int, 2], 4] ≟ ")" ∧ Element[Element[int, 3], 4] ≟ ")", Element[Element[int, 3], 3] + ")", Element[Element[int, 2], 3] + Element[Element[int, 2], 4]]]]], If[Element[Element[int, 1], 3] > Element[Element[int, 2], 3], If[Element[Element[int, 1], 3] < Element[Element[int, 3], 1], Element[Element[int, 1], 3] + Element[Element[int, 1], 4] + " U " + (Element[Element[int, 3], 2]) + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 1], 3] < Element[Element[int, 3], 3], Element[Element[int, 3], 3] + Element[Element[int, 3], 4], If[Element[Element[int, 1], 3] ≟ Element[Element[int, 3], 3] ∧ Element[Element[int, 1], 4] ≟ ")" ∧ Element[Element[int, 3], 4] ≟ ")", Element[Element[int, 1], 3] + ")", Element[Element[int, 1], 3] + Element[Element[int, 1], 4]]]], If[Element[Element[int, 1], 3] < Element[Element[int, 3], 1], If[Element[Element[int, 1], 4] ≟ ")" ∧ Element[Element[int, 2], 4] ≟ ")", Element[Element[int, 1], 3] + ") U ", Element[Element[int, 1], 3] + "] U "] + (Element[Element[int, 3], 2]) + (Element[Element[int, 3], 1]) + "," + (Element[Element[int, 3], 3]) + (Element[Element[int, 3], 4]), If[Element[Element[int, 1], 3] < Element[Element[int, 3], 3], Element[Element[int, 3], 3] + Element[Element[int, 3], 4], If[Element[Element[int, 1], 3] ≟ Element[Element[int, 3], 3], Element[Element[int, 1], 3] + "]", Element[Element[int, 1], 3] + Element[Element[int, 1], 4]]]]]]]])" />
<element type="text" label="text_R">
<show object="true" label="true"/>
<condition showObject="d"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<absoluteScreenLocation x="413" y="66"/>
</element>
<expression label="sp1L_o" exp="(Element[split, 1], part_1(Element[split, 1]))" type="point" />
<element type="point" label="sp1L_o">
<show object="true" label="false"/>
<condition showObject="Element[split, 3] ≟ 0"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="2"/>
<coords x="-4" y="2" z="1"/>
</element>
<expression label="sp1R_o" exp="(Element[split, 2], part_2(Element[split, 2]))" type="point" />
<element type="point" label="sp1R_o">
<show object="true" label="false"/>
<condition showObject="Element[split, 4] ≟ 0"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="2"/>
<coords x="-1" y="-2" z="1"/>
</element>
<expression label="sp2L_o" exp="(Element[split2, 1], part_2(Element[split2, 1]))" type="point" />
<element type="point" label="sp2L_o">
<show object="true" label="false"/>
<condition showObject="Element[split2, 3] ≟ 0"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="2"/>
<coords x="2" y="1" z="1"/>
</element>
<expression label="sp2R_s" exp="(Element[split2, 2], part_3(Element[split2, 2]))" type="point" />
<element type="point" label="sp2R_s">
<show object="true" label="false"/>
<condition showObject="Element[split2, 4] ≟ 1"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="4" y="1" z="1"/>
</element>
<expression label="sp1L_s" exp="(Element[split, 1], part_1(Element[split, 1]))" type="point" />
<element type="point" label="sp1L_s">
<show object="true" label="false"/>
<condition showObject="Element[split, 3] ≟ 1"/>
<objColor r="64" g="64" b="64" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
<coords x="-4" y="2" z="1"/>
</element>
<expression label="text_D" exp=""Domain: " + "[" + (Element[end, 1]) + "," + (If[Element[split, 1] < Element[split, 2], Element[split, 1] + If[Element[split, 3] ≟ 0, ") U ", "] U "] + (If[Element[split, 4] ≟ 0, "(", "["]) + (Element[split, 2]) + ", " + (If[Element[split2, 1] < Element[split2, 2], Element[split2, 1] + If[Element[split2, 3] ≟ 0, ") U ", "] U "] + (If[Element[split2, 4] ≟ 0, "(", "["]) + (Element[split2, 2]) + "," + (Element[end, 2]) + "]", If[Element[split2, 3] ≟ 0 ∧ Element[split2, 4] ≟ 0, Element[split2, 1] + ") U (" + (Element[split2, 2]) + ","] + (Element[end, 2]) + "]"]), If[Element[split, 3] ≟ 0 ∧ Element[split, 4] ≟ 0, Element[split, 1] + ") U (" + (Element[split, 2]) + ","] + (If[Element[split2, 1] < Element[split2, 2], Element[split2, 1] + If[Element[split2, 3] ≟ 0, ") U ", "] U "] + (If[Element[split2, 4] ≟ 0, "(", "["]) + (Element[split2, 2]) + "," + (Element[end, 2]) + "]", If[Element[split2, 3] ≟ 0 ∧ Element[split2, 4] ≟ 0, Element[split2, 1] + ") U (" + (Element[split2, 2]) + "," + (Element[end, 2]) + "]", Element[end, 2] + "]"]])])" />
<element type="text" label="text_D">
<show object="true" label="true"/>
<condition showObject="d"/>
<objColor r="204" g="0" b="204" alpha="0"/>
<layer val="1"/>
<labelMode val="0"/>
<fixed val="true"/>
<absoluteScreenLocation x="413" y="50"/>
</element>
</construction>
</geogebra>