Chat with our AI personalities
The magnitude of an integer is the value of the integer with a positive (plus) sign. |5| = +5 = 5 |-5| = +5 = 5
It isn't always negative. ... for example: -5 + 12 = 7 (a positive number) -5 + 2 = -3 (a negative number) -5 + 5 = 0 (neither negative nor positive) If the negative number has greater magnitude than the positive number, the sum will be negative If the positive number has greater magnitude than the negative number, the sum will be positive If the negative and positive numbers have the same magnitude, the sum will be zero.
Not sure if you want just a positive and a negative integer, added or more info.2 positive integers a & b (easiest)a + b the result is positive.2 negative integers a & bAdd the magnitude of a and magnitude of b, the result is negative.Example -2 + -5 = -(2+5) = -(7) = -7a is positive, b is negative, take the difference of the magnitudes, thenif |a| (magnitude of a) greater than |b| (magnitude of b), the result is positive.if |a| (magnitude of a) less than |b| (magnitude of b), the result is negative.Example: 2 + -5 (the difference of magnitudes is 5-2 = 3The negative number has a bigger magnitude, so the answer is negative: -3-2 + 5The difference is still 3, but the positive number has bigger magnitude,so the result is positive: +3
The absolute value (magnitude) of -17 is greater than the absolute value (magnitude) of -5. -5 is considered to be greater (more positive) than -17.
Vectors have magnitude and direction. The magnitude is always a positive number.