Let ABCD be a square. Extend the diagonal AC, on the side of A, by a segment AP of length 2. Determine the side of the square so that
PA2+PB2+PC2+PD2=20.
Solution
Place A(0;0), B(ℓ;0), C(ℓ;ℓ), D(0;ℓ), with side ℓ. The diagonal AC has direction (1;1)/2; P is beyond A, opposite to C, at distance 2: P=(−2;−2).
The four squares:
PA2=2,PB2=(ℓ+2)2+2,PD2=2+(ℓ+2)2,PC2=(2+ℓ2)2.
Summing:
PA2+PB2+PC2+PD2=16+4ℓ2+82ℓ.
Imposing =20:
4ℓ2+82ℓ−4=0⟹ℓ2+22ℓ−1=0⟹ℓ=3−2.
(the negative root is discarded). Hence
ℓ=3−2≈0,318.