WordGarden.io
Back to search

unary

C2
adjective

Pronunciation

UK

  • /jˈunərɪ/

US

  • /jˈunəri/

Description

Picture something that works with just one thing at a time. That is the heart of unary. In math, logic, and computer science, it describes an operation, operator, or system that involves exactly one item or one input. For example, the minus sign in "-5" is a unary operator because it acts on just one number. In the same way, an operation like "not" in logic also works on a single input.

The word comes from the Latin unus, meaning "one." You will mostly meet it in technical writing, especially in phrases like "unary operator" or "unary operation." People do not usually use it in everyday talk for general ideas like "single" or "alone"; it belongs more to precise, formal contexts.

Examples

  1. 1

    Negative numbers

    The calculator reads the minus sign in `-5` as unary, not as subtraction.

  2. 2

    Programming

    In Python, `not` is a unary operator, so it applies to just one value.

    • Pattern

      apply to + value

      work on that value

  3. 3

    Formal logic

    In formal logic, negation is unary, while `and` and `or` are binary.

    • Meaning

      binary

      involving two inputs or values

Forms and spellings

1 form open this card.

Main spelling

  • unaryadjective