Friday, October 16, 2026

Ancient vs. Modern Math Reflection

The Presentation

My first piece of reflection is on how Google Slides’ Animation and Transition panel is not well designed for complex sequences. It was a painful process to show the highlights and sequences. With the short amount of time I used highlights on the equations to show the steps on simplifying, factoring out, and moving things around. I knew my audience already knew all the math necessary, so it didn’t need a lot of explanation, but I still wanted every step to be clear, and just pure text on a white background wasn’t enough for me. So when for example substituting a variable for is known value in one step I’d highlight all the occurrences of the variable in the previous equation, and then highlight the actual value that was substituted on the following equation. Each single piece of highlight needed its own entry and exit in the Animation sequence. A lot highlighting was used for the geometric approach as well, for example highlighting the outer square and showing what that would be on the equation, then highlighting the rectangles and where they are represented in the equation, and then the same think for the smaller square. Creating all those highlights, ordering them to be behind the text, sequencing the in and out, matching with other highlights, and all that painstaking work took me hours to finish. All that for a 15 minute presentation. Absolutely worth it!

Then there was the actual equations and math expressions. I used a plugin to create and use all the math symbols that appear in the slides. And it’s not a very user friendly plugin. And it also generates more objects that need to be sequenced in the Animation panel. When the math expressions were not part of a paragraph it was easier to diagram it, but when it was inline I had to create enough spacing on the text to accommodate the expression. If the text changed a bit, then I’d have to reposition the expression. If the expression changed, then I’d have to change the spacing in the text. And all of that would sometimes cascade, meaning a small change in an equation would require many rearrangements. It was also a paid plugin that I used for the free trial period. I don’t know how to tackle that in the future if I need something like that.

The Blog Post

The blog post similarly had a lot of math in it, so it also required an approach to make the math pretty. The initial solution was with images. We used PDF of a document that had all the math in a LaTeX style. But using those things in a blog post is not great, and it didn’t read great, so I copied all the text and implemented the LaTeX-style math using a corresponding JavaScript in HTML. It turned out not bad.

The Actual Math

The math is actually pretty straight forward. It is a different approach than what I’m used to, but it’s nothing crazy. What actually made my brain hurt a bit was trying to find a good extension. We originally had as an extension just changing the lengths. But we were not satisfied with just that. We looked at three variables to the seeding power, two causes to the third power, and nothing had a solution as beautiful and simple as the square of two lengths. I think my honest takeaway of trying to find something like that and (failing to do so) is that the Babylonians had a bit more than just a few weeks to figure something out, and if they didn’t it’s probably because there isn’t a nice and clean geometric solution. We found many different geometric solutions, but none worth moving forward with. Maybe they reached the same ones and decided it was not helping that much.

Sunday, October 4, 2026

Ancient vs. Modern Math

Our group chose Problem 1.2.4 for Assignment 1. This problem comes from a Seleucid-era clay tablet known as BM 34568, which scholars believe was composed for teaching purposes. The problem describes a rectangle with sides \(a = 4\) and \(b = 3\), and gives the diagonal relationships \(d = a/2 + b\) and \(d = b/3 + a\). It then asks us to find \(a\), \(b\), and \(d\) using the quantities \(a + d\), \(b + d\), \(a - b\), and the area \(A = a \cdot b = 12\). Part (a) asks for a modern solution. Part (b) asks us to retrace the Babylonian steps using the identity

\[(a + b)^2 - 4A = (a - b)^2,\]

which was passed down to us on clay tablets.

The Modern Solution (Part a)

The problem is really two questions, each with two parts. From the tablet’s rectangle (\(a = 4\), \(b = 3\), \(d = 5\)), the given quantities are \(a + d = 9\), \(b + d = 8\), \(a + b = 7\), \(a - b = 1\) and \(A = ab = 12\).

  • Task 1.1: find \(a\) and \(d\) from \(a + d\) and \(b\)
  • Task 1.2: find \(b\) and \(d\) from \(b + d\) and \(a\)
  • Task 2.1: find \(a\) and \(b\) from \(a + b\) and \(A\)
  • Task 2.2: find \(a\) and \(b\) from \(a - b\) and \(A\)

