Linear Functions: Input Variable x and Output Variable y
Loading the math board and drawing, please wait…
This example demonstrates how to plot the graph of a linear function using the input variable x and the output variable y. The core mathematical concepts involved include linear functions, coordinate geometry, and function graphs. Key GeoGebra commands and objects used in the construction are Random, RandomElement, Simplify, Textfield, If, Invert, Coefficients, CoordPointertoAxes6, Min; objects include list1, bneg, bpos, aneg, linf_4, linf_2, apos, linf_3, linf_1, listfn, n, linf, input1x, xval, input2y, count, InputBox1, InputBox2, button1, checkedanswer, answercorrecty, list2, button2, linfinv, yval, text9, text10, text12, list3, answercorrectx, text2, P_{xgiven}, P_{ygiven}, A, B, text5, text6, text7, text8, text14. It is suitable for middle school students and above to review and consolidate their understanding of linear functions.
GeoGebra Commands & Parameters
Random(-4, -1) → bnegRandom(1, 5) → bposRandom(-5, -1) → anegRandom(1, 5) → aposRandomElement(list1) → nSimplify(Element[listfn, n]) → linfRandom(-4, 4) → xvalTextfield(input1x) → InputBox1Textfield(input2y) → InputBox2If(linf(xval) ≟ input2y(0), true, false) → answercorrectyInvert(linf) → linfinvRandom(-3, 4) → yvalCoefficients(linf) → list3If(linfinv(yval) ≟ input1x(0), true, false) → answercorrectxCoordPointertoAxes6(P_{ygiven}) → A, B, text5, text6, text7, text8, text14, u, vCoordPointertoAxes6(P_{xgiven}) → C, D, text15, text16, text17, text18, text19, w, aMin(Min[Min[yval, linf(xval)], -3] - abs((Min[yval, linf(xval)] * 0.5)), -3) → yMin