S8-SA2-0049
What is a Unary Operation?
Grade Level:
Class 7
AI/ML, Data Science, Research, Journalism, Law, any domain requiring critical thinking
Definition
What is it?
A unary operation is a mathematical operation that works on only one input value or operand to produce a single result. Think of it as a 'one-person job' in maths, where only one number is needed to get an answer.
Simple Example
Quick Example
Imagine you have a cricket score of 25 runs. If you want to find the negative of this score (like losing 25 runs), you apply the 'negative' operation. This operation only needs the number 25 to work, not two numbers.
Worked Example
Step-by-Step
Let's find the absolute value of -15.
1. **Understand the operation:** Absolute value is a unary operation that tells you how far a number is from zero, always giving a positive result.
2. **Identify the operand:** The single number we are working with is -15.
3. **Apply the operation:** The absolute value of -15 is 15.
4. **Result:** So, |-15| = 15. Only one number (-15) was needed for this operation.
Why It Matters
Understanding unary operations is key in fields like AI/ML to process single data points, and in Data Science for cleaning and transforming individual values. Journalists use them when analysing single statistics, and lawyers might use them when calculating a single penalty or fine.
Common Mistakes
MISTAKE: Confusing unary operations with binary operations (which need two inputs). | CORRECTION: Remember, 'uni' means one. If you only need one number to get an answer, it's unary.
MISTAKE: Thinking all mathematical operations are complex. | CORRECTION: Many simple operations like finding the negative or square root of a number are unary operations.
MISTAKE: Forgetting that the result of a unary operation is still a single value. | CORRECTION: A unary operation takes one input and gives one output, not multiple outputs.
Practice Questions
Try It Yourself
QUESTION: What is the square of the number 7? Is 'squaring' a unary operation? | ANSWER: The square of 7 is 49. Yes, 'squaring' is a unary operation because it only needs one number (7) to work.
QUESTION: If you have a temperature of 30 degrees Celsius, and you want to convert it to Kelvin by adding 273.15, is this a unary operation? | ANSWER: Yes, this is a unary operation. You only need the single temperature value (30 degrees Celsius) to perform the conversion.
QUESTION: Consider the operation 'find the cube root of a number'. If you apply this to 64, what is the result? Is this operation unary or binary? | ANSWER: The cube root of 64 is 4. This is a unary operation because it only requires one input number (64).
MCQ
Quick Quiz
Which of the following is an example of a unary operation?
Adding two numbers
Multiplying three numbers
Finding the square root of a number
Dividing one number by another
The Correct Answer Is:
C
Finding the square root of a number (like sqrt(9)) only requires one input number (9). All other options involve two or more numbers.
Real World Connection
In the Real World
In your mobile phone's calculator app, when you press the 'sqrt' (square root) button after entering a number, you're performing a unary operation. Similarly, when you change a number to its negative using the '+/-' button, that's also a unary operation.
Key Vocabulary
Key Terms
OPERATION: A mathematical action performed on numbers | OPERAND: The input value(s) on which an operation is performed | UNARY: Involving a single item or element | ABSOLUTE VALUE: The distance of a number from zero, always positive
What's Next
What to Learn Next
Next, you should learn about 'Binary Operations'. This will help you understand how mathematical operations change when you need two input values instead of just one, which is very common in everyday maths.


