Because the differential input capability of the AD532, algebraic solution of several interesting functions such as difference of squares, (X2-Y2)/10V is allowed. The following figure shows us about the configuration of AD532 in the square mode, with a simple unity gain inverter connected between one of the signal inputs (Y) and one of the inverting input terminals (-Yin) of the amplifier. For unity gain and best accuracy, the inverter should use precision (0.1%) resistors or be otherwise trimmed.

difference of squares circuit schematic