Task 1.1: using \(a + d = 9\) and \(b = 3\)

  1. Set up the binomial formula: \[(a + d)^2 = a^2 + 2ad + d^2\]
  2. Subtract \(b^2\) from both sides: \[(a + d)^2 - b^2 = a^2 + 2ad + d^2 - b^2\]
  3. Use the Pythagorean relation (\(d^2 - b^2 = a^2\)): \[(a + d)^2 - b^2 = a^2 + 2ad + a^2 = 2a^2 + 2ad = 2a(a + d)\]
  4. Solve for \(a\): \[a = \frac{(a + d)^2 - b^2}{2(a + d)}\]
  5. Substitute the given values (\(a + d = 9\) and \(b = 3\)): \[a = \frac{9^2 - 3^2}{2 \cdot 9} = \frac{81 - 9}{18} = \frac{72}{18} = 4\]
  6. Find the diagonal \(d\): \[d = (a + d) - a = 9 - 4 = 5\]

Task 1.2: using \(b + d = 8\) and \(a = 4\)

  1. Formula for \(b\): \[b = \frac{(b + d)^2 - a^2}{2(b + d)}\]
  2. Substitute \(b + d = 8\) and \(a = 4\): \[b = \frac{8^2 - 4^2}{2 \cdot 8} = \frac{64 - 16}{16} = \frac{48}{16} = 3\]
  3. Find the diagonal \(d\): \[d = (b + d) - b = 8 - 3 = 5\]

We also considered using \(a + b\) and \(ab\), and \(a - b\) and \(ab\), separately. We can convert each into a quadratic equation and solve for both variables. In both cases we take \(a\) to be the longer side, and since \(ab = 12\), we can write \(b = 12/a\).

Task 2.1: using \(a + b = 7\) and \(A = 12\)

\[a + \frac{12}{a} = 7 \quad\Longrightarrow\quad a^2 - 7a + 12 = 0 \quad\Longrightarrow\quad (a - 3)(a - 4) = 0.\]

Since \(a\) is the longer side, \(a = 4\), and therefore \(b = 3\).

Task 2.2: using \(a - b = 1\) and \(A = 12\)

\[a - \frac{12}{a} = 1 \quad\Longrightarrow\quad a^2 - a - 12 = 0 \quad\Longrightarrow\quad (a - 4)(a + 3) = 0.\]

A side length must be positive, so \(a = 4\), and therefore \(b = 3\).

In both cases, the Pythagorean theorem gives the diagonal: \(d = \sqrt{a^2 + b^2} = \sqrt{16 + 9} = 5\).

The Babylonian Method (Part b)

The Babylonians approached this geometrically, using a “cut-and-paste” method. They did not have our algebraic notation, but they understood the relationship between a rectangle’s sides and its area. The key identity they used was:

\[(a + b)^2 - 4A = (a - b)^2.\]

This identity links the sum, the difference and the area, so knowing the area and either the sum or the difference gives us the other one. Again, there are two approaches.

Approach 1: using \(a + b = 7\) and \(A = 12\)

The Babylonians would:

  1. Square the sum: \((a + b)^2 = 7^2 = 49\)
  2. Multiply the area by 4: \(4A = 4 \times 12 = 48\)
  3. Subtract: \(49 - 48 = 1\)
  4. Take the square root: \(\sqrt{1} = 1\), which is \(a - b\)

Approach 2: using \(a - b = 1\) and \(A = 12\)

The Babylonians would:

  1. Square the difference: \((a - b)^2 = 1^2 = 1\)
  2. Multiply the area by 4: \(4A = 4 \times 12 = 48\)
  3. Add: \(1 + 48 = 49\)
  4. Take the square root: \(\sqrt{49} = 7\), which is \(a + b\)

Finding the sides and the diagonal

Either way, they now have both the sum (\(a + b = 7\)) and the difference (\(a - b = 1\)). To find \(a\) and \(b\), they would:

  • Add the sum and difference: \(7 + 1 = 8\), then halve: \(a = 4\)
  • Subtract the difference from the sum: \(7 - 1 = 6\), then halve: \(b = 3\)

For the diagonal, they used the rule we now call the Pythagorean theorem, \(d^2 = a^2 + b^2 = 16 + 9 = 25\), so \(d = 5\).

This method is geometric at its core. The Babylonians would have visualized a square of side \(a + b\), cut it into pieces, and rearranged them to see that the remaining area after removing four copies of the rectangle is exactly the square of the difference between the sides. It is essentially “completing the square” in a physical, visual way.

Why This Matters

What strikes me is that the Babylonians were solving what we now call quadratic equations, but they did it without symbolic algebra. Their method was rhetorical and geometric: they described steps in words and manipulated mental or physical diagrams. The identity

\[(a + b)^2 - 4ab = (a - b)^2\]

