二维向量的内积交互演示
2020-03-10 00:32
本 GeoGebra 范例直观演示了二维向量的内积(点积)概念。通过交互式界面,用户可以调整向量的方向和长度,实时观察向量夹角 α 的变化及其对内积结果的影响。范例结合了几何作图与代数计算,利用圆、直线、旋转和长度测量等命令构建向量投影,帮助学习者深入理解向量内积的几何意义与计算公式。
所属专题
中职数学GeoGebra互动教学资源库
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.574.0" app="classic" platform="w" id="9003e577-cf33-44c5-b5f8-57a665faf48a" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1356" height="582" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="1" 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 | 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 , 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="1" visible="true" inframe="false" stylebar="true" location="3" size="1356" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="251" window="100,100,600,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="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="4097" visible="false" inframe="false" stylebar="true" location="1" size="175" 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" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" 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="0"/>
<font size="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1355" height="581"/>
<coordSystem xZero="533.9999999999999" yZero="335.9999999999999" scale="49.999999999999986" yscale="50.00000000000003"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<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="0"/>
<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="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="numeric" label="ma">
<value val="4"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="0" max="10" absoluteScreenLocation="true" width="180" x="28" y="65" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<caption val="$\large 向量a的模=%v$"/>
</element>
<element type="numeric" label="mb">
<value val="5"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="3"/>
<slider min="0" max="10" absoluteScreenLocation="true" width="180" x="28" y="115" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<caption val="$\large 向量b的模=%v$"/>
</element>
<element type="angle" label="jab">
<angleStyle val="3"/>
<value val="0.9424777960769379"/>
<slider min="0°" max="6.283185307179586" absoluteScreenLocation="true" width="180" x="29" y="167" fixed="false" horizontal="true" showAlgebra="true"/>
<show object="true" label="false" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="3"/>
<lineStyle thickness="10" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
<animation step="1°" speed="1" type="0" playing="false"/>
</element>
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-47" y="8"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="3.74" y="-2.32" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<caption val="$\Huge %n$"/>
</element>
<element type="point" label="B">
<show object="true" label="false" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="1.32" y="2.08" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="B" a1="ma"/>
<output a0="c"/>
</command>
<element type="conic" label="c">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-9.9312" A3="0" A4="-1.32" A5="-2.08"/>
<eqnStyle style="specific"/>
</element>
<element type="point" label="C">
<show object="true" label="false" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.42" y="2" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Circle">
<input a0="C" a1="mb"/>
<output a0="d"/>
</command>
<element type="conic" label="d">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-15.1436" A3="0" A4="-2.42" A5="-2"/>
<eqnStyle style="specific"/>
</element>
<command name="Point">
<input a0="d"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="true" label="false" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="7.146470823637992" y="3.6310958136476206" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="C" a1="D"/>
<output a0="b"/>
</command>
<element type="vector" label="b">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-16" y="-14"/>
<labelMode val="3"/>
<coords x="4.726470823637992" y="1.6310958136476206" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="C"/>
<caption val="$\Huge \overrightarrow{%n}$"/>
</element>
<command name="Rotate">
<input a0="b" a1="jab"/>
<output a0="u'"/>
</command>
<element type="vector" label="u'">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<coords x="1.4585656128303135" y="4.782529284078554" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="C"/>
</element>
<command name="Line">
<input a0="B" a1="u'"/>
<output a0="f"/>
</command>
<element type="line" label="f">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<coords x="-4.782529284078554" y="1.4585656128303135" z="3.279122180296639"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="c" a1="f" a2="2"/>
<output a0="E"/>
</command>
<element type="point" label="E">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<coords x="2.486852490264251" y="5.906023427262843" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="B" a1="E"/>
<output a0="a"/>
</command>
<element type="vector" label="a">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-46" y="8"/>
<labelMode val="3"/>
<coords x="1.1668524902642508" y="3.826023427262843" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="B"/>
<caption val="$\Huge \overrightarrow{%n}$"/>
</element>
<command name="Translate">
<input a0="b" a1="A"/>
<output a0="b_1"/>
</command>
<element type="vector" label="b_1">
<show object="true" label="true" ev="4"/>
<condition showObject="h"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-15" y="28"/>
<labelMode val="3"/>
<coords x="4.726470823637992" y="1.6310958136476206" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="A"/>
<caption val="$\Huge \overrightarrow{%n}$"/>
</element>
<command name="Translate">
<input a0="a" a1="A"/>
<output a0="a_1"/>
</command>
<element type="vector" label="a_1">
<show object="true" label="true" ev="4"/>
<condition showObject="h"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-30" y="-17"/>
<labelMode val="3"/>
<coords x="1.1668524902642508" y="3.826023427262843" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="A"/>
<caption val="$\Huge \overrightarrow{%n}$"/>
</element>
<expression label="njab" exp="((ma * mb) * cos(jab))" />
<element type="numeric" label="njab">
<value val="11.755705045849464"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<command name="Length">
<input a0="b"/>
<output a0="e"/>
</command>
<element type="numeric" label="e">
<value val="5"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
</element>
<expression label="text1" exp=""\left| \overrightarrow{b} \right| =" + (LaTeX[Length[b]]) + """ />
<element type="text" label="text1">
<show object="true" label="true" 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.4" size="5" style="1"/>
<absoluteScreenLocation x="305" y="223"/>
</element>
<expression label="text2" exp=""\left| \overrightarrow{a} \right| =" + (LaTeX[Length[a]]) + """ />
<element type="text" label="text2">
<show object="true" label="true" 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.4" size="5" style="1"/>
<absoluteScreenLocation x="166" y="231"/>
</element>
<expression label="text3" exp=""cos<\overrightarrow{a},\overrightarrow{b}>=cos" + (LaTeX[jab]) + "=" + (LaTeX[cos(jab)]) + """ />
<element type="text" label="text3">
<show object="true" label="true" 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.4" size="5" style="1"/>
<startPoint x="-7.360000000000002" y="1.2599999999999971" z="1"/>
</element>
<command name="If">
<input a0="jab > 180°" a1="360° - jab" a2="jab"/>
<output a0="jj"/>
</command>
<element type="angle" label="jj">
<angleStyle val="3"/>
<value val="0.9424777960769379"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<expression label="text5" exp=""向量的内积""/>
<element type="text" label="text5">
<show object="true" label="true" ev="40"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="12" style="1"/>
<absoluteScreenLocation x="276" y="35"/>
</element>
<expression label="α" exp="°"/>
<element type="angle" label="α">
<angleStyle val="3"/>
<value val="0.017453292519943295"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
<animation speed="1" type="0" playing="false"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="34" y="236"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(jab,0°)"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<caption val="同向"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="34" y="286"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(jab,90°)"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<caption val="垂直"/>
</element>
<element type="button" label="button3">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="34" y="336"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(jab,270°)"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<caption val="垂直"/>
</element>
<element type="button" label="button4">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="34" y="386"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(jab,180°)"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<caption val="逆向"/>
</element>
<expression label="txtjj" exp=""向量a与b的夹角=" + (LaTeX[jj]) + """ />
<element type="text" label="txtjj">
<show object="true" label="true" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="3"/>
<fixed val="true"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1.4" size="5" style="0"/>
<absoluteScreenLocation x="22" y="129"/>
</element>
<expression label="txtnj" exp=""\overrightarrow{a}∙\overrightarrow{b}
=\left| \overrightarrow{a} \right| × \left| \overrightarrow{b} \right| ×cos<\overrightarrow{a},\overrightarrow{b}>\\
=" + (LaTeX[ma]) + "×" + (LaTeX[mb]) + "×" + (LaTeX[If[jj > 90°, "(", ""]]) + "" + (LaTeX[cos(jab)]) + "" + (LaTeX[If[jj > 90°, ")", ""]]) + "\\
=" + (LaTeX[((ma * mb) * cos(jab))]) + """ />
<element type="text" label="txtnj">
<show object="true" label="true" ev="8"/>
<condition showObject="g"/>
<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.4" size="5" style="1"/>
<absoluteScreenLocation x="162" y="401"/>
</element>
<element type="boolean" label="g">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="142" y="361"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="内积"/>
</element>
<element type="boolean" label="h">
<value val="false"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="568" y="306"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
<caption val="平移向量"/>
</element>
</construction>
</geogebra>