Equation of Tangent to a Circle
2025-02-07 05:50
This GeoGebra applet demonstrates how to derive and construct the equation of a tangent line to a circle. Using geometric and algebraic commands such as Point, Intersect, and If, it dynamically illustrates the generation of tangent lines from a given point and displays their corresponding algebraic equations. This interactive example helps students intuitively understand the properties of tangents
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.2.874.1" app="classic" platform="w" id="3fed5e88-5b73-4b6e-971e-8ae1c9671801" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1097" height="600" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.6162260711030082" orientation="1" />
<pane location="0" 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="1" visible="true" inframe="false" stylebar="true" location="3,1" size="676" 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 || 66 68 || 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="395" window="501,167,700,550" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="200" tab="ALGEBRA" window="330,35,600,400" />
<view id="16" visible="true" inframe="false" stylebar="true" location="1" size="411" window="50,50,500,500" />
<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="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="150" window="50,50,500,500" />
</views>
<toolbar show="false" 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" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="675" height="597"/>
<coordSystem xZero="211.85312727024368" yZero="285.0155168238634" scale="31.046066152957753" yscale="31.046066152957692"/>
<evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="2" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="37" g="37" b="37"/>
<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"/>
<grid distX="0.1" distY="0.1" distTheta="0.5235987755982988"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="410" height="597"/>
<coordSystem xZero="215.00000000000003" yZero="285.9999999999999" scale="50.00000000000001" yscale="49.99999999999998"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="2" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="37" g="37" b="37"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<grid distX="0.1" distY="0.1" distTheta="0.5235987755982988"/>
</euclidianView>
<spreadsheetView>
<dimensions rows="100" columns="26"/></spreadsheetView>
<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="Equations of Tangents to Circles" author="" date="">
<expression label="text1" exp=""(x-4)^2 +(x+c)^2=18""/>
<element type="text" label="text1">
<show object="true" label="false" ev="43"/>
<condition showObject="o1"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="23" y="99"/>
</element>
<expression label="text1_{1}" exp=""\begin{cases}(x-4)^2 +y^2=18 \\ \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;y=x+c \end{cases}""/>
<element type="text" label="text1_{1}">
<show object="true" label="false" ev="43"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="23" y="19"/>
</element>
<expression label="text1_{2}" exp=""2x^2+2(c-4)x+(c^2-2)=0""/>
<element type="text" label="text1_{2}">
<show object="true" label="false" ev="43"/>
<condition showObject="o1 ∧ o2"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="23" y="144"/>
</element>
<expression label="text1_{3}" exp=""\text{Δ} = (2(c-4))^2-4·2·(c^2-2)""/>
<element type="text" label="text1_{3}">
<show object="true" label="false" ev="43"/>
<condition showObject="o1 ∧ o2 ∧ o3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="23" y="184"/>
</element>
<expression label="text1_{4}" exp=""=-4c^2-32c+80""/>
<element type="text" label="text1_{4}">
<show object="true" label="false" ev="43"/>
<condition showObject="o1 ∧ o2 ∧ o3 ∧ o4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="47" y="220"/>
</element>
<element type="boolean" label="o1">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="96"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o2, false)"/>
</element>
<element type="boolean" label="o2">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="141"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o3, false)"/>
</element>
<element type="boolean" label="o3">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1 ∧ o2"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="181"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o4, false)"/>
</element>
<element type="boolean" label="o4">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1 ∧ o2 ∧ o3"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="216"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o5, false)"/>
</element>
<expression label="eq1" exp="(x - 4)^(2) + y^(2) = 18" type="conic"/>
<element type="conic" label="eq1">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="0" y="-52"/>
<labelMode val="2"/>
<fixed val="true"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="user"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-2" A3="0" A4="-4" A5="0"/>
</element>
<element type="line" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="36" y="14"/>
<labelMode val="2"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="explicit"/>
<coords x="-1" y="1" z="5"/>
</element>
<expression label="text2" exp=""(x-4)^2+y^2=18""/>
<element type="text" label="text2">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<startPoint exp="A"/>
<labelOffset x="-71" y="-37"/>
</element>
<command name="Point">
<input a0="eq1"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="false" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<coords x="3.111043363015366" y="4.148464305928275" z="1"/>
</element>
<command name="Intersect">
<input a0="g" a1="yAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<coords x="0" y="-5" z="1"/>
</element>
<expression label="text3" exp=""y=x" + (LaTeX[If[y(B) ≤ 0, "", "+"]]) + "" + (LaTeX[If[y(B) ≠ 0, Text[y(B)], ""]]) + """ />
<element type="text" label="text3">
<show object="true" label="false" ev="8"/>
<condition showObject="o5"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="1"/>
<startPoint exp="D"/>
<labelOffset x="31" y="-40"/>
</element>
<command name="If">
<input a0="x(Intersect[y = y(Corner[1]) + 1, g]) > x(Corner[1])" a1="Intersect[y = y(Corner[1]) + 1, g]" a2="Intersect[x = x(Corner[1]) + 1, g]"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="false" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<coords x="-4.081292800000018" y="-9.081292800000018" z="1"/>
</element>
<command name="Intersect">
<input a0="eq1" a1="g"/>
<output a0="C" a1="E"/>
</command>
<element type="point" label="C">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="5"/>
<pointStyle val="2"/>
<coords x="1.5419601084501922" y="-3.4580398915498076" z="1"/>
</element>
<element type="point" label="E">
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<pointSize val="5"/>
<pointStyle val="2"/>
<coords x="7.458039891549808" y="2.4580398915498076" z="1"/>
</element>
<element type="boolean" label="o5">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1 ∧ o2 ∧ o3 ∧ o4"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="271"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o6, false)
"/>
</element>
<expression label="text4" exp=""\text{When }c=" + (LaTeX[y(B)]) + ","" />
<element type="text" label="text4">
<show object="true" label="false" ev="43"/>
<condition showObject="o5"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="28" y="279"/>
</element>
<element type="boolean" label="o6">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1 ∧ o2 ∧ o3 ∧ o4 ∧ o5"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="316"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(o7, false)"/>
</element>
<element type="boolean" label="o7">
<value val="false"/>
<show object="true" label="false" ev="3"/>
<condition showObject="o1 ∧ o2 ∧ o3 ∧ o4 ∧ o5 ∧ o6"/>
<objColor r="28" g="28" b="31" alpha="0"/>
<layer val="0"/>
<labelOffset x="370" y="351"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<expression label="text5" exp=""\text{Δ}=-4(" + (LaTeX[y(B)]) + ")^2-32(" + (LaTeX[y(B)]) + ")+80"" />
<element type="text" label="text5">
<show object="true" label="false" ev="11"/>
<condition showObject="o6"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="33" y="319"/>
</element>
<expression label="text6" exp=""=" + (LaTeX[(-4 * (y(B))^(2)) - (32 * y(B)) + 80]) + """ />
<element type="text" label="text6">
<show object="true" label="false" ev="11"/>
<condition showObject="o7"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="56" y="358"/>
</element>
<expression label="text7" exp=""y=x+c""/>
<element type="text" label="text7">
<show object="true" label="false" ev="40"/>
<condition showObject="¬o5"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="1"/>
<startPoint exp="D"/>
<labelOffset x="31" y="-40"/>
</element>
<expression label="text8" exp=""\text\red{拖拉紅線。}\\
\text{當紅線和圓相切, }c\text{ 的值是多少? }""/>
<element type="text" label="text8">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="1"/>
<absoluteScreenLocation x="4" y="2"/>
</element>
</construction>
</geogebra>