116k views
4 votes
Explain how you can use absolute value to tell wether the sum of two integers is positive or negative

1 Answer

7 votes

Explanation:

Using absolute value to tell wether the sum of two integers is positive or negative.

Suppose we have a positive integer,

x and a negative interger, -x and we want to find their sum, we take the absolute values of each of the integers, that is |x| and |-x|. Then we subtract these values: |x| - |-x|. If the larger integer is positive, the result of the difference is positive, but if the larger number is negative, the result of the difference is negative.

For any integer x, x + (-x) = 0

User Omuthu
by
6.6k points