Sub topic 8
Sign Rules for Products and Quotients
This chapter assumes you can classify numbers as positive, negative, or zero and multiply and divide signed numbers. It also assumes you know that division by zero is undefined. The goal is to go from "I remember that two negatives make a positive" to reading signs off an expression quickly and reasoning backward from a known sign to the signs of the factors.
The Core Rules
Multiplication and division follow the same sign rules, because dividing by a nonzero number is the same as multiplying by its reciprocal, and a number and its reciprocal always share a sign.
| Operation | Result sign |
|---|---|
| positive × positive | positive |
| negative × negative | positive |
| positive × negative | negative |
| any number × 0 | 0 |
| positive ÷ positive | positive |
| negative ÷ negative | positive |
| positive ÷ negative, or negative ÷ positive | negative |
| 0 ÷ any nonzero number | 0 |
| any number ÷ 0 | undefined |
A short way to remember this: same signs give positive, different signs give negative, and zero gives zero.
The code below prints the sign of every product of a negative number, zero, and a positive number. Check each line against the table.
def sign(n):
if n > 0:
return "+"
if n < 0:
return "-"
return "0"
for a in (-2, 0, 3):
for b in (-5, 0, 4):
print(a, b, sign(a * b))Products of Many Factors
Real problems rarely stop at two factors. To find the sign of a longer product, apply one two-step test:
- If any factor is zero, the product is zero.
- Otherwise, count the negative factors. An odd count gives a negative product. An even count gives a positive product.
Each negative factor flips the sign once, and positive factors never flip it. Two flips cancel, so only the parity of the number of flips matters. This is where parity from the earlier chapters reappears in sign reasoning.
The code below checks this rule against actual products.
from math import prod
def predicted_sign(values):
if 0 in values:
return "0"
negatives = sum(1 for v in values if v < 0)
return "-" if negatives % 2 == 1 else "+"
samples = [[-2, 3, -4], [-1, -1, -1, 5], [7, 0, -3], [2, 3, 4]]
for s in samples:
p = prod(s)
actual = "+" if p > 0 else "-" if p < 0 else "0"
print(s, predicted_sign(s), actual)In every row the predicted sign and the actual sign match. For [-1, -1, -1, 5], three negatives is odd, so the product is negative. The product is -5.
The rule only needs signs, not magnitudes. You never need to multiply 2 × 3 × 4 to know the product of [-2, 3, -4] is positive.
Quotients
A quotient follows the same sign rules, with one extra concern: the denominator can never be zero.
from fractions import Fraction
def sign(n):
return "+" if n > 0 else "-" if n < 0 else "0"
for a, b in [(6, -3), (-6, -3), (0, -3), (5, 0)]:
if b == 0:
print(a, b, "undefined")
else:
q = Fraction(a, b)
print(a, b, q, sign(q))The output shows that 6 ÷ (-3) is negative, (-6) ÷ (-3) is positive, 0 ÷ (-3) is zero, and 5 ÷ 0 is undefined.
Two facts about quotients come up constantly:
- A fraction is zero only when its numerator is zero (and its denominator is not). The fraction (x - 4)/(y + 1) equals zero exactly when x = 4 and y ≠ -1.
- x/y has the same sign as xy whenever y ≠ 0. The reason is that x/y = (xy)/y², and y² is positive for every nonzero y. So you can freely swap a quotient for a product when you only need a sign.
Chained quotients work like chained products. In a/(b·c) or (a·b)/(c·d), count the negative symbols across the entire numerator and denominator together. An odd total gives a negative result. This is valid because dividing by a number flips the sign exactly as often as multiplying by it does.
Working Backward from a Known Sign
GRE questions usually give you the sign of an expression and ask what follows about the variables. The rules run in reverse like this:
| Given | Conclusion |
|---|---|
| xy > 0 | x and y are nonzero and have the same sign |
| xy < 0 | x and y are nonzero and have opposite signs |
| xy = 0 | at least one of x, y is 0 |
| x/y > 0 | x and y are nonzero and have the same sign |
| x/y < 0 | x and y are nonzero and have opposite signs |
| xy ≠ 0 | neither x nor y is 0 |
Notice what these facts leave open. Knowing xy > 0 does not tell you whether both are positive or both are negative. You need one more fact to decide. Suppose you are also told x + y < 0. If both were positive, the sum would be positive, so both must be negative. A product sign plus a sum sign often pins down both signs.
Here is a worked example.
Problem. If abc < 0 and ab > 0, what is the sign of c?
Since ab > 0, we know ab is positive. Then abc = (ab)·c is a positive number times c, and the result is negative. A positive times c is negative only when c is negative. So c < 0.
Notice that the problem never told us anything about a or b individually. We found c without knowing whether a and b are both positive or both negative.
Problem. If x/y < 0 and x²y > 0, which is true: x > 0 or y > 0?
From x/y < 0, x and y have opposite signs. Since x² is positive when x ≠ 0 (and x ≠ 0 here because the quotient is nonzero), the sign of x²y matches the sign of y. So y > 0, which forces x < 0.
Common Mistakes
Assuming "negative sign" means "negative number." The expression -x is negative only if x is positive. If x = -3, then -x = 3. A variable's name and any minus signs written in front of it say nothing about its value. When you see -x or -y in an expression, treat each as a separate quantity whose sign depends on the variable.
Treating zero as positive or negative. Zero is neither. In xy > 0, neither x nor y can be 0. In xy ≥ 0, one of them could be 0. Strict and non-strict inequalities lead to different conclusions, so read the symbol carefully.
Applying the product rules to sums. The rules above govern multiplication and division only. The sign of a sum depends on magnitudes: 5 + (-2) is positive but 2 + (-5) is negative. If a problem gives the sign of xy, you know nothing about the sign of x + y except through extra information.
Forgetting that the quotient rule needs a nonzero denominator. If a problem says x/y is an integer or x/y is defined, then y ≠ 0 is implied. If it only says xy = 0, then x/y could be undefined, so be cautious.
Over-reading a product sign. The statement "xy > 0" does not mean x and y are integers, nor that they are positive. Fractions and decimals follow the same sign rules, so the conclusions above hold for every real number, not just integers.
Connecting Signs to Parity
Parity and sign are independent properties. Whether an integer is even or odd has no effect on whether it is positive or negative, and the reverse is also true. Consider -6 (negative, even) and 7 (positive, odd). When a problem asks about the product of integers, you may need both rules at once. For instance, the product of three integers is negative and even if it contains an odd number of negative factors and at least one even factor. The sign comes from the count of negatives, and the parity comes from whether any factor is even. Keep the two checks separate and answer each on its own.
The next chapters build on this one. Powers are a special case of repeated multiplication, so their signs come directly from the negative-count rule. Inequalities are also affected, because multiplying or dividing both sides by a negative number is exactly a sign flip applied to every term.
Summary of Habits
- Check for zero first. It overrides every other sign rule.
- Count negative factors. Odd means negative, even means positive.
- Treat division as multiplication when finding signs, but keep the denominator nonzero.
- Replace x/y with xy when you only need a sign.
- Read hypotheses as relationships ("same sign," "opposite signs") before trying to assign actual values.
- Never infer a variable's sign from a minus sign written in front of it.
Exercise
The product abcd is positive, and a, b, and c are all negative. What is the sign of d, and why?
Show answer
d is negative. Three negative factors (a, b, c) already make the product of those three negative. For abcd to be positive, d must flip the sign again, so d is negative. Equivalently, the total count of negative factors must be even, so d must be the fourth negative.
Exercise
If x/y > 0 and xy² < 0, what are the signs of x and y?
Show answer
Since y ≠ 0, y² is positive, so the sign of xy² is the sign of x. Because xy² < 0, x is negative. Because x/y > 0, x and y have the same sign, so y is also negative. Both x and y are negative.
Exercise
Explain why the statement "xy > 0, so x + y > 0" is not always true, and give a counterexample.
Show answer
The condition xy > 0 only means x and y have the same sign. If both are negative, their sum is negative. For example, x = -2 and y = -3 give xy = 6 > 0, but x + y = -5 < 0.
Exercise
Without multiplying, find the sign of (-3)(5)(-2)(-1)(4)(7).
Show answer
Count the negative factors: -3, -2, and -1 give three negatives. Three is odd, and there is no zero factor, so the product is negative.