is the same one we use today when we solve a quadratic by completing the square, but they arrived at it through a completely different conceptual route.

Extension

As an extension, we asked: what happens if the rectangle is not a \(3:4:5\) triangle? Suppose \(a = 5\), \(b = 12\). Then \(a + b = 17\), \(A = 60\), and \(d = \sqrt{5^2 + 12^2} = 13\). Using the Babylonian identity:

\[(a + b)^2 - 4A = 17^2 - 240 = 289 - 240 = 49.\] \[\sqrt{49} = 7 = a - b.\]

Then

\[a = \frac{17 + 7}{2} = 12, \qquad b = \frac{17 - 7}{2} = 5.\]

The method works for any rectangle, not just the \(3:4:5\) case. This shows the power of the Babylonian approach: it is a general algorithm disguised as a geometric procedure.

We also did another extension in terms of coming up with a relationship between the diagonal and the sides of the rectangle. This time we took the \(7, 24, 25\) triangle and tried to find a similar relation. Just like the Babylonians represented the relationship between the diagonal and the sides of a rectangle by linear equations, we tried finding a similar relation for the \(7, 24, 25\) triangle, with \(a = 7\), \(b = 24\) and \(d = 25\).

Then we can try to find the ratios for the required relationships:

\[25 = \frac{7}{x} + 24, \qquad 25 = \frac{24}{y} + 7.\]

If we solve these, we get \(x = 7\) and \(y = \frac{4}{3}\). Therefore another presentation of our triangle becomes

\[d = \frac{a}{7} + b \qquad\text{and}\qquad d = \frac{3b}{4} + a.\]

We discovered that any rectangle can be represented by the linear relations between its diagonal and sides if we can figure out the ratios linked to the sides.

Reflection

Working on this problem made me appreciate how much of our modern algebra is a translation of older geometric thinking. The Babylonians did not have variables, but they had a deep understanding of how areas and sides relate. Their “cut-and-paste” method is not just a historical curiosity—it is a different way of thinking about the same mathematical truth. As a future teacher, I want to bring this kind of historical perspective into my classroom. It helps students see that mathematics is not a fixed set of rules handed down from on high, but a human activity that has been done in many different ways across cultures and time periods.

Monday, September 28, 2026

The Scales Problem

 The post about scales purposes two ideas:

  1. 4 weights, add weights to both sides of the scale, all integer values up to 40
  2. 5 weights, add only to one side of the scale, all integer values up to 31
The second problem immediately made me think about binary and bit masks and that kind of stuff. So with just that, a combination of 5 powers of 2 can give you 32 different values: from 0 to 31. That wasn’t that hard.

But the first one has to be hard, right? You can use the weights as positive AND negative values. But you have only four weights instead of five. Well, just being able to add and subtract you could have an initial state where the scales are not balanced. But again, having one fewer weight, your powers of 2 would be 1, 2, 4, 8. That would still only give us from -15 to +15, 31 different values. And I also noticed that with the powers of 2, being able to add or subtract, you could use the weights to make 3 as 2+1 or as 4-1, that alone made me realize that this is not the way forward. Forget the powers of 2.

Then I went rogue. It has to be complicated, so instead of have a weight of 1, I’ll make my 1 a composite, so if I have 3 and 2, I could make 1 as 3-2. And then what about 4? Well, I can’t make it as 3+1 because my 1 is 3-2, so my 4 would be 3+3-2, but I can’t repeat weights. So I need a value of 4. I turn tried having a weight of 4, but now I could make 5 as 4+3-2 or as 3+2. That’s not efficient enough. I can’t have multiple combinations reaching the same value… I mean, I can, but that’s not efficient enough. What if my 4 was composite just like my 1? Okay, I could have a 7, so my 4 is 7-3. By now my 5 could be either 3+2 or 7-2. Again, the same issue. What if my 4 is a number that is composite of the new weight minus all my other weights? Okay, so 4 is 9-3-2. Now I can’t make 13. But I can make 14.

That’s getting complicated and I’m having to do all the calculations by hand. Let’s just see what’s the theoretical limit of those combinations: the second problem the weight is either in or out, so there’s 2 possible states for each weight, that’s what gives us the limit of 32 values: 2 (possible states of each weight) to the power of 5 (number of weights). So for the first problem each weight can be either positive, negative, or not there, so 3 possible states. The limit then is 3 (possible states of each weight) to the power of 4 (number of weights), so 81. But that’s ranging from all negatives to all positives.

