Complex nth Roots of Unity
2015-01-24 08:13
This applet demonstrates the geometric distribution of the complex nth roots of unity on the complex plane. By adjusting the parameter n, you can observe that the n roots are evenly distributed on the unit circle, forming the vertices of a regular n-gon. Using commands like Sequence, Circle, and Polygon, it visually illustrates the geometric meaning and symmetry of complex roots.
In collections
複數
Loading the GeoGebra board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="4.0" id="2f8e4473-a7f4-4e67-b511-a88bb27063da" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="800" height="600" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.25" 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="800" window="100,100,600,400" />
<view id="2" visible="false" inframe="true" stylebar="true" location="3" size="200" window="25,43,250,708" />
<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" />
</views>
<toolbar show="false" 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 , 14 66 68 | 25 52 60 61 || 40 41 42 , 27 28 35 , 6" />
<input show="false" cmd="true" top="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="12"/>
<graphicsSettings javaLatexFonts="false"/>
<consProtColumns col0="true" col1="true" col2="false" col3="true" col4="false" col5="true" col6="true" col7="false"/>
<consProtocol useColors="true" addIcons="false" showOnlyBreakpoints="false"/>
</gui>
<euclidianView>
<size width="800" height="550"/>
<coordSystem xZero="392.49613016499745" yZero="296.04350508956594" scale="106.89528696489086" yscale="106.84541518976594"/>
<evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="13" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="153" g="153" b="153"/>
<gridColor r="102" g="102" b="102"/>
<lineStyle axes="0" grid="10"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1.0"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" tickDistance="1.0"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<decimals val="1"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="n">
<value val="4.0"/>
<show object="true" label="true"/>
<objColor r="255" g="255" b="255" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="2" max="20" absoluteScreenLocation="true" width="100.0" x="30.0" y="50.0" fixed="false" horizontal="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="If">
<input a0="n > 0" a1="1" a2="-1"/>
<output a0="step"/>
</command>
<element type="numeric" label="step">
<value val="1.0"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<element type="point" label="z">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="3"/>
<labelOffset x="9" y="6"/>
<labelMode val="2"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.940208616194767" y="0.8240269826570813" z="1.0"/>
<coordStyle style="complex"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Sequence">
<input a0="z^(k)" a1="k" a2="1" a3="n" a4="step"/>
<output a0="zs"/>
</command>
<element type="list" label="zs">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<element type="image" label="picBG">
<file name="51908364a34cb7064ef4dc29219d5e96/blackboard_noframe.png"/>
<inBackground val="true"/>
<startPoint number="0" exp="Corner[1]"/>
<startPoint number="1" exp="Corner[2]"/>
<startPoint number="2" exp="Corner[4]"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
<selectionAllowed val="false"/>
</element>
<command name="Sequence">
<input a0="Segment[(0, 0), Element[zs, k]]" a1="k" a2="1" a3="Length[zs]"/>
<output a0="zsSeg"/>
</command>
<element type="list" label="zsSeg">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="1" type="10" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Sequence">
<input a0="Segment[Element[zs, k], Element[zs, k + 1]]" a1="k" a2="1" a3="Length[zs] - 1"/>
<output a0="zsSeg2"/>
</command>
<element type="list" label="zsSeg2">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="1" type="10" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<element type="point" label="O">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="O" a1="1"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="1" type="10" 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="-1.0" A3="0.0" A4="-0.0" A5="-0.0"/>
<eqnStyle style="specific"/>
</element>
<command name="Element">
<input a0="zs" a1="Length[zs]"/>
<output a0="zn"/>
</command>
<element type="point" label="zn">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="255" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-2.358981875851536" y="0.6352134868856509" z="1.0"/>
<coordStyle style="complex"/>
<pointSize val="7"/>
<pointStyle val="1"/>
</element>
<expression label="text2" exp=""z=" + (LaTeX[z]) + """ />
<element type="text" label="text2">
<show object="false" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" size="16" style="0"/>
<decimals val="1"/>
<absoluteScreenLocation x="544" y="41"/>
</element>
<expression label="text1" exp=""z^{" + (LaTeX[n]) + "}=" + (LaTeX[zn]) + """ />
<element type="text" label="text1">
<show object="false" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" size="16" style="0"/>
<decimals val="1"/>
<absoluteScreenLocation x="532" y="89"/>
</element>
<element type="point" label="PinZs">
<show object="false" label="true"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="0.2" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="w">
<show object="true" label="false"/>
<objColor r="255" g="215" b="0" alpha="0.0"/>
<layer val="4"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.0" y="1.0" z="1.0"/>
<coordStyle style="complex"/>
<pointSize val="7"/>
<pointStyle val="0"/>
</element>
<expression label="α" exp="Angle[w] / n" />
<element type="angle" label="α">
<value val="0.11591190225020152"/>
<show object="true" label="false"/>
<objColor r="0" g="100" b="0" alpha="0.1"/>
<layer val="4"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<arcSize val="30"/>
<allowReflexAngle val="true"/>
</element>
<expression label="r" exp="abs(w)^(1 / n)" />
<element type="numeric" label="r">
<value val="1.2228445449938519"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
</element>
<command name="Sequence">
<input a0="(r; α + 2 * k * π / n)" a1="k" a2="1" a3="n"/>
<output a0="ws"/>
</command>
<element type="list" label="ws">
<show object="true" label="false"/>
<objColor r="255" g="127" b="0" alpha="0.0"/>
<layer val="4"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Polygon">
<input a0="ws"/>
<output a0="wsPoly" a1="" a2="" a3="" a4=""/>
</command>
<element type="polygon" label="wsPoly">
<lineStyle thickness="1" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="255" g="255" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
</element>
<element type="boolean" label="showZn">
<value val="true"/>
<show object="true" label="true"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="4"/>
<labelOffset x="26" y="74"/>
<labelMode val="0"/>
<caption val="顯示 n 次方"/>
</element>
<command name="Sequence">
<input a0="Segment[O, Element[ws, k]]" a1="k" a2="1" a3="n"/>
<output a0="wsSegs"/>
</command>
<element type="list" label="wsSegs">
<show object="true" label="false"/>
<objColor r="255" g="153" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<lineStyle thickness="2" type="10" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
<command name="Segment">
<input a0="O" a1="w"/>
<output a0="wSeg"/>
</command>
<element type="segment" label="wSeg">
<show object="true" label="false"/>
<objColor r="255" g="255" b="0" alpha="0.0"/>
<layer val="4"/>
<labelMode val="0"/>
<selectionAllowed val="false"/>
<coords x="-1.0" y="2.0" z="0.0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="numeric" label="rLabel">
<value val="0.3"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="4"/>
<labelMode val="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<command name="Sequence">
<input a0="Text["z^{" + (If[step > 0, k, 2 + step * k]) + "}", Element[zs, k] + (rLabel; Angle[Element[zs, k]]) + PinZs, true, true]" a1="k" a2="1" a3="Length[zs]"/>
<output a0="zsLabel"/>
</command>
<element type="list" label="zsLabel">
<show object="true" label="false"/>
<condition showObject="showZn"/>
<objColor r="255" g="255" b="204" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<pointSize val="3"/>
<pointStyle val="-1"/>
</element>
</construction>
</geogebra>