Doodling in Math Class: Binary Trees
-
0:01 - 0:03Okay, let's say you're me and you're in math class
-
0:03 - 0:04and you're supposed to be learning about
-
0:04 - 0:06exponential functions, but you're having
-
0:06 - 0:08trouble caring about exponential functions
-
0:08 - 0:10because unfortunately your math class
-
0:10 - 0:12is probably not terribly engaging.
-
0:12 - 0:15You're supposed to be drawing and labeling some axes
-
0:15 - 0:17so that you can graph this y equals 2 to the x thing
-
0:17 - 0:18and your teacher seems to think
-
0:18 - 0:20that drawing and labeling axes
-
0:20 - 0:22is the very essence of mathematics
-
0:22 - 0:25but you're bored and you can't help but wonder...
-
0:25 - 0:26Why?
-
0:26 - 0:28So you do what any conscientious student would do
-
0:28 - 0:30in this situation and start doodling
-
0:30 - 0:31and because you're me
-
0:31 - 0:33you like to play games with yourself when you doodle.
-
0:33 - 0:35Here's one game.
-
0:35 - 0:36You're drawing a line, but when it crosses
-
0:36 - 0:38one of the blue lines on your little piece of paper
-
0:38 - 0:39it splits into two lines.
-
0:39 - 0:42Maybe this line is like the neck of the mythical hydra
-
0:42 - 0:44where every time one of its heads gets chopped off
-
0:44 - 0:48by a blue line, it grows two more in its place.
-
0:48 - 0:49You want to see if you can get all the way
-
0:49 - 0:51to the bottom of the page following this rule
-
0:51 - 0:53because if you do, you can draw
-
0:53 - 0:55all of the little hydra heads at the end.
-
0:55 - 0:57But you don't get very far on your first try.
-
0:57 - 0:59You decide to try again, this time
-
0:59 - 1:01spacing things out a little more at the beginning.
-
1:01 - 1:02Unfortunately, things are filling up fast,
-
1:02 - 1:04though you got farther than last time.
-
1:04 - 1:05Maybe if you had more room.
-
1:05 - 1:07Or maybe if you sharpened your pencil more,
-
1:07 - 1:08you could get to the bottom of the page.
-
1:08 - 1:10Oh, and don't forget to draw and label your axes.
-
1:10 - 1:13If each broad swing of Hercules' sword chops off
-
1:13 - 1:15all the heads thus doubling your number, well,
-
1:15 - 1:16you can see where I'm going.
-
1:16 - 1:18I'm not going to try and teach you math,
-
1:18 - 1:20just how to wield it for doodling purposes.
-
1:20 - 1:22In this case, that's going to be a lot of heads.
-
1:22 - 1:24Good luck Hercules.
-
1:24 - 1:26But maybe drawing binary trees all straight like that
-
1:26 - 1:29is not an interesting game to hold your attention for long
-
1:29 - 1:31so you start drawing them in arbitrary shapes.
-
1:31 - 1:33Or less arbitrary shapes.
-
1:33 - 1:35Maybe you start drawing a binary tree
-
1:35 - 1:36that looks like a tree.
-
1:36 - 1:38And maybe you can't see this tree in very high quality
-
1:38 - 1:40because your camera, very much like your math class
-
1:40 - 1:44is fuzzy, unfocused, and all together not very good.
-
1:44 - 1:45Maybe you changed the rules slightly and
-
1:45 - 1:48make a ternary bush where each branch sprouts
-
1:48 - 1:49three more branches.
-
1:49 - 1:52Unfortunately, your math class is 45 minutes long
-
1:52 - 1:54and soon you need a more interesting doodle game.
-
1:54 - 1:56Say you go back to the game
-
1:56 - 1:58where your line splits at every level.
-
1:58 - 2:00Only this time, instead of trying to squish all the lines in,
-
2:00 - 2:02you let them hit each other.
-
2:02 - 2:05And when they crash, there's a firey explosion
-
2:05 - 2:08and the crashing lines end there.
-
2:08 - 2:09Maybe you turn your notebook sideways
-
2:09 - 2:10so that you can make sure
-
2:10 - 2:12you're getting the horizontal spacing right.
-
2:12 - 2:14Maybe, to go back to mythology,
-
2:14 - 2:16Hercules has a method where, instead of cauterizing
-
2:16 - 2:19the necks of the Hydra to keep them from growing back
-
2:19 - 2:22he's found that the necks stick together if they get too close
-
2:22 - 2:24And instead of growing new heads,
-
2:24 - 2:26they just fill up with blood.
-
2:26 - 2:28It might seem a little morbid for math class,
-
2:28 - 2:31but maybe, if the curriculum wasn't so appalling
-
2:31 - 2:33and the teaching methods wern't so atrocious,
-
2:33 - 2:35you wouldn't have to entertain yourself
-
2:35 - 2:37with these stories and games.
-
2:37 - 2:39Speaking of this doodle game,
-
2:39 - 2:40something very interesting is happening.
-
2:40 - 2:43Looks like your simple rules about splitting
-
2:43 - 2:46and crashing are creating Sierpinski's triangle.
-
2:46 - 2:47Which is a pretty awesome fractal.
-
2:47 - 2:49But the point is not to learn about fractals
-
2:49 - 2:51or cellular automata or Sierpinski,
-
2:51 - 2:52but to show that simple doodle games
-
2:52 - 2:54can lead to mathematical results
-
2:54 - 2:57so cool and beautiful that they're famous.
-
2:57 - 2:59At least, famous to people like me.
-
2:59 - 3:01And if you're good at inventing doodle games,
-
3:01 - 3:02you might even end up
-
3:02 - 3:06doing some real mathematics during your math class.
-
3:06 - 3:09Anyway, maybe you don't care about accuracy.
-
3:09 - 3:10Maybe you try the game again,
-
3:10 - 3:12only you don't keep track of spacing,
-
3:12 - 3:12and when you make a mistake and
-
3:12 - 3:14accidentally grow heads where you shouldn't
-
3:14 - 3:16you just roll with it.
-
3:16 - 3:18Now you've introduced an element of random error
-
3:18 - 3:19and you want to know
-
3:19 - 3:21how this will affect the final picture.
-
3:21 - 3:23It still looks like a pretty awesome doodle,
-
3:23 - 3:24and has many of the same elements,
-
3:24 - 3:26though it lacks the structure.
-
3:26 - 3:27Speaking of the structure,
-
3:27 - 3:29maybe because you're really super bored
-
3:29 - 3:32and your class is seemingly never going to end,
-
3:32 - 3:35you start looking at the number of necks at each level
-
3:35 - 3:37and trying to figure out the pattern.
-
3:37 - 3:40Maybe you haven't forgotten about powers of two.
-
3:40 - 3:41Anyway, I hope I've provided you with
-
3:41 - 3:45something entertaining to do next time you're bored.
-
3:45 - 3:48Good luck with your math class.
- Title:
- Doodling in Math Class: Binary Trees
- Description:
-
Thank you to all the people I know whose math classes do not require such pastimes!
More videos/info: http://vihart.com/doodling
Doodling Snakes + Graphs: ttp://www.youtube.com/watch?v=heKK95DAKms
Doodling Stars: http://www.youtube.com/watch?v=CfJzrmS9UfYhttp://vihart.com
- Video Language:
- English
- Duration:
- 03:48
Alex Mou edited English subtitles for Doodling in Math Class: Binary Trees | ||
Tomb Raider edited English subtitles for Doodling in Math Class: Binary Trees | ||
frankfeng.pku edited English subtitles for Doodling in Math Class: Binary Trees | ||
tylergbass2 edited English subtitles for Doodling in Math Class: Binary Trees | ||
tylergbass edited English subtitles for Doodling in Math Class: Binary Trees | ||
tylergbass edited English subtitles for Doodling in Math Class: Binary Trees |