Wait! (Or should I say “weight!”?)
If the second problem the values of the weights were powers of 2 and the limit is calculated by a power of 2, does that mean that the values of the weights of the first problem are powers of 3? Because its limit is determined by a power of 3. It makes sense!

So the weights for the first problem are 1, 3, 9, 27. And being able to add or subtract we can go from -40 to +40. 81 different values!

But now it comes the question again: does the scale have to be balanced when empty? Because it could be unbalanced by exactly 40, so to get 0 we would have to counterbalance all the weights on the opposite side. And as we remove weights from that side and start adding to the other that would give us the range to go up to 80! From 0 to 80, giving us again the limit of 81 different values.

Now I want to go back and look at my initial crazy idea of having 1 as composite of 2 and 3. The next missing value of 13 could be as 27-9-3-2. So the weights are 2, 3, 9, 27. I just changed 1 from independent to composite and 2 from composite to independent. Theoretically it could work, right? We would have the same range. But actually, to get to 40 we would have to use 27 + 13, but our 13 depends on the 27, so we couldn’t get to 40. But we could get to 41 by adding all the weights. And I’m assuming that all the other values in between work fine. 2, 3, 9 can give me any combination from -12 to +12 so we get 14 as 9+3+2 and then from 15, which is 27–12, to 39, which is 27+12, we get all the numbers, then we don’t get 40, and then we get 41. Same issue with not having 4 with 3 and 2 but having 5, and not having 13 with 2, 3, 9 but having 14.

Why complicate making 1 composite? That’s a shoutout to Occam’s Razor: the easiest answer is in fact the correct one in this one.

Wednesday, September 23, 2026

What is Algebra?

It’s fun to see how algebra was done before the so called “symbolic” algebra.

I’d argue that all algebra is symbolic, because language is symbolic. Rhetorical algebra just uses word symbols. Numbers and variables and operations and concepts all use alphanumeric symbols in symbolic algebra, but it’s not like “ush”, “sag”, “lagab”, and “sukud” aren’t symbols themselves. They are symbols, and they do pack some meaning and concepts and understandings in them.

But given what I saw from Mesopotamian scribes, they did have algebra. They just used words (which are themselves symbols) that are longer than single alphanumeric characters. They also had the concept of multiplication, but it relied on specific concepts for two-value multiplication (area) and three-value multiplication (volume). I’m not sure if they had the concept of four-value multiplication, because it does not directly translate to something in our three-dimensional world. Even if somewhat incomplete compared to modern algebra, this is algebra.

I was always encouraged by my mother o try my best to explain my thought process and my ideas when solving math. So for me, for most of my primary and early secondary school, my answers to math problems were more like a short answer than a sequence of math expressions. When you explain your thoughts you can find some missing parts, and it makes it easier for the person reading to see what you meant.

When getting into more abstract and complex math it starts getting harder and impractical to write everything to it’s most basic and tangible concepts. Symbolic algebra does make things more compact, and abstractions help handle general operations between complex concepts. For example, how many books would be needed to translate Euler’s Identity from its few characters to tangible and mundane concepts? And when dealing with imaginary numbers, the abstraction of treating it just as an element lets you perform operations on it without the constant reminder of what it is. Eventually you may use the property that it multiplied by itself is negative one, but other than that it behaves mostly normally.

Bottom line is: they did have algebra. The abstraction and shortening of the concepts into single alphanumeric characters help us save ink and time to write, and also helps lower the cognitive load needed to perform computations, but that’s not what algebra is all about. Maybe if we had infinite cognitive capacity and could write infinitely fast with an infinite source of clay tablets, maybe the lack of need to shorten and abstract algebra would have never driven us to “symbolic” algebra and we could still be using cuneiform Babylonian math.

Time and Seasons.

I’ll start by saying that great part of the concept of season is somewhat new to me regarding personal experience. I never really understood why Santa would show up dressed up like Santa during the peak of the summer when it’s almost thirty degrees Celsius outside during the night (and forty something during the day).

My confusion could be because I’m from the southern hemisphere. And being from a tropical region, there was not really much difference between the seasons other than the amount of rain and if it’s hot or hotter. Only when I moved to Canada that I started experiencing the seasons, colour change, significant temperature changes, and, most importantly, cold Decembers.

Other than that, the text mentions that the day was subdivided into 12 hours regardless of winter or summer. And again, being from a country with a large portion sitting right at the equator (or really close to it), that perception of loner vs shorter days were only really relevant after I moved to Canada. A good part of Brazil doesn’t even have daylight saving time, because being close to the equator means the day is basically 12 hours long all year round. Where I’m from the difference between summer day and winter day is less than 3 hours, while in Vancouver is like 8 hours of difference.

