13. Differences in mathematical and logical operator Mathematical operators perform mathematical operations such as plus or substract. Relational operators perform element-by-element comparisons between two arrays. Logical operators perform logical operations such as checking the condition of two Boolean values.