What Is an Arithmetic Expression?
Quick answer An arithmetic expression like 13 + 2 always has a single value, and two expressions can be compared using '<', '>' or '=' just like numbers.
A phrase like 13 + 2, 20 - 4, or 12 × 5 is called an arithmetic expression. Every arithmetic expression has a single value — the number it works out to. The expression 13 + 2 has the value 15, and we write this using the equals sign: 13 + 2 = 15. The expression itself (the phrase) and its value (the number) are two different things, connected by '='.
Because every expression boils down to a single value, you can compare two expressions exactly the way you compare two numbers — using '<', '>' or '='. For example, compare 13 + 9 and 14 + 6. Working each one out, 13 + 9 = 22 and 14 + 6 = 20. Since 22 is bigger than 20, we can write 13 + 9 > 14 + 6. You don't always need to fully calculate both sides, either — sometimes reasoning about how much bigger or smaller one side is compared to the other gets you the answer faster, especially when the numbers involved are close to each other.
This idea of expressions having values, and being comparable, is the foundation for everything else in this chapter: once you can reliably find the value of any expression — however many operations it contains — comparing, simplifying and rewriting expressions all become much easier.
- Every arithmetic expression (like 13 + 2) has exactly one value, connected to the expression by an '=' sign.
- Expressions can be compared with '<', '>' or '=' once their values are known, exactly like comparing plain numbers.
- Reasoning about the difference between two expressions can sometimes answer a comparison faster than computing both values fully.
