Algebra

Substitution

Replace letters with values, then calculate.

Predict, test and explain

Step 1 of 3

Predict

If x = −3, what is 2x²?

2x+3y+12x+3y+1

    Replace every occurrence of each letter with the same value. Brackets keep the sign of a negative value clear.

    InvestigateWhy should a negative replacement go inside brackets?

    Explore and compare

    Choose the investigation above. Predict what will change before you move a control.

    Try it in the simulation. Change one thing at a time.

    Notes and saved values stay in this tab. They disappear when you reload.

    Hints, self-check and connections
    Try a self-check

    Fixed values, separate from the diagram controls.

    Evaluate the expression at the given value.

    2x2−3xwhen x=−22x^2-3x\qquad\text{when }x=-2

    Hint

    Put the negative input in brackets and calculate its square before multiplying.

    Reveal answer

    The square contributes eight and the linear term contributes six.

    2(−2)2−3(−2)=8+6=142(-2)^2-3(-2)=8+6=14

    Build an explanation

    Hint 1

    Substitution replaces each letter with its given value. Keep the expression's operations in the same places.

    Hint 2

    Put negative values in brackets: if x = −4, write x² as (−4)² and 3x as 3 × (−4).

    Hint 3

    Calculate powers first, then multiplications, then additions and subtractions. In ax², square x before multiplying by a.

    Worked example

    This example uses fixed values, separate from the diagram controls.

    With a = −2, b = 3, c = −1, x = −4 and y = 2, evaluate ax + by + c and ax² + bx + c.

    1. For ax + by + c, substitute to get (−2) × (−4) + 3 × 2 + (−1).
    2. The products are 8 and 6, so the first expression is 8 + 6 − 1 = 13.
    3. For ax² + bx + c, substitute to get (−2) × (−4)² + 3 × (−4) + (−1).
    4. (−4)² = 16. The second expression is −32 − 12 − 1 = −45.

    Answer: ax + by + c = 13; ax² + bx + c = −45.

    Connect this idea

    Watch out: ax² means a × x², not (ax)². Brackets matter: (−4)² = 16, while −4² = −16.