Tag Archives: secondary maths

Unary and Binary Operations: The Hidden Architecture Beneath Every Maths Calculation

BIDMAS is a lie. And your child deserves better.
It’s not real maths — just a shortcut masquerading as understanding.
Most children are taught to follow it blindly, without ever learning what an operation truly is.
Unary. Binary. This is the hidden architecture of calculation — in primary, secondary, and beyond.
And it changes everything once seen.

But first, an actual story from tutoring.

“Why do I keep getting this wrong?”
My student looked at me with a mix of frustration and helplessness.

We were trying to rearrange the cosine rule to isolate the angle. But he kept adding a², b² and the -2bc terms together first. Again. And again. Each attempt revealed something deeper: he wasn’t just making a slip, he was missing something fundamental about how mathematical operations are structured.

Watch: Unary vs Binary Operations Explained Visually Using Function Machines – a concept every student should understand but rarely gets taught.

After three years of working together, I felt like a failure, I had missed my chance to embed into him essential structural ideas. The fundamental ideas of operations and the Field Axioms. I almost certainly taught this to him but it was a long time back and he needed regular recaps. With the exam just a week away, I did what many tutors do under pressure, I gave him the rearranged formula and told him to memorise it.

This wasn’t a struggling student by any means. He was on track to get at least a grade 8 (for the GCSE qualification in the UK at KS4). And yet, after 11 years of schooling, this foundational misunderstanding had gone unaddressed. The system he learnt from was rewarding performance, not depth. Not structure. Not true mathematical thinking. Only the odd questions like this would unearth this weakness.

So what had been overlooked for this tutee?

One of the most overlooked—and surprisingly simple—concepts in school mathematics is understanding what unary and binary operations are, and how they differ. I was first introduced to binary operations through Professor Mahesh Sharma’s engaging and interactive CPD webinars.

It lies at the root of every mathematics calculation your child will ever do. And almost no one teaches it.

What Do Unary and Binary Mean?

Let’s start with some etymlogy.

  • Unary comes from the Latin unus, meaning one — think : unified, union, uno (Spanish)
  • Binary comes from bi, meaning two — as in bicycle, bipedal, or bilingual.

In mathematics, these root meanings give us a simple but powerful distinction:

  • A unary operation acts on one input.
  • A binary operation acts on two inputs.
Unary operation: A single input is transformed by one operation : a structure students use without realising it.

Unary Operations – One Input

When the input is a single number, unary operations take that single number and transform it.

Unary operations, involve just one number: squaring, taking a square root, finding a reciprocal, etc.

Think of it like a machine:

1 number goes in → 1 number comes out

Examples of Unary Operations:

  • One more than: +1 (as experienced in early mathematics)
  • Negation: changing +5 to –5
  • Absolute value: |–7| = 7
  • Square root: √25 = 5
  • Squaring: 4² = 16
  • Reciprocal: 3⁄8 → 8⁄3
  • Trigonometric functions:
    • sin(30°) = 0.5
    • cos(60°), tan(45°) etc., all take one input (an angle)

In this sense, Unary operations are transformative, not combinational.

Binary operation: Two inputs combine through a single operation : the backbone of addition, multiplication, and much of school mathematics.

Binary Operations – Two Inputs

Most operations in primary and secondary maths involve two numbers. These are called binary operations — addition, subtraction, multiplication, division, exponentiation etc.

When the inputs are two numbers, binary operations combine values.

Think of it like this:

2 numbers go in → 1 number comes out

Examples of Binary Operations:

  • Addition: 3 + 5 = 8
  • Subtraction: 9 – 2 = 7
  • Multiplication: 4 × 6 = 24
  • Division: 12 ÷ 3 = 4
  • Exponentiation (technically binary): 2³ = 8

Binary operations are the heart of arithmetic. But when students don’t grasp that they are operations on pairs, things get messy fast. Or worse, they are given shortcuts or mnemonics to remember.

Ambiguous cases of Binary Operations

Some operations can appear unary or binary depending on how they’re framed. For example, a “double machine” (×2) or an “add-two/two-more-than” machine” (+2) looks unary but both are really binary operations with one input held constant. Similarly, exponentiation is unary if the exponent is fixed (like squaring or cubing), but binary when both base and exponent vary. This subtlety is part of what makes the structure of maths so powerful and why understanding it matters.

Nullary and Ternary Operations

