All Episodes

July 18, 2025 4 mins

In this episode of Flashcards Friday at Math! Science! History! Gabrielle Birchak unzips the fascinating world of packing problems, the mathematical puzzles behind fitting everything into your suitcase. Discover how optimization theory and combinatorial math are at play every time you pack, ship, or store something efficiently. Whether you're prepping for vacation or running a tech company, the same mathematical rules apply.

3 Take-aways! (Pun intended!)

1. What packing problems are and why they matter in math, logistics, and data storage.

2. Why packing problems are so difficult, and why your perfect suitcase is more impressive than it seems.

3. How optimization techniques like sorting, rotating, and greedy filling are used in real-world applications, and how to apply them to your next trip.

Resources & Further Reading

Math for Liberal Studies: Bin-Packing Algorithms

Solving Hard Problems with Heuristics: A Beginner’s Guide

🔗 Explore more on our website: mathsciencehistory.com
📚 To buy my book Hypatia: The Sum of Her Life on Amazon, visit https://a.co/d/g3OuP9h

🌍 Let’s Connect!
Bluesky:

Mark as Played
Transcript

Episode Transcript

Available transcripts are automatically generated. Complete accuracy is not guaranteed.
(00:02):
It's Flashcard Fridays at Math Science History.
I'm Gabrielle Birchak, and today we're going to
take a quick trip into the suitcase.
Literally.
But first, a word from our advertisers.
Have you ever found yourself sitting on your
luggage, desperately trying to zip it shut?
Or playing Tetris with your shoes, socks, t

(00:24):
-shirts, and pants?
Believe it or not, this problem has fascinated
mathematicians and computer scientists.
It really has, especially when you're a fashionista.
Well, a nerdy fashionista like me.
It's called a packing problem, and it's all
about optimization.
Let's take a closer look at how this

(00:46):
mathematical idea helps you get the most out
of your luggage, and how it applies far
beyond travel.
Like, if you have a purse.
Which I do, and I often lose things.
So, this podcast is going to serve me
well.
So, what are packing problems?
Packing problems fall into a category of mathematics

(01:08):
called combinatorial optimization.
The basic idea is this.
How do you fit a set of items
with different shapes and sizes into a limited
space as efficiently as possible?
There are two-dimensional packing problems, like arranging
photos in a collage, 3D packing problems like
your suitcase or a shipping container, and even

(01:28):
multi-dimensional ones that exist in data science.
One of the most famous in data science
is the bin packing problem.
Imagine you're trying to pack items into as
few bins as possible without exceeding the bin's
weight or volume limit.
This exact scenario is used in logistics, airline
cargo loading, and even cloud storage algorithms.

(01:52):
But why is it so hard?
Okay, here's the twist.
Packing problems are what we call NP-hard
in computer science.
That means there's no known fast algorithm that
always gives the best solution, especially when the
number of items grow.
In real life, when you're packing your suitcase,
you're solving a simplified version of a three

(02:14):
-dimensional bin packing problem.
But unlike a machine, you're using instinct, muscle
memory, and visual estimation.
That's why a perfectly packed suitcase feels so
satisfying.
It's a little victory in an unsolvable world.
That is until you get to the airport
and you have to pay for your luggage.

(02:35):
That's another story for another time.
So here are some tips from the math
world.
How do the pros, or the algorithms, do
it?
Well, first, they sort by size.
Always pack the largest and bulkiest items first.
This is a classic strategy in optimization.
Get the hardest pieces out of the way.

(02:55):
Two, fill the gaps.
After the big items are in, use smaller
things to fill the awkward spaces, like socks
inside shoes.
This is called greedy filling.
Three, rotate for fit.
Just like rotating puzzle pieces or rotating those
Tetris pieces on the game Tetris, rotating items

(03:16):
can make a huge difference.
In mathematical terms, this is considering an item's
degrees of freedom.
Four, roll, don't fold.
Rolling clothes makes them more compact and stackable.
Kind of like using soft, pliable pieces in
a game of spatial optimization.

(03:37):
So some packing apps and shipping software actually
use algorithms inspired by this math, like heuristic
solvers or genetic algorithms to get close to
the best possible solution in a short amount
of time.
So here are your takeaways for this week,
especially if you're going on vacation.

(03:58):
Packing your suitcase is a real world math
problem.
It's an NP hard one.
That's right.
Optimization techniques like sorting, rotating, and greedy filling
are key strategies, and packing problems show up
in shipping, logistics, cloud storage, and even warehouse
robots.

(04:18):
So the next time you zip up your
luggage, give yourself a high five.
You just solved a math problem that stumps
computers.
You are a mathematician.
Thank you for joining me today on Flashcard
Fridays, and if you liked this bite-sized
brain boost, don't forget to subscribe and leave
a review.
You can find show notes and more fun

(04:39):
facts at mathsciencehistory.com.
And until next time, pack smart, stay curious,
and carpe diem.
Advertise With Us

Popular Podcasts

Fudd Around And Find Out

Fudd Around And Find Out

UConn basketball star Azzi Fudd brings her championship swag to iHeart Women’s Sports with Fudd Around and Find Out, a weekly podcast that takes fans along for the ride as Azzi spends her final year of college trying to reclaim the National Championship and prepare to be a first round WNBA draft pick. Ever wonder what it’s like to be a world-class athlete in the public spotlight while still managing schoolwork, friendships and family time? It’s time to Fudd Around and Find Out!

Crime Junkie

Crime Junkie

Does hearing about a true crime case always leave you scouring the internet for the truth behind the story? Dive into your next mystery with Crime Junkie. Every Monday, join your host Ashley Flowers as she unravels all the details of infamous and underreported true crime cases with her best friend Brit Prawat. From cold cases to missing persons and heroes in our community who seek justice, Crime Junkie is your destination for theories and stories you won’t hear anywhere else. Whether you're a seasoned true crime enthusiast or new to the genre, you'll find yourself on the edge of your seat awaiting a new episode every Monday. If you can never get enough true crime... Congratulations, you’ve found your people. Follow to join a community of Crime Junkies! Crime Junkie is presented by audiochuck Media Company.

The Breakfast Club

The Breakfast Club

The World's Most Dangerous Morning Show, The Breakfast Club, With DJ Envy, Jess Hilarious, And Charlamagne Tha God!

Music, radio and podcasts, all free. Listen online or download the iHeart App.

Connect

© 2025 iHeartMedia, Inc.