Exploring the Locus with Constant Distance Operation to Two Points
2020-08-04 12:58
This applet demonstrates the locus of points where a distance operation to two fixed points is constant. By constructing circles, segments, and using the Locus command, it visually presents geometric figures satisfying these relationships. Combining algebra and geometry, it helps understand the geometric meaning of conic sections and locus equations, ideal for exploring plane analytic geometry.
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.596.0" app="classic" platform="d" id="73ee9a99-0ace-4e3b-8d94-486307a9fcf8" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1382" height="744" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.3118668596237337" orientation="1" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" location="3,1,1" size="372" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="true" location="3,1" size="544" window="50,50,500,500" />
<view id="512" toolbar="14 | 32 | 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="true" location="3,1" size="533" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="919" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="true" location="3" size="431" window="100,100,600,400" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="4097" visible="false" inframe="false" stylebar="true" location="1" size="267" window="100,100,700,550" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 39 73 62 | 1 501 67 , 5 19 , 72 75 76 | 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 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6 | 100012 100011 100010 100009 100008 100007 100006 100005 100004 100003 100002 100001" position="1" help="false" />
<input show="true" cmd="true" top="true" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="919" height="513"/>
<coordSystem xZero="466.87477005886257" yZero="284.9354886177853" scale="104.8991539683635" yscale="104.89915396836372"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="0" g="51" b="0"/>
<axesColor r="255" g="255" b="255"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<algebraView>
<mode val="1"/>
</algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="2" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2.0" max="2.0" step="1.0"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<expression label="A" exp="(-1, 0)" type="point"/>
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="-1.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="B" exp="(-A)" type="point" />
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="1.0" y="-0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="numeric" label="k">
<value val="1.5"/>
<show object="true" label="true"/>
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200.0" x="68.0" y="36.0" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<ggbscript onUpdate=""/>
</element>
<element type="numeric" label="ra">
<value val="1.6"/>
<show object="true" label="true"/>
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="10" absoluteScreenLocation="true" width="200.0" x="75.0" y="103.0" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<ggbscript onUpdate=""/>
</element>
<expression label="rb4" exp="(k * ra)" />
<element type="numeric" label="rb4">
<value val="2.4000000000000004"/>
<symbolic val="true" />
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
</element>
<expression label="rb3" exp="k / ra" />
<element type="numeric" label="rb3">
<value val="0.9375"/>
<symbolic val="true" />
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
</element>
<expression label="rb2" exp="k + ra" />
<element type="numeric" label="rb2">
<value val="3.1"/>
<symbolic val="true" />
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
</element>
<expression label="rb1" exp="k - ra" />
<element type="numeric" label="rb1">
<value val="-0.10000000000000009"/>
<symbolic val="true" />
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
</element>
<expression label="rb" exp="{rb1, rb2, rb3, rb4}" />
<element type="list" label="rb">
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<element type="numeric" label="n">
<value val="3.0"/>
<show object="true" label="true"/>
<objColor r="255" g="255" b="255" alpha="0.10000000149011612"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="1" max="4" absoluteScreenLocation="true" width="200.0" x="70.0" y="179.0" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<ggbscript onUpdate=""/>
</element>
<command name="Circle">
<input a0="A" a1="ra"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="10" typeHidden="1" opacity="178"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-1.5600000000000005" A3="0.0" A4="1.0" A5="-0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Circle">
<input a0="B" a1="rb(n)"/>
<output a0="cB"/>
</command>
<element type="conic" label="cB">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="10" typeHidden="1" opacity="178"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="0.12109375" A3="0.0" A4="-1.0" A5="0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Intersect">
<input a0="c" a1="cB"/>
<output a0="P" a1="Q" a2="" a3=""/>
</command>
<element type="point" label="P">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-9" y="0"/>
<labelMode val="0"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
<coords x="0.4202734375000001" y="0.736765473357658" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="Q">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-13" y="28"/>
<labelMode val="0"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
<coords x="0.4202734375000001" y="-0.736765473357658" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Segment">
<input a0="A" a1="P"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="-44" y="15"/>
<labelMode val="2"/>
<coords x="-0.736765473357658" y="1.4202734375000001" z="-0.736765473357658"/>
<lineStyle thickness="3" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="P" a1="B"/>
<output a0="g"/>
</command>
<element type="segment" label="g">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="26" y="-13"/>
<labelMode val="2"/>
<coords x="0.736765473357658" y="0.5797265624999999" z="-0.736765473357658"/>
<lineStyle thickness="3" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Locus">
<input a0="P" a1="ra"/>
<output a0="loc1"/>
</command>
<element type="locus" label="loc1">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
</element>
<command name="Locus">
<input a0="Q" a1="ra"/>
<output a0="loc2"/>
</command>
<element type="locus" label="loc2">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
</element>
<expression label="sop" exp="{"+", "-", "×", "÷"}"/>
<element type="list" label="sop">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
<symbolic val="true" />
</element>
<expression label="text1" exp=""PB " + (sop(n)) + "PA=" + g + "" + (sop(n)) + " " + f + "=" + k + """ />
<element type="text" label="text1">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="true" sizeM="1.4" size="8" style="0"/>
<absoluteScreenLocation x="617" y="66"/>
<ggbscript val=""/>
<ggbscript onUpdate=""/>
</element>
</construction>
</geogebra>