Let B be a point with coordinate vector . Let , be the equation of a line.

1) Show that the square of the distance from B to an arbritrary point on the line is given by:

2) Find the shortest distance between the point B and the line by minimising

3) If P is the point on the line closest to B, show that:

, and show that is orthogonal to the direction of the line