Math Logic Code logo Math Logic Codebooks by Luke McLaughlin

Math and logic, explained so it finally clicks.

Two friendly self-study books that never ask you to leap over the basics. Every idea is broken into small steps, shown with worked examples, and explained with the why behind it — not just the rule. One book builds the full foundation; the other carries the same foundation straight into Python code.

Instant PDF download Secure Stripe checkout 578 + 698 pages 2026 editions
The covers of Math & Logic Essentials and Math & Logic Essentials for Programming, 2026 editions by Luke McLaughlin.
Two books, one foundationStart with pure math and logic, or take the edition where every concept is bridged into runnable Python.

Built for self-study, not for a classroom.

These books were written for adults learning on their own: clear definitions, honest explanations of why each rule works, common-mistake notes, and quizzes with full answer keys.

Small stepsEvery subject is broken into building blocks, so you are never asked to skip ahead
The why“Idea behind it” pages derive each rule, so formulas stop feeling like magic
PracticeWorked examples with highlights, quizzes, and answer keys in every chapter

The books

Pick your path. Both start from zero.

Buy a book, pay securely with Stripe, and download your PDF straight away from a private link on the confirmation page. No account needed.

Math & Logic Essentials cover, 2026 edition.
$20 PDF

Math & Logic Essentials

A complete 578-page foundation in numbers, algebra, functions, geometry, probability, statistics, sets, and formal logic. Ideal if you want to rebuild your math from the ground up — for school, work, or simply to understand things you memorised long ago.

From the preface: every subject is broken into small building blocks, so readers are never asked to leap over the basics.

  • 578 pages
  • Numbers & algebra
  • Truth tables
  • Binary & number bases
Worked examples page from Math & Logic Essentials. Truth table page from Math & Logic Essentials. Matrices and vectors page from Math & Logic Essentials.
Math & Logic Essentials for Programming cover, 2026 edition.
$25 PDF

Math & Logic Essentials for Programming

The same complete foundation across 698 pages, with every idea bridged into Python: operator precedence, variables, booleans, conditionals, loops, functions, collections, and small programs you can run and change yourself. Ideal if your goal is to code.

From the preface: each concept is taught first, then shown as Python that readers can run and test for themselves.

  • 698 pages
  • Python bridges
  • Booleans & loops
  • How computers count
Python operator precedence page from the programming book. Booleans and conditionals page from the programming book. Small programs page from the programming book.

Look inside

Real pages from the 2026 editions.

This is how the books teach: a colourful idea page derives the why, then worked examples with highlights show the how, step by step.

Book page explaining why minus times minus is positive, with a number-line picture and a derivation.
Why minus × minus is positiveRules you memorised at school are derived, so they finally make sense.
Book page explaining why a negative power is a fraction, with the pattern written out step by step.
Why a negative power is a fractionEach “idea behind it” page walks the pattern until the rule falls out naturally.
Worked examples page with key steps highlighted in colour and handwritten-style notes.
Worked examples with highlightsKey steps are highlighted and annotated, like a patient tutor working beside you.
Logic page building a truth table for De Morgan's laws.
Logic and truth tablesFormal logic taught gently — the thinking skill behind every if-statement.
Book page showing how computers count in binary, with grouped dots and place-value columns.
How computers countThe number-bases part takes you from everyday base ten to binary — and suddenly computers make sense.
Page from the programming edition showing a math concept next to the Python code that expresses it.
From concept to PythonIn the programming edition, every idea lands as short, runnable code.
Geometry page with labelled angle diagrams and clear definitions.
Geometry with honest diagramsAngles, shapes, and proofs drawn clearly and labelled properly.
About the author page with a photo and a short biography of Luke McLaughlin.
About the authorWritten by one person who remembers what it is like to not get it yet.

How buying works

Pay once, download straight away.

Instant download

Pay with card via Stripe and your PDF download link appears on the confirmation page immediately. No account, no waiting.

Private, single-use link

Your download link is personal and works once, which keeps the books fairly priced. If anything goes wrong, email us and we will re-issue it.

Secure checkout

Payments are handled entirely by Stripe. We never see or store your card details.

PDF works everywhere

Read on your laptop, tablet, or phone with any PDF reader. Print the pages you are working on if you like.

About the author

Written by Luke McLaughlin.

Luke is a software builder who taught himself the math he wished school had explained properly. These 2026 editions are the books he wanted when he started: patient, visual, and honest about why things work. More books will be added to this store as they are finished.

Math Logic Code2 books
Buy once, download straight away. Questions? support@multiagentai.ai