There are also nullary operations — like random number generators, which require no input — and ternary operations involving three inputs, such as programming conditionals. But unary and binary dominate school maths.

Chaining Binary Operations Vs BIDMAS/PEMDAS etc.

BIDMAS (or PEMDAS in the US) and all of its dreadful mnemonic variants mask the true structure of mathematics. It encourages mechanical order-following, not deep understanding.. But few realise that what they’re doing is chaining binary operations, in a way that only works because of the underlying laws of arithmetic. The underlying laws of arithmetic are the Field Axioms. I first learnt about the axioms from Mark McCourt on a Complete Mathematics CPD day.

The Field Axioms are worthy of an entire series of blog posts which will come up in future. For now, here is a link to a presentation I did at #MathsConf26.

Beyond Numbers: How Unary and Binary Operations Apply to All of Mathematics

Unary and binary operations are the starting point for making sense of all maths operations, from number work to algebra to calculus.

Unary and binary operations aren’t limited to numbers of course, even within school level mathematics. They also apply to vectors, matrices, functions and sets. Except for matrices which are in Further Mathematics A-Level (KS 5), the rest are within the compulsory school maths curriculum.

A more formal and rigorous definition of unary and binary operations is covered in mathematics degrees, considering the idea of sets and closure. But the essential idea of it is very simple and there is no reason whatsoever to not to introduce that idea at school level mathematics.

I will cover the definition of operations, operators and operands on another dedicated blog post.

Final Thoughts

Unary and binary operations aren’t just abstract definitions, along with the Field Axioms they’re the hidden structure behind every mathematics problem your child will ever face at school. Like the grammar and syntax of language.

Without this grounding, students:

  • Memorise blindly
  • Struggle with multi-step algebra and arithmetic
  • Misapply order of operations

With it, they begin to:

  • Understand structure
  • Build and deconstruct expressions logically
  • Think mathematically
  • Have inner confidence that mathematics makes perfect sense

Try creating your own ‘operation machines’ and have a play at putting inputs and seeing outputs. It may be obvious but you’d be surprised by what it reveals when you put it in this format.

What do you think?

This was a fun and educational blog to research and publish. Some references and tools I used to clarify my own understanding further were WikiPedia, mathsisfun.com, Study.com and ChatGPT.

Education and communication are on-going dialogue. I would love to hear your reflections on this. Especially if you are a teacher/tutor colleague.

If you’re a parent who wants your child to learn maths like this — with clarity, depth, and real understanding — feel free to get in touch.
I occasionally have tutoring slots open for children aged 12 (Year 8 KS3) or younger.
If you’re interested, contact me here to check availability.

Teaching with multi-base : Escaping my own base-ten world first

Fish don’t know they’re in water. If you tried to explain it, they’d say, “Water? What’s water?” They’re so surrounded by it that it’s impossible to see. They can’t see it until they jump outside of it.

Derek Sivers

Sitting in a park in central London on a warm, sunny June 2018 day I knew something in me had shifted forever. My head was full of swirling mathematical thoughts processing just what had happened during those last hours. Before this day, I had no interest in working with multi-base. It seemed impractical and if I am honest, an unnecessary indulgence. But something in my brain was broken and unresolved after I was unable to do an exercise at that CPD workshop. And I had to get to the bottom of it. So I began a journey of curiosity, frustration and wonder into the world of multi-base.

That CPD day was delivered by La Salle Education CEO Mark McCourt and was titled “Making Maths Memorable”. I had learnt many things that day, including the split attention effect, non-examples and the careful use of silence when presenting visual information. The workshop wasn’t a multi-base workshop as such but it had clearly piqued my interest. Over the years I started adapting ideas from the workshop to my seemingly alien world of online tutoring. My teaching was to be transformed.

It took me several months to do anything with multi-base after that workshop, perhaps because I had no starting point or representation to grip the idea. Until I heard about numbers, numerals and digits in a podcast by Mark again. It turned out I didn’t know abut this either. How could I convey these early, basic ideas to my tutees if I didn’t understand them myself? There was a big, gaping blind spot in my teaching staring back right at me. It existed because none of these things are tested in the current English maths curriculum or any of the other systems I had encountered. And I’ve tutored in over 25 countries! So if it isn’t tested for in any curriculum then is it worth learning?