Half of the article was tackling those situations that are somewhat alien to me. But basically they divided the day into 12 hours. And I learned that it wasn’t until mechanical clocks that minutes started making sense. And honestly, for most day-to-day use of clock time, half or quarter of hour is good enough. Of course for some things you need minutes and even seconds, like most people don’t time their microwave to fractions of hours, but for scheduling you don’t need the concept of minutes if you can use fractions of hours. I’ve never seen people schedule an event to 4:37:51PM…

Monday, September 21, 2026

Babylonian Multiplication Tablets.

Starting working with base 60 is mind bending.


The task to create a multiplication tablet that shows numbers that multiply to a certain number was really interesting. The first few pairs are complicated, but eventually you start seeing it. For example, when making the table that multiplies to 45, just at number 2 you encounter a remainder, so you have to go to the first “decimal”(?) place. 45 divided by 2 is 22 and a half. But it takes a second to understand that “half” in base 60 decimal is 30, because it means 30/60.


When I got to 4, 45 divided by 4 is 11, which gives 44 and just 1 as a remainder. And how to get 1 in base 60? But then you realize that 1 is 1/4 of 4, and then you get that 1/4 of 60 is 15. One fourth. One quarter. A quarter of an hour is 15 minutes. It starts making sense.


Then when you get to 8 things get complicated. It’s not pretty how 45 divided by 8 is 5, 37, 30. It needed a lot of calculation. And I’m pretty sure I didn’t do it the best way. I started dividing in base 10 and trying to get to the decimal. Then I started doing something different: 45 divided by 8 is 5, with 5 remaining. Then I got that remaining 5, multiplied by 60 and divided by 8 again. 300 divided by 8 is 37 with 4 remaining. And that I already know that is half. And half is 30! Nice!


On some numbers further ahead, like for example 12, what I did was divide the pair of 6 by 2. I had the answer for 45/6, and from there, 45/12 is half that. 45/6 = 7, 30. Half of that would be 3, 30+15 = 3, 45. I did the same thing for 16, getting half of the division by 8, but that was, again, messy. Others were easy, like getting 45/36 from 45/18. 45/18 = 2, 30, so 45/36 = 1, 15.


Overall it was a really fun experiment.


And here is a small widget to play with the multiplication tables:


Wednesday, September 16, 2026

Transmission, Discovery, and Legacy

Reading the introduction of the book Crest of the Peacock, the first thing that amazed me was the intricacies of the globalization of knowledge. Figure 1.4 shows a diagram of the propagation and transmission of mathematical knowledge, which travelled far and wide, disregarding natural and cultural barriers (except for oceans, which were a natural barrier a bit harder to overcome, and maybe the reason why the Mayans were so isolated on the diagram). I believe that in 500 BC there was no Google Translate and that a message from Greece to China would take more than the few milliseconds it takes with today's internet, but they still managed to share mathematical knowledge (unconfirmed line)!

And amazingly, and quite the opposite of the first point, is the independent discovery of mathematics. While modern mathematics is a combination of many sources from many cultures, which is an amazing global effort, many of those sources originated independently, which is also astonishing. The text mentions that place value was discovered 4 times independently, while zero was discovered only twice. But that independent discovery of mathematics somewhat shows that math is so much a part of nature and so intrinsic to the universe that humans are bound to eventually discover it, given the need. That is beautiful. 

Another thing that I noticed is that on page 19 the author says, "[The Arabs'] role as teachers of mathematics to Europe is not sufficiently acknowledged." I'm not claiming the contrary, but as a Portuguese speaker I know that our very word for "digit" (a character between 0 and 9) is of Arabic origin, and we're taught that. I don't know how much of an acknowledgment that is, or if it is sufficient, but as a Portuguese person, we're aware of a lot of Arabic influence on our culture and language. The whole southern region of Portugal, which was once occupied by the Moors, is called Algarve, from Al-gharb (meaning "the West"). Everyday vocabulary like the words for lettuce, cushion, pin, cotton, and a lot of plants/herbs start with "al-", which we know is an indication (usually) of Arabic origin. This evidence may not be the same for other cultures/languages, and the acknowledgment may not be enough, and I'll admit that there may not be a deep understanding of the influence, but it is not masked, and people are not completely oblivious to that (but at least I was oblivious to the fact that the Arabic numerals were Indian).