Κώδικας: Επιλογή όλων
\begin{tikzpicture}
\draw[-> , line width=1.6pt] (-3, 0) -- (3.5, 0);
\draw[fill=black] (-2.5, 0) circle(2pt) node[below]{$\alpha$};
\draw[fill=black] (-1.5, 0) circle(2pt) node[below]{$x_1$};
\draw[fill=black] (1, 0) circle(2pt) node[below]{$x_2$};
\draw[fill=black] (2.5, 0) circle(2pt) node[below]{$\beta$};
\draw[-> , dashed] (-2, -1) -- (-2, -0.3);
\draw (-2, -1) node[below]{$\scriptstyle\frac{2}{9} \cdot (\beta - \alpha)$};
\draw[-> , dashed] (-0.25, -1) -- (-0.25 , -0.3);
\draw (-0.25, -1) node[below]{$\scriptstyle \frac{3}{9} \cdot (\beta - \alpha)$};
\draw[-> , dashed] (1.75, -1) -- (1.75 , -0.3);
\draw (1.75, -1) node[below]{$\scriptstyle \frac{4}{9} \cdot (\beta - \alpha)$};
\end{tikzpicture}