Well obviously yes, because mathematicians are curious and seek enlightenment. I knew that understanding number in depth held an important key, not just for my lowest attaining pupils, who I felt would benefit most from the knowledge at first, but for all pupils. I looked up various definitions and started exploring the world of numbers. Having grown up in Libya and India I was already familiar with modern Eastern Arabic numerals and Hindi Devanagari numerals.

If you want to master something, teach it. A great way to learn is to teach.

Richard Feynman

I found a Year 7 tutee to test my ideas and understanding with multi-base. I had tutored her since Year 5 and her parents were open minded on my teaching of ideas beyond the curriculum. She was a diligent, curios and bubbly learner. She was honest and clear live when teaching : “I don’t get this”, “What do you mean when you say numeral?” etc., This batting to and fro was what I needed to tweak and refine my delivery in real-time. This is a fairly routine aspect of tutoring, a conversation and constant running of experiments to gauge where the tutee is at.

With my help she made an odometer type counter on our digital writing platform Bitpaper by programming the numerals in steps of 1. Pressing the forward or rewind button (Undo and Redo) would get the odometer to count up or down in various bases. Much like the counter of fuel at a petrol station does in base-ten. An odometer counting up is all I could think of and I didn’t come back to multi-base again for a few more months. Unknown to me there was a bigger issue I had to resolve first.

An immediate problem I faced was that the number system in base-ten was so deeply ingrained in my mental programming that it was difficult to think outside of it. Whenever I saw 14 written in various bases, I read and saw it as fourteen. I needed numerals from another language altogether to break the association of base-ten with the way digits are combined to make everyday numerals. I found the perfect bridge both for me and tutee by using Hindi (or Devanagari) numerals.

It is somewhat embarrassing to admit that despite having grown up in Libya, Yemen and India, I had no idea that the modern numerals we use today are Hindu-Arabic numerals. It is never too late to learn of course and it sure makes for good stories with tutees. Incidentally, Libya has a lot of Roman monuments preserved immaculately, so I was surrounded by a blend of ancient Roman numerals, Hindi numerals and Eastern Arabic numerals during my childhood days in Tripoli. It felt amazing to look back at something so familiar and find deeper meaning through these numerals.

Base-three Diene blocks from my set.

Over the next two years I attended various other La Salle CPD days in London on multiple representations. Each one had a mention of numbers, digits and numerals and counting in different bases. I read books, found videos and podcasts too. I started to see how the area model could be used to understand number systems in other bases. In particular the use of Dienes blocks which Zoltan Dienes used in various other bases. I even got hold of an incomplete set of physical wooden sets of multi-base blocks, which looked very cool. My understanding was starting to deepen, but I didn’t feel confident enough to start teaching with virtual multi-base blocks, the only ones I could use online with my tutees. Base-ten blocks were no problem at all and I was using them before anywyay.

In all this time, I started to fine tune my skills in teaching through various representations. Particularly the use of the Rekenrek, algebra tiles, Cuisenaire rods and two sided counters. After seeing a back to back session on the use of two sided counters by Jonathan Hall (aka mathsbot) and Bernie Westacott, I started to realise how incredibly effective two sided counters could be for teaching so many mathematical ideas.

Fast forward to March 2020; a global pandemic happened and life turned upside down. I was fortunate that I kept tutoring online as I had done for all these years and that time was well spent in exploring virtual manipulatives to teach students in far flung corners of the globe. This experience of operating in the virtual 2-D world of online tutoring was about to pay dividends in how I could understand and teach multi-base. Not just to my tutees but as CPD later, both receiving and delivering it.

#MathsConf23, like many events, went virtual a few weeks into pandemic. The “Explode your mind with exploding dots: A global phenomenon” presentation was given by James Tanton who radiated a teaching life force and infectious enthusiasm. By then I had already been using dots/counters/rekenreks, so I got this representation immediately. For the first time, multi-base started to make clear sense and a whole new universe revealed itself to me. I was breaking out of the shackles of base-ten.

I then started helping my tutees prize this association apart. Disrupting someone’s worldview is no easy task but my tutees trust me. Besides, younger tutees had not lived with base-ten for as long as I had, so they were fairly quick to grip multi-base. Nonetheless, I took an incredible amount of care and caution to make sure that tutees do not get muddled up. Always starting from an open ended exploration of numbers, digits and numerals before presenting clear cut definitions. Regularly reminding them that a numeral is the written code and representation of number, whereas number is the thing itself, the idea.

Once familiar with binary with Hindu-Arabic numerals, I encourage tutees to make up their own digit symbols. Here we have a comb (one) and pumpkin (zero) from a tutee.

