绝对值函数的平移变换
几何画板及绘图内容加载中,请稍等……
本范例演示了绝对值函数的平移变换。核心数学概念包括函数变换、平移。通过GeoGebra命令如Sequence、If、Textfield等构造,用户可以直观地观察函数图像的变化。适合高中数学教学和学习。
GeoGebra 命令及参数
UnicodeToLetter(8226) → bulletRandom(-3, 3) → cValRandom(1, 10) → aValIndxElement(aValOptions, aValIndx) → aValSequence((12, i), i, 21, 0, -3.8) → boxAnchorRightUnicodeToLetter(10007) → xmarkUnicodeToLetter(10003) → cmarkIf(F11, (("\textcolor{#1B5E20}{" * cmark) * "}"), (("\textcolor{#d32f2f}{" * xmark) * "}")) → G11If(F12, (("\textcolor{#1B5E20}{" * cmark) * "}"), (("\textcolor{#d32f2f}{" * xmark) * "}")) → G12If(F13, (("\textcolor{#1B5E20}{" * cmark) * "}"), (("\textcolor{#d32f2f}{" * xmark) * "}")) → G13If(F14, (("\textcolor{#1B5E20}{" * cmark) * "}"), (("\textcolor{#d32f2f}{" * xmark) * "}")) → G14If(F15, correct, incorrect) → G15If(F16, correct, incorrect) → G16LaTeX("\text{Vertical translation\hphantom{00000000} by a factor of }") → E14LaTeX("\text{Horizontal translation\hphantom{00000000} by a factor of }") → E13LaTeX("\text{Vertical\hphantom{00000000000000} by a factor of }") → E12LaTeX("\text{Reflection in the \(x\)-axis?}") → E15LaTeX("\text{Horizontal stretch?}") → E11LaTeX("\text{Reflection in the \(y\)-axis?}") → E16LaTeX(Expand[f]) → fTxtTextfield(F4) → E4Textfield(F5) → E5Textfield(F6) → E6Textfield(F7) → E7Sequence("\phantom{\dfrac{1}{2}vertical compression000000000}", i, 1, 6) → spacersDropDownLaTeX(If[aVal < 0, (bullet * " Reflection in the \(x\)-axis. \\"), ""]) → fbReflectionLaTeX(If[abs(aVal) ≟ 1, "", If[abs(aVal) > 1, (((bullet * " Vertical stretch by a factor of ") * abs(aVal)) * ". \\"), (((bullet * " Vertical compression by a factor of ") * abs(1 / aVal)) * ". \\")]]) → fbvStretchLaTeX(If[abs(cVal) ≟ 0, "", (((((((bullet * " Horizontal translation ") * If[cVal < 0, "left", "right"]) * " by ") * abs(cVal)) * " unit") * If[abs(cVal) > 1, "s", ""]) * ".\\")]) → fbhTransLaTeX(If[abs(dVal) ≟ 0, "", (((((((bullet * " Vertical translation ") * If[dVal < 0, "down", "up"]) * " by ") * abs(dVal)) * " unit") * If[abs(dVal) > 1, "s", ""]) * ".\\")]) → fbvTransIf(B6, If[SelectedIndex[hShiftLst] ≟ 1, G6, If[SelectedIndex[hShiftLst] ≟ 2, (-G6), 1]], 0) → userCIf(B7, If[SelectedIndex[vShiftLst] ≟ 1, G7, If[SelectedIndex[vShiftLst] ≟ 2, (-G7), 1]], 0) → userDPolygon({(left, top), (right, top), (right, bottom), (left, bottom)}) → viewboxSegment(Element[legendAnchors, 1], Element[legendAnchors, 1] + (3, 0)) → legendFSegment(Element[legendAnchors, 2], Element[legendAnchors, 2] + (3, 0)) → legendHTableText({A2:A7, spacersDropDown, C2:C7}, "vr") → tblQuestionsLaTeX(((((("\text{One possible solution is given below:\\" * fbReflection) * fbvStretch) * fbhTrans) * fbvTrans) * "}")) → fbCompleteLaTeX((((("\text{\textbf{Question: }" * MainInstruc) * "\\\textbf{Instructions: }") * SpecInstruc) * "}")) → allInstrucPolygon({(left, bottom), (left, top), (right, top), (right, bottom)}) → viewboxCover