Google Classroom
GeoGebraGeoGebra Classroom

Construct a Line

You can use the command-line input tool to create algebraic objects and/or geometric objects. Variables can be created and used by algebraic or geometric objects to illustrate mathematical concepts. For example, to draw a line algebraically by following these steps: 1) Declare a variable m and assign it the value 5 by typing m = 5 in the Input command window. 2) Repeat the process for creating a variable b and assigning it the value 10 by typing b = 10. 3) Type y = m * x + b. The line representing y = 5x + 10 shows up in the Geometry window. 4) Click on m and b in the Algebra Pane to bring a slider onto the Drawing Pad. Adjust the sliders to manipulate the equation of the line. Alternate Method: 1) Start by typing: y = m x + b, you will need to reply yes to create sliders. 2) You can adjust the sliders with the Move tool.