lesson

Updated 1 month ago Β· 8 views
When a video game calculates critical hit damage, it plugs your character's stats into an algebraic formula in a fraction of a millisecond.
A variable is simply a letter or symbol that serves as a placeholder for a numerical value. To evaluate an expression, you replace every variable with its assigned number and calculate the final result.
πA clean visual diagram showing algebraic substitution as 'drop-in' boxes. Show the expression 5x - 3 at the top. Below it, x morphs into an empty blue placeholder box (parentheses). An arrow drops the number 4 into the box to create 5(4) - 3. A step-by-step arrow leads down to 20 - 3, then down to the final highlighted result 17. Use card style with white background #ffffff, border #e6e6e6, dark navy text #1e2945, and blue accent #22b7ff.
What happens when the value you need to plug in is negative? A single missing pair of parentheses can flip your entire answer.
The Parentheses Rule
Always wrap negative numbers in parentheses before evaluating powers. Without parentheses, βx2 when x=β3 means β((β3)2), while (β3)2 means (β3)Γ(β3).
πA side-by-side comparison diagram on two cards. Left card: 'Evaluating xΒ² when x = -3'. Shows substitution (-3)Β² = (-3) Γ (-3) = +9 in green highlight. Right card: 'Evaluating -xΒ² when x = -3'. Shows substitution -(-3)Β² = -(9) = -9 in coral/red highlight. Underneath, a clear callout note highlights: 'Exponent applies to base first, then negative sign is applied'. Minimalist layout, responsive 350px width, text #1e2945.
How do we combine multiple terms with powers, multiplication, and addition without losing track of signs?
Evaluating Polynomial Expressions
Let's evaluate 3x2β4x+6 when x=β2. First, replace every x with (β2).
πA step-by-step vertical evaluation flow diagram for 3xΒ² - 4x + 6 with x = -2. Step 1: 3(-2)Β² - 4(-2) + 6 (highlight parentheses). Step 2: 3(4) - 4(-2) + 6 (evaluate exponent (-2)Β² = 4). Step 3: 12 - (-8) + 6 (perform multiplications, showing -4 Γ -2 = +8). Step 4: 12 + 8 + 6. Step 5: Final box with bold answer 26 in a blue rounded badge. Responsive 350px width, clean modern typography.
A common mistake here is multiplying 3Γ(β2) before squaring; the order of operations dictates that powers must always be calculated before multiplication.
Real-world formulas rarely rely on just one variable. What happens when multiple inputs interact across fractions and square roots?