You can enter a line as a linear equation in x and y or in parametric form into the Input Bar. In both cases previously defined variables (e. g. numbers, points, vectors) can be used within the equation.
Note: You can enter a line’s name at the beginning of the input followed by a colon.
Examples:
· Type in g: 3x + 4y = 2 to enter line g as a linear equation.
·
Define a parameter t (e. g., t = 3)
before entering line g in parametric
form using
g: X = (-5, 5) + t (4, -3).
·
Define the parameters m
= 2 and b = -1.
Then, you can enter the equation
h: y = m*x + b to get a
line h in y-intercept-form.
The two coordinate axes are available in commands using the names xAxis and yAxis.
Example: The command Perpendicular[A, xAxis] constructs the perpendicular line to the x-axis through a given point A.