Binary Operation

Download as PDF

Have you ever wondered what makes addition and multiplication so special? They are perfect examples of a 'binary operation,' a fancy term for a simple idea. This lesson will show you what binary operations are, explore their properties, and even teach you how to create your own!

Binary Operation — an original Algebra911 reference diagram defining binary operation with its key formula and a worked example.
What Is a Binary Operation? A Beginner's Guide

What Is a Binary Operation?

A binary operation is a mathematical rule that takes two inputs (usually numbers) and combines them to create exactly one output. Think of it like a special machine. You put two items in, the machine follows a specific rule, and one new item comes out. The word 'bi' means two, which is your clue that we always start with a pair of things.

You use binary operations every single day without even realizing it! When you add two numbers, like 5+3, you are using the binary operation called 'addition.' The two inputs are 5 and 3, the rule is 'add them together,' and the single output is 8. The same goes for subtraction, multiplication, and division.

The key ingredients for a binary operation are:

  • Two Inputs: You must start with two elements. We can call them a and b.
  • A Set: The inputs usually come from a specific group, or 'set,' of things, like the set of whole numbers 0,1,2,3,... or the set of integers ...,2,1,0,1,2,....
  • A Rule: This is the most important part! The rule tells you exactly how to combine the two inputs. We often use symbols like +, , ×, or ÷ to represent the rule.
  • One Output: After applying the rule, you get a single result. A crucial property is that for the operation to be 'closed' on the set, the output must also be a member of that same set. For example, when you add two whole numbers, you always get another whole number, so addition is closed on the set of whole numbers.

While we are used to the basic four, the fun part is that we can invent any rule we want and create our very own binary operations!

The Four Basic Binary Operations You Already Know

You're already an expert at using binary operations. Let's look at the four most common ones and see how they fit the definition perfectly.

Addition (+)

Addition takes two numbers, called addends, and combines them to find their sum.

  • Inputs: Two numbers, for example, 7 and 2.
  • Rule: Combine the value of the two numbers.
  • Output: A single number, the sum. In this case, 7+2=9.

Subtraction (-)

Subtraction takes two numbers and finds the difference between them.

  • Inputs: Two numbers, for example, 10 and 4.
  • Rule: Find the difference between the first and second number.
  • Output: A single number, the difference. Here, 104=6.

Multiplication (×)

Multiplication can be thought of as repeated addition. It takes two numbers, a multiplicand and a multiplier, and finds their product.

  • Inputs: Two numbers, for example, 6 and 3.
  • Rule: Add the first number to itself as many times as the second number indicates.
  • Output: A single number, the product. So, 6×3=18.

Division (÷)

Division is the process of splitting a number into equal parts. It takes two numbers, a dividend and a divisor, and finds the quotient.

  • Inputs: Two numbers, for example, 20 and 5.
  • Rule: Determine how many times the second number fits into the first number.
  • Output: A single number, the quotient. For this example, 20÷5=4.

Each of these operations takes exactly two numbers, applies a clear rule, and produces a single numerical answer. They are the foundation of arithmetic and the most famous examples of binary operations.

What Are the Properties of Binary Operations?

Some binary operations have special properties that describe how they behave. Understanding these properties helps you solve problems more easily. The two most important ones for you to know are the Commutative and Associative properties.

The Commutative Property (Order Property)

An operation is commutative if changing the order of the inputs does not change the output. Think of commuting to school—you go from home to school, and then from school to home. The path is the same, just in a different order.

a op b=b op a

For example, addition is commutative because 3+8=11 and 8+3=11. The result is the same! However, subtraction is not commutative because 83=5, but 38=5. The results are different.

The Associative Property (Grouping Property)

An operation is associative if changing the grouping of the inputs does not change the output, as long as the order stays the same. Think of associating with your friends—you can be in a group with Alex and Ben, or Ben can be in a group with you and Chloe. You're all still friends.

