Here we take line to be an abbreviation for a straight line.
Euclidean line
A Euclidean line is a Euclidean space of dimension 1, denoted E1. It is a geometric space in which only one real numbers is required to determine the position of each point.
It consists of all the points along it.
If we have two distinct points A and B, then there exists one and only one line that passes through both points.
Slope
The slope is the ratio of Δy to Δx and is commonly denoted with the letter m.
Parallel lines have equivalent slopes but differ only where they intercept the y-axis.
Perpendicular lines
L1 and L2 are perpendicular if and only if m1=−m21=−m2−1. Or equivalently m2=−m1−1 and m1⋅m2=−1.
\begin{document}
\begin{tikzpicture}[scale=0.8]
\begin{scope}
% Draw axes
\draw[thin] (-1,0) — (4,0) node[right] {x};
\draw[thin] (0,-1) — (0,6) node[above] {y};
% Add tick marks
\foreach \y in {0,1,2,3,4,5}
\draw (-0.1,\y) — (0.1,\y);
\foreach \x in {0,1,2,3}
\draw (\x,-0.1) — (\x,0.1);
% Draw perpendicular lines (slope 1 and -1)
\draw[red, thick] (0,0) — (4,4);
\draw[blue, thick] (0,4) — (4,0);
% Add right angle symbol at intersection (2,2), rotated 45 degrees counterclockwise
\begin{scope}[shift={(2,2)}, rotate=45]
\draw (0,0.4) — (0.4,0.4) — (0.4,0);
\end{scope}
% Add angle label
\node at (2.2,3) {90∘};
% Add title
\node[right] at (1.5,6) {Perpendicular Lines};
\end{scope}
\end{tikzpicture}
\end{document}
Perpendicular lines have a slope that is the negative reciprocal of the partner line.
Ray
If we take a line and some PointA on it, we can consider the line as split into two at the point A. Each part is known as a ray. The starting point i.e. A is known as the vertex and the ray consists of all the points along the half-line including A.
Line segment
A line segment is part of a straight line that is bounded by two endpoints. It consists of all the points along that line including the endpoints.