Graphing Linear Functions and Exploring Parameters
2020-05-24 15:08
This applet demonstrates the graphing of linear functions in the form $y=kx+b$ and explores how the parameters $k$ (slope) and $b$ (y-intercept) affect the graph. Users can dynamically adjust the values of $k$ and $b$ via input boxes to observe the changes in the function's graph, providing an intuitive understanding of the properties and characteristics of linear functions.
In collections
初中函数
Loading the GeoGebra board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.583.0" app="classic" platform="w" id="E3689306-0F1F-4A17-B099-DAE29A97CF83" xsi:noNamespaceSchemaLocation="https://ggb123.cn/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1368" height="591" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.2777777777777778" 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 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,0" size="198" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="980" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="false" location="3" size="380" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="3" size="300" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="480" 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="241" window="100,100,700,550" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" 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="true" items="0 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="true" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="16"/>
<consProtColumns col0="true" col1="true" col2="false" col3="true" col4="false" col5="true" col6="true" col7="false"/>
<consProtocol useColors="false" addIcons="false" showOnlyBreakpoints="false"/>
<consProtNavigationBar id="1" playButton="true" playDelay="2" protButton="true" consStep="36"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="980" height="459"/>
<coordSystem xZero="513.5667914571873" yZero="259.8545580038742" scale="30.795719100621852" yscale="30.79571910062178"/>
<evSettings axes="true" grid="true" 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="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<spreadsheetView>
<size width="0" height="0"/>
<prefCellSize width="70" height="24"/>
<selection hScroll="0" vScroll="0" column="0" row="0"/>
</spreadsheetView>
<algebraView>
<mode val="1"/>
<collapsed val="4"/>
</algebraView>
<kernel>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="3"/>
<angleUnit val="degree"/>
<algebraStyle val="3" spreadsheet="0"/>
<coordStyle val="0"/>
<startAnimation val="true"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="一次函数作图" author="" date="">
<expression label="A1" exp=""x""/>
<element type="text" label="A1">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="A2" exp=""y""/>
<element type="text" label="A2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="B1" exp=""...""/>
<element type="text" label="B1">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="B2" exp=""...""/>
<element type="text" label="B2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="C1" exp="-2"/>
<element type="numeric" label="C1">
<value val="-2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<expression label="D1" exp="-1"/>
<element type="numeric" label="D1">
<value val="-1"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="E1">
<value val="0"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="F1">
<value val="1"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="G1">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<expression label="H1" exp=""...""/>
<element type="text" label="H1">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="H2" exp=""...""/>
<element type="text" label="H2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<expression label="k" exp="2"/>
<element type="numeric" label="k">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" x="5" y="324" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
</element>
<expression label="b" exp="-2"/>
<element type="numeric" label="b">
<value val="-2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelOffset x="-44" y="9"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" x="5" y="282" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="true"/>
</element>
<command name="Textfield">
<input a0="k"/>
<output a0="InputBox1"/>
</command>
<element type="textfield" label="InputBox1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelOffset x="128" y="175"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<length val="4"/>
<caption val="k="/>
</element>
<command name="Textfield">
<input a0="b"/>
<output a0="InputBox2"/>
</command>
<element type="textfield" label="InputBox2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelOffset x="213" y="175"/>
<labelMode val="0"/>
<auxiliary val="true"/>
<length val="4"/>
<caption val="b="/>
</element>
<element type="numeric" label="n">
<value val="5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="5" absoluteScreenLocation="true" width="200" x="-1" y="140" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="2" type="3" playing="false"/>
<ggbscript onUpdate="
"/>
</element>
<expression label="C4" exp="1"/>
<element type="numeric" label="C4">
<value val="1"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<expression label="D4" exp="2"/>
<element type="numeric" label="D4">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="E4">
<value val="3"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="F4">
<value val="4"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<element type="numeric" label="G4">
<value val="5"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-5" max="5" absoluteScreenLocation="true" width="200" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="2" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
</element>
<command name="Text">
<input a0="If[n ≥ C4, (k * C1) + b, ""]"/>
<output a0="C2"/>
</command>
<element type="text" label="C2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<command name="Text">
<input a0="If[n ≥ D4, (k * D1) + b, ""]"/>
<output a0="D2"/>
</command>
<element type="text" label="D2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<command name="Text">
<input a0="If[n ≥ E4, (k * E1) + b, ""]"/>
<output a0="E2"/>
</command>
<element type="text" label="E2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<command name="Text">
<input a0="If[n ≥ F4, (k * F1) + b, ""]"/>
<output a0="F2"/>
</command>
<element type="text" label="F2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<command name="Text">
<input a0="If[n ≥ G4, (k * G1) + b, ""]"/>
<output a0="G2"/>
</command>
<element type="text" label="G2">
<show object="false" label="false" ev="8"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="true"/>
</element>
<command name="TableText">
<input a0="{{A1, B1, C1, D1, E1, F1, G1, H1}, {A2, B2, C2, D2, E2, F2, G2, H2}}" a1=""|_llllllll""/>
<output a0="text1"/>
</command>
<element type="text" label="text1">
<show object="true" label="false" ev="8"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<bgColor r="191" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="false" sizeM="1" size="0" style="0"/>
<absoluteScreenLocation x="107" y="97"/>
<ggbscript val=""/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="234" b="205" alpha="255"/>
<layer val="0"/>
<labelOffset x="98" y="307"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="StartAnimation(n,true)"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="列表"/>
</element>
<element type="numeric" label="i">
<value val="2"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-3" max="2" absoluteScreenLocation="true" width="200" x="3" y="167" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="2" type="3" playing="false"/>
</element>
<command name="Sequence">
<input a0="(t, (k * t) + b)" a1="t" a2="-2" a3="i"/>
<output a0="l1"/>
</command>
<element type="list" label="l1">
<show object="true" label="false"/>
<objColor r="0" g="100" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<angleStyle val="0"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="204" g="255" b="102" alpha="255"/>
<layer val="0"/>
<labelOffset x="174" y="309"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="StartAnimation(i,true)"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="描点"/>
</element>
<element type="numeric" label="a">
<value val="2.3"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-2.3" max="2.3" absoluteScreenLocation="true" width="200" x="11" y="197" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.01" speed="2" type="3" playing="false"/>
</element>
<expression label="f" exp="f(x) = If[-2.3 ≤ x ≤ a, (k * x) + b]" />
<element type="function" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="204" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<ggbscript onUpdate=""/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
</element>
<element type="button" label="button3">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="102" g="255" b="0" alpha="255"/>
<layer val="0"/>
<labelOffset x="257" y="311"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="StartAnimation(a,true)"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="连线"/>
</element>
<element type="button" label="button4">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="0" b="0" alpha="255"/>
<layer val="0"/>
<labelOffset x="812" y="405"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="SetValue(n,0)
SetValue(i,-3)
SetValue(a,-2.3)
StartAnimation(n,false)
StartAnimation(i,false)
StartAnimation(a,false)"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="复位"/>
</element>
<expression label="text2" exp=""" + (LaTeX[Text[y = (k * x) + b]]) + """ />
<element type="text" label="text2">
<show object="true" label="false" ev="40"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<bgColor r="255" g="239" b="213" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="1" size="0" style="1"/>
<startPoint x="-12.220473850999515" y="1.3480963674843347" z="1"/>
</element>
<expression label="text3" exp=""一次函数作图""/>
<element type="text" label="text3">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="0" b="0" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<isLaTeX val="true"/>
<font serif="true" sizeM="2" size="16" style="1"/>
<startPoint x="-13.007223184117784" y="8.08081659631873" z="1"/>
</element>
</construction>
</geogebra>