3.1: Perform Signed Number Arithmetic
Learning Outcomes
- Add signed numbers.
- Subtract signed numbers.
- Multiply signed numbers.
- Divide signed numbers.
Even though negative numbers seem not that common in the real world, they do come up often when doing comparisons. For example, a common question is how much bigger is one number than another, which involves subtraction. In statistics we don’t know the means until we collect the data and do the calculations. This often results in subtracting a larger number from a smaller number which yields a negative number. Because of this and for many other reasons, we need to be able to perform arithmetic on both positive and negative numbers.
Adding Signed Numbers
We will assume that you are very familiar with adding positive numbers, but when there are negative numbers involved, there are some rules to follow:
- When adding two negative numbers, ignore the negative signs, add the positive numbers and then make the result negative.
- When adding two numbers such that one is positive and the other is negative, ignore the sign, subtract the smaller from the larger. If the larger of the positive numbers was originally negative, then make the result negative. Otherwise keep the result positive.
Example 3.1.1
Add:
Solution
First we ignore the signs and add the positive numbers.
Next we make the result negative.
Example 3.1.2
Add:
Solution
Since one of the numbers is positive and the other is negative, we subtract:
Of the two numbers, 2 and 5, 5 is the larger one and started positive. Hence we keep the result positive:
Subtracting Numbers
Subtraction comes up often when we want to find the width of an interval in statistics. Here are the cases for subtracting: :
- If , then this is just ordinary subtraction.
- If , then find and make the result negative.
- If , then make both positive, add the two positive numbers and make the result negative.
- If then you use the rule that subtracting a negative number is the same as adding the positive number.
Example 3.1.3
Evaluate
Solution
Since 9 is bigger than 5, we subtract:
Next, we make the result negative to get:
Example 3.1.4
Evaluate
Solution
We are in the case . Therefore, we first make both positive and add the positive numbers.
The final step is to make the answer negative to get
Example 3.1.5: Uniform distributions
In statistics, we call a distribution Uniform if an event is just as likely to be in any given interval within the bounds as any other interval within the bounds as long as the intervals are both of the same width. Finding the width of a given interval is usually the first step in solving a question involving uniform distributions. Suppose that the temperature on a winter day has a Uniform distribution on [-8,4]. Find the width of this interval
Solution
To find the width of an interval, we subtract the left endpoint from the right endpoint:
Since we are subtracting a negative number, the “-” signs become addition:
Thus the width of the interval is 12.
Multiplying and Dividing Signed Numbers
When we have a multiplication or division problem, we just remember that two negatives make a positive. So if there are an even number of negative numbers that are multiplied or divided, the result is negative. If there are an odd number of negative numbers that are multiplied or divided, the result is positive.
Example 3.1.6
Perform the arithmetic:
Solution
First, just ignore all of the negative signs and multiply the numerator and denominator separately:
Now divide:
Finally, notice that there are four negative numbers in the original multiplication and division problem. Four is an even number, so the answer is positive:
Example 3.1.7
A confidence interval for the population mean difference in books read per year by men and women was was found to be [-4,1]. Find the midpoint of this interval.
Solution
First recall that to find the midpoint of two numbers, we add then and then divide by 2. Hence, our first step is to add -4 and 1. Since 1 is positive and -4 is negative, we first subtract the two numbers:
Of the two numbers, 4 and 1, 4 is the larger one and started negative. Hence we change the sign to negative::
The final step in finding the midpoint is to divide by 2. First we divide them as positive numbers:
Since the original quotient has a single negative number (an odd number of negative numbers), the answer is negative. Thus the midpoint of -4 and 1 is -1.5.
Exercise
VIDEO RESOURCES
SECTION WRAP-UP