Calcule a distância entre os pontos $A( \style{color:red;}{1}, \style{color:blue;}{-1})$ e $B(\style{color:green;}{-2}, \style{color:orange;}{3})$.
Aplicando a fórmula temos:
$d_{AB}=\sqrt[]{(\style{color:green;}{x_{b}}-\style{color:red;}{x_{a}})^{2}+(\style{color:orange;}{y_{b}}-\style{color:blue;}{y_{a}})^{2}}$
$d_{AB}=\sqrt[]{(\style{color:green;}{-2}-\style{color:red;}{1})^{2}+[\style{color:orange;}{3}-\style{color:blue;}{(-1)}]^{2}}$
$d_{AB} = \sqrt[]{(-3)^{2}+[3+1]^{2}}$
$d_{AB} = \sqrt[]{9+16}$
$d_{AB}= \sqrt[]{25}$
$d_{AB}=5$
5