(a op b) op c=a op (b op c)

Multiplication is associative. For example, (2×3)×4 gives 6×4=24. If we regroup it as 2×(3×4), we get 2×12=24. The result is identical! Division, on the other hand, is not associative. (16÷4)÷2=4÷2=2, but 16÷(4÷2)=16÷2=8. The results are very different!

Comparing the Basic Operations

Here’s a handy table to see which properties apply to our familiar operations on the set of integers.

OperationSymbolIs it Commutative?Is it Associative?
Addition+Yes (a+b=b+a)Yes ((a+b)+c=a+(b+c))
SubtractionNo (abba)No ((ab)ca(bc))
Multiplication×Yes (a×b=b×a)Yes ((a×b)×c=a×(b×c))
Division÷No (a÷bb÷a)No ((a÷b)÷ca÷(b÷c))

Let's Invent Our Own Binary Operations!

The most exciting thing about binary operations is that we aren't limited to just the four we know. We can define any rule we want! Let's create a new operation and give it a fun symbol, like a star ().

Let's define our new operation ab with the following rule:

ab=2a+b

This rule says: 'Take the first number and multiply it by 2, then add the second number.' The symbol is just a placeholder that tells us which rule to follow. It's like a secret code for a math instruction!

So, how would we calculate 53? We just follow the rule we invented. In this problem, a=5 and b=3.

Example 1

Calculate 53 using the rule ab=2a+b.

  1. Identify a and b: In 53, the first number is a=5 and the second number is b=3.
  2. Substitute into the formula: Replace a with 5 and b with 3 in our rule 2a+b.
    2(5)+3
  3. Follow the order of operations (PEMDAS/BODMAS): First, we do the multiplication. 2×5=10.
    10+3
  4. Complete the calculation: Now, we do the addition. 10+3=13.

So, we find that 53=13.

Was this operation commutative? Let's check! We need to see if 53 is the same as 35. For 35, now a=3 and b=5. The rule gives us 2(3)+5=6+5=11. Since 1311, our operation is not commutative!

How Do You Solve Problems with New Operations?

Solving problems with new binary operations is all about carefully reading the rule and substituting the numbers in the correct places. Let's try another invented operation. We'll use the symbol (a circle with a plus inside).

Let the rule for our new operation be:

xy=(x+y)×x

This rule says: 'First, add the two numbers together. Then, multiply the result by the first number.' Let's use this rule to solve a couple of problems.

Example 2

Calculate 46 using the rule xy=(x+y)×x.

  1. Identify x and y: In 46, we have x=4 and y=6.
  2. Substitute into the formula: Replace x with 4 and y with 6.
    (4+6)×4
  3. Solve the part in parentheses first: 4+6=10.
    10×4
  4. Complete the multiplication: 10×4=40.

Therefore, 46=40.

Sometimes, problems might involve using the same operation more than once. Just like with regular math, you solve the part in the parentheses first.

Example 3

Calculate (23)5 using the same rule, xy=(x+y)×x.

  1. Solve the parentheses first: We need to find the value of (23). Here, x=2 and y=3.
    (23)=(2+3)×2=5×2=10
  2. Rewrite the problem: Now that we know (23)=10, we can substitute this value back into the original problem.
    (23)5 becomes 105
  3. Solve the new problem: For 105, we have a new x and y. Now, x=10 and y=5. We apply the rule again.
    105=(10+5)×10
  4. Calculate the final result: First, the parentheses: 10+5=15. Then multiply: 15×10=150.

So, the final answer is (23)5=150.

Key formulas for binary operation by Algebra911.
Key formulas for binary operation by Algebra911.

Is It Always About Numbers?

While we usually think of binary operations with numbers, the concept is much bigger! A binary operation can be a rule for combining almost any two things. This is an idea you'll see more in higher-level math, but it's fun to think about now.

