The following schematic diagram shows a squaring circuit.  Basically, this circuit is a simple variation of  multiplier circuit. However, the differential input capability of the AD532 can be used to obtain a positive or negative output response to the input. This circuit has useful feature which is suitable for control applications, as it might eliminate the need for an additional inverter somewhere else.
square circuit schematic