MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Student Questions
  4. /
  5. Simplifying Boolean Expressions and Logic Tables

Simplifying Boolean Expressions and Logic Tables

Learn how to simplify Boolean expressions and complete truth tables using NOT, AND and OR, with a clear GCSE AQA Computer Science example and exam tip.

MathsGenie Team
Share
Add as a preferred source on Google

Simplify Boolean expressions by applying one rule at a time. Complete logic tables, also called truth tables, by listing every possible input combination and calculating intermediate results before the final output. This makes errors easier to spot.

Boolean logic rules

A Boolean value has only two states: 111 means true and 000 means false. A logic operator combines or changes these values according to a fixed rule.

  • NOT A\text{NOT } ANOT A reverses the value of AAA.
  • A AND BA \text{ AND } BA AND B is true only when both inputs are true.
  • A OR BA \text{ OR } BA OR B is true when either input, or both inputs, are true.

Useful simplification rules include:

A AND 1=AA \text{ AND } 1 = AA AND 1=A A OR 0=AA \text{ OR } 0 = AA OR 0=A A AND 0=0A \text{ AND } 0 = 0A AND 0=0 NOT(NOT A)=A\text{NOT}(\text{NOT } A) = ANOT(NOT A)=A

These rules show that an input remains unchanged when it is combined with the neutral value. A value that forces a fixed result, such as false with AND, is sometimes called a dominating value.

Worked example

For example, simplify:

(A AND 1) OR (A AND 0)(A \text{ AND } 1) \text{ OR } (A \text{ AND } 0)(A AND 1) OR (A AND 0)

First, the first bracket becomes AAA, while the second bracket becomes 000. The expression is therefore:

A OR 0=AA \text{ OR } 0 = AA OR 0=A

The final answer is AAA. This simplification works for both possible values of AAA, so a truth table would give the same outputs as the original expression.

Completing a logic table

Consider:

Q=(A AND B) OR NOT AQ = (A \text{ AND } B) \text{ OR NOT } AQ=(A AND B) OR NOT A

With two inputs, there are four possible input combinations. List them systematically and use one intermediate column for each operation. This prevents a mistake in an early stage from being hidden inside the final answer.

AAABBBA AND BA \text{ AND } BA AND BNOT A\text{NOT } ANOT AQQQ
000000000111111
000111000111111
111000000000000
111111111000111

Read each row from left to right. For example, when A=0A=0A=0 and B=1B=1B=1, the AND result is false, but NOT AAA is true, so the final OR result is true.

Order and exam tip

Work inside brackets first, then apply NOT\text{NOT}NOT, followed by AND\text{AND}AND and finally OR\text{OR}OR, unless brackets change the order. Keep intermediate columns clearly labelled and check that every input combination appears exactly once.

Common exam mistake: treating OR\text{OR}OR as “one but not both”. In Boolean logic, 1 OR 11 \text{ OR } 11 OR 1 gives 111, not 000. OR is inclusive, meaning both true inputs still produce a true output. Do not confuse it with exclusive OR, which follows a different rule.

Related resources

Keep learning with resources for this subject.

Computer Science

Explore

Computer Science

View subject overview

Question bank

Practice exam-style questions

Revision guides

Review key concepts

Was this answer helpful?

Was this answer helpful?

Add as a preferred source on Google

Related student questions

Solving Equations

Solving Linear Equations Without Sign Errors

Learn a clear balance method for solving GCSE linear equations, handling negative signs safely, checking answers, and avoiding common exam mistakes.

Read the answer →

Ratio

How to Simplify and Divide Ratios in GCSE Maths

Learn how to simplify ratios and divide an amount in a ratio using clear GCSE AQA methods, worked examples, checks, and helpful exam tips.

Read the answer →

Factorising Harder Quadratics

How to Factorise Harder Quadratics

Learn how to factorise harder quadratics when the coefficient of x squared is not 1, using a clear GCSE method, worked example and exam tip.

Read the answer →

Surds

How to Simplify Surds and Rationalise

Learn how to simplify surds, calculate exactly and rationalise single-term or binomial denominators with clear GCSE Higher worked examples.

Read the answer →

Standard Form

How Do I Calculate with Numbers in Standard Form?

Learn how to multiply, divide, add and subtract numbers in standard form, with clear GCSE methods, worked examples and common mistakes to avoid.

Read the answer →

Quadratic Simultaneous Equations

How Do I Solve Quadratic Simultaneous Equations?

Learn how to solve quadratic simultaneous equations using substitution, factorising and checking both solutions, with a clear GCSE Higher worked example.

Read the answer →

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • Help centre
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.