Sub topic 7
Algebra Pitfalls: Squares, Absolute Value, and Inequality Direction
Assume you know how to solve linear equations, work with exponents, and manipulate inequalities. This chapter focuses on checking algebra steps that can silently change the answer on GRE Quantitative Reasoning problems.
Squaring Does Not Preserve Every Comparison
For positive numbers, squaring preserves order. If 3 < 5, then 3² < 5². However, this rule fails when negative numbers are possible. For example, -5 < -3, but (-5)² > (-3)².
When comparing an expression with its square, test different categories of values instead of assuming one relationship:
- Negative values
- Zero
- Fractions between 0 and 1
- Values greater than 1
For example, compare x² and x:
| Value of x | x² | x | Larger quantity |
|---|---|---|---|
| -2 | 4 | -2 | x² |
| 0.5 | 0.25 | 0.5 | x |
| 2 | 4 | 2 | x² |
The relationship changes, so a statement about which quantity is always larger cannot be determined without more information.
# Quantity A: x**2, Quantity B: x
for x in [-2, -1, -0.5, 0, 0.5, 1, 2]:
if x**2 > x:
print(x, "A is greater")
elif x**2 < x:
print(x, "B is greater")
else:
print(x, "equal")Absolute Value Appears When You Undo a Square
The principal square root is nonnegative. Therefore,
sqrt(x²) = |x|,
not necessarily x. Absolute value, written |x|, is the distance from zero, so it is never negative.
For example:
- sqrt(3²) = 3
- sqrt((-3)²) = sqrt(9) = 3
- |−3| = 3
If x² = 9, then x can be 3 or −3. Writing x = 3 loses one possible solution.
import math
x = -3
print(math.sqrt(x**2)) # 3.0
print(x) # -3
print(abs(x)) # 3When solving x² = a, where a is positive, write both possibilities:
x = ±sqrt(a)
When solving |x| = a, use x = a or x = −a, provided a is nonnegative.
Inequality Direction Depends on the Operation
Adding or subtracting the same number keeps an inequality pointed in the same direction. Multiplying or dividing by a positive number also keeps the direction. Multiplying or dividing by a negative number reverses it.
For example:
- If 2x < 8, then x < 4.
- If −2x < 8, then x > −4.
The second inequality reverses because both sides are divided by −2.
If you divide by a variable whose sign is unknown, you cannot choose a direction immediately. Split into cases or avoid the division. For example, from ax > 3:
- If a > 0, then x > 3/a.
- If a < 0, then x < 3/a.
- If a = 0, the original statement is impossible.
A Reliable Algebra Check
Before accepting an answer, ask:
- Could any variable be negative, zero, or between zero and one?
- Did I take a square root and include both signs?
- Did I multiply or divide by a quantity whose sign is unknown?
- Did squaring introduce an extraneous solution?
- Can I substitute a simple value to test the result?
Exercise
If x² = 16 and x < 0, what is x?
Show answer
x = −4. The equation gives x = 4 or x = −4, and the condition x < 0 selects −4.