Join us for conversations that inspire, recognize, and encourage innovation and best practices in the education profession.
Available on Apple Podcasts, Spotify, Google Podcasts, and more.
An algorithm is a recipe or a description of a mechanical set of steps for performing some task. For example, you can have an algorithm for making a peanut butter and jelly sandwich.
Mathematical algorithms are increasingly important in the computer age. Computer programs are essentially algorithms written in a language that computers understand. Here’s a mathematical algorithm (let’s call it Algorithm A):
Note 3
Use Algorithm A for these problems.
What strategies did you use to answer parts (d)-(g) of Problem B1?
Describe, in language similar to the way we described Algorithm A, an algorithm (call it Algorithm B) that undoes Algorithm A. This means that if you put a number into Algorithm A, then put that output into Algorithm B, you should end up with the original input.
Does Algorithm A undo Algorithm B? That is, if you put a number into Algorithm B and then put that output into Algorithm A, do you get back to your starting number?
Note 3
Discuss your responses to Problems B2 and B3. Then discuss the video segment of Dr. Fuji monitoring medication for a newborn. How is math being used at Boston Medical Center? Where else might the concepts of doing and undoing have real-world applications?
Problem B1
Problem B2
Working backwards from the end of the algorithm to the beginning will undo it. There are other strategies, such as writing equations for each of (d)-(g).
Problem B3
Algorithm B “undoes” everything that Algorithm A does.
Problem B4
Test it out. See if you can figure out why it works by thinking of the algorithms as driving directions. Where would you end up if someone gave you directions like Algorithms A and B, and asked you to do them both? In short, yes, they undo each other.