A parallelogram ABCD is shown. You can drag corners A, B, and D; corner C moves automatically to keep the shape a parallelogram. The two adjacent sides have lengths a (side AB) and b (side AD). The two diagonals are AC and BD. The parallelogram law says the sum of the squares of the diagonals equals twice the sum of the squares of the two sides: AC squared plus BD squared equals two times the quantity a squared plus b squared. Both sides of this equation are computed live and stay equal. An info button opens a drawer with the explanation.