• Practice
  • About 14 min
  • 5 practice questions

Defined operations with squares, nesting and unknown values

Evaluate nested defined operations such as a @ b = a² − b, combine two different rules and find an unknown number from a given result.

If something looks wrong, please tell us.

The foundation course showed how to follow a single defined rule. Practice questions push further: the rule involves squares, it is used two or three times inside brackets, two different rules are mixed, or the result is given and you must find a missing number. The method stays the same, but the bookkeeping matters more, so this lesson builds a tidy way of writing the working.

A tidy layout

  1. Copy the rule at the top, for example a @ b = a² − b.
  2. Find the innermost bracket and write its value on its own line.
  3. Rewrite the whole question with that value in place, so the next step is visible.
  4. Repeat until one operation is left, then finish it.

Worked example 1: brackets change the answer

With a @ b = a² − b, compare (3 @ 4) @ 2 with 3 @ (4 @ 2).

(3 @ 4) @ 2: inner 3 @ 4 = 9 − 4 = 5, then 5 @ 2 = 25 − 2 = 23.

3 @ (4 @ 2): inner 4 @ 2 = 16 − 2 = 14, then 3 @ 14 = 9 − 14 = −5.

The same three numbers give 23 and −5. Defined operations are rarely 'associative', so the bracket position is part of the question and must be followed exactly. Negative results are allowed.

Worked example 2: two rules together

If a # b = 2a + b and a $ b = ab − b, find (4 # 1) $ 3. Inner: 4 # 1 = 8 + 1 = 9. Then 9 $ 3 = 9 × 3 − 3 = 27 − 3 = 24. Each symbol keeps its own rule; underline the symbol before you choose the rule.

Worked example 3: finding an unknown

If a @ b = a² − b and x @ 7 = 29, find the positive value of x. Write the rule with the numbers in: x² − 7 = 29, so x² = 36 and x = 6. Check: 6 @ 7 = 36 − 7 = 29. When choices are given, it is often faster to try each choice in the rule than to solve algebraically.

Is the order of the numbers important?

For a @ b = a² − b, 2 @ 3 = 1 but 3 @ 2 = 7, so the order matters. For a rule like a # b = a² + b², swapping a and b changes nothing, because the rule treats them alike. A quick look at the rule tells you whether swapping is safe; when in doubt, do not swap.

Checking whether order matters (∘ stands for the defined symbol)
RuleDoes a ∘ b equal b ∘ a?Reason
a² − bNoa is squared, b is not
a² + b²Yesa and b are treated alike
ab + a − bNoa is added, b is subtracted

Copy the rule, work outward from the innermost bracket, write each value on its own line, and check an unknown by putting it back.

Key takeaways

  • Squares make values grow fast; recheck any square above 100.
  • Brackets decide the order of repeated operations; moving them changes the answer.
  • With two rules, match each symbol to its own rule before calculating.
  • For an unknown, write the rule as an equation or test the choices, then check.

Check your understanding

  1. 1. If a @ b = a² − b, what is 6 @ 11?

    1. 47
    2. 25
    3. 115
    4. 30
    Show answer

    Answer: B. a = 6 and b = 11: 6² − 11 = 36 − 11 = 25. Squaring 11 instead (121 − 6 = 115) reverses the roles of a and b.

  2. 2. If a @ b = a² − b, what is (2 @ 1) @ 5?

    1. 3
    2. 20
    3. 4
    4. 14
    Show answer

    Answer: C. Inner: 2 @ 1 = 4 − 1 = 3. Then 3 @ 5 = 9 − 5 = 4.

  3. 3. If a # b = a² + b² and a $ b = a − b, what is (5 # 2) $ (3 # 1)?

    1. 19
    2. 39
    3. 9
    4. 21
    Show answer

    Answer: A. 5 # 2 = 25 + 4 = 29 and 3 # 1 = 9 + 1 = 10. Then 29 $ 10 = 29 − 10 = 19.

  4. 4. If a @ b = a² − b and 7 @ x = 40, what is x?

    1. 9
    2. 3
    3. 89
    4. 33
    Show answer

    Answer: A. 7 @ x = 49 − x. So 49 − x = 40 and x = 49 − 40 = 9. Check: 49 − 9 = 40.

  5. 5. If a % b = ab + a − b, which statement is true?

    1. a % b always equals b % a
    2. 2 % 3 = 7
    3. 3 % 2 = 7
    4. 4 % 4 = 20
    Show answer

    Answer: C. 3 % 2 = 6 + 3 − 2 = 7, true. The others: 2 % 3 = 6 + 2 − 3 = 5, so 2 % 3 is not 7 and the operation is not symmetric; 4 % 4 = 16 + 4 − 4 = 16, not 20.

Privacy · Terms · Refunds · Delivery