Geometric Visualization of Fraction Addition and Subtraction
2013-09-23 22:10
This GeoGebra applet demonstrates fraction addition and subtraction through circular geometric representations. It uses Least Common Multiple (LCM) and Greatest Common Divisor (GCD) calculations to find common denominators, visualizing the process through circle segmentation, translation, and shading. The interactive visualization includes geometric representations of numerators and denominators, animated circle cutting and merging after finding common denominators, helping learners grasp the geometric meaning behind fraction operations. Students can manipulate the numerators and denominators of two fractions and watch in real time as the circles are divided into equal parts, shaded regions are combined or subtracted, and the results are simplified. This hands-on approach bridges the gap between abstract arithmetic procedures and concrete visual understanding, making it especially valuable for students who struggle with the concept of common denominators or the mechanics of renaming fractions before performing addition or subtraction. By seeing how fractional parts physically align and overlap on identical circles, learners develop an intuitive sense of why the standard algorithm works rather than merely memorizing steps. The applet was originally created by Morton Betts and translated into Chinese by Samsam.
In collections
分數
Loading the math board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="4.2" version="4.2.58.0" id="dac30dda-01b4-4af9-8e2f-6c05bcf40493" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1366" height="728" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.07320644216691069" 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="false" location="1,1" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1350" 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="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 1008 1009 || 6" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="16" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" visible="false" inframe="true" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="4097" visible="false" inframe="false" stylebar="false" location="1" size="246" window="721,202,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 | 40 | 1 | 19 | 15 | 2 | 10 | 3 | 4 | 5 | 16 | 64 | 70 | 51 | 17 | 36 | 30 | 32 " position="1" help="true" />
<input show="false" cmd="true" top="false" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="20"/>
<graphicsSettings javaLatexFonts="false"/>
</gui>
<euclidianView>
<size width="1350" height="580"/>
<coordSystem xZero="243.27202814410145" yZero="117.93865014141467" scale="39.735065307767535" yscale="39.73506530776751"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="13" 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>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="1"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="shiftcircle">
<value val="0.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="0" max="2.5 * radius" absoluteScreenLocation="true" width="100.0" x="31.0" y="237.0" fixed="false" horizontal="false"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="拉上/拉下"/>
</element>
<element type="numeric" label="numeratorR">
<value val="1.0"/>
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="1" max="denominatorR" absoluteScreenLocation="true" width="100.0" x="502.0" y="78.0" fixed="false" horizontal="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="分子(紅色)"/>
</element>
<element type="numeric" label="denominatorR">
<value val="3.0"/>
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="1" max="10" absoluteScreenLocation="true" width="100.0" x="502.0" y="128.0" fixed="false" horizontal="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="分母(紅色)"/>
</element>
<element type="numeric" label="numeratorB">
<value val="1.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="1" max="denominatorB" absoluteScreenLocation="true" width="100.0" x="501.0" y="281.0" fixed="false" horizontal="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="分子(藍色)"/>
</element>
<element type="numeric" label="denominatorB">
<value val="4.0"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="1" max="12" absoluteScreenLocation="true" width="100.0" x="502.0" y="325.0" fixed="false" horizontal="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
<caption val="分母(藍色)"/>
</element>
<expression label="centerR" exp="(0, -shiftcircle)" type="point" />
<element type="point" label="centerR">
<show object="false" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="-0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="numeric" label="radius">
<value val="1.5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="5" absoluteScreenLocation="true" width="100.0" x="517.0" y="67.0" fixed="true" horizontal="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
</element>
<command name="Circle">
<input a0="centerR" a1="radius"/>
<output a0="circleR"/>
</command>
<element type="conic" label="circleR">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="-2.25" A3="0.0" A4="-0.0" A5="0.0"/>
<eqnStyle style="specific"/>
</element>
<expression label="centerB" exp="(0, -2.5 * radius)" type="point" />
<element type="point" label="centerB">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="-3.75" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="centerB" a1="radius"/>
<output a0="circleB"/>
</command>
<element type="conic" label="circleB">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="11.8125" A3="0.0" A4="-0.0" A5="3.75"/>
<eqnStyle style="specific"/>
</element>
<expression label="AR" exp="(x(centerR), y(centerR) - radius)" type="point" />
<element type="point" label="AR">
<show object="false" label="false"/>
<objColor r="125" g="125" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="-1.5" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="AB" exp="(x(centerB), y(centerB) - radius)" type="point" />
<element type="point" label="AB">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="-5.25" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="LCM">
<input a0="denominatorR" a1="denominatorB"/>
<output a0="LCMdenominator"/>
</command>
<element type="numeric" label="LCMdenominator">
<value val="12.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<expression label="LCMnumeratorR" exp="LCMdenominator / denominatorR * numeratorR" />
<element type="numeric" label="LCMnumeratorR">
<value val="4.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<expression label="LCMnumeratorB" exp="LCMdenominator / denominatorB * numeratorB" />
<element type="numeric" label="LCMnumeratorB">
<value val="3.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<expression label="tfactorB" exp=""$ \frac{×" + (LaTeX[LCMdenominator / denominatorB]) + "}{×" + (LaTeX[LCMdenominator / denominatorB]) + "} $"" />
<element type="text" label="tfactorB">
<show object="true" label="false"/>
<condition showObject="a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="2.7400000000000007" y="-3.06" z="1.0"/>
</element>
<command name="Sequence">
<input a0="Segment[centerR, Rotate[AR, radius°, centerR]]" a1="radius" a2="360 / denominatorR" a3="360" a4="360 / denominatorR"/>
<output a0="cutR"/>
</command>
<element type="list" label="cutR">
<show object="true" label="true"/>
<condition showObject="(¬a) ∧ (¬(denominatorR ≟ 1 ∧ (numeratorR ≟ 0 ∨ numeratorR ≟ 1)))"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[centerB, Rotate[AB, radius°, centerB]]" a1="radius" a2="360 / denominatorB" a3="360" a4="360 / denominatorB"/>
<output a0="cutB"/>
</command>
<element type="list" label="cutB">
<show object="true" label="true"/>
<condition showObject="(¬a) ∧ (¬(denominatorB ≟ 1 ∧ (numeratorB ≟ 0 ∨ numeratorB ≟ 1)))"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerR, Rotate[AR, radius°, centerR], Rotate[AR, (radius + 360 / denominatorR)°, centerR]]" a1="radius" a2="0" a3="360 / denominatorR * numeratorR - 360 / denominatorR" a4="360 / denominatorR"/>
<output a0="shadeR"/>
</command>
<element type="list" label="shadeR">
<show object="true" label="true"/>
<objColor r="255" g="0" b="0" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, (-radius - 360 / denominatorB)°, centerB], Rotate[AB, (-radius)°, centerB]]" a1="radius" a2="0" a3="360 / denominatorB * numeratorB - 360 / denominatorB" a4="360 / denominatorB"/>
<output a0="shadeB"/>
</command>
<element type="list" label="shadeB">
<show object="true" label="true"/>
<condition showObject="b ≟ false"/>
<objColor r="0" g="0" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[centerR, Rotate[AR, radius°, centerR]]" a1="radius" a2="0" a3="360" a4="360 / LCMdenominator"/>
<output a0="cutLCMR"/>
</command>
<element type="list" label="cutLCMR">
<show object="true" label="true"/>
<condition showObject="a ∧ (¬(denominatorR ≟ 1 ∧ (numeratorR ≟ 0 ∨ numeratorR ≟ 1)))"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Segment[centerB, Rotate[AB, radius°, centerB]]" a1="radius" a2="0" a3="360" a4="360 / LCMdenominator"/>
<output a0="cutLCMB"/>
</command>
<element type="list" label="cutLCMB">
<show object="true" label="true"/>
<condition showObject="a ∧ (¬(denominatorB ≟ 1 ∧ (numeratorB ≟ 0 ∨ numeratorB ≟ 1)))"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="boolean" label="a">
<value val="false"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="396" y="181"/>
<labelMode val="0"/>
<caption val="Lowest Common Denominator"/>
</element>
<element type="numeric" label="showfinal">
<value val="0.0"/>
<show object="true" label="true"/>
<condition showObject="a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="0" max="1" absoluteScreenLocation="true" width="100.0" x="301.0" y="398.0" fixed="false" horizontal="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<caption val="answer"/>
</element>
<expression label="A" exp="(x(AB), -5 * radius)" type="point" />
<element type="point" label="A">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="0.0" y="-7.5" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="B" exp="(x(AB) + radius + 0.5, -5 * radius)" type="point" />
<element type="point" label="B">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="2.0" y="-7.5" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="centerB" a1="A"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0.0" y="-3.75" z="0.0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="centerB"/>
</element>
<command name="Vector">
<input a0="centerB" a1="B"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="2.0" y="-3.75" z="0.0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="centerB"/>
</element>
<expression label="LCMnumerator" exp="LCMnumeratorR + LCMnumeratorB" />
<element type="numeric" label="LCMnumerator">
<value val="7.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<command name="Translate">
<input a0="circleB" a1="Vector[showfinal * u]"/>
<output a0="total0"/>
</command>
<element type="conic" label="total0">
<show object="true" label="false"/>
<condition showObject="(showfinal > 0) ∧ (G ≤ 1) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="11.8125" A3="0.0" A4="0.0" A5="3.75"/>
<eqnStyle style="specific"/>
</element>
<command name="Translate">
<input a0="cutLCMB" a1="Vector[showfinal * u]"/>
<output a0="cuttotal0"/>
</command>
<element type="list" label="cuttotal0">
<show object="true" label="true"/>
<condition showObject="(showfinal > 0) ∧ (G ≤ 1) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, (-radius - 360 / denominatorB)°, centerB], Rotate[AB, (-radius)°, centerB]]" a1="radius" a2="0" a3="360 / denominatorB * numeratorB - 360 / denominatorB" a4="360 / denominatorB"/>
<output a0="E"/>
</command>
<element type="list" label="E">
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Translate">
<input a0="shadeB" a1="Vector[showfinal * u]"/>
<output a0="F"/>
</command>
<element type="list" label="F">
<show object="true" label="true"/>
<condition showObject="(G ≤ 1) ∧ (showfinal > 0) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="G" exp="LCMnumerator / LCMdenominator" />
<element type="numeric" label="G">
<value val="0.5833333333333334"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, radius°, centerB], Rotate[AB, (radius + 360 / denominatorR)°, centerB]]" a1="radius" a2="0" a3="360 / denominatorR * numeratorR - 360 / denominatorR" a4="360 / denominatorR"/>
<output a0="H"/>
</command>
<element type="list" label="H">
<show object="false" label="true"/>
<objColor r="153" g="0" b="153" alpha="0.25"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Translate">
<input a0="H" a1="Vector[showfinal * u]"/>
<output a0="I"/>
</command>
<element type="list" label="I">
<show object="false" label="true"/>
<condition showObject="(G ≤ 1) ∧ (showfinal > 0) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="J" exp="(x(AB) - radius - 0.5, -5 * radius)" type="point" />
<element type="point" label="J">
<show object="false" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-2.0" y="-7.5" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="centerB" a1="J"/>
<output a0="w"/>
</command>
<element type="vector" label="w">
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-2.0" y="-3.75" z="0.0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="centerB"/>
</element>
<command name="Translate">
<input a0="circleB" a1="Vector[showfinal * w]"/>
<output a0="D"/>
</command>
<element type="conic" label="D">
<show object="true" label="false"/>
<condition showObject="(G > 1) ∧ (showfinal > 0) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="11.8125" A3="0.0" A4="0.0" A5="3.75"/>
<eqnStyle style="specific"/>
</element>
<command name="Translate">
<input a0="cutLCMB" a1="Vector[showfinal * w]"/>
<output a0="K"/>
</command>
<element type="list" label="K">
<show object="true" label="true"/>
<condition showObject="(G > 1) ∧ (showfinal > 0) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="L" exp="floor(LCMnumerator / LCMdenominator)" />
<element type="numeric" label="L">
<value val="0.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<expression label="M" exp="LCMnumerator - L * LCMdenominator" />
<element type="numeric" label="M">
<value val="7.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, radius°, centerB], Rotate[AB, (radius + 360 / LCMdenominator)°, centerB]]" a1="radius" a2="(LCMdenominator - LCMnumeratorB) * 360 / LCMdenominator" a3="360 / LCMdenominator * (M + LCMdenominator - LCMnumeratorB - 1)" a4="360 / LCMdenominator"/>
<output a0="N"/>
</command>
<element type="list" label="N">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Translate">
<input a0="N" a1="Vector[showfinal * v]"/>
<output a0="O"/>
</command>
<element type="list" label="O">
<show object="true" label="true"/>
<condition showObject="(G > 1) ∧ (showfinal > 0) ∧ b ≟ false"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="GCD">
<input a0="LCMnumerator" a1="LCMdenominator"/>
<output a0="P"/>
</command>
<element type="numeric" label="P">
<value val="1.0"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
</element>
<element type="boolean" label="b">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelOffset x="16" y="15"/>
<labelMode val="0"/>
<caption val="減法"/>
</element>
<command name="Translate">
<input a0="circleB" a1="Vector[showfinal * u]"/>
<output a0="C"/>
</command>
<element type="conic" label="C">
<show object="true" label="false"/>
<condition showObject="b ≟ true ∧ (showfinal > 0)"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="11.8125" A3="0.0" A4="0.0" A5="3.75"/>
<eqnStyle style="specific"/>
</element>
<command name="Translate">
<input a0="cutLCMB" a1="Vector[showfinal * u]"/>
<output a0="Q"/>
</command>
<element type="list" label="Q">
<show object="true" label="true"/>
<condition showObject="b ≟ true ∧ (showfinal > 0)"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, radius°, centerB], Rotate[AB, (radius + 360 / LCMdenominator)°, centerB]]" a1="radius" a2="LCMnumeratorB * 360 / LCMdenominator" a3="360 / LCMdenominator * (LCMnumeratorR - 1)" a4="360 / LCMdenominator"/>
<output a0="R"/>
</command>
<element type="list" label="R">
<show object="false" label="true"/>
<objColor r="153" g="255" b="0" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Translate">
<input a0="R" a1="Vector[showfinal * u]"/>
<output a0="S"/>
</command>
<element type="list" label="S">
<show object="true" label="true"/>
<condition showObject="b ≟ true ∧ (showfinal > 0)"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="CircleSector[centerB, Rotate[AB, radius°, centerB], Rotate[AB, (radius + 360 / denominatorB)°, centerB]]" a1="radius" a2="0" a3="360 / denominatorB * numeratorB - 360 / denominatorB" a4="360 / denominatorB"/>
<output a0="T"/>
</command>
<element type="list" label="T">
<show object="true" label="true"/>
<condition showObject="b ≟ true"/>
<objColor r="0" g="0" b="255" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="text7" exp=""+""/>
<element type="text" label="text7">
<show object="true" label="false"/>
<condition showObject="b ≟ false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="4.2" size="64" style="0"/>
<startPoint x="1.179999999999999" y="-2.539999999999996" z="1.0"/>
</element>
<expression label="text8" exp=""-""/>
<element type="text" label="text8">
<show object="true" label="false"/>
<condition showObject="b ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="false" sizeM="4.2" size="64" style="0"/>
<startPoint x="1.499999999999998" y="-2.379999999999993" z="1.0"/>
</element>
<command name="Translate">
<input a0="circleB" a1="Vector[showfinal * v]"/>
<output a0="U"/>
</command>
<element type="conic" label="U">
<show object="true" label="false"/>
<condition showObject="LCMnumerator / LCMdenominator ≟ 2"/>
<objColor r="153" g="0" b="153" alpha="0.5"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<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="11.8125" A3="0.0" A4="0.0" A5="3.75"/>
<eqnStyle style="specific"/>
</element>
<command name="Translate">
<input a0="cutLCMB" a1="Vector[showfinal * v]"/>
<output a0="V"/>
</command>
<element type="list" label="V">
<show object="true" label="true"/>
<condition showObject="LCMnumerator / LCMdenominator ≟ 2"/>
<objColor r="153" g="0" b="153" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="tfractionR" exp=""$ \frac{" + (LaTeX[numeratorR]) + "}{" + (LaTeX[denominatorR]) + "} $"" />
<element type="text" label="tfractionR">
<show object="true" label="false"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="2.0600000000000014" y="0.9399999999999995" z="1.0"/>
</element>
<expression label="tfactorR" exp=""$ \frac{×" + (LaTeX[LCMdenominator / denominatorR]) + "}{×" + (LaTeX[LCMdenominator / denominatorR]) + "} $"" />
<element type="text" label="tfactorR">
<show object="true" label="false"/>
<condition showObject="a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="2.800000000000001" y="0.9399999999999993" z="1.0"/>
</element>
<expression label="tLCMfractionR" exp=""$ =\frac{" + (LaTeX[LCMnumeratorR]) + "}{" + (LaTeX[LCMdenominator]) + "} $"" />
<element type="text" label="tLCMfractionR">
<show object="true" label="false"/>
<condition showObject="a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="4.060000000000004" y="0.9399999999999966" z="1.0"/>
</element>
<expression label="tfractionB" exp=""$ \frac{" + (LaTeX[numeratorB]) + "}{" + (LaTeX[denominatorB]) + "} $"" />
<element type="text" label="tfractionB">
<show object="true" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="2.0600000000000014" y="-3.060000000000004" z="1.0"/>
</element>
<expression label="tLCMfractionB" exp=""=\frac{" + (LaTeX[LCMnumeratorB]) + "}{" + (LaTeX[LCMdenominator]) + "}"" />
<element type="text" label="tLCMfractionB">
<show object="true" label="false"/>
<condition showObject="a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="4.060000000000001" y="-3.060000000000003" z="1.0"/>
</element>
<expression label="text2" exp=""$ =\frac{" + (LaTeX[LCMnumerator]) + "}{" + (LaTeX[LCMdenominator]) + "} $"" />
<element type="text" label="text2">
<show object="true" label="false"/>
<condition showObject="b ≟ false ∧ showfinal ≟ 1 ∧ a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="4.060000000000006" y="-6.060000000000017" z="1.0"/>
</element>
<expression label="text3" exp=""$ =\frac{" + (LaTeX[LCMnumerator / P]) + "}{" + (LaTeX[LCMdenominator / P]) + "} $"" />
<element type="text" label="text3">
<show object="true" label="false"/>
<condition showObject="b ≟ false ∧ showfinal ≟ 1 ∧ a ≟ true ∧ (P > 1)"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="6.060000000000004" y="-6.060000000000006" z="1.0"/>
</element>
<expression label="text9" exp=""$ = 1\frac{" + (LaTeX[LCMnumerator - LCMdenominator]) + "}{" + (LaTeX[LCMdenominator]) + "} $"" />
<element type="text" label="text9">
<show object="true" label="false"/>
<condition showObject="b ≟ false ∧ (LCMnumerator > LCMdenominator) ∧ showfinal ≟ 1 ∧ a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="7.559999999999997" y="-6.059999999999994" z="1.0"/>
</element>
<expression label="text5" exp=""$= \frac{" + (LaTeX[LCMnumeratorR - LCMnumeratorB]) + "}{" + (LaTeX[LCMdenominator]) + "} $"" />
<element type="text" label="text5">
<show object="true" label="false"/>
<condition showObject="b ≟ true ∧ showfinal ≟ 1 ∧ a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="4.060000000000002" y="-6.060000000000006" z="1.0"/>
</element>
<expression label="text6" exp=""$ =\frac{" + (LaTeX[(LCMnumeratorR - LCMnumeratorB) / P]) + "}{" + (LaTeX[LCMdenominator / P]) + "} $"" />
<element type="text" label="text6">
<show object="true" label="false"/>
<condition showObject="b ≟ true ∧ showfinal ≟ 1 ∧ a ≟ true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1.8" size="16" style="0"/>
<startPoint x="6.0600000000000005" y="-6.060000000000005" z="1.0"/>
</element>
<expression label="text1" exp=""(最小)公分母""/>
<element type="text" label="text1">
<show object="true" label="false"/>
<objColor r="0" g="204" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="4.479999999999998" y="-2.0199999999999965" z="1.0"/>
</element>
</construction>
</geogebra>