For example, imagine your inputs are colors. A binary operation could be 'mixing'.

  • Inputs: The colors Blue and Yellow.
  • Rule: Mix them together.
  • Output: The color Green.

Here, (Blue, Yellow) Green. This fits our definition perfectly!

What about words? We could define an operation 'merge' (let's use the symbol ) that combines two words by taking the first half of the first word and the second half of the second word.

  • Inputs: The words 'LUNCH' and 'TIME'.
  • Rule: LUNCHTIME
  • Output: The word 'LUME'. (LU from LUNCH, ME from TIME).

These examples show that a binary operation is a fundamental concept of combining two elements to get a single, predictable result based on a consistent rule. It's a core idea in logic, computer science, and many other fields, not just arithmetic.

Common Mistakes to Avoid

When you're working with new, invented operations, it's easy to make a few common mistakes. Here’s what to watch out for:

  1. Assuming Commutativity: Many students assume that the order doesn't matter, just like with addition and multiplication. But most invented operations are not commutative. Always check! For our rule ab=2a+b, we saw that 53=13 while 35=11. Always use the numbers in the order they are given.
  2. Mixing Up the Variables: Pay close attention to which number is which variable in the rule. If the rule is xy=(x+y)×x and you are calculating 46, it's crucial that x=4 and y=6. If you accidentally swapped them and calculated (6+4)×6, you would get 60 instead of the correct answer, 40.
  3. Forgetting the Order of Operations: The rules for new binary operations often involve multiple steps. Remember to follow the standard order of operations (PEMDAS/BODMAS: Parentheses, Exponents, Multiplication/Division, Addition/Subtraction) when calculating the output. In the example ab=2a+b, you must do the multiplication 2×a before you do the addition.
  4. Incorrect Substitution in Multi-Step Problems: In a problem like (23)5, solve the parentheses completely to get a single number (which was 10) before you move on to the next step. Don't try to substitute the entire expression (2+3)×2 into the next part of the problem. Simplify first, then proceed.

Quick Summary

Let's review the most important ideas about binary operations.

  • A binary operation is a rule that combines two inputs to produce a single output.
  • You are already familiar with the four basic binary operations: addition (+), subtraction (-), multiplication (×), and division (÷).
  • Important properties describe how operations behave. The commutative property means order doesn't matter (like a+b=b+a). The associative property means grouping doesn't matter (like (a+b)+c=a+(b+c)).
  • We can invent our own binary operations using new symbols and rules.
  • To solve problems with new operations, carefully substitute the given numbers into the defined rule and follow the standard order of operations.

Frequently Asked Questions

What does 'binary' mean in 'binary operation'?

The word 'binary' simply means 'involving two things.' A binary operation gets its name because it is a rule that always operates on a pair of inputs to produce a result.

Are addition and subtraction both binary operations?

Yes, they are both perfect examples. Addition takes two numbers (like 4 and 5) and produces one output (9). Subtraction takes two numbers (like 9 and 2) and produces one output (7).

Can a binary operation have three inputs?

No, by definition, a binary operation must have exactly two inputs. An operation that takes three inputs would be called a 'ternary operation,' but binary operations are the most common and fundamental type.

Why is it important to learn about binary operations?

Understanding binary operations helps you see the basic structure of all math. It shows that math is based on a set of consistent rules. This concept is a building block for algebra, computer programming, and logic.

Are all binary operations commutative like addition?

Definitely not! Subtraction and division are common examples that are not commutative. For instance, 104=6, but 410=6. Many newly invented operations are not commutative either.

Is division a binary operation on the set of whole numbers?

That's a tricky question! While division takes two inputs, the result isn't always a whole number. For example, 7÷2=3.5, which is not a whole number. So, we say division is not 'closed' on the set of whole numbers.

Where are binary operations used outside of math class?

Binary operations are everywhere! In computer science, logical operations like 'AND' and 'OR' are binary operations that work on true/false values. Even combining two chemicals in a lab to see the reaction is like a binary operation.