I sidestepped working in multi-base with Hindu-Arabic numerals with my tutees and started using a mix of ancient Egyptian and Roman numerals first. Roman numerals turned out to be a great bridge into this world for my tutees as they were already familiar with them. And in this last academic year, I have thoroughly explored exploding dots as my go to representation for multi-base, both with whole numbers and whole + fractional numbers.

I have now emerged on to the other side; now when I see 14, I see a numeral that is one-four. A symbol that could represent various other numbers depending on base choice. I even get the joke: “There are 10 types of people in this world, those who understand binary and those who don’t”! And since September 2020 I have been covering a range of multi-base ideas with tutees, from long addition algorithms to division. It is only a few months on but I am already seeing them develop robust and flexible generalising skills. They are becoming more mathematical and some of them are already comfortable working in base-x.

I have a lot more to write about teaching multi-base and will do so in a series of blog posts, particularly on the idea of place value. Once you are enlightened about place value, it is impossible to teach place value in just base-ten. Because teaching it in just base-ten does not feel like teaching place value at all. Education and CPD is the way out of this, just like it has been for me. Place value in other bases has also been mentioned by Charlotte on her blog post and there are some really great definitions of various related ideas on Mark’s blog post too.

Exploring ancient Egyptian numerals. A task my tutees do and one I set for my #MathsConf25 workshop.

So how to get started on multi-base (radix)? You can of course look it up online, in various books or take CPD. The exploding dots website is a great place to get started on it. I presented a workshop at #MathsConf25 titled “An introduction to Multi-base” which was specifically designed for complete novices with my fresh viewpoint. I really encourage maths teachers, tutors and pupils to explore the world of multi-base. There is something profound missing if you don’t understand it.

Disrupting one’s own existing worldview and frame of reference is no easy process. But as teachers we know this better than anyone else. An incredible journey awaits for you if you haven’t explored this world yet and want to dive into it.

Being Featured on the Wall Street Journal as a live-streamer

In the middle of my short holiday at the Peak District an article appeared on the famous US newspaper on the 6th of August 2020. The article was titled ‘Everybody Is a Live-Streamer in Covid-19 Era‘ and I featured on the opening paragraph for that story. The article was published in print of the Wall Street Journal as well.

“Soon after the coronavirus outbreak was declared a global pandemic, Atul Rana started using the video app Zoom to keep up with peers in his field. The high-school math tutor found the hourlong conversations so enlightening, he began broadcasting them live once a week on Twitter, Facebook and YouTube.”

Sarah E Needleman – Wall Street Journal, 6th August 2020
Print version of Wall Street Journal article ‘Look Who’s Live-streaming’, Atul Rana is 🙂

I had been contacted by author Sarah earlier and this seemed like a pretty cool story to be part of. Little did I know that I was a part of a new type of media creator in a family of live-streamers, a niche of sorts, people who stream about fitness training, video games, music and more. Which in itself has given me more ideas to try out for other things I do.

Maths Chat Live Stream with Atul Rana hosting on zoom
#MathsChatLive Stream hosted by Atul Rana and broadcast on twitter, Facebook and YouTube.

I already mentioned in a previous post that one of the highest leverage activities I thought I could engage in as soon as the Covid-19 pandemic went global was to live stream with UK based maths teachers. I was an early adopter to live streaming, starting from streaming live music gigs in my room from 2014 on YouTube, to 2016 on Facebook, to education live streaming on my Facebook Page and eventually Indie Tutors to help other tutors.

The need for a community of passionate maths teachers to communicate and share their thoughts has always been there. And there is a really rich and diverse community of UK maths teachers and tutors on twitter. The pandemic brought to an end of face to face conferences and meetups for a few months. I felt that loss as well. I felt I had to now rise up to a new role. To bring my expertise as an online maths and science tutor in holding an online space for tutees, to now holding it for these passionate maths teachers and to learn from them.

Unlike the earlier live streams, these were multi streamed simultaneously on twitter, Facebook and YouTube. I invented a new way of maths CPD online as more and more people gave me ideas. One great idea was to take questions live on twitter and discuss them on a panel.

Anyway, enough of my self congratulatory post here 🙂 I really like the idea that now anyone can run their own TV show online, not just mainstream or any other media. And over the coming months I hope to train up others to livestream like I do using OBS, restream and social media, so this becomes more of the norm and a new thing.