## Re: Algebra

1

So, maybe it's just because I'm a Perfect Little Unique Snowflake, but I never had any problem understanding fractions. Multiplying fractions is not always intuitive, but it seemed to yield pretty easily with a few examples over time. Dividing fractions the same, only more so.

As for algebra, pretty much the only time I've had to deploy it seriously in a work context was for my brokerage job, and even then, it was pretty basic stuff. That didn't keep the brokers from getting confused of course, but many of them were basically just a salesman mask on a lizard.

I wonder if being in Montessori school from ages 2-7 was helpful for algebra and fractions? All of those tactile counting methodologies must have had some positive effect, right?

Posted by: Natilo Paennim | Link to this comment | 08- 1-12 10:05 AM
2

maybe it's just because I'm a Perfect Little Unique Snowflake,

It really is. It's an extremely difficult topic for most people. How do you explain intuitively what it means to divide by 1/2? (There are clever ways to explain this, but it's a much more difficult thing to grasp than dividing by 2.)

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:07 AM
3

What I've been trying to figure out is how you can possibly to political science without understanding regression, and how you can possibly understand regression without knowing algebra.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:08 AM
4

Call me an old fogy, but this new-fangled algebra thing messes up young minds with abstraction and irrelevancies. From the name, it is likely an Islamist plot anyway.

Give 'em four years of geometry. Or three years geometry and one year trig.

I would really like to try an experiment of limiting the education of youth to the trivium through grade school, and nothing but the quadrivium through high school.

And a library. Used to be, ideally, kids were taugh how to think rather than what to think.

Wiki

Grammar is concerned with the thing as-it-is-symbolized,
Logic is concerned with the thing as-it-is-known, and
Rhetoric is concerned with the thing as-it-is-communicated.

Posted by: bob mcmanus | Link to this comment | 08- 1-12 10:15 AM
5

The problem is that they build up to rather difficult problems that terrify the students and still only involve this one isolated skill

This gets at one of the big problems. I remember in high school algebra it seemed like all quadratic equations all the time. First factoring simple ones and/or multiplying polynomials (yeah FOIL!), then increasingly complicated higher order expressions. This went on and on. I remember endless homework sets of this with no context whatsoever.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 10:15 AM
6

How do you explain intuitively

I remember, at some point, helping tutor a HS student in algebra and getting excited explaining that the equation and the graph represented exactly the same thing. They were just different ways of looking at it which were useful in different ways. It's one of those things which I found completely intuitive and genuinely exciting and which I couldn't explain at all (I'm not sure I was a particularly good tutor).

(I'll again recommend Number: The language of science which does a good job of describing the Cartesian plane as one of the great inventions of human culture.)

Posted by: NickS | Link to this comment | 08- 1-12 10:16 AM
7

And now linear algebra is an important part of what I'm working on.

"I'll never use this stuff anyway!"...heh.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 10:17 AM
8

> one year trig.

Trig without algebra seems like a bad idea.

Posted by: NickS | Link to this comment | 08- 1-12 10:17 AM
9

How do you explain intuitively what it means to divide by 1/2?

Here's a block. Cut it in two. Now you have two half-blocks.

How many half-blocks are there in a block? Two.

So, how many half-blocks are there in seven blocks?

Posted by: MAE | Link to this comment | 08- 1-12 10:18 AM
10

3: And?

Posted by: JP Stormcrow | Link to this comment | 08- 1-12 10:19 AM
11

Still stumped.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:21 AM
12

One thing that I keep struggling with is that 90% of all curriculum decisions are based on inertia - it was done this way by some important prep school in 1890, and people became attached to it and built up complicated rationalizations assigning value to a rather fickle initial precedent. (For example, geometry is taught in high school because the headmaster in some Boston prep school had a hard-on for ancient Greeks. Yes, it's useful. So is statistics.)

So this becomes a problem because we're being asked to assess and defend every little thing we do. But I am not going to single-handed up-end a century of tradition. Everyone expect a calculus course to look a specific way, even if it's got a lot of stupid elements. So I'm trying to justify/assess/defend a system which is largely stupid, because one little cog is not in any position to re-invent the wheel that it's lodged within.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:22 AM
13

Same here. I do not understand the relevance of your observation.

Posted by: JP Stormcrow | Link to this comment | 08- 1-12 10:22 AM
14

13 -> 11

Posted by: JP Stormcrow | Link to this comment | 08- 1-12 10:23 AM
15

Oh. Well, guy who wrote the article is a political scientist. Ergo, he must have made use of algebra on some level, right? Is there a thing here where having read the article would help me make more sense?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:24 AM
16

3, 10, 11, 13: I learned most of my math in Poli Sci.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:24 AM
17

And 15, also.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:24 AM
18

Here's a block. Cut it in two. Now you have two half-blocks. How many half-blocks are there in a block? Two. So, how many half-blocks are there in seven blocks?

Absolutely, and a lot of descriptions go this way. ("Use a half-cup measuring cup. How many half-cups can be filled from this pitcher of 7 cups?")

But notice how much you've inverted the grammar of a typical division problem. "Dividing by 2" is usually taught as "Divide the pile into two groups. How many items are in each group?"

What you've said is "Divide the pile into groups of a certain size. How many piles do you have?" Which does not obviously fit the pattern that you would establish with the "dividing by 2" example.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:26 AM
19

I feel like this kind of conversation is always dominated by people who chose their profession because it didn't require them to do math and are now announcing that math is unnecessary because they don't use it in their job.

Also, even if you aren't using algebra directly, isn't their a huge benefit from learning to think at that level of abstraction and rigor? Of course, this might be better served by the more detailed curriculum heebie-heebie suggests. But then again, heebie si the exact opposite of the sort of person I get annoyed with in these debates.

Posted by: rob helpy-chalk | Link to this comment | 08- 1-12 10:27 AM
20

I have no idea if 16 is of relevance, but a large number of the older political science faculty weren't happy about how math-y the field had become.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:27 AM
21

geometry is taught in high school because the headmaster in some Boston prep school had a hard-on for ancient Greeks.

I thought there were centuries of prep school teachers in England and America with a hard-on for the ancient Greeks. (And I confess that the Greeks still make me feel a little tingly.)

Posted by: rob helpy-chalk | Link to this comment | 08- 1-12 10:31 AM
22

It's annoying because algebra courses really are a giant clusterfuck, but this guy has no idea why, and is identifying not much of anything but acting like he's got a really great handle on a problem that no one has any idea how to solve.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:31 AM
23

21: I think so! There's one guy in Boston, though, who is personally responsible for cementing Geometry as an indispensable core course of any respectable high school sophomore.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:32 AM
24

It does strike me as funny that his example of algebra is:

But there's no evidence that being able to prove (x² + y²)² = (x² - y²)² + (2xy)² leads to more credible political opinions or social analysis.

That's very far removed from how you might use algebra in nearly any field. You solve equations instead of demonstrating proofs.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:33 AM
25

If we ditch algebra can we replace it with probability and statistics? Lots of each, so that maybe people can start evaluating risks better and we can spend less money on stranger danger and more on defensive driving.

Posted by: togolosh | Link to this comment | 08- 1-12 10:33 AM
26

I had a teacher who remarked to us when we were about 7 or 8, "Dividing is like multiplying backwards" or some such expression - I don't remember her exact words, but the point was that multiplying and dividing weren't independent mysteries that had to be mastered entirely separately, but one was just the opposite of the other. She didn't make anything much of it at the time, but shit it was useful later on.

Posted by: chris y | Link to this comment | 08- 1-12 10:34 AM
27

The first people to have a hard-on for the ancient Greeks were the ancient Greeks.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:34 AM
28

Again, how on earth do you learn statistics without algebra?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:35 AM
29

I feel like this kind of conversation is always dominated by people who chose their profession because it didn't require them to do math and are now announcing that math is unnecessary because they don't use it in their job.

I work with a lot of those people, and they're largely right -- you can be a very successful lawyer without being able to do arithmetic reliably, let alone something complicated like a percentage. (You want access to someone who doesn't blanch at the sight of a number, but it's not a significant hardship being unable to do it yourself.)

Which makes me think that heebie's right about treating high school math as a series of service courses for people who are interested in going forward with technical subjects, including more math. There's no strong reason to worry about teaching the kids who aren't going down that track much of any math at all, given that under the current system they don't retain any and they manage all right.

Posted by: LizardBreath | Link to this comment | 08- 1-12 10:36 AM
30

28: I genuinely have no clue, but we do offer a statistics course which does not have an algebra pre-requisite.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 10:36 AM
31

You can teach probability without algebra, maybe.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:38 AM
32

I don't see how you teach any sort of computer programing without some grounding in algebra.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:39 AM
33

I'm being a little Slate-contrarian in 29 -- I guess what I mean by it is more that there's literally nothing to lose from changing the current system for the kids who aren't going forward in a math-heavy area, because right now I don't think they're getting anything.

Posted by: LizardBreath | Link to this comment | 08- 1-12 10:39 AM
34

There's no strong reason to worry about teaching the kids who aren't going down that track much of any mathsubject other than reading at all, given that under the current system they don't retain any and they manage all right.

Posted by: Eggplant | Link to this comment | 08- 1-12 10:39 AM
35

20:

Alas, Frisch was there to point out that since the Greeks it has been accepted that one can never say an empirical quantity is exactly equal to a precise number. Given his aim, this was a deadly blow to Kalecki [...]. (Goodwin 1989, in Sebastiani 1989: 249-250)

From Michal Kalecki, Julio Lopez, 2010

I am well aware of the use and abuse of regression analysis in at least one social science, economics. A rhetorical device of the debbil.

Assigning a name, like "GDP," and them attaching carefully chosen and mangled numbers to that symbol is a political act of detaching from reality for purposes of persuasion and control.

And this is why we should teach children critical thinking well before "facts."

Posted by: bob mcmanus | Link to this comment | 08- 1-12 10:41 AM
36

My job doesn't really call for anything higher than arithmetic (built up into very complex models), but I have been able to make use of algebra and even calculus to better understand it how its end results change based on change to components.

I have pretty much forgotten how regression works algebraically, but still think I understand it well enough in practice.

Posted by: Minivet | Link to this comment | 08- 1-12 10:43 AM
37

My thoughts on this are complicated by the fact that I totally fail to empathize with otherwise functional people who find math at this level difficult at all. I know it's hard for lots of people, but I really don't get it, which makes it hard to see what to do about it.

Posted by: LizardBreath | Link to this comment | 08- 1-12 10:43 AM
38

You can be a good lawyer without knowing math, but you don't want to lock half your population into going into law their sophomore year of high school because math is hard.

Posted by: rob helpy-chalk | Link to this comment | 08- 1-12 10:43 AM
39

But law isn't a freakishly unusual profession in terms of being able to get by while innumerate -- "When am I ever going to use this in real life?" is a cliche because it's true for more people than not that they can get by without needing to know more math than how to count their change.

Posted by: LizardBreath | Link to this comment | 08- 1-12 10:48 AM
40

Probability is a great topic which doesn't require algebra for a lot of the beginning material. You start off spending a lot of time learning to count up possible ways, and then start working with fractions. (in practice, probability textbooks have the same stupid issues as algebra textbooks - isolated skills are never integrated, and students are terrified by excessively difficult problems which distract from full mastery of easier problems.)

Posted by: heebie-heebie | Link to this comment | 08- 1-12 10:49 AM
41

Off to go hiking!

Posted by: heebie-heebie | Link to this comment | 08- 1-12 10:50 AM
42

Heebie's on fire here, both in the original post and in 2 and 22. I agree with basically everything.

It never ceases to amaze me how overpacked the high school curriculum is in science. People have to "cover" way too much material, and the result is that no one learns any of it. I think one of the big drivers is that too few high school science and math teachers understand concepts deeply, and so they're more comfortable superficially "covering" material.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 10:52 AM
43

One other point though, is that part of the reason that math is used as a weeding out course is that weeding out is sometimes actually needed. If it weren't calculus deciding who gets to go to med school we'd just have to invent something.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 10:52 AM
44

39: is that really true? I mean, I guess I can think of some job categories where it doesn't matter (retail? Some journalism/) but it seems like you're going to be better prepared for almost any office job if you can get your head around (for instance) formulas in excel.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:53 AM
45

What I think we should be teaching people instead of algebra is writing simple code. It covers a lot of the same material while giving you a skill that's obviously valuable. I bet even in law being able to use formulas in excel is a valuable skill.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 10:54 AM
46

That was an unexpected pwnage.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 10:54 AM
47

If it weren't calculus deciding who gets to go to med school we'd just have to invent something.

I believe it's called Organic Chemistry.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 10:55 AM
48

Come to think of it I don't remember if I learned to program before taking algebra. I guess probably so?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 10:56 AM
49

8:Trig Without Algebra? Geometry + Arithmetic?

I was good with calculus and elementary statistics but always sucked at trig.

Posted by: bob mcmanus | Link to this comment | 08- 1-12 10:57 AM
50

I believe it's called Organic Chemistry.

This, and biochem, etc. Which is hugely fucking annoying for people taking the classes who aren't pre med.

Posted by: gswift | Link to this comment | 08- 1-12 10:57 AM
51

It's a national disgrace that we require calculus for premed students but not statistics.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 11:01 AM
52

Which makes me think that heebie's right about treating high school math as a series of service courses for people who are interested in going forward with technical subjects, including more math. There's no strong reason to worry about teaching the kids who aren't going down that track much of any math at all, given that under the current system they don't retain any and they manage all right.

The standard counter-argument is that once students stop taking math, it becomes extremely unlikely that they will resume. For example, non-traditional students who need a math class often have a terribly difficult time. (Maybe that's why they avoided it the first time around. Who knows.)

There's a false dichotomy - a student need not stop taking math classes if there were more useful classes (programming, statistics) available. And everyone eventually stops unless they're mathematicians. So it's a flawed counterargument, but one that people make.

Anyway, now I'm really off to go hiking.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 11:01 AM
53

Anyway, now I'm really off to go hiking.

If you insist on going hiking, you might find yourself becoming sore and eventually give up walking entirely.

Posted by: Moby Hick | Link to this comment | 08- 1-12 11:04 AM
54

What branch of math should people study to learn that you can't balance the budget by cutting taxes?

Posted by: rob helpy-chalk | Link to this comment | 08- 1-12 11:05 AM
55

The innumeracy does show up in people's lives, though. They may be managing their jobs, but maybe a basic innumeracy is part of why people didn't understand what kind of damage a second mortgage could do, or what a 28% interest rate on credit card debt means. I fully acknowledge all the other structural factors that led to the recession, and don't mean to be victim blaming. I don't even want to distract from this conversation. But savvy people who do their jobs without math can still be getting in real trouble because they don't automatically do double checks in their heads when they hear numbers.

Posted by: Megan | Link to this comment | 08- 1-12 11:05 AM
56

Though I guess as long as physics is required you have to take calculus, because physics without calculus is kind of silly.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 1-12 11:05 AM
57

We could just slot in a load of logic and philosophy, if we want a gatekeeper subject. Kidding, but philosophical skills woukd be much more useful than, say, high school chemistry.

Posted by: nattarGcM ttaM | Link to this comment | 08- 1-12 11:08 AM
58

Trig Without Algebra? Geometry + Arithmetic?

I just think that manipulating trig functions is a big part of trig and that algebra is the best place to get an grounding in the idea and importance of functions in general.

Posted by: NickS | Link to this comment | 08- 1-12 11:08 AM
59

3, 16: I do no math in polisci. None.* But, to be fair, I could if I wanted to.

*Not a popular position on this side of the Atlantic, but I'm a weirdo, theory-oriented type.

Posted by: J, Robot | Link to this comment | 08- 1-12 11:09 AM
60

That's how you get a population that cannot think at all because it has never had to deal with abstract concepts.

Posted by: libertas | Link to this comment | 08- 1-12 11:09 AM
61

But law isn't a freakishly unusual profession in terms of being able to get by while innumerate

But we can all have those jobs either. Some people need to know how to design and build things. These aren't unimportant job tracks.

Posted by: rob helpy-chalk | Link to this comment | 08- 1-12 11:10 AM
62

I do find algebra pretty useful for analyzing relationships in general, never mind simple things like converting from celsius and figuring out when a flat fee or a percentage is a better deal. And it's super-useful for chemistry, which is basically the algebra of stuff.

P.S. I definitely learned to program before learning algebra. QuickBasic ftw.

Posted by: foolishmortal | Link to this comment | 08- 1-12 11:12 AM
63

I used a non-negligible amount of math in various legal documents and spreadsheets and whatnot before I was ignobly expelled from the professional class. Maybe that was my problem.

Posted by: Flippanter | Link to this comment | 08- 1-12 11:13 AM
64

QuickBasic ftw.

A low probability phrase to be sure.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 11:13 AM
65

To take the flip side of the argument, I can't believe that there isn't some way to teach math that will make it accessible and non-threatening to the bulk of high school students (which might help with the numeracy problem, and the problem where it's very hard to restart once you've stopped.)

I have a pet theory, based on very little other than observation of elementary school teachers, that math-hating/fearing/failing-to-understand elementary school teachers are a significant problem: that there are enough of them out there that most kids spend at least a year or two in grade school with a teacher for whom the math they're teaching is difficult and unpleasant. The kids pick up that sense from the teachers, and then the ones who are having even a little trouble know that it's acceptable and ordinary for responsible adults to be afraid of math.

Posted by: LizardBreath | Link to this comment | 08- 1-12 11:13 AM
66

But savvy people who do their jobs without math can still be getting in real trouble because they don't automatically do double checks in their heads when they hear numbers.

I agree, that's the real goal. I'd guess that HS math is very bad at training people to do that -- for the reasons that Heebie has given in this thread.

Speaking of which here's a heartwarming story about getting kids comfortable with math early.

Our third child, when he turned two, started yelling that he wanted a math problem, because he saw his brother and sister doing them. And it made us realize, wow, we have a household where math is fun. It's the sought-after thing at bedtime.

I think a hugely important factor in getting people to develop that "sanity check" reflex with numbers is growing up around people who are comfortable with numbers, and the idea of back-of-the-envelope calculations. I don't think it's something you promote by changing the school curriculum (even if that helps), I think it requires changing the culture.

Posted by: NickS | Link to this comment | 08- 1-12 11:14 AM
67

Pwned, in part, by 65.2.

Posted by: NickS | Link to this comment | 08- 1-12 11:16 AM
68

I will say that the elementary school curriculum these days (at least in NYC) is really big on estimation. I'm not sure how well they teach what the point of it is -- I think there's some risk that what the kids pick up is "Okay, do the problem twice. The first time, get the answer a little wrong" -- but I've talked ot my kids about it explicitly as immensely valuable.

Posted by: LizardBreath | Link to this comment | 08- 1-12 11:17 AM
69

I agree that it seems incredibly stupid to require geometry, of all things, and that the way algebra is taught is hugely counterproductive, and tends to scare away (and scar) more people than it helps. I'm also on board with the "teach them how to program, instead" idea.

I was tutoring kids in algebra this summer, and they were supposed to learn Descartes' Rule of Signs. What a stupid, pointless exercise. (Though I have no idea whether, in fact, their classes actually required it--this was a not-well-thought-out enrichment thing, where I was given some 15-year-old Texas textbook and told to go through chapters one at a time.)

Posted by: x.trapnel | Link to this comment | 08- 1-12 11:18 AM
70

I'd say I use some variant of algebra (even if just putting formulas into Excel) reasonably often -- maybe once or twice a month. Of course, I do the algebra badly because I'm innumerate.

My recollection of high school math is that it seemed like a game designed to winnow out a preternaturally gifted few by giving everyone a bunch of pointless exercises of increasing difficulty. The notion that it might be useful or important for anything at all, or to have any function other than identifying the kids who could do it well, really only dawned on me in college.

Posted by: Robert Halford | Link to this comment | 08- 1-12 11:20 AM
71

Also, this LAT story from 2006 about how an algebra requirement drove up dropout rates is worth reading.

Posted by: x.trapnel | Link to this comment | 08- 1-12 11:23 AM
72

18: But notice how much you've inverted the grammar of a typical division problem. "Dividing by 2" is usually taught as "Divide the pile into two groups. How many items are in each group?"

That's fascinating. Is it really taught that way? Not to question your expertise on how math is taught, but I don't believe I've ever been in a math class that used that metaphorical approach to division. I learned it in elementary school as "how many groups of x are in group y". That's why we were taught remainders (before we learned long division.)

Weird.

Posted by: MAE | Link to this comment | 08- 1-12 11:25 AM
73

Doesn't the US have unusually pathetic math takeup among the rich countries? Most of which have their own breakup dramas with the ancient Greeks?

Also, any direct control over material life is likely to be improved by basic algebra & geometry. Fertilizing plants, framing a shed, drafting a dress; we've deskilled all of these, generally by dropping customization & being wasteful of material. Since we didn't get a Purple Wage in return, I'm not at all sure this was a win for the working classes; and destroying the skilled working class seems like one of the big problems with the US now.

Posted by: clew | Link to this comment | 08- 1-12 11:27 AM
74

but I've talked ot my kids about it explicitly as immensely valuable.

The key to having the ability to assess the reasonableness of an estimation isn't skill, per se, but confidence, and trusting your own ability to not get lost (or, at least, to recognize if you've gotten lost and stop).

I remember an example, a couple years ago, where I was chatting with somebody, relatively late, and I mentioned how hilariously funny Rogue Warrior could be if your were inclined to laugh at his general machismo. One example that I referenced from the book was him discussing training in High-Altitude, Low-Opening parachute techniques. They were supposed to open their chutes at x00ft (I don't remember). Instead he described falling and waiting until he was almost level with the deck of the aircraft carrier, giving a salute to the officer that he disliked and only then opening his parachute. The person I was talking to expressed skepticism that it would be possible to do that without killing himself.

I didn't feel like getting a piece of paper so I spent a couple minutes trying to work out in my head plausible values for terminal velocity, and the height of the deck of a carrier, and then calculating the required deceleration and came to the conclusion that it was reasonable. I couldn't prove that it was possible, but, as a first-order estimate, it wasn't unreasonable.

I remember this simply because I was surprised that I could come up with a number that I was comfortable. When I started playing with it my first guess was that there were too many unknowns, and I probably wasn't going to be able to reach an opinion one way or another. When I got a number I had this moment of pleasure, "I didn't know I'd be able to do that."

Posted by: NickS | Link to this comment | 08- 1-12 11:27 AM
75

I suppose I get a lot of benefit from being able to think about numbers and their interaction intuitively. Like the insight that paying off my student loans faster gives a higher return than investing the same extra money.

Posted by: Minivet | Link to this comment | 08- 1-12 11:27 AM
76

I'm not sure how it was taught, but what I learned was, "There is no division, only reciprocal multiplication".

Posted by: foolishmortal | Link to this comment | 08- 1-12 11:32 AM
77

I'm with Sifu in 3 and 28. Statistics without algebra? Not possible.

Posted by: essear | Link to this comment | 08- 1-12 11:32 AM
78

51: I think that some of the schools were reviewing what should be included in premed requirements. Harvard might have been arguing for statistics.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 11:34 AM
79

I found probability immensely frustrating as a subject. I kept thinking that it didn't tell you much about the likelihood of any given event happening. Probability is defined a certain way by mathematicians, but it didn't seem like the right definition.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 11:41 AM
80

Probability is frustrating because our brains have wildly wrong intuitions about probability. That's also why it's so important to learn it.

Posted by: Unfoggetarian: pause endlessly, then go in (9) | Link to this comment | 08- 1-12 11:43 AM
81

80: It's been a long time, since I studied it, but things like random mutations on a gene seemed unlikely to me. It just struck me that there must be some chemical property of a particular nucleotide sequence which would make it more likely to have a mutation than others or whatever. We just were ignorant of it. Or alternatively, the penny might be slightly weighted so that it would spin differently and was more likely to land on one side rather than the other etc.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 11:55 AM
82

Innumeracy!

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 11:57 AM
83

Probability theory is really interesting, I think. Plus, lots of people with cool names: de Finetti; Frank Plumpton Ramsey;* Kolmogorov, etc.

I think, as a general rule, we aren't taught enough intellectual history, both philosophical, literary, and scientific.

Posted by: nattarGcM ttaM | Link to this comment | 08- 1-12 11:57 AM
84

80 gets it exactly right.

Posted by: MAE | Link to this comment | 08- 1-12 11:58 AM
85

the penny might be slightly weighted so that it would spin differently and was more likely to land on one side rather than the other etc

Nah.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 11:59 AM
86

81: That's sort of the beauty of probability. You don't need to know everything to know something important.

Posted by: Moby Hick | Link to this comment | 08- 1-12 12:01 PM
87

The moral of 85: Never, ever get into a craps game with the King of Norway.

Posted by: MAE | Link to this comment | 08- 1-12 12:03 PM
88

83: That stuff sounds fascinating. I would have loved learning the theoretical basis, but that's not what they taught in the 11th grade. In fact, it was the lack of an explicit theoretical and philosophical rationale that irritated me.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 12:04 PM
89

85.2 is great to know.

Posted by: Robert Halford | Link to this comment | 08- 1-12 12:04 PM
90

86: Maybe so, but nobody addressed that explicitly.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 12:05 PM
91

You don't need to know everything to know something important.

This reminds me of "The fox knows many things, but the hedgehog knows one big thing."

Posted by: MAE | Link to this comment | 08- 1-12 12:10 PM
92

I think one of the big drivers is that too few high school science and math teachers understand concepts deeply

A friend of mine is an Ed.D. with a focus on chemistry education. Her go-to example of the above is the shockingly low percentage of HS chemistry teachers who can explain the difference between melting and dissolving.

Posted by: Blume | Link to this comment | 08- 1-12 12:13 PM
93

The fox knows many things, but the hedgehog knows one big thing: where the fox buried the bodies.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 12:13 PM
94

The innumeracy does show up in people's lives, though. They may be managing their jobs, but maybe a basic innumeracy is part of why people didn't understand what kind of damage a second mortgage could do, or what a 28% interest rate on credit card debt means. I fully acknowledge all the other structural factors that led to the recession, and don't mean to be victim blaming. I don't even want to distract from this conversation. But savvy people who do their jobs without math can still be getting in real trouble because they don't automatically do double checks in their heads when they hear numbers.

Yes, yes, yes, yes. Plus unit pricing, compound interest, and all manner of solving for x we do daily. Basic algebra is a critical life skill.

Posted by: Sir Kraab | Link to this comment | 08- 1-12 12:16 PM
95

Posted by: k-sky | Link to this comment | 08- 1-12 12:16 PM
96

81: In theory, you can check. I assume that biologists have actually checked whether some nucleotide sequences are more likely to mutate than others. Part of the point of statistics is to give you tools to check.

Posted by: Walt Someguy | Link to this comment | 08- 1-12 12:18 PM
97

94 (etc): I said this at the other place a bit ago, but *for real* it seems that a decent percentage of Republicans literally has no clue was a marginal tax rate is. (Not to mention the fact that I routinely read newspaper pieces that appear to have missed this boat as well.)

Posted by: oudemia | Link to this comment | 08- 1-12 12:22 PM
98

96: But, again, this was never discussed in my introductory class.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 12:22 PM
99

||

Blume, do you do some kind of QM stuff in your job. I am looking at applying for one at my company, because it would be a shorter commute and a lot more money, but I don't know whether I would want to stab myself in the eye with an ice pick.

|>

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 12:24 PM
100

I would actually start teaching algebra in elementary school. The topic should be broken up and spread out over the whole elementary and middle school curricula. You can teach simplifying simple expressions immediately after teaching any arithmetic at all. For example, once you teach some one that 3 + 2 = 5, you can teach them if x is 3, then x +2 is 5. I'm actually doing this with my own children, so I'll let you know how it works out in 20 years.

The Excel point is an incredibly important one. The thing that kills a lot of people trying to get office jobs is not being able to use Excel.

Posted by: Walt Someguy | Link to this comment | 08- 1-12 12:25 PM
101

This seems like a good idea: Bedtime Math. (Covered on NPR recently, in a story that mentioned a kid named Oggie, spelled that way and everything.)

Posted by: Sir Kraab | Link to this comment | 08- 1-12 12:25 PM
102

I give 100 a thumbs up.

Posted by: Sir Kraab | Link to this comment | 08- 1-12 12:32 PM
103

100: My brother started doing that on his own in kindergarten and he is now in engineering school and as of today can drink legally. I liked the Bedtime Math NickS and Sir Kraab linked and may start that with the girls, though with stories and a song each plus now Frere Jacques, we're starting to max out our available bedtime time.

Posted by: Thorn | Link to this comment | 08- 1-12 12:33 PM
104

95 says a lot of what I have to say about the rhetoric of this argument and how dumb it is. It should be a surprise to no one alive that, when you have a problem that needs solving, you will use the tools you have rather than the tools you don't have, and that, of course, there are people who use advanced mathematics to solve problems in their life and work.

What I didn't really mention in that post is how classed and regional this all is. I'm in the midst of research project on historical numeracy in which my collaborator and I are reading all kinds of arguments about which people should get what skills, and from whom certain skills--especially math--should be withheld because those people can't learn it and don't need it, and we'd just be making them feel bad by trying to teach it. The author of this article is a City University emeritus prof, of which there are two kinds, IME. One is the kind who says urban public students deserve to learn rigorous methodologies in various subjects so they can compete on even ground with graduates of any university in the country. The other is the kind who thinks that "our kids" just can't do the things the richer whiter kids do, and we don't want to make them feel bad.

Posted by: AWB | Link to this comment | 08- 1-12 12:38 PM
105

A lot of people I know get mad about Excel calling things functions, in their minds, inappropriately.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 12:43 PM
106

As much as I enjoyed reading your piece, AWB, 104 feels like an ungenerous parody of the argument. Hacker alleges that math education causes a huge portion of the dropout rate. If algebra proficiency structurally disadvantages "our kids" against richer whiter kids, and it's not obvious how to "teach it better," taking it off the table becomes attractive.

Posted by: k-sky | Link to this comment | 08- 1-12 12:45 PM
107

That said, by simplifying the algebraic expression in the article, we can reduce it to "people shouldn't have such poor parents." If everybody heard the dogwhistles I hear, we'd have socialism tomorrow.

Posted by: k-sky | Link to this comment | 08- 1-12 12:47 PM
108

We should of course be including Bob Moses's Algebra Project in this discussion. I don't know how they've ended up approaching the curriculum development questions heebie raises.

Posted by: Sir Kraab | Link to this comment | 08- 1-12 12:47 PM
109

The Excel point is an incredibly important one. The thing that kills a lot of people trying to get office jobs is not being able to use Excel.

Counterpoint to the thread a couple weeks ago, where some techoid people interpreted the question about whether the job applicant is proficient in Excel and uses Excel all the time as asking "Is this job applicant so stupid that he uses Excel all the time instead of better software?".

Posted by: Cryptic ned | Link to this comment | 08- 1-12 12:48 PM
110

with stories and a song each plus now Frere Jacques, we're starting to max out our available bedtime time.

Just wake them up again in the middle of the night, and then you have a whole extra "bedtime" learning period! I see no downsides to this plan whatsoever.

Posted by: x.trapnel | Link to this comment | 08- 1-12 12:48 PM
111

106: I would want to see some pretty hard evidence that efforts have been put into trying to teach math effectively at the elementary level. (As I wrote on FB, I've had at least one student who was trying to come up with innovative math pedagogy as part of his Ed program, and just got shut down over and over by his professors when he tried to demonstrate how he was taught in China. That's not how we do it. Do it like we do it.) Until the pedagogy catches up, haven't we learned that literacy jumps magnificently in children who are in homes where adults read themselves, and read to them? Isn't the same probably true of numeracy?

Posted by: AWB | Link to this comment | 08- 1-12 12:50 PM
112

My parents recently visited and each drove up with a carload of old stuff of mine from their houses. One such item was a set of Cuisenaire rods. Other than the fact that they'll be a choking hazard for several years, I'm looking forward to putting them into circulation as a math toy for my kid.

Posted by: Nathan Williams | Link to this comment | 08- 1-12 12:52 PM
113

112: oh I loooved those as a kid.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 12:53 PM
114

I loved those too. So fun.

Until last week, I didn't know about Napier's bones. I wish I'd had some growing up. I want some now.

Posted by: AWB | Link to this comment | 08- 1-12 12:55 PM
115

112: More evidence for my theory that I was raised at the best of all possible cultural child-rearing moments and that any attempts I make at same will be snuffed out in an avalanche of horrible plastic crap aided by a parade of insufferable guidance.

Posted by: k-sky | Link to this comment | 08- 1-12 12:55 PM
116

103: Algebreakfast!

Posted by: clew | Link to this comment | 08- 1-12 12:58 PM
117

111: okay, but right now, in many districts, it seems like requiring algebra causes more kids to drop out, without actually improving other outcomes. The requirement is something that can be dropped with a flip of a switch, so to speak. "Fixing pedagogy" isn't--and Step One on that route seems to always and everywhere be, "first, break the teachers' unions," with the innovative pedagogy showing up later if at all.

Although Heebie's post/comments have made me think that, really, it's geometry that's the real oddity here. WTF is with that?

Posted by: x.trapnel | Link to this comment | 08- 1-12 12:58 PM
118

do you do some kind of QM stuff in your job

I'm reading "QM" as "quantum mechanics" and wondering why Blume never mentioned this.

Posted by: essear | Link to this comment | 08- 1-12 1:01 PM
119

I found probability immensely frustrating as a subject. I kept thinking that it didn't tell you much about the likelihood of any given event happening.

This statement confuses me. The probability function doesn't give you likelihood, the likelihood function does.

Posted by: | Link to this comment | 08- 1-12 1:02 PM
120

Although Heebie's post/comments have made me think that, really, it's geometry that's the real oddity here. WTF is with that?

I have a vague belief that part of the point of geometry (once you get past the immediately practical perimeter/area/volume kind of stuff) is that it's the easiest, or at least the conventional, starting point for recognizable proofs.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:05 PM
121

120: Hrm. I guess that's something. But not very much.

Posted by: x.trapnel | Link to this comment | 08- 1-12 1:06 PM
122

You can also check your algebra against geometry.

Posted by: clew | Link to this comment | 08- 1-12 1:07 PM
123

Being able to visualize geometry is pretty foundational for trig and calculus, no?

Posted by: AWB | Link to this comment | 08- 1-12 1:07 PM
124

I have a vague belief that part of the point of geometry (once you get past the immediately practical perimeter/area/volume kind of stuff) is that it's the easiest, or at least the conventional, starting point for recognizable proofs.

I would also, presume, that it can be an easier subject for visual learners. I am very much not a visual learner, but the technique for bisecting a line segment using a compass and ruler is one of the things I most strongly remember from HS math.

[Geometry is also a good introduction for why Calculus is interesting/helpful but that's not a reason to require it for everybody.]

Posted by: NickS | Link to this comment | 08- 1-12 1:10 PM
125

You can also check your algebra against geometry.

Though, as I mentioned in 6, that isn't intuitive for most people.

Posted by: NickS | Link to this comment | 08- 1-12 1:11 PM
126

...and, again, if you make physical things from scratch, geometry is useful and thrifty. I suppose shop class & mechanical drawing have gone the way of the dodo? I liked woodshop, was afraid to take machine shop, & loved mechanical drawing. Mandala for nerds.

Posted by: | Link to this comment | 08- 1-12 1:11 PM
127

I loved geometry. It was always my favorite part of math, and my intuition about things generally works geometrically. DON'T YOU TAKE THAT AWAY FROM ME!\$#

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 1:11 PM
128

High school geometry class was only incidentally about shapes and their relationships (actual geometry) and was definitely designed to be about learning to do proofs. It's pretty weird, since you can go for years of math classes after that without using the proof techniques. Intellectually expanding in a way, but I don't think I'd defend it as part of a better-designed math sequence.

Posted by: Nathan Williams | Link to this comment | 08- 1-12 1:12 PM
129

Almost all college-bound people in my high-school took at least trig/pre-calc, if not calc 1-3. Having maxed out my high school math, I still couldn't cut it in any kind of seriously math-intense discipline in college. This is why these conversations seem really weird to me. When I moved to the east coast, I found out that a lot of people who went to really fancy private high schools barely took any algebra at all, but thought only an idiot went to college not having read vast swaths of philosophy and classical literature. If people really took numeracy seriously, they could put a tiny amount of fucking effort into seeing if math education is working somewhere, domestically and abroad, before deciding that our students are too dumb to learn it.

Posted by: AWB | Link to this comment | 08- 1-12 1:17 PM
130

I worry about ways to avoid passing on my own math phobia to my kid. Maybe we'll do that bedtime math thing posted above together. OTOH my own Dad does math problems for fun in his free time and I'm math phobic, so you never know what kids will or won't take to.

I thought that math teachers sucked unusually much at all levels through high school, but am still not sure why; maybe it was just me and had nothing to do with the teaching.

Posted by: Robert Halford | Link to this comment | 08- 1-12 1:18 PM
131

125: We're giving up on everything nonintuitive? When do we fix spelling?

There are at least two glories to get from geometry to algebra. One, the mathematician's "exhaust an approach, formalize, extend". Two, an approach to algebra for visual or haptic learners. Three, a great translatio studii - Empires rise and fall!

Posted by: clew | Link to this comment | 08- 1-12 1:18 PM
132

High school geometry class was only incidentally about shapes and their relationships (actual geometry) and was definitely designed to be about learning to do proofs.

That was my experience as well.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 1:18 PM
133

Teaching math in Samoa, one of the funny things was that their curriculum had a largely different set of geometrical proofs than the ones I remembered from high school. The ones I remembered were all various arrangements of parallel and intersecting lines and triangles. The Samoan (which is mostly the NZ) curriculum, the proofs were largely circle based -- secants and tangents and inscribed angles and all that sort of thing -- and I had to actually study them a bit before teaching them because they were new to me.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:19 PM
134

if not calc 1-3

You mentioned this on FB, I think, and I realized I didn't know what that sequence meant. Where does it fit into the AP sequence? Calc 1 is AB, Calc 2 is BC, Calc 3 is multivariable? Or something else?

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:23 PM
135

High school geometry class was only incidentally about shapes and their relationships (actual geometry) and was definitely designed to be about learning to do proofs. It's pretty weird, since you can go for years of math classes after that without using the proof techniques. Intellectually expanding in a way, but I don't think I'd defend it as part of a better-designed math sequence.

I loved the proofs in geometry class, though it was only incidentally about proofs and was definitely designed to teach us the formula for the volume of a cone and spend a month re-explaining everything in terms of "radians". It was disappointing that later on nobody asked me to write proofs.

Never questioned the importance of geometry before. Possibly because it lends itself very easily to word problems that make it seem practical.

Posted by: Cryptic ned | Link to this comment | 08- 1-12 1:25 PM
136

Radians are my favorite unit of measurement. They're dimensionless! What could be better than dimensionless units!

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:27 PM
137

http://25.media.tumblr.com/tumblr_m17ockDyHS1qzt4vjo1_500.gif

Posted by: lw | Link to this comment | 08- 1-12 1:28 PM
138

unitless dimensions!

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 1:28 PM
139

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:29 PM
140

Almost all college-bound people in my high-school took at least trig/pre-calc, if not calc 1-3.

No college-bound people in my high school took most of these courses. Calc 1 was only offered some years.

Posted by: Blume | Link to this comment | 08- 1-12 1:31 PM
141

134: AP calls it Calc AB and Calc BC. The numbering at my school was weird, I think.

I did not take the AP test in high school because my calc teacher was not very good and I didn't learn very much from him. After having an amazing trig/pre-calc teacher, the calc guy was mostly invested in being the track coach and grading people on their handwriting. I was eager to retake calc in college, where it went a lot further and deeper than our HS could offer.

At my college, two semesters of calculus were required for all arts majors, four semesters for science majors. If you really couldn't do both semesters of calc as a BA, they would let you do one semester of calc, one of statistics.

Posted by: AWB | Link to this comment | 08- 1-12 1:33 PM
142

I'll again recommend Number: The language of science which does a good job of describing the Cartesian plane as one of the great inventions of human culture

I second this recommendation. That's a fantastic book.

Posted by: teofilo | Link to this comment | 08- 1-12 1:36 PM
143

My high school didn't have Calc or statistics. We did have a room full of Apple IIes and several teachers who didn't give a shit about enforcing the rule against chewing tobacco, so that worked out as far as I'm concerned.

Posted by: Moby Hick | Link to this comment | 08- 1-12 1:38 PM
144

My school, math past what was essentially pre-calc in junior year (wasn't called anything other than "Math" -- we did different topics different years, but there wasn't ever a name on a whole semester or year like "Algebra" or "Trigonometry") was optional. Mathy people took either AB or BC Calc senior year, but if you didn't want to take math that year, you could skip it. There was something called "College Math" for non-mathy people who nonetheless wanted a senior year math class, but I don't know quite what it covered; just that I remember it being generally recognized as vaguely sad.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:39 PM
145

There was the germ of an interesting idea here -- math is incredibly hard, at all levels, almost impossible to teach well to most people, a major barrier to high school completion, and not really needed in most jobs. Yet at the same time some kind of mathematical reasoning and intuition is a central life skill and indispensable in some career tracks. So how to balance that? What's the right level and form of math to teach? But the article sucked -- the problem is he never came to grips with how really important basic mathematical reasoning is and how complex it is in its own right. He just arbitrarily drew some weird line at 'algebra', when actually basic algebra concepts would seem to be a central part of mathematical reasoning.

Re how hard math is -- I saw the basic number theory proof that (-x)(-y)=xy the other day, and it was clearly advanced / upper-division college level material, far too complex for high school. Yet this is a concept memorized in elementary school. Even college and graduate level courses of the 'math/stats for applied xxx' don't often make people truly fluent in math. But a lot of the difficulty of math comes from what a coherent and interrelated form of abstract reasoning it is, which makes it tough to say that central areas of math can simply be skipped.

Posted by: PGD | Link to this comment | 08- 1-12 1:40 PM
146

I thought that was going to have a point when I started typing it, but I appear to have been wrong.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:40 PM
147

144: Our school offered "consumer math," which seemed sad to me. I think this is what I'm afraid of becoming the required math if someone like Hacker is taken seriously. Learn how to calculate whether you're getting a good deal or not. That's the only real life.

Posted by: AWB | Link to this comment | 08- 1-12 1:41 PM
148

math is incredibly hard, at all levels, almost impossible to teach well to most people

No it isn't. Rigorous proofs are really hard. But you can teach someone to understand that the product of two negative numbers is positive without having to teach them the techniques necessary to prove it rigorously.

I agree that elementary/high-school math is very badly taught, often, but that doesn't mean that it's almost impossible to teach.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:43 PM
149

140: Wow. NJ apparently had really strict rules. At least in the 80s, anyone who planned on graduating had to take 3 years of math. If you were planning on going to college, you were expected to take 4, but of course you didn't *have* to. The very bright kids, having taken algebra in 8th grade, took Geometry, Algebra 2, Pre-Calc, and AP Calc.
I was slightly gobsmacked when I got to college and found that there were people (mostly from the south it seemed) who'd never taken more than one year of math.

Posted by: oudemia | Link to this comment | 08- 1-12 1:45 PM
150

This is pretty and interesting.

Posted by: AWB | Link to this comment | 08- 1-12 1:46 PM
151

I think we had to take four years of math. It was tracked ([ remedial ], standard, honors, AP) but not otherwise named.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 1:47 PM
152

My school, math past what was essentially pre-calc in junior year (wasn't called anything other than "Math" -- we did different topics different years, but there wasn't ever a name on a whole semester or year like "Algebra" or "Trigonometry") was optional. Mathy people took either AB or BC Calc senior year, but if you didn't want to take math that year, you could skip it.

That was the deal at my high school. I skipped math my senior year and have never looked back.* **

*AND I have a nice car. Suck it, nerds.
**Actually, I still feel genuinely guilty about it. Someday my guilt will overcome inertia and I'll try to learn calculus, although at this point I'd have to relearn everything past very basic algebra.

Posted by: Robert Halford | Link to this comment | 08- 1-12 1:48 PM
153

which makes it tough to say that central areas of math can simply be skipped.

And I think this is wrong too -- or at least, that large parts of the curriculum are somewhat arbitrary, and could be eliminated and replaced by other topics. The point of the little story I told about teaching in Samoa and having to bone up on an unfamiliar set of geometrical proofs, to the extent that it had a point, was that I hadn't realized that there was anything contingent about the triangle-centric nature of the proofs I did in my high school math class, but of course they were: there are any number of different sorts of things you could have students prove, and it doesn't matter all that much which they are.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:48 PM
154

These conversations--and the whole notion that there might be more effective ways to teach math--are fascinating to me. I've always lacked confidence in my math skills, which was largely a function of always being the slowest student in the hardest math classes (i.e., Algebra I in 7th grade through AP Calc AB in 11th grade). Math is not intuitive to me at all and I wonder if there's some way to fix that.

Posted by: J, Robot | Link to this comment | 08- 1-12 1:49 PM
155

119: Is there such a thing as a likelihood function or are you making fun of me? As I said, I've forgotten everything I learned in a pretty boring class. Mathematical probability doesn't it seems to me have much to say about the question, "If Romney is elected, what is the probability that the U.S. or Israel will attack Iran?". That seems like a meaningful question, and so I'm not sure that what we call probability is appropriately named.

Posted by: Bosroniangirl | Link to this comment | 08- 1-12 1:49 PM
156

I was slightly gobsmacked when I got to college and found that there were people (mostly from the south it seemed) who'd never taken more than one year of math.

My college was self-selecting for math/science-able folks, but a lot of them (especially from rural schools) didn't know any foreign languages or have experience in writing more than a couple of pages. That surprised me quite a bit.

Posted by: AWB | Link to this comment | 08- 1-12 1:49 PM
157

I have nothing constructive to add to the thread but I wish to register my frustration and guilt as a participant in this crappy system.

Posted by: L. | Link to this comment | 08- 1-12 1:49 PM
158

129: I'm just not sure what you think this shows, though. My impression was that folks had been trying to figure out better ways to teach (among other things) algebra for decades and decades. And there doesn't seem to be a simple answer; if there were, we'd have found it by now. Some things work for some students, in certain circumstances, but it really doesn't seem like "let's do what they do!" has been a reliable strategy.

That said, I think there are really two very different issues being conflated here:

1) In some districts--in particular, a few urban school systems with lots of kids in poverty--the dropout rate is incredibly high. There's a legitimate worry that requiring kids to pass algebra will raise that rate, without much if any corresponding benefit--this is what that LAT piece is about.

2) Even in a community of smartypants folks like Unfogged, some folks found algebra to be painful, and didn't find it particularly helpful for later pursuits. Because requiring any one thing has opportunity costs, it's not crazy to think that this time could be better spent on, say, programming, or practical numeracy, or cultural criticism.

The thing is, while our personal anecdotes about learning are directly applicable to #2, they really don't have anything to say w.r.t. problem #1, except for those of us who were in schools with very high dropout rates, which I'm guessing isn't most of us. AWB brings up the importance for literacy of having books in the house & reading time with adults, and I'm sure it does generalize to numeracy, but this gets at what's probably the heart of problem #1, which is concentrated areas of very high child poverty, something many other OECD countries don't have.

Posted by: x.trapnel | Link to this comment | 08- 1-12 1:50 PM
159

Essear, QM is quality management. I don't really think that in practice in my line of work it has much to do with either of those things. But you know, I wouldn't have to go near bed bug infested buildings.

Posted by: Bostoniangirl | Link to this comment | 08- 1-12 1:52 PM
160

Because requiring any one thing has opportunity costs, it's not crazy to think that this time could be better spent on, say, programming, or practical numeracy, or cultural criticism.

I'll give you two out of three.

Posted by: Robert Halford | Link to this comment | 08- 1-12 1:53 PM
161

That's nearly 75%.

Posted by: Moby Hick | Link to this comment | 08- 1-12 1:57 PM
162

The thing that makes me think that the problem is all the teaching, and not that algebra is just genuinely that hard, is that the sort of person who shut down in math class probably does algebra just fine in context in their life. People look at how much gas they have in the tank, how far they're going, what the speed limit is, and when they want to get there, and solve for variables like when they have to leave or where they'll be when they need to stop for gas all the time without thinking of it as algebra.

Posted by: LizardBreath | Link to this comment | 08- 1-12 1:57 PM
163

Being able to visualize geometry is pretty foundational for trig and calculus, no?

Geometry is also a good introduction for why Calculus is interesting/helpful

I got good grades all the way through Calculus A/B but I hated geometry proofs, felt oppressed by trig, and never grasped at least 1/3 of calculus concepts. (Neighborhoods? Whaaa?) I could do it, but I never got an intuitive grasp.

Oh, but algebra, sweet algebra, I loved it so.

Posted by: Sir Kraab | Link to this comment | 08- 1-12 1:59 PM
164

158: it really doesn't seem like "let's do what they do!" has been a reliable strategy.

All I'm trying to say is that, at least in the research I'm doing now about historical teaching of numeracy, the effects of institutionalized racism, classism, and sexism in pedagogy really have prevented the best methods from being implemented in communities of students when the teachers themselves are from a different race/class/gender. No, I don't believe that the best possible known methods have been sincerely employed in poor urban communities, and have just failed because those damn kids can't learn algebra and drop out.

Having taught in public urban colleges for years, even in English departments, I'll tell you that there are definitely colleges where the faculty say "*Our* students can't even learn subject-verb agreement, so we don't really teach writing or literature in the English department. It's just basic grammar, really, even for English majors." Lower the fucking expectations and say that if you don't, they'll all drop out, those lazy dark-skinned poor kids. I've also taught in urban public colleges where this was not the attitude, and those students were as capable as any I've taught in fancy private colleges. I'm just saying, I would be awfully fucking wary of any statement that we're doing the best we can, but this marginalized population will give up if we raise the bar.

Posted by: AWB | Link to this comment | 08- 1-12 2:00 PM
165

historical teaching of numeracy

This is really interesting -- how does it fit into literature? Are you working on representations in literature of the teaching of numeracy, or directly on the history?

Posted by: LizardBreath | Link to this comment | 08- 1-12 2:03 PM
166

Other things by which I was gobsmacked, w/r/t what other people did in high school:

1. Not everyone in the whole country got all of the Jewish holidays off. (Truly, my mind was blown.)

2. Not everyone had to take gym every single day.

Posted by: oudemia | Link to this comment | 08- 1-12 2:03 PM
167

This project is also interesting: "The power to understand and predict the quantities of the world should not be restricted to those with a freakish knack for manipulating abstract symbols. ... We are no longer constrained by pencil and paper. The symbolic shuffle should no longer be taken for granted as the fundamental mechanism for understanding quantity and change. Math needs a new interface."

re: 145, I think the reason that algebra gets singled out is that, from what I understand, it really is a huge wall for many people. I've seen this in some kids I've tutored; I saw this when I was helping my housemate with his city college algebra class. There's something about manipulating variables that is really, really hard for some people.

There are three reasons that I'm on team "Let's teach programming instead." One is that I feel like it's important (in a liberal arts, "tools for citizenship" sense), in a world in which our lives are increasingly shaped and conditioned by software algorithms, to have a real understanding of them as human artifacts rather than external constraints. The second is that it's useful in a very practical sense (I'd probably have a job right now, if I knew how to code!). The third, and the most relevant to this discussion, is that I suspect that learning how to manipulate abstract data structures in code, where you're doing it in order to accomplish some task, and you get to control the structure and the input and see how all the pieces fit together, is probably--for at least some students--a better way of getting a handle on the sorts of abstract manipulation skills that algebra is supposed to teach, and depends upon.

Posted by: x.trapnel | Link to this comment | 08- 1-12 2:05 PM
168

165: I can't be too specific here, glad to explain elsewhere, but my interest is in trying to understand what being numerate means as a marker of class or type of education across a particular stretch of time for a particular group of people. In what ways do different mathematical skills serve or not serve as evidence of intelligence for marginalized groups, etc.

Posted by: AWB | Link to this comment | 08- 1-12 2:11 PM
169

Team teach everyone to program sounds pretty good to me. Not that I have any very clear idea what that is, either.

Posted by: Robert Halford | Link to this comment | 08- 1-12 2:14 PM
170

167.2 - Why don't you know how to code, then? Lack of time to work through something like Learn Python the Hard Way? (Not being snarky - I'm genuinely curious, since I don't think anyone who comments on Unfogged lacks the computer expertise or really fairly minimal abstract reasoning chops to learn to code if they put their mind to it.)

Posted by: snarkout | Link to this comment | 08- 1-12 2:14 PM
171

I'm just saying, I would be awfully fucking wary of any statement that we're doing the best we can, but this marginalized population will give up if we raise the bar.

I agree that this is indeed a proper heuristic. Anyway, we should have some data now, since apparently first LA and then CA as a whole added algebra to the graduation requirements. I'm sure someone's written a methodologically solid paper about whether there's been any effect on the dropout rate as a result; the LAT piece I linked to is full of anecdotes, but doesn't, contrary to my vague memory of it, actually give any such analysis (maybe the author never passed algebra). But now I need to get up and exercise any maybe even apply for a job, since I've spent the last two days in bed.

(Feel free to poke around here to check the dropout data.)

Posted by: x.trapnel | Link to this comment | 08- 1-12 2:17 PM
172

But you can teach someone to understand that the product of two negative numbers is positive without having to teach them the techniques necessary to prove it rigorously.

We probably just mean different things by math. You can teach people fragments or individual insights or tricks from the mathematical corpus and that can be quite useful. But there's a real sense in which it doesn't add up to teaching them math. Really being able to use mathematics as a tool, speaking the language. I had gotten pretty good grades up through college level calculus and thought I knew math. But when I hit grad school and worked with people who really understood and were fluent with mathematics as a tool I realized that I had just basic numeracy plus an ability to plug numbers into prespecified recipes, with only a vague conceptual sense of what was going on. Without the recipes I was lost. Now even my quite knowledge is useful in life and in understanding the world, I'm not saying it's not. But even though I'm pretty sure that compared to the general population I would be at the 90th+ percentile, I don't think of myself as knowing math.

The product of two negative numbers is actually an interesting case...it's easy enough to memorize, and you won't get the number system without some awareness of negative numbers. But it's actually not very useful at all unless you are going to truly be using math comprehensively. It hardly ever comes up in everyday calculation contexts and is not conceptually necessary for basic understanding of statistics. I think that's one of the things that makes math hard in school, it's a big architecture with lots of interdependent parts and lots of kids who will never learn or use the whole system must feel the pieces they learn are boring and useless.

I agree that elementary/high-school math is very badly taught, often, but that doesn't mean that it's almost impossible to teach.

Yes, in one sense I certainly overstated my case, you can certainly teach something useful and mathematical. But I guess it comes down to what we mean by knowing math. It is incredibly difficult to reach real fluency in the language of math, but without doing so much of what you learn is incomplete and flawed in ways you may not even understand.

I suppose this comes up in the sciences -- high school chemistry is both incredibly incomplete and incredibly useful as a glimpse of the way the world is organized. But sciences are facts about the world, while mathematics is an abstract system of reasoning. Knowing a few pieces of that giant abstract system makes for a weird combination of knowing and not-knowing.

Posted by: PGD | Link to this comment | 08- 1-12 2:17 PM
173

166: I know, right?

Posted by: Sir Kraab | Link to this comment | 08- 1-12 2:18 PM
174

Roughly summarizing: even the best traditional school curriculums don't really teach "math" at all, they teach "calculating" - because, among other things, those terms have been almost synonymous for hundreds of years. But that's not true anymore. Computers are very good at calculating, which is boring to humans anyway. So the approach is totally backward.

Instead, what people really need to learn is more general problem solving skills, much as they are actually practiced by working scientists and others in the real world: (1) how to correctly frame and contextualize interesting, real world, "hairy" problems and pose the right questions, and then, usually, (2) how to program or use a computer to answer them or investigate further.

That probably raises as many questions as it answers, but it generally seems like a promising avenue to explore:

The implementation step 2 subsumes a lot of the nitty gritty, but in a more relevant, enduring way - to solve a problem with a computer, you're going to need to go back and find out about stuff like algebra and arithmetic. And then, once you've mastered something well enough to teach a computer to do it, you're really going to know it inside and out.

And the kind of thinking and problem solving involved in step 1 is going to help with a lot of those big picture math literacy questions (e.g.:"Politician A keeps talking about statistic P, but does statistic P even make sense in a discussion of issue Y?") as well as seeing the relevance of math in everyday situations, and learning not only not to be afraid of it, but also how to actually make good use of it. (I wonder what kind of world we'd be living in if, instead of avoiding math and problem solving as much as possible, more people actively used it in the daily lives to make all the stuff around them work better.)

Posted by: jack lecou | Link to this comment | 08- 1-12 2:18 PM
175

SO MUCH TO RESPOND TO IN THIS THREAD.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:19 PM
176

One example that I'm not working on, so I can offer it here, is Moll Flanders's account keeping. Throughout the novel, the character keeps extremely careful accounts of what she is spending, what she is getting, how much she has in assets, how much everyone else has in assets, etc., to the point that she thinks of her body and personality as a kind of commodity that is depreciating in some ways and appreciating in others. The kind of research I'm doing could theoretically be useful for an analysis of what this kind of account-keeping would have meant to readers at the time. As one might expect, really careful bookkeeping would not have been an upper-class skill, and close attention to commodity values and prices is a very urban working-class ability. Moll is certainly an exaggeration and a satire of that kind of life-as-bookkeeping mindset, and her numeracy is incredibly impressive for a character with no formal education, but one way of reading the novel is as a statement about the new numeracy of the striving classes.

Posted by: AWB | Link to this comment | 08- 1-12 2:20 PM
177

170: see 171.2ndtolast--Indeed, I'd have plenty of time to learn, if I didn't spent it all sleeping and avoiding life through, e.g., internet browsing. Just pure dysfunction on my part.

Posted by: x.trapnel | Link to this comment | 08- 1-12 2:20 PM
178

Being able to visualize geometry is pretty foundational for trig and calculus, no?

Not the geometry that's taught in a geometry class. Pythagorean theorem? Yes, you need that, and how. Two months worth of theorems about how a transversal creates various angles when it crosses parallel lines? No, you don't need that.

For the past decade or so, proofs have not been covered in Texas high school geometry classes anymore. In the better classes they have to argue why something would be true. Otherwise it's little visual logic games - can you tease out a path of congruent angles and known lengths and determine this unknown that uses the factoid we just covered in class?

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:23 PM
179

What worries me about Team Teach Everyone To Code is debugging. My computer-related experience is about as minimal as anyone's could be, but to the small extent I've ever done anything that could be described as programming (very little, at long intervals, at a very low level), it's been a minimally difficult process of 'figuring out how to do what I want to do' and then an insanely boring and difficult process of finding the typos that are keeping it from working.

Unless there's some kind of learning environment that gets around that step, I'd think a coding-centric math curriculum would lose a lot of people who couldn't take the boredom/focus necessary to actually make code work.

Posted by: LizardBreath | Link to this comment | 08- 1-12 2:23 PM
180

What you to do is figure out a way to integrate programming into your dysfunction.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 2:23 PM
181

174: boy, that sure speaks to my preexisting beliefs. Yes! But--must! leave! house! And I hate the very idea of TED talks.

Posted by: x.trapnel | Link to this comment | 08- 1-12 2:25 PM
182

179 continued: That's admittedly a perspective from someone who really doesn't code at all. Possibly the people who do will be able to explain that it's not like that at all for real, and if it isn't, I'd believe them.

Posted by: LizardBreath | Link to this comment | 08- 1-12 2:26 PM
183

The math ed curriculum for training teachers is really quite sophisticated. Now, in Texas, about half the teachers get "emergency certification" and don't go through a full-length teacher training program. In addition, there are plenty of teachers who pre-date the modern training programs, and plenty of real world experience which conflicts with what you were taught and undoes the good parts of what you were taught.

ALL THAT SAID. Teachers are trained in what it is like to find new concepts awkward and clunky, and how to let kids wrestle with (-x)(-y)=xy, and how to provide manipulatives that help the kids stumble upon the concept themselves.

Are the manipulatives actually implemented well? Sometimes yes, sometimes no. What's bad is to use them for fifteen minutes, establish the concept, and then flip back to rote memory from there on out. That happens a lot - it's faster and there's too much material to cover. Ideally, they revisit the manipulatives and re-derive the concept again and again, until the student finds themselves walking through the logic when they don't remember the rule.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:28 PM
184

The math ed curriculum for training teachers is really quite sophisticated. Now, in Texas, about half the teachers get "emergency certification" and don't go through a full-length teacher training program. In addition, there are plenty of teachers who pre-date the modern training programs, and plenty of real world experience which conflicts with what you were taught and undoes the good parts of what you were taught.

ALL THAT SAID. Teachers are trained in what it is like to find new concepts awkward and clunky, and how to let kids wrestle with (-x)(-y)=xy, and how to provide manipulatives that help the kids stumble upon the concept themselves.

Are the manipulatives actually implemented well? Sometimes yes, sometimes no. What's bad is to use them for fifteen minutes, establish the concept, and then flip back to rote memory from there on out. That happens a lot - it's faster and there's too much material to cover. Ideally, they revisit the manipulatives and re-derive the concept again and again, until the student finds themselves walking through the logic when they don't remember the rule.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:28 PM
185

Unless there's some kind of learning environment that gets around that step, I'd think a coding-centric math curriculum would lose a lot of people who couldn't take the boredom/focus necessary to actually make code work.

I think the existence of languages like python helps quite a bit. I really wish it had been around when I was trying to learn to code.*

*(it might have existed but if it did it wasn't really known outside some small circle of enthusiasts).

Posted by: AcademicLurker | Link to this comment | 08- 1-12 2:29 PM
186

1. Not everyone in the whole country got all of the Jewish holidays off. (Truly, my mind was blown.)

You think that's crazy? Turns out not everyone gets Gator Football Homecoming off from school, either! And their big town fireworks display is sometime in July, instead of October like a proper blowout.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:29 PM
187

Hey Heebie -- I had been intending to send you this article on mathematics education , but since it's really relevant to this thread I'll just drop it in here. Basically the author argues that current elementary/HS mathematics education (which he calls 'Textbook Standard Mathematics') does not teach math as a system of reasoning at all -- that it's incoherent, contradictory, sometimes just wrong, and substitutes memorizing a bag of disconnected tricks for learning mathematical reasoning. Then he goes into how the new Common Core of Mathematics standards will are intended to fix the problem and transform mathematics education. Also talks about how training for math teachers needs to be changed. A very rich piece -- was curious what you thought of it.

Posted by: PGD | Link to this comment | 08- 1-12 2:29 PM
188

179 continued: That's admittedly a perspective from someone who really doesn't code at all. Possibly the people who do will be able to explain that it's not like that at all for real, and if it isn't, I'd believe them.

That matches my sense that there's lots of ways to teach people to solve toy problems without learning any significant programming skills.

Heck, I've been employed as a programmer for more than 10 years and there are big sections of what I would think of as "core programming skills" that I've never learned.

Which is just to say that "teach programming" doesn't solve the problem of, "what do we pick as an entry point to a deep an interconnected body of skills?"

Posted by: NickS | Link to this comment | 08- 1-12 2:30 PM
189

182: it's not like that at all for real.

Nah it totally is.

I mean, the "hunting down stupid syntax errors" takes ever less of one's time as one gets more experience and uses better tools, but just last night it took me a good hour to light upon using {} instead of [].

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 2:31 PM
190

The thing that makes me think that the problem is all the teaching, and not that algebra is just genuinely that hard, is that the sort of person who shut down in math class probably does algebra just fine in context in their life.

Yes and no. Like you said, they're surprisingly agile with the gas gauge, at the supermarket, etc. Yet what trips them up is trying to wade through the communication of the math (and why a terrible teacher gums everything up so much.) Now, homework problems are terribly phrased, often. But struggling math students have no intuition about how to parse directions and figure out what's being asked. I think the problems should be clearer, but there's also a real skill to be developed - if logical thinking is being communicated in written or oral form, can you follow someone else's case? Can you make a case to someone else, that they can follow?

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:33 PM
191

I gotta go, but I'll look at the PGD's link and say a whole lot more in a little bit.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 2:35 PM
192

179 - This is getting pretty far afield, but there are IDEs that will flag that sort of thing for you, and a lot of languages now come with REPL environments where you can do a thing and see an error rather than type a whole program then see what breaks.

Anyway, I encourage x.t. to figure out how to come up with an awesome "learning to code" drinking game so that he can make discovering the joys of Haskell into an even more delightful and neuron-destroying activity.

Posted by: snarkout | Link to this comment | 08- 1-12 2:45 PM
193

But struggling math students have no intuition about how to parse directions and figure out what's being asked.

The point about the gas gauge, though, is that this hypothetical practically competent person who freezes in math class (and this isn't everyone, of course, but I do think they're fairly common) is fine when they're the ones asking the question (like "When will I need to stop for gas?"). It's not so much "Moving from a real world problem to manipulating the numbers necessary to solve it" that's a problem, it's the "Moving from a problem posed in a math class to manipulating the numbers necessary to solve it in the same way that they would manage a genuine real world problem."

Someone who had trouble figuring out when they're going to get to Grandma's if they do 75 the whole way, I'd think as having a fundamental problem with the sort of reasoning you need to do algebra. But for the sort of person who can do that fine in practice, but draws a blank at the prospect of figuring out "If one train leaves Chicago going 80 mph at 3:00...", I think that's mostly got to be mental blocks and bad teaching.

Posted by: LizardBreath | Link to this comment | 08- 1-12 2:53 PM
194

168: I heard an excellent talk a decade ago about English ministers' daughters who were doing (and writing letters to each other about) calculus in its very earliest days, though I don't remember a ton of specifics. If that's the sort of thing you're thinking about, I could find that professor's name.

Posted by: Thorn | Link to this comment | 08- 1-12 2:56 PM
195

Not sure I understand the 'teach everybody programming' approach. I mean, it would be cool if everybody could program but programming is not math and will not teach you math. Isn't it perfectly possible to be a very good programmer who is lousy at math?

Posted by: PGD | Link to this comment | 08- 1-12 3:00 PM
196

Back when I was a TA for undergraduate courses that involved programming in some manner, I periodically ran into students who had the programming version of the algebra problem described above of being able to solve for x but not for y. In particular, they'd type in some reasonable function foo(x), and then get flummoxed by the fact that it could be (and needed to be) called as foo(x), foo(y), foo(2), foo(3+4*z), foo(x)+foo(y), etc.. The mental gymnastics of substituting for a variable, or assigning to a formal parameter, was something that they had a huge amount of trouble with

Posted by: Nathan Williams | Link to this comment | 08- 1-12 3:05 PM
197

Whee, canceled flight! Maybe I can finally catch up on Unfogged.

Posted by: essear | Link to this comment | 08- 1-12 3:09 PM
198

Essear, that's just not right.

Posted by: LizardBreath | Link to this comment | 08- 1-12 3:10 PM
199

194: That's part of the background I'm looking at so that I understand our project better, but it's not the particular group I'm studying. For personal reasons, I'd love to know about it!

Posted by: AWB | Link to this comment | 08- 1-12 3:10 PM
200

195 - Sure, but I don't know if it's possible to be an even semi-competent programmer and not understand the concept of variable assignment, which is the big conceptual leap in algebra that many people seem to have trouble making. [Insert comment by neb about functional programming here.]

Posted by: snarkout | Link to this comment | 08- 1-12 3:13 PM
201

Not sure I understand the 'teach everybody programming' approach. I mean, it would be cool if everybody could program but programming is not math and will not teach you math.

I believe the theory is that programming would be a way to teach a similar (and possibly more useful) set of mental skills to those which are offered as the justification for learning algebra.

I'm skeptical. I think people who learn programming learn a bunch of useful mental skills, but those are mostly people who enjoy learning programming, and people who enjoy learning math get a lot out of the current curriculum. I'm not sure a general programming class would offer the same benefits as elective programming classes.

But I can understand the argument, programming is a way to make some of the abstractions of math more concrete.

Posted by: NickS | Link to this comment | 08- 1-12 3:14 PM
202

Our system is really different to yours - in England/Wales it's possible to stop maths at 16, doing what they call Foundation tier GCSE, in which the most complicated algebra is along the lines of 3x + 1 = 7. There's a lot of emphasis on real life use. So what surprised me about that article was when he said that less then 1% of degrees are in maths - it's far higher here, although of course our university structure is very different too.

Posted by: asilon | Link to this comment | 08- 1-12 3:21 PM
203

The "change this one aspect of the input --> see what happens to the output" aspect of programming would be a great way to learn. It would have to be done in an environment where the student doesn't spend 90% of his time looking for stray parentheses (unlike my own semester of programming).

Posted by: Cryptic ned | Link to this comment | 08- 1-12 3:22 PM
204

198 Essear, that's just not right.

I feel weirdly guilty about how little I'm reading this place lately. I just drop in for the occasional drive-by comment. It feels like "read at least a day of complete Unfogged threads" is one of those looming unfinished items on my to-do list that's making me anxious.

Posted by: essear | Link to this comment | 08- 1-12 3:24 PM
205

202: well, we only teach the one math here. When you add in all the others I'm sure the numbers get more bigged.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 3:25 PM
206

I thought the /. comments on the Hacker article were pretty good. Largely pro-algebra in the interest of programming, as I read them.

Posted by: clew | Link to this comment | 08- 1-12 3:31 PM
207

To BG in 99, on whether you'd want to stab yourself in the eye with an ice pick: It totally depends on the kinds of QM stuff they do, on the philosophies of the people in charge and the role that QM plays in your organization. It can be bean counting, or it can be gathering data that reveals things you wouldn't otherwise know and that you can use to make changes. It can be finding people doing things "wrong" and zapping them, or it can focus on larger, structural issues.

Posted by: Blume | Link to this comment | 08- 1-12 3:41 PM
208

207: and what role does spontaneous symmetry breaking play?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 3:43 PM
209

re: 202

The Scottish system is different again, which always confuses me when I talk to English people. I had the sense [when I studied maths briefly at uni] that we (Scots) learned more earlier, but topped out at a slightly less advanced stage if you only did Higher and didn't go on to do [the now outmoded] SYS. Which wasn't required at the time I went as an undergrad. In fact, that seemed, talking to friends who did A levels, to be the general pattern. Scottish kids did more, earlier, but because university entrance could take place at 16, topped out a bit earlier than advanced English kids would. On the plus side, the average bright Scottish 15 or 16 year old would probably know more [depth] about more subjects [breadth]. On the negative side, at 17 or 18 [assuming they weren't already at university], less than the best of their English peers.

Posted by: nattarGcM ttaM | Link to this comment | 08- 1-12 3:46 PM
210

208: Instant death, if used by the wrong person. Only the quality managers know which are the wrong people.

Posted by: Blume | Link to this comment | 08- 1-12 3:51 PM
211

Learn Python the Hard Way

I am delighted to learn that this is a real book title.

Posted by: essear | Link to this comment | 08- 1-12 3:56 PM
212

207: I think it's tracking people's recovery scale numbers and making sure that our documentation is compliant with Medicaid treatment plans and that our housing passes dmh licensing requirements etc. plus whatever else they need. Lots of Excel or maybe that google docs spreadsheet thing.

Posted by: | Link to this comment | 08- 1-12 4:00 PM
213

It sounds like I may be teaching people Fortran in the spring. That'll go well, I'm sure.

Posted by: essear | Link to this comment | 08- 1-12 4:11 PM
214

213: hah! That's awesome. Why on earth?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 4:11 PM
215

I'm very dubious of "teach programming instead" because I have TA'd most of my environmental science department's quantitative classes, all of which do stuff in Excel or toy languages that we could do analytically. The students who don't get the algebra are cargo-cult users of Excel. Worse, the students who rely on the school computers & Excel licenses are also at a disadvantage. And we're working on topics they care about, with real policy implications. I think it should be a sweet spot for constructivist learning, but I increasingly think c.l. can't replace formal learning widely.

In holding-tank schools, I think we'd just commit more money to stupid unmaintained hardware and still not teach anything.

LB: William Kahan ringingly told me that you code on your bad days so you can debug on your average ones & test with your utmost powers.

Posted by: clew | Link to this comment | 08- 1-12 4:12 PM
216

How useful a skill is basic programming? I had a notion that basic coding was basically a low wage outsourced job these days, and aren't the needs for programming new code from scratch fairly limited (ie the kind of programming you'd do as an incidental part of some other job). Of course I have no idea what I'm talking about here.

Posted by: Robert Halford | Link to this comment | 08- 1-12 4:13 PM
217

Algebra is so basic and fundamental I can't conceive of a math curriculum without it. But I could imagine something like calculus being taught in a very different and more computer-oriented way. Calculus as she is taught is all about closed-form answers and clever tricks; putting more computer programming into it, you could teach a course on numerical integration and whatnot that I think would be much more useful for many more people. (When was the last time I needed to integrate sin^7(x) cos^3(x) and get an analytic answer? Never, unless it was on an exam when I was in high school. When was the last time I needed to numerically approximate the integral of a function I only knew approximately from some data? Yesterday. The answer to the latter question might not be the same for all of you, but I'm pretty damn sure "Never" answers the first question for everyone.)

Posted by: essear | Link to this comment | 08- 1-12 4:14 PM
218

I also would like to know about the calculusing daughters of the clergy.

Posted by: clew | Link to this comment | 08- 1-12 4:16 PM
219

The answer to the latter question might not be the same for all of you, but I'm pretty damn sure "Never" answers the first question for everyone.

OH REALLY?

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:18 PM
220

214: Well, I'll be trying to teach a course aimed at equipping both theorists and experimentalists with what they need to know to work in my field, which sounds tricky, but the one thing I'm sure all of them need to know is how to run some of the standard software tools. Several of which are old and in Fortran. And I doubt I can count on the students all having programming experience. So....

(There are newer versions of a lot of this in C++ and even, in one case, Python, but a lot of useful things still exist only in Fortran. And teaching C++ sounds like even more of a nightmare than teaching Fortran, really. I guess I'll mostly ask them to figure out the programming stuff on their own, but I don't expect I can completely avoid giving some introduction.)

Posted by: essear | Link to this comment | 08- 1-12 4:22 PM
221

I've been meaning to come back to this:

I would actually start teaching algebra in elementary school. The topic should be broken up and spread out over the whole elementary and middle school curricula. You can teach simplifying simple expressions immediately after teaching any arithmetic at all. For example, once you teach some one that 3 + 2 = 5, you can teach them if x is 3, then x +2 is 5. I'm actually doing this with my own children, so I'll let you know how it works out in 20 years.

This is basically just plain wrong. Or rather, it will probably work out fine for your bright youngsters, and to some extent you could teach the rest of the kids to imitate doing algebra at a young age. But middle school age kids find this concept really, really hard to understand meaningfully.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:23 PM
222

I feel weirdly guilty about how little I'm reading this place lately.

I just had family visiting for two weeks, during which I barely even looked at Unfogged. It was fantastic.

Posted by: teofilo | Link to this comment | 08- 1-12 4:25 PM
223

Radians are my favorite unit of measurement. They're dimensionless! What could be better than dimensionless units!

Huh?

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:27 PM
224

Re: the calculizing daughters of the clergy, in this

http://cscs.umich.edu/~crshalizi/reviews/geometry-civilized/

book review over at Cosma Shalizi's site, it's noted that the mathematical "puzzles" in a popular ladies home journal of the 19th century were often substantially more difficult than the problems given in prestigious exams at Oxford and Cambridge.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 4:28 PM
225

222: And now you've come back to show us how to cast aside our shackles?

Posted by: JP Stormcrow | Link to this comment | 08- 1-12 4:28 PM
226

For the past decade or so, proofs have not been covered in Texas high school geometry classes anymore. In the better classes they have to argue why something would be true. Otherwise it's little visual logic games - can you tease out a path of congruent angles and known lengths and determine this unknown that uses the factoid we just covered in class?

Crap. I never got to my point. AND NOW PROOFS ARE BEING RE-INTRODUCED. I'm sure a decade of skipping them has produced a wonderfully confident crop of teachers to re-introduce them.

OTOH, a few years ago, the state started requiring four years of math for graduation. I think this is great.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:33 PM
227

225: No, I just came back to work and don't have anything better to do.

Posted by: teofilo | Link to this comment | 08- 1-12 4:34 PM
228

216: For non-programming jobs, I think that it's useful to know what programming can accomplish, and most non-programmers don't, although know how to program isn't strictly necessary.

I remember an unfogged comment about running across a first year associate who spent a week or two looking through a list of numbers to find a phone number. That's a trivial problem to solve using existing software, and the whole process should have taken maybe 2 minutes of human time plus whatever amount of time it takes for your copier/scanner to consume the stack of documents. If you're really worried about the translation maybe you can use MTurk to sample and check the results, or even check all of the results.

There's no reason you should need to know how to program to know that 120 hours of work can be compressed into 2 minutes of work plus some background processing time, but it's rare that I meet non-programmers who know what new tasks can be reasonably automated. Maybe actually automating things gives you an intuition about what's actually possible?

It's also nice to be able to automate stuff just for yourself. It you want to do something simple, it's often the case that you can write a quick script more quickly than you'd be able to find a freeware/shareware program that does what you want, and figure out how to use it.

For programming jobs, I feel like 99% of what I do is so basic that I could teach a high school kid to do my job in a month or two. And yet, I not only have a job, but one that pays well. On the other hand, most people who we interview can't even pass the most basic possible programming test.

When I was graduating, my experience was that even people who I didn't think of as even minimally competent had multiple job offers. I'm not sure why the EE/CS job market is so good. That's bound to change eventually, but things are good for now.

Posted by: sral | Link to this comment | 08- 1-12 4:36 PM
229

Someone who had trouble figuring out when they're going to get to Grandma's if they do 75 the whole way, I'd think as having a fundamental problem with the sort of reasoning you need to do algebra. But for the sort of person who can do that fine in practice, but draws a blank at the prospect of figuring out "If one train leaves Chicago going 80 mph at 3:00...", I think that's mostly got to be mental blocks and bad teaching.

No, because once you help them set up the problem and talk through what the problem might be asking, then they fly through it, computationally. And then they are equally stuck all over again on the next problem. Part of it is the formality of the writing - they're uncomfortable reading formal writing, and they can't detect what's important from what's not.

Often times you have a brick of text in italics at the top of maybe six questions, and those instructions are supposed to themselves be general enough to map onto all six questions. Parsing that can throw them for a loop. For example, "In questions 15-24, the equation for the velocity of a particle is given, followed by the initial velocity, followed by an unknown. Solve for the unknown." Then "#15: f(x)=(whatever); v_o=15, p_o?" There's just a lot to parse in that.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:40 PM
230

224.last: In a somewhat similar vein, here is the "Tide" article in the 11th edition EB (the math is hopeless in that format, of course, but from a glance you can get the drift).

Posted by: JP Stormcrow | Link to this comment | 08- 1-12 4:46 PM
231

I would want to see some pretty hard evidence that efforts have been put into trying to teach math effectively at the elementary level. (As I wrote on FB, I've had at least one student who was trying to come up with innovative math pedagogy as part of his Ed program, and just got shut down over and over by his professors when he tried to demonstrate how he was taught in China. That's not how we do it. Do it like we do it.)

I don't exactly get this, either. I mean, there is a gigantic body of literature about how to teach math effectively at the elementary level. The advisor might have been saying "That would be an untenably ambitious project for a thesis, and it is more appropriate to study something smaller scale for your grad work"?

Posted by: heebie-geebie | Link to this comment | 08- 1-12 4:46 PM
232

@228

Is that programming question as simple as it looks, or is there some hidden gotcha?* And if there's no gotcha, how is it possible that people who have progressed to the point that they are interviewing for programming jobs can't do it?

*I'm speaking as someone with feeble mostly self taught programming skills so there could easily be a gotcha that I'm missing.

Posted by: AcademicLurker | Link to this comment | 08- 1-12 5:00 PM
233

228: That test is basically my life before it comes time to run statistics on it.

Posted by: Moby Hick | Link to this comment | 08- 1-12 5:08 PM
234

231: There is also an enormous body of research on how to teach writing effectively in college, and when I have tried to implement these practices based on that research, I have often been told I would be terminated if I continue to question the school's chosen method. I have a hard time understanding why it's incomprehensible that best pedagogical practices are often prevented from being implemented.

Posted by: AWB | Link to this comment | 08- 1-12 5:16 PM
235

On the other hand, most people who we interview can't even pass the most basic possible programming test.

I'm curious what passing that test means in your context; just writing something that works at all? Or writing something relatively efficient in terms of tests?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 5:32 PM
236

Sure. There are often difficult personalities and loyalties to various methods and all kinds of politics that makes it impossible to change things up in an institution. That's a far cry from I would want to see some pretty hard evidence that efforts have been put into trying to teach math effectively at the elementary level.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 5:33 PM
237

236: Sorry I was unclear. Of course there's academic research on pedagogy. I just don't believe it's being implemented equally in public schools.

Posted by: AWB | Link to this comment | 08- 1-12 5:41 PM
238

There's a need for research on how equally the research is being applied.

Posted by: Moby Hick | Link to this comment | 08- 1-12 5:44 PM
239

That is true. Getting teachers to implement new pedagogy is one of the most gigantic hurdles. One problem with a lot of studies is that when the teachers are left alone, they stop implementing the [whatever] the way the researcher wants to see it, and instead fit it in as a sidenote to their pre-existing method. (And a lot of times they've got a good reason, ie they have to keep on schedule and the researcher's [whatever] is time-consuming.) At any rate, people are very resistant to change, and math teachers are people.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 5:47 PM
240

My math teacher wore early 70s suits and ties at least through 1993. I don't know people from the later classes.

Posted by: Moby Hick | Link to this comment | 08- 1-12 5:51 PM
241

That's impossible. All seventies clothes clothes were thrown out uniformly in 1983 and no fashion ever dragged on and on, looking dated but not crazy, until clothes purchased in 1994 which look completely current and modern today.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 5:52 PM
242

Off-topic (but not completely): I've been volunteering with this group that teaches programming to disadvantaged urban kids. One thing that surprised me is that they've been spending most of their time on GUI design (like drawing storyboards) rather than actual programming. I guess the reason is that many of the kids really have very little technical background, and aren't that disciplined, so if we tried to make them write significant amounts of code, they'd just stop coming to class. It's driving me nuts, though, because programming is a much more valuable skill than drawing storyboards -- in part *because* it's hard. Also, I guess I feel that the experience of learning something that doesn't come naturally is itself valuable, and not necessarily bad for your self-confidence.

Posted by: YK | Link to this comment | 08- 1-12 5:54 PM
243

Question about pedagogy: My mother taught second and third grades, and one of the more annoying aspects was when a new "math curriculum in a box" would be adopted by the school (or the district), and everyone would have to switch over to using that method, pacing, scripts, and all. Any idea on the relative soundness of the more popular curricula, and whether they actually implement whatever the cutting edge of elementary math pedagogy suggests?

Posted by: J, Robot | Link to this comment | 08- 1-12 6:12 PM
244

YK, is there someone around to ask?

I've been around some of these that taught HTML & CSS, which did introduce the horse to the jump.

Posted by: clew | Link to this comment | 08- 1-12 6:14 PM
245

242:

Could they handle turtle graphics?

Though out-of-date, this book does a pretty good job of teaching programming fundamentals to average college students via manipulating cheesy, high-level graphics libraries.

Posted by: Criminally Bulgur | Link to this comment | 08- 1-12 6:20 PM
246

242: Interesting! I have a friend who has a grant to develop board games that teach programming concepts to students who may not have access to computers.

Posted by: AWB | Link to this comment | 08- 1-12 6:29 PM
247

I'm only halfway through the thread, but I'm about to go do other stuff for a while, so why not throw out some comments now:

On the why geometry question, I don't remember geometry classes being particularly well integrated into my other math classes in high school. But I do remember the graphical aspect of what we were learning being a part of the non-geometry classes - that is, the teachers would stop and say, "here's what this looks like graphically/geometrically" when we did something that was usually seen as just symbols/numbers.

I actually helped - or I guess I imagine I helped - a friend I was tutoring by going through the geometrical aspect of some algebra thing ("suppose you visualized this in this way...") I can't remember any actual examples.

On programming/coding, isn't there evidence that coding is actually like algebra in terms of learning outcomes? That is, if we required it instead of algebra, wouldn't it turn out to be a similar weeder-type course? I vaguely remembering reading a few things by people who teach programming that suggested that, but I think that may have been anecdotal musing.

Posted by: fake accent | Link to this comment | 08- 1-12 6:31 PM
248

228 -- thanks. I often think I should teach myself how to program, just so the computer would lose some of its "magic box of magic manipulated by nerds" sense to me, but then get stuck on "what would I ever use the programming for?"

Posted by: Robert Halford | Link to this comment | 08- 1-12 6:31 PM
249

Cracking DRM on dvds.

Posted by: Moby Hick | Link to this comment | 08- 1-12 6:36 PM
250

244: Yeah, there are people around who can answer questions. Us volunteers are pretty disorganized, but at least we all know how to program. For a few of the kids, this worked great -- they basically taught themselves object-oriented python. I just think the rest of class could have gone farther if they were pushed a bit.

245: I'm pretty sure they could have handled turtle graphics. As it was, we did python, with mixed results. I like this book (and it would've been great if I had known about it a month ago...).

Posted by: YK | Link to this comment | 08- 1-12 6:39 PM
251

teach programming concepts to students who may not have access to computers.

That sounds like an exquisite form of torture.

Posted by: YK | Link to this comment | 08- 1-12 6:42 PM
252

AWB might find the novel Wolf Hall of interest. The hero is a son of a tradesman who rises to be an advisor to Henry VIII, partly on the basis of an ability to keep accounts.

Posted by: Robert | Link to this comment | 08- 1-12 6:53 PM
253

232 - There's no hidden gotcha. FizzBuzz was unleashed on the world by Jeff Atwood of Coding Horror and Stack Overflow as something actual applicants were failing to solve. It's like applying for a job as a cocktail lounge pianist without being able to play "Chopsticks".

Posted by: snarkout | Link to this comment | 08- 1-12 7:05 PM
254

251: He works for the military. It's better than using his knowledge to kill people, which is the other option.

252: Interesting! A bit before my period, but from what I understand, that's a crucial moment in the history of math dissemination.

Posted by: AWB | Link to this comment | 08- 1-12 7:07 PM
255

Posted by: fake accent | Link to this comment | 08- 1-12 7:14 PM
256

There's programming skill, which is occasionally useful (performing bulk operations on documents, filtering out annoying commenters from websites, etc), and there's general technical competence, which is handy all the damn time (tethering your phone without paying Verizon, setting your pc up as a media server, etc.) They're related but distinct skills.

Posted by: foolishmortal | Link to this comment | 08- 1-12 7:17 PM
257

255: Yes to the first; the second is really too early for my project.

Posted by: AWB | Link to this comment | 08- 1-12 7:24 PM
258

162

The thing that makes me think that the problem is all the teaching, and not that algebra is just genuinely that hard, is that the sort of person who shut down in math class probably does algebra just fine in context in their life. People look at how much gas they have in the tank, how far they're going, what the speed limit is, and when they want to get there, and solve for variables like when they have to leave or where they'll be when they need to stop for gas all the time without thinking of it as algebra.

I don't know what your belief counts for here. The evidence is there is a substantial fraction of students which have great difficulty learning algebra with our present teachers and methods. So in the world that exists algebra is genuinely hard for them and requiring them to learn algebra to graduate means either that the requirement will be fudged in some way or that most of them won't graduate.

And I think lots of people are not in fact using algebra to solve problems in their life, they are interpolating from past experience and are not actually solving algebra problems.

Posted by: James B. Shearer | Link to this comment | 08- 1-12 7:26 PM
259

I had to invent a workshop teaching programming skills w/o computers for a teen enrichment weekend last spring. out of three sessions, two were okay with flashes of great and one was awful-- the last session had been pelted with candy (trebuchet!) and played with LN and I was such a letdown.

Posted by: clew | Link to this comment | 08- 1-12 7:30 PM
260

247

On programming/coding, isn't there evidence that coding is actually like algebra in terms of learning outcomes? That is, if we required it instead of algebra, wouldn't it turn out to be a similar weeder-type course? ...

Yes, people vary wildly in programming aptitude so any universal course will either be very elementary or weed out a lot of people.

Posted by: James B. Shearer | Link to this comment | 08- 1-12 7:31 PM
261

I talked at some length about my semi-disastrous attempt to teach programming to total novices last summer. That shit requires preparation, boy.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 7:32 PM
262

In the 18th c it seems that the basic level of getting-around-life numeracy for working men and women who didn't keep accounts was the rule of three (basic cross-multiplication of fractions). People would explain their level of ability in math like, oh I got as far as the rule of three, but beyond that I don't know anything. It's like cookbook numeracy--useful for figuring out how many cookies you can make according to this recipe if you only have 2/3 c. of flour and it calls for 1 1/4 c. flour.

Posted by: AWB | Link to this comment | 08- 1-12 7:32 PM
263

259: That's why you should always keep an extra trebuchet in your car trunk, just in case.

Posted by: dalriata | Link to this comment | 08- 1-12 7:36 PM
264

What would unbundling high-school subjects do in the States? I'm against removing math from the complete HS degree, but giving out separate passes for separate subjects might help.

Though I also suspect we could improve outcomes if we had to. I did do elementary school in a miserable St Louis district with a high drop-out rate, and just feeding all my classmates well would have leveled the field noticably.

Posted by: clew | Link to this comment | 08- 1-12 7:40 PM
265

Woo hoo! Just wrote a Fizz Buzz thingie, and it only took a halfhour, since I've forgotten basic syntax. Now someone give me a job, damnit.

Posted by: x.trapnel | Link to this comment | 08- 1-12 7:48 PM
266

264.1: That would be interesting. I'm knee-jerk against it because I fear encouraging disciplinarity at too young an age, but I also think it might offer a short-term benefit to students with serious but narrow learning disabilities. I am anxious about creating a whole ton of short-term solutions to patch up a shoddy education that doesn't take disability, parental shittiness, poverty, etc. into account, as your .2 suggests.

A girlfriend of mine managed never to take any math in high school through some rather intense lobbying by her lawyer father, claiming she just didn't need math for her future. She had what she thought of as learning disorders that it turns out, in retrospect, were probably anxiety disorders (fear of math and testing rather than, like, inability to recognize numbers). As an adult, she's started studying math and physics on her own. She still claims it was best for her not to have done it because she would have just dropped out of school at that time if forced to take it. But she regrets not having figured out her real limitations at the time.

Posted by: AWB | Link to this comment | 08- 1-12 7:50 PM
267

I'm partial to programming being used as the introductory course to teach general symbolic reasoning and logical concepts, but I think it has some potential to conflict with algebraic intuition. The way they treat variables (outside of functional languages) are very different. I think I was introduced to the stateful concept of a variable before the algebraic one, and being confounded by how the algebraic ones don't vary. But, as said above, it'd probably be great for building intuition of computation as substitution, and if you can do that you're well on your way into understanding how to decompose complex problems.

262: I think that's still, to some degree, an important boundary point. Supporting anecdata: I recently tutored in statistics someone who was going back to school thirty years after finish high school, and she was quick to mention that although she didn't like (whatever topic we were on), she really did like ratios and proportions and was pretty quick at them. If you can do that, you can scale things and might have a reasonable intuition about linearity, so you can extrapolate (which is so much more fun and dangerous than interpolation).

Posted by: dalriata | Link to this comment | 08- 1-12 7:50 PM
268

Amusingly enough, that silly fizzbuzz thing does have me feeling more upbeat about my life now. Ha!

Posted by: x.trapnel | Link to this comment | 08- 1-12 7:54 PM
269

Statistics is one subject where I think school kind of caused problems for me. Most subjects I was happy to ignore what teachers told me and go figure them out on my own, but somehow my high school biology class left me with the impression that statistics was a boring set of cookbook recipes (t-test, chi-square, maybe one or two others?) that returned a yes or no answer to the question "is this significant?," with no interesting theory involved. I never had any interest in learning more about the subject until fairly recently, like maybe two or three years ago. (Possibly, in part, because I noticed that Cosma is really smart and so it couldn't be that boring, now could it?)

Posted by: essear | Link to this comment | 08- 1-12 7:55 PM
270

FizzBuzz is practically the first exercise they have you do in the Codecademy javascript programming lesson-thingie website. Maybe if I do more of those, I'll get a job.

Posted by: fake accent | Link to this comment | 08- 1-12 8:05 PM
271

Here's a FizzBuzz, although I'm embarrassed to admit my first attempt involved a stupid attempt to be too slick and produced wrong output. Probably best to be as simple-minded as possible if asked such a question in an interview, I guess.

>>> output=""
>>> for i in range(1,101):
... mod3 = i%3
... mod5 = i%5
... if(mod3 == 0): output += "Fizz"
... if(mod5 == 0): output += "Buzz"
... if(mod3*mod5 != 0): output += str(i)
... output += " "
...
>>> output
'1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53 Fizz Buzz 56 Fizz 58 59 FizzBuzz 61 62 Fizz 64 Buzz Fizz 67 68 Fizz Buzz 71 Fizz 73 74 FizzBuzz 76 77 Fizz 79 Buzz Fizz 82 83 Fizz Buzz 86 Fizz 88 89 FizzBuzz 91 92 Fizz 94 Buzz Fizz 97 98 Fizz Buzz '

Posted by: essear | Link to this comment | 08- 1-12 8:06 PM
272

269: I didn't take much statistics, either, which in retrospect was pretty dumb. Somehow I had acquired the idiotic bias that all the interesting theory was in courses about probability and the statistics were just heuristic wankery built on top of it.

Posted by: dalriata | Link to this comment | 08- 1-12 8:06 PM
273

I've managed to work for a dozen years off knowledge of statistics, interpersonal charm, and basic literacy.

Posted by: Moby Hick | Link to this comment | 08- 1-12 8:10 PM
274

271: For people above a not very high level of competence, the fact that it's tempting to be too slick is most of the reason it's hard.

There was one implementation I saw that I thought was neat in terms of minimizing operators. It was basically the same as yours, but the last mod3*mod5 check can be replaced with a single output.length == 0 (or output == "", or whatever's equivalent in your language). I think that's the cleanest way to query the existing state so that you don't have to redo the modulo operations.

Posted by: dalriata | Link to this comment | 08- 1-12 8:11 PM
275

I would have done something like:

Some sort of for loop than runs 1-100
If n is divisible by 3, print fizz.
If n is divisible by 5, print buzz.
If n is not divisible by 3 and not divisible by 5, print n.

Obviously I've basically never had a programming course.

Posted by: heebie-geebie | Link to this comment | 08- 1-12 8:12 PM
276

Just wrote a Fizz Buzz thingie

We'll be the judge of that. Paste your code!

Posted by: Josh | Link to this comment | 08- 1-12 8:14 PM
277

271: You lose points for inlining your conditionals and thus depriving me of the opportunity to judge you based on your chosen indentation style/method.

Posted by: Josh | Link to this comment | 08- 1-12 8:17 PM
278

273: If I knew statistics, and could replace "interpersonal charm" with "can write a FizzBuzz successfully", I'd be all set.

275: That's pretty much how you should do it (with a bit more care about spacing and such). It's not meant to be a very hard test, and I think it's largely designed to make professional programmers feel better about themselves. Then again, I've never had to interview someone who couldn't solve it, so my sample might be biased.

Posted by: dalriata | Link to this comment | 08- 1-12 8:18 PM
279

274.2: Cute. But is it really faster to check the length of a string than to multiply two integers? (I'm clueless.) For that matter, I don't know if multiplying the integers is faster than doing two comparisons, I was just economizing on typing.

Posted by: essear | Link to this comment | 08- 1-12 8:19 PM
280

277: I didn't want to bother with trying to get the spaces in my HTML, anyway.

Posted by: essear | Link to this comment | 08- 1-12 8:19 PM
281

279: Oh, probably not. And those values will probably be in registers anyway. And there's no point whatsoever in optimizing code at this level (if you're concerned about the cost of calling a function and not writing a tight inner loop, you're probably doing it wrong). I just felt like applying a totally arbitrary aesthetic to the problem--it feels "wrong" and seems not very parsimonious to do the arithmetic twice. So "cute" is the right way to put it. A lot of programming culture puts too high a value on clever.

Posted by: dalriata | Link to this comment | 08- 1-12 8:25 PM
282

276: where's the trust?

def fizzbuzz(n):

# this function should print the numbers 1 to n, but "Fizz" if the number is a multiple
# of 3, "Buzz" if a multiple of 5, and "FizzBuzz" if a multiple of both
p = 1
# print "Starting FizzBuzz!"
while p < n : # keep running until we get to the final number
if p%3 == 0 and p%5 == 0: # cleaning divides by 3 and 5!
print "FizzBuzz",
# print p, # test code
if p%3 == 0 and p%5 != 0: # cleanly divides by 3, not 5!
print "Fizz",
# print p, # testing
if p%5 == 0 and p%3 != 0: # divides by 5, but not 3!
print "Buzz",
# print p, # test code
if p%3 != 0 and p%5 != 0:
print p, # prints the number
p = p+1 # increment p up one

fizzbuzz(101)

Not fancy, but notice how I document my code!

Posted by: x.trapnel | Link to this comment | 08- 1-12 8:32 PM
283

Did you test that, trapnel?

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 8:38 PM
284

oh wait no yeah that should work fine.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 8:39 PM
285

the last mod3*mod5 check can be replaced with a single output.length == 0 (or output == "", or whatever's equivalent in your language). I think that's the cleanest way to query the existing state so that you don't have to redo the modulo operations.

Not so! "if not output" is cleaner!

Posted by: Josh | Link to this comment | 08- 1-12 8:39 PM
286

282: Are those... tabs? Also, a comment at the top of the function rather than a docstring? And why is the indentation inconsistent?

Clearly I need to interview more people.

Posted by: Josh | Link to this comment | 08- 1-12 8:42 PM
287

Yes, I did, damnit.

xxx\$ python fizzbuzz.py
Starting FizzBuzz!
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53 Fizz Buzz 56 Fizz 58 59 FizzBuzz 61 62 Fizz 64 Buzz Fizz 67 68 Fizz Buzz 71 Fizz 73 74 FizzBuzz 76 77 Fizz 79 Buzz Fizz 82 83 Fizz Buzz 86 Fizz 88 89 FizzBuzz 91 92 Fizz 94 Buzz Fizz 97 98 Fizz Buzz

Posted by: x.trapnel | Link to this comment | 08- 1-12 8:42 PM
288

if not output" is cleaner!

I tutor an annoying kid whose test for evenness is always

if (!(foo%2))

Posted by: Criminally Bulgur | Link to this comment | 08- 1-12 8:45 PM
289

285: that's what I meant by "whatever's equivalent in your language". That differs only by syntax, not semantics. I do most of my work in a certain verbose object-oriented language, so I'd say output.isEmpty().

Posted by: dalriata | Link to this comment | 08- 1-12 8:46 PM
290

288: At least they don't do if(foo%2 != 1) (which surprisingly fails on negatives), or the lovely if(!(foo&1)).

Posted by: dalriata | Link to this comment | 08- 1-12 8:49 PM
291

Ha. I broke the blog's formatting.

Yes, they're tabs, I'M SORRY I FORGOT TO CHANGE THAT SETTING IN MY EDITOR. And I didn't get far enough in the class to get to where one learns about docstrings, NOW I KNOW AND I HATE YOU. And I'd like to say the indentation is inconsistent because something fucked up when putting it into the comment box, but it's leftover from my first, uglier (nested ifs) attempt, which I didn't fix, AND I HATE YOU SO MUCH.

My brief moment of joy is totally gone now. I hope you're happy, Josh. I really hope you're happy.

Sob.

Posted by: x.trapnel | Link to this comment | 08- 1-12 8:49 PM
292

291: Congratulations! You've experienced the joy of the program working properly and the bitter disappointment of releasing it only to see everyone ignore the basic working functionality to quibble about details.

I think you're ready for a job in the industry now.

Posted by: Josh | Link to this comment | 08- 1-12 8:59 PM
293

I feel like I should write an ATM post about how to get into a tech job.

Posted by: fake accent | Link to this comment | 08- 1-12 9:00 PM
294

278.1: I'm lying about the interpersonal charm part.

Posted by: Moby Hick | Link to this comment | 08- 1-12 9:07 PM
295

Dammit. I should be going to sleep but now I'm daydreaming about stupid ways to do this.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 9:08 PM
296

There's no stupid way to do interpersonal charm. It's just that most of the ways require paying attention to other people's wants/needs/words. That's obviously next to impossible.

Posted by: Moby Hick | Link to this comment | 08- 1-12 9:09 PM
297

Like a loopless matlab version, that'd be something.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 9:10 PM
298

Something stupid, sure.

Posted by: Sifu Tweety | Link to this comment | 08- 1-12 9:11 PM
299

I don't know matlab, but in SAS you'd just divide N by 3 and 5 (separate variables). If they equaled an integer, you do the appropriate buzz, fzzz, of fizzbuzz thing. It's just two dummy variables.

Posted by: Moby Hick | Link to this comment | 08- 1-12 9:16 PM
300

295: Ditto. I spent the last fifteen minutes pondering Unlambda's documentation, trying to decide if it was worth giving it a try. I lucked out by being unable to find a web-based interpreter for it. I sincerely hope someone here has a stronger-willed imp of the perverse than I do.

Posted by: dalriata | Link to this comment | 08- 1-12 9:19 PM
301

296: Oh, that sounds dreadful. I think I'll stick with programming follies and not learning enough statistics.

Posted by: dalriata | Link to this comment | 08- 1-12 9:20 PM
302

Heh. The Ruby implementation on the FizzBuzz page doesn't work.

Posted by: bizzah | Link to this comment | 08- 1-12 9:21 PM
303

I apparently wrote something like this (it's been a while since I did the "lesson"):

var reps = prompt("how many times do you want to go through with this?");
for (i=1; i<=reps; i++) {
if ( (i % 3 === 0) && (i % 5 === 0) ) { console.log("FizzBuzz");
}
else if ( i % 3 === 0 ) { console.log("Fizz"); } else if ( i % 5 === 0) { console.log("Buzz"); } else { console.log(i); } }

Posted by: fake accent | Link to this comment | 08- 1-12 9:22 PM
304

282 performs too many arithmetic operations!

>>> fizzbuzz = lambda n: [(n, 'Buzz'), ('Fizz', 'FizzBuzz')][n%3 is 0][n%5 is 0]
>>> [fizzbuzz(n) for n in range(1,20)]
[1, 2, 'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz', 16, 17, 'Fizz', 19]

Posted by: nosflow | Link to this comment | 08- 1-12 9:27 PM
305

I lucked out by being unable to find a web-based interpreter for it.

Posted by: nosflow | Link to this comment | 08- 1-12 9:30 PM
306

Alternately:
>>> fizzbuzz = lambda n: [n, 'Fizz', 'Buzz', 'FizzBuzz'][(n%5 is 0)*2 + (n%3 is 0)]
>>> [fizzbuzz(n) for n in range(1,20)]
[1, 2, 'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz', 16, 17, 'Fizz', 19]

Posted by: nosflow | Link to this comment | 08- 1-12 9:38 PM
307

305: Good show. This is where I cash out--maybe I'll give it a try some other evening.

Admittedly, I was hoping for a web-based one since it'd make it easier to distribute. For a while I was taken with writing stupid programs in Whirl, which was fun mainly because of the wacky "virtual machine". Unlambda could probably lend itself to an amusing visual interpretation as well.

Posted by: dalriata | Link to this comment | 08- 1-12 9:39 PM
308

It is paradoxically much easier to write an unlambda interpreter than to write an unlambda program, unless you are writing an unlambda interpreter in unlambda, which a surprsing number of people have done.

Posted by: nosflow | Link to this comment | 08- 1-12 9:43 PM
309

It is paradoxically much easier to write an unlambda interpreter than to write an unlambda program

That's a good working definition of an esoteric language.

Posted by: dalriata | Link to this comment | 08- 1-12 9:48 PM
310

...which is exactly not what we should be using to teach children analytical skills. Unless we hate the future.

Posted by: dalriata | Link to this comment | 08- 1-12 9:51 PM
311

I believe actual useful utilities have been written in False. And Java2K could be of real value in understanding probabilities.

Posted by: nosflow | Link to this comment | 08- 1-12 9:54 PM
312

The only programming language I am master of is TADS. This does not say anything good about my intellect or character. I wrote one really terrible game that everyone played, and then I almost finished a second that was a quite brilliant and highly playable exploitation of quite sophisticated coding, and then I got bored with it before I finished it enough to release it. :-(

Posted by: AWB | Link to this comment | 08- 1-12 9:55 PM
313

(Java2k.)

Posted by: nosflow | Link to this comment | 08- 1-12 9:56 PM
314

I spend a disproportionate amount of time on coming up with aesthetically pleasing ways to solve fizzbuzz type problems. It irks me when I have to trade off even some minute inefficiency for nicer code. Also, I get stuck often when coming up with variable names.

Posted by: Eggplant | Link to this comment | 08- 1-12 10:07 PM
315

I hate it when people fuck with my variable names. I put a great deal of thought until them.

Posted by: Moby Hick | Link to this comment | 08- 1-12 10:13 PM
316

155: There is such a thing as a "likelihood function", but when speaking informally just about everyone confuses them.

Likelihood is a way of comparing how surprised we should be at observing something, under different models of how the world works. So a coin-flip sequence of HHHHHHHH (eight consecutive heads) is more surprising if the coin is fair, than if it's biased toward heads. The assumptions that we're varying between models are called "parameters."

With discrete probability distributions, we could just talk about the conditional probability, and say that the probability of HHHHHHHH given that the coin comes out heads with p=0.5 (i.e. 0.5 ^ 8 = 1/256) is less than the probability of HHHHHHHH given p=1 (i.e. 1 ^ 8 = 1).

(Note that we're NOT answering the question of the probability of a loaded coin - to do that, we'd need to introduce an additional assumption, called a prior. We're just asking, which hypothesis makes the observed data more likely.)

But when we look at continuous distributions, we can't talk about the probability of the observed outcome at all. Any exact outcome of a continuously distributed process has probability 0, because the number of possible outcomes is uncountably infinite. It doesn't make sense to compare the conditional probabilities, since they're all 0.

So what we do is compare the "probability densities" of the different models at that point. Roughly speaking, the probability density is proportional to the probability that the true value is near a point. So observing someone 6-feet-tall has a higher probability density if the average height is 5.5 feet, than if the average height is 4 feet. When we compare these two probability densities, we say that we're comparing the "likelihood" of the two parameters (in this case, a mean of m=5.5 feet and a mean of m=4 feet).

In order to use the same term for this kind of comparison, we also call the conditional probabilities we were comparing in the discrete case, the "likelihood" of the parameters.

Posted by: Benquo | Link to this comment | 08- 1-12 10:27 PM
317

If I'd written a fizzbuzz thing, it'd have been almost exactly like x.trapnel's [as we, at my place of work a lot in python at the moment]. The funny thing is, I do a fair bit of programming in my job, but I remember almost nothing concrete about the language I'm currently working with beyond basic syntax [type of loops, booleans, comments, etc] and some basic string and number manipulation stuff. I'd almost certainly have had to go and look up how you calculate mods. I'd fail most programming tests if I had to do everything from memory. On the other hand, I can knock up the program structure quickly, and then a bit of quick wiki-ing/google-ing to fill in the precise details of the functions I've left as placeholders, and Bob's yer uncle.

Posted by: nattarGcM ttaM | Link to this comment | 08- 1-12 11:52 PM
318

133: really? I got parallel lines in NZ.

I like geometry at school. Maths that doesn't really use numbers is nice to meet. Also watching it make sense is really nice.

I don't really think lack of basic arithmetic is what leads to bad financial decision making, I think it's a bunch of other stuff, really.

Posted by: Keir | Link to this comment | 08- 2-12 12:24 AM
319

Really.

Posted by: Keir | Link to this comment | 08- 2-12 12:24 AM
320

nosflow wins. Bastard.

Posted by: essear | Link to this comment | 08- 2-12 2:43 AM
321

I was trying to figure out some clever way to use conditional indexing but it wouldn't beat "fizzbuzz = lambda n: [(n, 'Buzz'), ('Fizz', 'FizzBuzz')][n%3 is 0][n%5 is 0]".

Posted by: essear | Link to this comment | 08- 2-12 2:47 AM
322

I don't know how to find clew other than through comments, but here is a JSTOR article based on the same research I heard about, though the focus is probably a little different. I'm not sure because I don't have JSTOR access and don't have entirely clear memories of the talk. http://www.jstor.org/discover/10.2307/3655267?uid=3739680&uid=2460338175&uid=2460337935&uid=2129&uid=2&uid=70&uid=4&uid=83&uid=63&uid=3739256&sid=21101116760061

Posted by: Thorn | Link to this comment | 08- 2-12 3:42 AM
323

So we have settled on education as vocational training for capitalist productive units? Techie drones, coders in cubicles? This is modern liberalism?

Unfoggetariat has no soul.

Posted by: bob mcmanus | Link to this comment | 08- 2-12 4:25 AM
324

@323 - I think we've decided to replace the algebra requirement and instead let students graduate if they can write a working fizzbuzz program.

I'm still astonished by the initial statement upthread that the majority of interviewees can't do this. I assume it must be something that gets more difficult the more programming you know because either

a) you can't believe that the task is as straightforward as it looks and so become convinced you're being asked to do something else

or

b) you get tripped up in the process of trying to show off

Or maybe lots of people who never actually learned any programming show up to interview for these jobs.

Posted by: AcademicLurker | Link to this comment | 08- 2-12 4:34 AM
325

262.

Multiplication is vexation,
The Rule of Three doth puzzle me,

Posted by: chris y | Link to this comment | 08- 2-12 4:47 AM
326

re: 323

I shouldn't rise to the bait, but I mentioned above that I think our education system(s) should include a lot more intellectual history/history of ideas, and I'd be in favour of more rather than less abstract subjects on the curriculum. The fetishisation of science and technology subjects in education also needs to die a death.

re: 324.last

When I recruited my assistant earlier in the year, we had a significant number of applicants who weren't even remotely suitable. I mean crazily under qualified for what was already a fairly entry level techie post. We interviewed a few who were hopeless, and that has been my experience when I've been recruiting for other things, too.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 4:58 AM
327

The fetishisation of science and technology subjects in education also needs to die a death.

Pre-university, on the average, I'd say that death has occurred in the US. All we do now is prepare for standardized tests of reading and math.

Posted by: Annelid Gustator | Link to this comment | 08- 2-12 5:08 AM
328

As a general rule, science involves getting up absurdly early to have phone conferences with Austrians who talk a great deal.

Posted by: Moby Hick | Link to this comment | 08- 2-12 5:10 AM
329

The fetishisation of science and technology subjects in education also needs to die a death.

I would love it if the acronym STEM would die already.

Posted by: AcademicLurker | Link to this comment | 08- 2-12 5:13 AM
330

It could be worse. METS.

Posted by: Moby Hick | Link to this comment | 08- 2-12 5:14 AM
331

re: 330

With the other dark horseman of the apocalypse, MODS?*

* librarian humour.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 5:17 AM
332

324: I think (hope, really) that a lot of the problem is what heebie describes in 229, where people have a hard time parsing the problem. Either that or one of your suggestions. Even people with EE/CS degrees who are gainfully employed fail the most basic questions you can think of.

There's a question we used to ask, because it's a really basic test of whether or not someone understands recursion, but we stopped because no one got it.

You have a 2xN grid that's supposed to be tiled by 1x2 or 2x1 tiles. How many different ways can you tile it? The question would be accompanied by some examples to make it clear what we were asking. Using pretty basic math (for a CS student), you should be able to write down a closed form formula*. Writing a program to solve it is even easier (conceptually, although it might take more time to write it on a whiteboard and convince yourself that it's correct). After asking it 20 times, no one got it cold, and perhaps 25% of people could get it with enough hints that you should use recursion. Maybe half the people could get it with enough handholding (what's the base case? What's the inductive step? Ok, so what sort of function do you want? Alright, how do you write down the base case? etc.)

The local U is big on formal methods and automated theorem proving, so there's an entire class in that covers inductive reasoning and how to write recursive stuff. This isn't exactly new material to the people we're interviewing.

* I'm not sure that every CS program actually requires a combinatorics class, but every program that I know of at least has people solving recurrences.

Posted by: sral | Link to this comment | 08- 2-12 5:44 AM
333

If I'm understanding the problem right (I've never taken a class in inductive reasoning -- for that matter I've only ever taken one real CS class), and with the proviso that I had the hint about recursion, that seems... really easy to solve in code? Tile with no edge overlap, right?

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 6:09 AM
334

I haven't gotten through the whole thread, but as somebody who has taught introductory programming a few times (to undergraduates at elite universities) the idea that fewer students would hit an insurmountable wall being taught coding vs. algebra is laughable. Programming requires a level of abstract thinking equal to or greater than that required by algebra. For even the simplest program, you have to construct a model of the state of the machine in your head, then reason about how your commands will modify that state through time. Students have a hard time grasping loops and subroutines, much less recursion. At the undergraduate level, about half the students just don't get it at all. Then you plan to lose another half when you introduce pointers and data structures like lists and trees. I do phone interviews with people who have degrees in CS who self-evidently don't get this stuff.

Posted by: Yawnoc | Link to this comment | 08- 2-12 6:24 AM
335

If I'm understanding 332 right, the solution is Fibonacci(n)?

Posted by: Awl | Link to this comment | 08- 2-12 6:28 AM
336

I like that 334.last convincingly proves 334.1. (You added value! Just funny.)

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 6:28 AM
337

330 - But think of the "Amazin'" puns you could make!

Posted by: snarkout | Link to this comment | 08- 2-12 6:29 AM
338

All teachers of programming find that their results display a 'double hump'. It is as if there are two populations: those who can [program], and those who cannot [program], each with its own independent bell curve. Almost all research into programming teaching and learning have concentrated on teaching: change the language, change the application area, use an IDE and work on motivation. None of it works, and the double hump persists. We have a test which picks out the population that can program, before the course begins. We can pick apart the double hump. You probably don't believe this, but you will after you hear the talk. We don't know exactly how/why it works, but we have some good theories.

Posted by: Awl | Link to this comment | 08- 2-12 6:43 AM
339

317 is exactly me. I end up writing enough code that it ought to really stick, but there are intervals when I write nothing which are long enough for significant chunks of skill to evaporate. This is something of an important issue right now since a lot of the jobs I'm seeing require exactly my skills plus significant programming skill. I'd hose any test notably harder than FizzBuzz for sure.

Posted by: togolosh | Link to this comment | 08- 2-12 7:10 AM
340

335: I think it's Fibonacci(n+1), since when n=1, there's one tiling, and when n = 2, there are two tilings, so the base case is different from the usual representation of that sequence.

Posted by: dalriata | Link to this comment | 08- 2-12 7:32 AM
341

The link in 338 shows exactly what I'm talking about. To answer the example weeder question given there, the student needs to have a model where:

1. Variables are "boxes" that hold values. "int foo" introduces a new box "foo".
2. "foo = bar" copies a value from the box "bar" to the box "foo".
3. The statements run in order. The state of the boxes after one statement is the state of the boxes before the next statement.

It's not complicated stuff, roughly on the order of doing division in your head, but some people find it near impossible.

Posted by: Yawnoc | Link to this comment | 08- 2-12 7:32 AM
342

341: What's interesting about that link is that they test to see where untrained students have *any* consistent model, not necessarily the right one. I wonder if more basic training in building models would be possible at a younger age; that seems like the sort of thing that, if it could work, would prevent issues in almost every subject.

Posted by: dalriata | Link to this comment | 08- 2-12 7:48 AM
343

341: That's a sucky example for someone who's been exposed to math but not programming, though. I figured out what the answer must be, but expecting someone who's always been exposed to 'a=b' as meaning that 'a and b have the same value' to guess that it means 'change the pre-existing value of a such that the new value of a will be equal to the old value of b' is a little unreasonable unless you've explicitly primed them to know that all symbols in the example are completely arbitrary.

Come to think, 'all symbols are completely arbitrary' doesn't get it for you either, because the whole thing is just noise then. The leap you're expecting them to make is 'Symbols in this example are probably going to mean something related to what you know them to mean, but not reliably so -- they might mean something sort of related but different. With that as your basis, guess the meaning of these lines of code.'

Posted by: LizardBreath | Link to this comment | 08- 2-12 7:48 AM
344

re: 339

I work on fairly large projects, but my coding input tends to never run to more than a few hundred lines of code. It works for me. I'm a perfectly adequate (if rudimentary) programmer, but I don't do it all day every day -- I manage projects that involve coding, and I fix/maintain legacy code, but I'm not really a developer. But I read/lookup stuff quickly, so I'm often quicker at knocking up something that works than my more professional peers. I also am happy to do things quick and really dirty. For example, I'll get a one off chunk of metadata in some grungy XML that I need to do something with. If I know I won't have to do it again, I might well do:

i) write a bit of python that does a walk across the directory structure creating a list of files.
ii) load those and do a bit of string processing/text munging.
iii) dump the lot out as a txt file
iv) load into a text editor with some macro-ing capabilities, and record myself doing some of the shuffling and chopping, play this across the lot and dump the output as a CSV
v) load the resulting csv into mysql and do a select query to merge it with some existing data
vi) dump the output as XML
vii) write a simple XSLT to do something with it.

That's a horrific working process, and my colleagues might well write code for everything, or spend ages building regexps and fucking about with sed or whatever. By the time they've got about 20% through that process, I'll have the output loaded into whereever it's supposed to go. I grumble about my assistant because she'd spend hours trying to find a way to do this elegantly in XSLT. My colleague might code it all in python. I would certainly finish first.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 7:49 AM
345

That's a sucky example for someone who's been exposed to math but not programming, though.

Or what if the person has only been exposed to logic programming?! You can't unify 10 and 20!

Posted by: nosflow | Link to this comment | 08- 2-12 7:59 AM
346

I mean consider the following sequence of statements:

int a = 10;
int b = 20;
a == b;

At the end the value of a is unchanged. Though I guess if they're trying to determine "any consistent model" rather than "correct for C", that may not be as important.

Posted by: nosflow | Link to this comment | 08- 2-12 8:06 AM
347

I wonder if what a test like that is actually selecting for is willingness to commit to a guess on a question that you haven't been given enough information to get a correct answer to: could you change results on the test by giving a pre-test briefing about how the questions are impossible given the information the students have, but that the goal is to develop a consistent set of guesses about how the statements work?

Posted by: LizardBreath | Link to this comment | 08- 2-12 8:13 AM
348

343: My first university CS course was in Pascal, which uses := instead of =, probably for this kind of pedantic reason. The professor gave us a little lecture on "assignment is not equality" when he introduced the notation.

Posted by: Yawnoc | Link to this comment | 08- 2-12 8:13 AM
349

343 Pascal inherited that notation from the Algol family, in all of which:
a = b; a equals b (used in conditionals)
a := b; a is assigned the value of b.

So, e.g:
if not (a=b) then a;=b fi

It's supremely unimportant how you spell things, but you need to be consistent within languages.

Posted by: chris y | Link to this comment | 08- 2-12 8:19 AM
350

The double hump that 338 talks about is something we see in teaching formal logic, too. (I've learned to call it the bimodal problem.) I think it happens whenever you are trying to teach something math-like and a portion of your audience has been avoiding math-like things since 10th grade. Once they step away from it, the lose their ability to grasp even really basic abstractions.

Posted by: rob helpy-chalk | Link to this comment | 08- 2-12 8:20 AM
351

In the glorious future, only maintainers of legacy code will have to worry about destructive updates.

(I hereby discharge the task laid down for me in comment 200.)

Posted by: nosflow | Link to this comment | 08- 2-12 8:20 AM
352

347: The other thing I don't like about it is that as the student progresses through the test, their model of what's happening might change as they get more data. I could imagine a student who's already in over their head (by design!) might not change their answer to question #1 because they figured something out due to the structure of question #10. That student would be considered to have an inconsistent model.

348: It's common to use := when writing out pseudocode; I've also seen it occasionally in math classes when defining functions (in general, math is bad about overloading equality). There's absolutely no reason why those very different operators should have the same symbol, beyond tradition and inertia.

Posted by: dalriata | Link to this comment | 08- 2-12 8:21 AM
353

Of course, it's possible that being the sort of person who spontaneously decided that the sensible way to treat an impossible problem is to guess at the information needed to make it possible and then treat your guess as if it were knowledge is what that test is trying to identify, and that people who aren't like that tend to have difficulty learning to program.

Posted by: LizardBreath | Link to this comment | 08- 2-12 8:22 AM
354

re: 350

I think the relentless concentration on facts in certain phases of education rather than abstract concepts and/or methods is a big part of it.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 8:24 AM
355

There's absolutely no reason why those very different operators should have the same symbol, beyond tradition and inertia.

I like how R uses a stylized arrow "

Posted by: AcademicLurker | Link to this comment | 08- 2-12 8:30 AM
356

Thanks, Thorn!

Posted by: clew | Link to this comment | 08- 2-12 8:30 AM
357

351: In the far glorious future, only the rich will be able to afford destructive updates. Stateful programming will be considered a barbaric and idle pastime of the upper classes. (Worst dystopian future idea ever?)

Posted by: dalriata | Link to this comment | 08- 2-12 8:30 AM
358

That's odd, half my comment disappeared.

I like how R uses a stylized arrow pointing left (I won't type it since I think that's what broke the last comment).

It nicely reinforces the meaning of the operation: take whatever is on the right and put it into the variable name on the left.

Posted by: AcademicLurker | Link to this comment | 08- 2-12 8:32 AM
359

343.last: It seems like the leap is more like "I may not know the underlying rules of this system, but they exist and are consistent through time. I can just guess them and maybe I'll be right!" If you think about it, this is the same instinct that makes, say, Microsoft Word tractable to some people and completely unfathomable to others. ("Grandma, why don't you just try it and see what happens?!!!")

Posted by: Yawnoc | Link to this comment | 08- 2-12 8:34 AM
360

344 is perversely fascinating.

Posted by: Yawnoc | Link to this comment | 08- 2-12 8:38 AM
361

re: 360

Yeah. It is nasty. I do proper coding for things that are getting reused, or whatever. But my personal quick and dirty methods [that's just one, there's loads] are very fast. iv) is the odd step, but much faster than buggering about with regexps for some of the things I need to do.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 8:44 AM
362

I won't type it since I think that's what broke the last comment

It thought you were opening a HTML tag. This site does that.

Posted by: chris y | Link to this comment | 08- 2-12 8:49 AM
363

re: 360

That said, what I'm doing right now would give people who are used to using nice standard code using open source tools on a linux environment the fear.

Viz, I'm hacking some VBA that's called by an MS Access form, that uses some data gathered by an ancient [originally produced by Wang, ffs] ActiveX control to gather information about images that it uses to generate proprietary image processing macros in a macro format for a piece of software that hasn't been supported for nearly a decade.*

* I'm hacking it to not use the activex control, or the proprietary macro language, but the whole thing is the sort of horrific cludge that my younger colleagues who develop from scratch would shit themselves over.

Posted by: nattarGcM ttaM | Link to this comment | 08- 2-12 8:54 AM
364

363. My sympathies.

Posted by: chris y | Link to this comment | 08- 2-12 8:56 AM
365

Catching up on this thread makes me realize two things (1) I'd much rather talk about algebra than programming. (2) While I think of myself as being generally immune to imposter syndrome talking about myself as "a programmer" does bring up some of that feeling.

I know I'm good at my job, I know my job is programming computers, but the sort of stuff I'm doing is so far behind the leading edge that I subconsciously assume that it doesn't count as "real programming." I should get over that at some point.

Posted by: NickS | Link to this comment | 08- 2-12 9:10 AM
366

333: Yeah, like the fizzbuzz question, the hardest part is convincing yourself it's not so easy that you must be missing some critical piece.

I had thought that maybe the question wasn't being conveyed properly, but people here seem to have it figured out, even without being given any diagrams or concrete examples. That would make me think that we're getting uniquely bad interview candidates, except that everyone I've talked to who interviews has the same experience. Maybe we should do an ATM for our next job posting instead of our usual methods.

Posted by: sral | Link to this comment | 08- 2-12 9:46 AM
367

Hrmm. I suppose that, given what's reported about the bimodal distribution of intro compsci classes, I should revise my beliefs about how teaching programming would be easier than algebra.

HOWEVER, I'll continue to believe in some combination of (1) that programming is better suited to figure-it-out-yourself, Montessori-style learning, which I think we ought to have more of, regardless; and (2) 350/354, ie., it's only because we've screwed kids up so much by the time they get to their first CS class. I realize I'm guilty of No True Scotsmanning here.

Posted by: x.trapnel | Link to this comment | 08- 2-12 10:42 AM
368

331: I thought that was PREMIS.

Posted by: fake accent | Link to this comment | 08- 2-12 10:56 AM
369

366.2: Do not overlook the issue of self-selection in who chose to respond.

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 11:23 AM
370

344 is going to give me nightmares.

Posted by: Josh | Link to this comment | 08- 2-12 11:35 AM
371

Fizzbuzz. (And why 215.last--code on your bad days so you can debug on your average ones & test with your utmost powers--is wisdom.)

Knight Capital Group Inc is being forced to raise money after an erroneous trading position wiped out \$440 million of its capital, the firm said on Thursday, causing its shares to shed half of their value. ... On Tuesday night, it had put in new software that had a bug, he said. ..."This issue was related to Knight's installation of trading software and resulted in Knight sending numerous erroneous orders in NYSE-listed securities into the market," Knight said. "This software has been removed from the company's systems."

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 11:38 AM
372

Although fun, the attempts at minimalist implementation of FizzBizz should of course be massively and ruthlessly deprecated in almost all actual programming situations. "Murder your darlings" is even more apt in programming than in writing.

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 11:52 AM
373

I just spent the last hour debugging a change that I had just made. I'm really not sure about the "code on your bad days" part of that statement, but I do appreciate the sentiment -- good debugging is hard.

Posted by: NickS | Link to this comment | 08- 2-12 12:32 PM
374

372: hey, my first example was bone-stupid and written in javascript. You needn't worry about me.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 12:37 PM
375

373: I'm fairly good at debugging, to the extent that I use it as a crutch and have never become very disciplined at testing. On the balance, I think this is worse than having the opposite problem.

Posted by: dalriata | Link to this comment | 08- 2-12 12:40 PM
376

Debugging: Sometimes you don't do enough.

Posted by: Moby Hick | Link to this comment | 08- 2-12 12:43 PM
377

376 meet 371.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 12:45 PM
378

371 didn't show on my screen because of a glitch.

Posted by: Moby Hick | Link to this comment | 08- 2-12 12:46 PM
379

For some reason I'm fascinated by the Knight story.

Posted by: teofilo | Link to this comment | 08- 2-12 12:47 PM
380

re: 268, and back for second to algebra vs. programming, I wonder if that isn't actually an important point, the whole satisfaction thing.

I mean, as someone with a background in coding and higher math, I'm probably prone to overgeneralizing, but it certainly seems to me that that little high you get from finally getting your program to work is pretty good. And pretty addictive.

Certainly the feeling of success from finally getting "long-division-calculator.py" or whatever to start producing the right output seems like it'd be a lot more addictive and satisfying than, say, the duller feeling of relief you get from finally slogging your way through 9 pages of long division exercises in your math workbook.

What do folks who AREN'T already addicted to solving things with computer programs think?

Relatedly: I wonder if it wouldn't help with "math anxiety" as well. Changing focus to programming as a way to sort of hit the reset button on all that baggage? Maybe those regular little doses of accomplishment could get more people over the initial hurdles that currently scare off so many completely?

I dunno. The whole thing is not really practical, to be sure. It might forever be a peak on the optimization landscape that we can sort of imagine we can see from where we are on a clear day, but which will forever be on the other side of a yawning chasm. Unreachable from here.

Posted by: jack lecou | Link to this comment | 08- 2-12 12:50 PM
381

I knew the APL FizzBuzz wouldn't disappoint, but God help me if I can make head or tail of it.

⎕IO←0
(L,'Fizz' 'Buzz' 'FizzBuzz')[¯1+(L×W=0)+W←(100×~0=W)+W←⊃+/1 2×0=3 5|⊂L←1+⍳100]

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 12:52 PM
382

One thing I like about programming is that it's not the teacher arbitrarily deciding what's ok or not, there's an objective measure. This puts the teacher and the students in a less adversarial position.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 2-12 12:55 PM
383

I have a pretty sick implementation with zero arithmetic and zero comparisons.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 12:56 PM
384

I'm fairly good at debugging, to the extent that I use it as a crutch and have never become very disciplined at testing. On the balance, I think this is worse than having the opposite problem.

The importance of testing vs debugging depends a lot on what you're doing.

I've done quite a bit of contract programming and so, like Ttam I believe that there are a number of cases in which quick-and-dirty solutions are good enough. But the stakes are much lower if two conditions are met (1) The consequences of failure are modest and (2) failure is easily visible. It that case it can be good enough to give something back to the client and say, "I've tested with the data I have, try using it for a while and let me know if you have problems."

Posted by: NickS | Link to this comment | 08- 2-12 1:00 PM
385

it's in PHP, sorry:

echo "1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53 Fizz Buzz 56 Fizz 58 59 FizzBuzz 61 62 Fizz 64 Buzz Fizz 67 68 Fizz Buzz 71 Fizz 73 74 FizzBuzz 76 77 Fizz 79 Buzz Fizz 82 83 Fizz Buzz 86 Fizz 88 89 FizzBuzz 91 92 Fizz 94 Buzz Fizz 97 98 Fizz Buzz";

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 1:03 PM
386

That seems a bit over specified.

Posted by: Moby Hick | Link to this comment | 08- 2-12 1:04 PM
387

It's not slick, but it's fast.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 1:04 PM
388

387: Did you test it?

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 1:21 PM
389

343: "That's a sucky example for someone who's been exposed to math but not programming, though."

Then why didn't those students get better after 3 weeks of class?

The test was administered twice; once at the beginning, before any instruction at all, and again after three weeks of class. The striking thing is that there was virtually no movement at all between the groups from the first to second test.

Posted by: Benquo | Link to this comment | 08- 2-12 1:40 PM
390

388: kinda.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 1:40 PM
391

One thing I like about programming is that it's not the teacher arbitrarily deciding what's ok or not, there's an objective measure.

I'm pretty sure I was once docked points for not having structured a loop correctly and having had therefore to put a test-with-break-statement in the middle. The output was right, but Dijkstra would not have approved.

Posted by: nosflow | Link to this comment | 08- 2-12 1:59 PM
392

I love break and continue. Love, love, love. Use 'em all the time. Can't stop me!

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 2:05 PM
393

continue is the best.

Posted by: nosflow | Link to this comment | 08- 2-12 2:09 PM
394

Didn't read this whole thread but this seems like the place to put it-
These math problems going around on FB taking a poll to see what people think the answer is make me ashamed of humanity. I think a current one is 5+5+5-5+5+5-5+5*0=? 0 is winning with twice as many votes as 15 (something like 2M to 1M votes.) And the comments are a microcosm of debate in this country- people are certain they're right, don't you try to tell me my reality is wrong. When someone pointed out that the *0 only operates on the final 5 because of order of operations, one guy's response was something like, "You can't just do the thing at the end first because that's when you think it should happen!!!!"

Posted by: SP | Link to this comment | 08- 2-12 2:11 PM
395

I impulsively clicked on that one, and feel like a fool for participating.

Posted by: LizardBreath | Link to this comment | 08- 2-12 2:12 PM
396

What, do you guys miss goto?

Posted by: Eggplant | Link to this comment | 08- 2-12 2:16 PM
397

I've moved on to call/cc.

Posted by: nosflow | Link to this comment | 08- 2-12 2:20 PM
398

Really, the only control flow you need is short-circuited operators and try/catch.

/* only valid for non-negative numbers; subject to overflow; actually compiles */
public static int factorial(int x) {
boolean test = false;
int xfact = 1;
try {
while(true) {
test = x <= 1 && ((Object)null).equals(null);
xfact *= x--;
}
} catch(NullPointerException e) {
return xfact;
}
}

Posted by: dalriata | Link to this comment | 08- 2-12 5:36 PM
399

Which of those is a while loop?

Posted by: nosflow | Link to this comment | 08- 2-12 6:55 PM
400

Yes, should have said "and while(true)" loops. You can get around them with recursive functions and a sufficiently large stack, which admittedly still leaves us at three ugly control flow operation types besides sequential instruction flow.

Posted by: dalriata | Link to this comment | 08- 2-12 7:17 PM
401

371 "This issue was related to Knight's installation of trading software and resulted in Knight sending numerous erroneous orders in NYSE-listed securities into the market," Knight said. "This software has been removed from the company's systems."

I know a very lazy and sloppy former PhD student, capable of writing code blindingly quickly but with no guarantee that it's right, who went to work there recently. Hmmm....

Posted by: essear | Link to this comment | 08- 2-12 7:33 PM
402

Tell me where he goes next so I can short them.

Posted by: Moby Hick | Link to this comment | 08- 2-12 7:34 PM
403

My current problem-solving fail: I'm staying in a visitor apartment somewhere and I can't get the bathroom lights to turn on. There are switches on the wall that don't do anything, and a wall-mounted light fixture with no apparent controls. The bulbs are not burned out.

Posted by: essear | Link to this comment | 08- 2-12 7:35 PM
404

essear have you broken charge symmetry?

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:38 PM
405

Is there a switch OUTSIDE the bathroom? Or maybe in the cabinet under the sinaka?A

Posted by: Cryptic ned | Link to this comment | 08- 2-12 7:40 PM
406

Posted by: ursyne | Link to this comment | 08- 2-12 7:40 PM
407

I am going to keep on making symmetry-breaking jokes until I understand what it means.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:40 PM
408

But yes, check under the sinaka?A.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:41 PM
409

And clap.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:41 PM
410

There is a switch outside the bathroom. I've tried all 4 combinations of positions of the switches inside and outside the bathroom.

Posted by: essear | Link to this comment | 08- 2-12 7:42 PM
411

Sorry, I meant under the sifaka.

Posted by: Cryptic ned | Link to this comment | 08- 2-12 7:42 PM
412

OK, turn on the switch outside the bathroom and wait five minutes. Then flip it back. Now go in the bathroom. Is it light in there? If not, is the lightbulb hot? If not, CLAP YOUR HANDS!

Posted by: ursyne | Link to this comment | 08- 2-12 7:43 PM
413

410: If there's one thing I learned from Myst, it's that the order in which you operate the switches is, if anything, MORE important than the position up in which they end. Just start iterating.

Posted by: Cryptic ned | Link to this comment | 08- 2-12 7:43 PM
414

Several other lights won't turn on. I've searched in vain for a fusebox.

Posted by: essear | Link to this comment | 08- 2-12 7:44 PM
415

I never did finish Myst. Does anything happen?

Posted by: Moby Hick | Link to this comment | 08- 2-12 7:44 PM
416

Clapping fails.

Posted by: essear | Link to this comment | 08- 2-12 7:44 PM
417

416 might as well be to 415.

Posted by: essear | Link to this comment | 08- 2-12 7:45 PM
418

Apparently Ontario has a holiday called "Civic Holiday." It's like, how much more festive could this be?

Posted by: essear | Link to this comment | 08- 2-12 7:45 PM
419

403

My current problem-solving fail: I'm staying in a visitor apartment somewhere and I can't get the bathroom lights to turn on. There are switches on the wall that don't do anything, and a wall-mounted light fixture with no apparent controls. The bulbs are not burned out.

Some lights have a on-off switch and a dimmer control.

Posted by: James B. Shearer | Link to this comment | 08- 2-12 7:46 PM
420

Just use the screen of your smartphone/laptop to illuminate the bathroom. You can deal with it for real in the morning.

Posted by: x.trapnel | Link to this comment | 08- 2-12 7:46 PM
421

But maybe you didn't clap hard enough.

Posted by: x.trapnel | Link to this comment | 08- 2-12 7:47 PM
422

Is there a place to put your key? Some hotel rooms you need a key in a place to turn lights on.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:48 PM
423

414

Several other lights won't turn on. I've searched in vain for a fusebox.

This does sound like a blown fuse (actually probably circuit breaker).

Posted by: James B. Shearer | Link to this comment | 08- 2-12 7:49 PM
424

Is there a cup to put the egg in?

Posted by: Cryptic ned | Link to this comment | 08- 2-12 7:49 PM
425

422 would be way more useful if it was a hotel.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 7:50 PM
426

412 was amusing but fails.

Laptop screen! That's creative.

There's no plug in the bathroom or I'd just move a lamp in there.

The last time I visited this place, they put me up in a fancier apartment. The living room was gigantic, but had only wired internet, with the ethernet cable in an out-of-the-way corner. No power outlet was within reach of the ethernet-equipped corner. The room contained several table lamps that were positioned in places where they couldn't be plugged in.

I'm forced to conclude that this country doesn't actually use electricity.

Posted by: essear | Link to this comment | 08- 2-12 7:50 PM
427

424: I tried to USE BEAN THING but to no avail.

Posted by: essear | Link to this comment | 08- 2-12 7:51 PM
428

I hope you're not planning to take so much time in the bathroom that your laptop battery would run out of power, essear.

Posted by: x.trapnel | Link to this comment | 08- 2-12 7:53 PM
429

I guess I'll to disable the laptop's sleep mode long enough to take a shower. The screen goes dark pretty quickly when not plugged in.

Posted by: essear | Link to this comment | 08- 2-12 7:54 PM
430

What do you need to see while taking a shower?

Posted by: Bave | Link to this comment | 08- 2-12 7:56 PM
431

You can get around them with recursive functions and a sufficiently large stack

Or proper tail call elimination.

Posted by: nosflow | Link to this comment | 08- 2-12 7:57 PM
432

A gentleman only makes proper tail calls.

Posted by: nosflow | Link to this comment | 08- 2-12 7:57 PM
433

432 to 430.

Posted by: Sifu Tweety | Link to this comment | 08- 2-12 8:05 PM
434

What do you need to see while taking a shower?

I can't tell you but I know it's mine.

Posted by: essear | Link to this comment | 08- 2-12 8:09 PM
435

Finally found a circuit breaker box. Yay, light!

Posted by: essear | Link to this comment | 08- 2-12 8:09 PM
436

Posted by: heebie-geebie | Link to this comment | 08- 2-12 9:05 PM
437

OK, this has maybe finally gotten me to try to make the first baby steps in re-learning a programming language. Basically taking the form of essear's 271* but trying to use simpler arithmetic operations. Not elegant, but gets rid of the modulo in favor of addition and simple equality (and a "space") tests.

>>> output=" "
>>> nextbuzz = 3
>>> nextfizz = 5
>>> for i in range(1,101):
... if(i == nextbuzz): output += "Fizz"; nextbuzz = nextbuzz + 3
... if(i == nextfizz): output += "Buzz"; nextfizz = nextfizz + 5
... if(output[-1].isspace()): output += str(i)
... output += " "
...
>>> output
' 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz Buzz 26 Fizz 28 29 FizzBuzz 31 32 Fizz 34 Buzz Fizz 37 38 Fizz Buzz 41 Fizz 43 44 FizzBuzz 46 47 Fizz 49 Buzz Fizz 52 53 Fizz Buzz 56 Fizz 58 59 FizzBuzz 61 62 Fizz 64 Buzz Fizz 67 68 Fizz Buzz 71 Fizz 73 74 FizzBuzz 76 77 Fizz 79 Buzz Fizz 82 83 Fizz Buzz 86 Fizz 88 89 FizzBuzz 91 92 Fizz 94 Buzz Fizz 97 98 Fizz Buzz '

*I had to google an operator to confirm it was Python, which is what I want to pick up anyway.

Posted by: JP Stormcrow | Link to this comment | 08- 2-12 10:01 PM
438

431: True. But the language I wrote that in uses a virtual machine that doesn't support that. It seems I might be forced to use a while loop, sadly enough. However, I suspect that if you're clever with using the strategy pattern, you can get away with having only a single while loop in all of your code, while still keeping it largely structured.

Truly, this is the best worst way to write in Java.

Posted by: dalriata | Link to this comment | 08- 3-12 8:25 AM
439

I like Stormcrow's implementation because it's a little bit like mine but I never would have come up with that way of handling things.

Posted by: togolosh | Link to this comment | 08- 3-12 8:34 AM
440

438: Actually, no, you don't have to be clever. You just need functions. Meh.

439/437: Agreed. That's a completely different perspective from how I would look at it--it seemed natural to me to treat it as a modulo arithmetic problem but there's no reason it has to be. Congratulations on using this as a reason to relearn how to program.

Posted by: dalriata | Link to this comment | 08- 3-12 8:57 AM
441

re:440 et all, you can look at this in different ways, e.g this oneliner should work

(putStr . unlines . take 101) \$ zipWith3 (\a b c -> if null (a ++ b) then c else (a ++ b)) (cycle ["","","Fizz"]) (cycle ["","","","","Buzz"]) (map show [1..])

Posted by: late to the party | Link to this comment | 08- 3-12 9:51 AM
442

maybe that was a bit opaque, always a risk with oneliners

Posted by: late to the party | Link to this comment | 08- 3-12 9:54 AM
443

maybe that was a bit opaque, always a risk with oneliners

Posted by: late to the party | Link to this comment | 08- 3-12 9:54 AM
444

Take my cryptic program ... please.

Posted by: JP Stormcrow | Link to this comment | 08- 3-12 10:16 AM
445

not meaning to be cryptic, just was rushed.

The point was that instead of doing any modular arithmetic, in a lazy language (haskell, here) you can just generate infinite lists ["","","Fizz","","","Fizz",...] and walk across them. So this program takes a string from the cycle 3 list, and one from the cycle 5 list and puts them together. If that string is empty, it puts the current number instead.

No calculations or loops needed....

Posted by: late to the party | Link to this comment | 08- 3-12 10:26 AM
446

4409.2: Congratulations on using this as a reason to relearn how to program.

Well my reason(s) are theoretically a bit more grounded, yet they apparently were not sufficient to get me to actually put characters to screen.

Posted by: JP Stormcrow | Link to this comment | 08- 3-12 10:29 AM
447

441 is amusingly similar to a fizzbuzz implementation described on a page linked on hacker news this morning or possibly last night. But really, don't you want to lift that repeated (a++b) out? "let s = a++b in if null s then c else s".

Posted by: nosflow | Link to this comment | 08- 3-12 10:33 AM
448

445: No judgment intended (but thanks for the explanation, it looked like something like that), but in the service of a stupid joke I (and a few others here ...) are willing to mischaracterize anything.

Posted by: JP Stormcrow | Link to this comment | 08- 3-12 10:33 AM
449

441: huh, haven't seen that. FizzBuzz isn't really hacker news worthy, is it?

Anyway, yes of course I should have lifted the concatenation out. OTOH, I'm happy that it actually compiles and works, since I hadn't tried that when posting.

I just thing it's an interestingly different way to think of the problem, as I was reading over the variants above.

Posted by: late to the party | Link to this comment | 08- 3-12 10:39 AM
450

also, my haskell is very rusty

Posted by: late to the party | Link to this comment | 08- 3-12 10:40 AM
451

FizzBuzz isn't really hacker news worthy, is it?

It was some "thinking with haskell" post or something, not specifically fizzbuzz-related.

Posted by: nosflow | Link to this comment | 08- 3-12 10:43 AM
452

I spent a couple of years recently doing individual math tutoring professionally along with substitute teaching in some of those basic algebra classes where the students are struggling. Some thoughts from the trenches:

I think there are a lot more students who are *not* learning algebra successfully than there are students who *can't* learn it. If you made me czar of teaching algebra to struggling students with an unlimited budget, I'd go for a lot of individual/small group tutoring of students with more or less matched abilities in a group. Student:teacher ratios of 4:1 or less. Variable lengths of time to master the material - some kids may get it in a semester or two, others may need more time. Detailed report cards on areas of skill mastery, but make the overall course pass/fail, where pass means that you showed up regularly and contributed to the best of your ability, making reasonable progress. You progress when you have demonstrated sufficient mastery of enough key skills to be able to pass the HS exit exam. Sort of like the Red Cross swimming lessons - you can repeat a level as needed without being repeatedly tagged as a failure, and progress when your instructor thinks you have mastered the key skills of the level.

Trying to work with a class of 25-30 students at widely varying skill levels, and marching them along in lockstep to get through all the material in a single semester/year is a recipe for disaster. Repeatedly failing the kids until they can pass sends all too many of them the message that they are failures, who give up as soon as they see that they aren't going to pass this time. The teachers I've talked to know this, but the system is hard to fight. I think that the problem is solvable given sufficient resources - but I doubt if we have the will as a society to devote such resources to solving the problem.

Posted by: Dave W. | Link to this comment | 08- 3-12 6:58 PM
453

My solution for FizzBuzz would work better on superpipelined processors. I wrote it in C for maximum efficiency.

int main() {
int i;

for (i=1; i printf("%d %d Fizz %d Buzz Fizz %d %d Fizz Buzz %d Fizz %d %d FizzBuzz ", i, i+1, i+3, i+6, i+7, i+10, i+12, i+13);
}
printf("%d %d Fizz %d Buzz Fizz %d %d Fizz Buzz ", i, i+1, i+3, i+6, i+7);
}

Since in this version the branch is almost always taken, that improves branch prediction, which is important for performance on modern processors.

Posted by: Walt Someguy | Link to this comment | 08- 3-12 9:07 PM
454

452: To give an example, one of my Algebra 2 clients was struggling with rational expressions - stuff like simplifying (2x+2)/[x(x+1)] + 4/[x(x+2)]. I worked with him a little bit, and discovered that he also had trouble doing the analogous stuff working with fractions. So we spent some time talking about fraction computations, I printed out a couple of worksheets on fraction problems with the answer keys to work through on his own, and when we came back to working with rational expressions a couple of weeks later, he did just fine.

That's the kind of stuff you can do when doing individualized instruction - not "you need to go back and take fifth grade math again, you dummy", but "here's a skill that you haven't gotten solidly enough that is hurting you with the stuff we are trying to learn now - let's take a digression to make that solid, and then come back to the topic we were working on." I've seen similar stuff going on with some of the kids in algebra classrooms I've been in. I've seen several kids who are having trouble working with polynomials because they are having trouble working with negative numbers, or are a bit shaky on multiplication. But it's much harder to work with there when you have a large class to deal with, a schedule to keep up with, and a bunch of discipline problems to address.

That said, one of the factors going on in my tutoring work was that both the kids and the parents were engaged in addressing the problems. I didn't have to deal with kids who weren't showing up, or not doing the homework, or who had completely dysfunctional home lives. My client's mom was paying good money for my time, so she followed up to make sure he did the practice work. So I'm not absolutely sure how well my experience generalizes. But I do think there are a bunch of kids who aren't getting it, but who could get it with some individualized help.

Posted by: Dave W. | Link to this comment | 08- 5-12 9:02 AM
455

simplifying (2x+2)/[x(x+1)] + 4/[x(x+2)]

Gosh, it's apparently been a long time since I took algebra. I get that the first part reduces to 2/x, but what do you do with the second part?

Is the answer: 8/(x3 + 2x2)?

Posted by: politicalfootball | Link to this comment | 08- 5-12 9:23 AM
456

455

Is the answer: 8/(x3 + 2x2)?

No, you are supposed to add the two parts not multiply them together. So you find a least common denominator and then add the numerators. So

2/x + 4/(x*(x+2)) = 2*(x+2)/(x*(x+2)) + 4/(x*(x+2)) = (2*x+8)/(x*(x+2))

Not something with a lot of practical value.

Posted by: James B. Shearer | Link to this comment | 08- 5-12 10:08 AM
457

Thanks James. I see my error.

And you just did algebra as an adult!

Posted by: politicalfootball | Link to this comment | 08- 5-12 10:10 AM
458

You have a 2xN grid that's supposed to be tiled by 1x2 or 2x1 tiles. How many different ways can you tile it?

If I'm understanding the problem right (I've never taken a class in inductive reasoning -- for that matter I've only ever taken one real CS class), and with the proviso that I had the hint about recursion, that seems... really easy to solve in code? Tile with no edge overlap, right?

I'm glad this thread is active, because I wanted to ask about the above problem. I just don't see the obvious way to do it using induction. I was thinking about the problem this morning, and I got the solution*, but I was clearly doing it the hard way, and was curious what I was missing.

*Here's my solution. I realized that the constraints of the problem mean that you could think of as a 1xN grid which is populated by some combination of 1x1 or 1x2 blocks. EG, for a 5x2 grid if you had (with the two 1,1 indicating a block of two vertical tilings)

++
-,-
-,-
++
++

That's really just +,-,+,+ in terms of counting combinations.

So the solution I got for a 2xN grid to was:

total = 0
for a = 0 to floor(N/2)
' a = number of pairs of "vertical" blocks
' b = number of "horizontal blocks
b = n -2*a
Total += (a+b)C(a)
next

But that wasn't an inductive approach.

Posted by: NickS | Link to this comment | 08- 5-12 10:24 AM
459

The inductive approach is to say that the tilings of a 2xN (or 1xN in your simplification) board can be divided into two groups: ones that start with a vertical tile (or a 1x1 tile) and those that start with two horizontals (or a 1x2). Then recognize that size of the first set is equal to the number of tilings of a 2x(N-1) board, and the second a 2x(N-2) board. That is, f(N) equals the number of tilings of a N board, f(N)=f(N-1)+f(N-2). With appropriate boundary conditions, this is a Fibonacci sequence.

Posted by: Eggplant | Link to this comment | 08- 5-12 10:44 AM
460

That makes sense.

I was almost there, but my simplification to treat the height 2 block as just "a block" kept me from seeing that step.

Posted by: NickS | Link to this comment | 08- 5-12 10:58 AM
461

One advantage of my solution, however, is that it generalizes to a solution for any X by Y grid tiled by 1-X pieces.

But I definitely missed the "aha" piece of that puzzle.

Posted by: NickS | Link to this comment | 08- 5-12 11:00 AM
462

145: Re: proving that (-a)(-b) = ab. A full formal proof from first principles can be rather long-winded: Hofstadter gives a 56-step TNT proof that multiplication is commutative in Godel, Escher, Bach. But a proof in the sense of a sufficiently convincing demonstration isn't too hard. The basic idea is that we want to define multiplication by negative integers so that the rules that apply to multiplication of positive integers (commutative, associative, and distributive) continue to apply when we multiply negative numbers.

With a group of 5th or 6th graders, I could give a decent demonstration at the blackboard with a number line that we want to define multiplication by a negative number to be the same result as multiplying by the equivalent positive number, but just flipped to the opposite side of zero. (A result that is conceptually consistent with the multiplication of polar-coordinate complex numbers, if they get to learn that years later). I would work them through that with a few concrete examples with small integers. Once they get that, the idea that multiplying two negative numbers means that you flip twice (which brings you back to your starting point) should follow naturally.

For more advanced students who can manipulate variables algebraically, you can prove that (-a)(-b) = ab just from the assumption that commutative, associative, and distributive laws continue to hold for negative numbers. First, you show that multiplication by -1 gives you the additive inverse: b(-1) + b = b(-1) + b(1) = b(-1 + 1) = b*0 = 0. So whatever b(-1) is, it must be the additive inverse of b (because they add to 0), which we designate as -b. Thus b(-1) = -b, and by commutivity, (-1)b = -b also. In particular, (-1)(-1) must be the additive inverse of -1, which is 1.

Then we can just use substitution, commutivity, and associativity to prove the desired result:
(-a)(-b) = [a(-1)][b(-1)] = [a(-1)][(-1)b] = a{(-1)[(-1)b]} = a{[(-1)(-1)]b} = a{1*b} = ab.

I don't see anything in that version that should be too difficult for high school students who are moderately comfortable with symbolic manipulation. And this is one of the points of learning algebra: it gives you a way to reason about and prove properties of numbers in general, not just the particular arithmetic examples you happened to try.

Posted by: Dave W. | Link to this comment | 08- 5-12 8:48 PM
463

461

One advantage of my solution, however, is that it generalizes to a solution for any X by Y grid tiled by 1-X pieces.

So does the other solution. f(n)=f(n-1)+f(n-x).

Posted by: James B. Shearer | Link to this comment | 08- 5-12 9:00 PM
464

So, uh, JRoth told me abou this thread. And since I am in a bit of a panic about how to keep PK moving forward in math, I am popping in at almost 500 comments to ask if Heebie and Dave W can point me in a good direction.

(1) What texts/curriculum/approach *would* you use for a kid who is awesome at math reasoning but who loathes the "memorize this set of steps and apply it to this worksheet of similar problems over and over again" approach? He likes math, thank god, but he hates textbooks. It's sounding from this thread like that doesn't mean he's doomed, but it leaves me not knowing what to do with this whole "home schooling" thing.

(2) Alternatively (or also), what book or two would you recommend to me to get a quick and dirty handle on math pedagogy to get a kid through algebra (and if you're feeling super generous, trig and calculus?). I was one of those who liked geometry best (PK likes it too, the little he's done), but the more "here is a string of numbers and variables and functions" stuff really makes my eyes glaze over.

Posted by: tedra | Link to this comment | 08- 6-12 4:59 PM
465

Hiya, T! I don't actually know much about k-12 resources, but let me fire off a couple emails and see what comes back.

Posted by: heebie-geebie | Link to this comment | 08- 6-12 5:35 PM
466

Bless you.

Having followed the links in this thread, I've found a couple of nearby math circles. The nearest one is headed by the first person on this page: http://santabarbaramathellipse.org/middle/people.html

Turns out she homeschooled her own kids and responds to email almost immediately. I'm feeling hopeful; although it's quite likely PK will refuse to even try it, he's so freaking anxious/angry these days about anything that even smells like school, both she and the "math circles" concept sound like the kind of thing that could tap into his intellectual curiosity instead of triggering his defensiveness.

Posted by: tedra | Link to this comment | 08- 6-12 6:14 PM
467

There's always Smang Math

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 6:25 PM
468

Uh, to be a smartass. Good luck PK!

Does he like to program?

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 6:25 PM
469

Hi, Tedra. When tutoring, I tended to go with whatever textbook the student was already using, supplemented by my own knowledge. So I may not be too much help there as far as textbooks go. They certainly vary, and I've encountered a couple that were downright lousy, but I don't think there are any I would say "this is so wonderful it teaches itself." They all tend to have the "introduce a topic, followed by lots of exercises" format. What grade is PK in these days?

One thing I can suggest is that when I was in junior high, I had the great good fortune to have a school library with a lot of interesting books about math. I wound up teaching myself about a lot of topics not in the standard texts just by reading about stuff. I don't know how well that generalizes to other people, or what PK might find interesting vs. confusing. But I think there's a lot that can be learned from browsing a good book about math, particularly if it's seen not as something you have to get through now, but something you can come back to from time to time as you get more background. Particularly if it's something that you can browse ahead of or along with him, and form some judgements about what he might be ready for.

I'll try to pass on some specific thoughts later - but one thing I will recommend is just about any of Martin Gardner's collected columns from Scientific American. I read his column religiously through jr. high and high school. He had a wonderful way of taking all kinds of mathematical games and topics and making them interesting.

Posted by: Dave W. | Link to this comment | 08- 6-12 6:35 PM
470

one thing I will recommend is just about any of Martin Gardner's collected columns

Huh, this is very smart.

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 6:38 PM
471

The Gardner suggestion is good, although it may depend on PK's current level. I always learned math the best through getting interested in a puzzle or a problem, and thus motivated would be ready to absorb the math that I hadn't been able to figure out. Textbooks seemed to be organized around making it as axiom-focussed and unexciting as possible.</overly broad generalization>

Posted by: Eggplant | Link to this comment | 08- 6-12 6:51 PM
472

@Sifu, he hasn't gotten into it yet but has expressed some interest. (He gets the concept behind binary numbers, of course, and enjoys binary jokes.) I don't know shit about programming, myself, and was wondering about that as I was reading the thread: would learning programming be an adequate "substitute" for your standard math curriculum, a good supplement, or what? He needs to learn algebra but gets very pissy about "worksheets" and such very quickly.

@Dave: Browsing books about math has been his favorite math-related learning activity so far. He's 11 and going into 7th grade; ready to start algebra. He understands things like fibronacci sequences, pyramid numbers, imaginary numbers, irrational numbers, exponents, and so forth very well. He's convinced that it is in fact possible to divide by zero and will tell anyone who listens that he has a "proof" that zero = infinity (which he'll explain, as well; the logic is slightly flawed but he gets the concept of proofs, anyway). I actually bought him a Gardiner book this summer, as it happens; he tends to love that sort of thing, and I recently saw it by his bed so I think he's dipping into it. Will present him with the Sci American columns link later this month when we sit down and start talking about what he wants to do home school wise...

Posted by: tedra | Link to this comment | 08- 6-12 6:57 PM
473

Gardner. No i.

Posted by: tedra | Link to this comment | 08- 6-12 7:04 PM
474

472.1: I mean, I have no idea. I loved programming but loathed math class until I got to calculus. I guess I worked out in the end? Not a path I would recommend.

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 7:05 PM
475

Anyhow the thing about the programming path is that you eventually realize you actually need math to do the cool things you want to. 3D modeling/a 3D printer might be another interesting, geometric way in. Can't do 3D transforms without matrix math, can't do matrix math without trig (or, certainly, algebra).

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 7:07 PM
476

If he likes solving problems these books are a good source (albeit a bit over priced in my view, some libraries may have some of them, or you might find used copies).

Posted by: James B. Shearer | Link to this comment | 08- 6-12 7:17 PM
477

472

... would learning programming be an adequate "substitute" for your standard math curriculum, ...

If you are aiming for a good score on the math SAT or preparing for a STEM major in college then no.

Posted by: James B. Shearer | Link to this comment | 08- 6-12 7:20 PM
478

Shearer is mostly correct. You could probably hack a STEM major with the right motivation, but much better to cover the ground now.

Posted by: Sifu Tweety | Link to this comment | 08- 6-12 7:57 PM
479

would learning programming be an adequate "substitute" for your standard math curriculum, a good supplement, or what

I vote for "good supplement", but really the ideal would be (ahem, my hobbyhorse) to teach each in conjunction with the other. Programming 101 exercises often involve constructing algorithms that use basic algebra and trig to, for ex, make a Pong AI. What you get from that is the ability to transfer the ideas from one context to the other, which helps obviate the idea that "learning" the material is just regurgitating a textbook way to do certain kinds of symbolic manipulation.

Posted by: Criminally Bulgur | Link to this comment | 08- 6-12 8:34 PM
480

I learned Calculus from Downing's "Calculus the easy way", which is a story book. I liked it quite a lot, and it might appeal to someone who didn't like text books. There's a similar book about algebra, also told as a story book. I haven't read that myself, but it seems like it might be worth looking into.

I was about to suggest Gardner, but I see I've been pwned. There's a lot of Gardner books (of columns) and they're really great. My favorite math book (which he won't be ready for for a few years) is "Journey through Genius."

What I did when I was homeschooled and that age was to just read all the math books in the public library. So you might not need to worry about picking books yourself, just let him pick them.

Posted by: Unfoggetarian: "Pause endlessly, then go in" (9) | Link to this comment | 08- 6-12 8:58 PM
481

I loved Gardner's book on paradoxes when I was a kid. On the other hand, I liked doing exercises, at least in elementary school.

Posted by: fake accent | Link to this comment | 08- 6-12 9:49 PM
482

There are "binary jokes"? Huh.

Posted by: essear | Link to this comment | 08- 6-12 10:11 PM
483

Seventh grade was the year when I basically begged my math teacher to give me a bunch of old textbooks on everything from algebra to calculus and became the horrible bore I am today.

Posted by: essear | Link to this comment | 08- 6-12 10:14 PM
484

There are "binary jokes"? Huh.

There are ten kinds of people in the world, essear.

No, wait, I told that wrong.

Posted by: nosflow | Link to this comment | 08- 6-12 10:21 PM
485

There are ten kinds of people in the world, essear 01100101 01110011 01110011 01100101 01100001 01110010.

Posted by: Awl | Link to this comment | 08- 7-12 1:16 AM
486

472/483: For reading a pile of texts and becoming a bore, I really liked the Springer Undergraduate Mathematics Series. IIRC, all of the problems (even proofs) have solutions, and there are lots of problems, so you can try the problems to see if you actually get the material. Also, most of the books have clear exposition. My problem with reading most books straight through (especially advanced texts) is that they're just theorem, proof, theorem, proof, etc.. You can try to see if you get the material by covering up the next proof and doing it yourself, but the theorem is often something that took a brilliant mathematician years to solve, so what hope does a schmuck like me have?

I don't think the SUMS books have an intro to algebra, but there are a few that probably don't have algebra as a pre-requisite (IIRC, there's a book on logic, and one very basic one on discrete math and graph theory), and once you have algebra, I bet all of the books are accessible only using other books in the series.

The books may or may not be suitable for someone who doesn't like textbooks, depending on the reason. I've heard people complain that books that aren't written in the style of Rudin have too much explanation. Those people won't like these books. OTOH, they're also fairly rigorous, so they're not so good if you want a high level "X for dummies" style overview.

Posted by: sral | Link to this comment | 08- 7-12 11:20 AM
487

Man you have to be pretty 111101001101001 to get these jokes.

Posted by: ursyne | Link to this comment | 08- 7-12 11:35 AM
488

010010010010000001101100011010010110101101100101001000000111000001101111011011110111000001101001011011100110011100101110

Posted by: Sifu Tweety | Link to this comment | 08- 7-12 11:38 AM
489

487: pretty zi?

Posted by: Sifu Tweety | Link to this comment | 08- 7-12 11:39 AM
490

OôÓ? ôÒ? úi?

Posted by: Sifu Tweety | Link to this comment | 08- 7-12 11:41 AM
491

48: 53 6f 20 64 6f 20 49 2e 0d 0a

Posted by: JP Stormcrow | Link to this comment | 08- 7-12 11:48 AM
492

48: s/b 488:

I was always bad with numbers.

Posted by: JP Stormcrow | Link to this comment | 08- 7-12 11:49 AM
493

%110%157%157%162%141%171%41

Posted by: Sifu Tweety | Link to this comment | 08- 7-12 11:49 AM
494

Martin Gardner's a good suggestion. I would add that my parents used to entertain me by reading me logic puzzles from Raymond Smullyan books, but I'm not sure if PK would find that fun or stressful.

Overall though, I think James is right to ask what the medium-term goals are. To teach algebra, to teach general numeracy skills, or to prepare for some specific test of requirement.

For me the biggest change in my experience of math class was when I started doing math team, because it created a situation where I actually cared about getting the right answer. Prior to that I didn't care if I made lazy errors on 20% of the problems in a set, I had confidence that I knew what I was doing, and I wasn't invested in success or failure. But when getting problems right counted for something (and, for whatever reason, math team counted for much more than match class did) I became much less lazy and that carried over.

So I'd try to figure out what situations motivate him to actually care about the answers and see if you can work from there.

Posted by: NickS | Link to this comment | 08- 7-12 12:07 PM
495

493: What was the default base in Lisp Machine Lisp?

Posted by: JP Stormcrow | Link to this comment | 08- 7-12 12:08 PM
496

I did not know that!

Actually my experience with octal consists I think entirely of joking about it. I've never run into it in practice.

Posted by: Sifu Tweety | Link to this comment | 08- 7-12 12:12 PM
497

The goal from his point of view is that he currently wants to "be a scientist" (he likes chemistry a lot, though recently he's getting much more interested in physics). Obviously if he starts actually trying to calculate things in either discipline he'll figure out that he needs math pretty quick.

The goal from my point of view is that he loves math, by his own admission, and I want him to rediscover that and get him past/through this knee-jerk loathing of all things that whiff of school. Also I do expect he'll pursue some kind of STEM field, so. And Mr. B. is adamant that This Kid Is Going To College, so.

Thanks for the suggestions and explanations re. programming. Maybe I'll see if I can get him to start doing some programming alongside some algebra; I think that the "this has actual applications to the Real World" is pretty important to him right now.

Posted by: tedra | Link to this comment | 08- 7-12 5:00 PM
498

Tedra, if you see Asilon around here (or elsewhere) you might ask her too. She does (did?) homeschool & tutors maths.

Posted by: md 20/400 | Link to this comment | 08- 7-12 6:32 PM
499

Thanks, I'll keep that in mind.

Posted by: tedra | Link to this comment | 08- 7-12 11:08 PM
500

I think that the "this has actual applications to the Real World" is pretty important to him right now.

A lot of the early math developed to calculate probability was done for gamblers. I wonder if there's any good book that goes through that history and works through the math as a way of explaining what the smart bets are. There must be, but I don't know any off the top of my head.

Getting to far into probability could be more of a sidetrack than you want, but some simple probability could be a good companion to algrebra.

Posted by: NickS | Link to this comment | 08- 8-12 4:48 PM
501

Getting to far into probability could be more of a sidetrack than you want, but you should make sure he knows enough to pick the winning side when the Bayesian/frequentist holy war turns violent and plunges the world into a dystopian future.

Posted by: essear | Link to this comment | 08- 8-12 5:19 PM
502

Flatland (by Edwin A. Abbott) - A timeless classic. This book got me thinking about higher-dimensional shapes and how they could be represented by slices in two or three dimensions. There is an online version (with some messed-up typography) here: http://www.geom.uiuc.edu/~banchoff/Flatland/

The Compleat Strategyst - this book was my introduction to two-player Game Theory, written in a way to show a bunch of tricks to compute optimal strategies without requiring algebra. It is available as a free PDF download: (http://www.rand.org/pubs/commercial_books/CB113-1.html). I read the first edition; the second edition includes a chapter based on the simplex method for solving larger examples.

There was some sort of golden book of math I encountered in 6th grade that I remember for introducing me to Pascal's triangle. I haven't been able to find it again, but "G is for Googol" is a pretty good kid-friendly modern substitute.

Second Book of Mathematical Bafflers (edited by Angela Fox Dunn) - Recommended with reservations. The problems are at mixed levels of difficulty without a good indication of which ones are easy vs. hard. The explanations of the answers are pretty terse. But many of the problems are solvable by a bright jr high student, particularly one who is doing outside reading, and they tend to be pretty interesting.

The Education of T.C. Mits, by Dr. Lillian Rosanoff Lieber (http://en.wikipedia.org/wiki/Lillian_Rosanoff_Lieber). There is an excerpt at: http://www.physicscentral.com/explore/writers/lieber.cfm

I also read a book on infinity and Cantor's work, which I think was the Lieber's "Inﬁnity: Beyond the Beyond the Beyond," from what I can tell from the preface to the revised (and abridged) edition: (http://pauldrybooks.com/mm5/pdfs/infinity_takealook.pdf). Both of these books are now back in print after many years, republished by Paul Dry Books.

I also read a book on Number Theory, which I think might have been "The Higher Arithmetic" by H. Davenport. (This book should definitely wait until after algebra, though I might have read a more basic book first).

None of these will (in general) be on the SAT or in the regular high school math curriculum, but they all are interesting topics that can inspire a life-long interest in math.

Posted by: Dave W. | Link to this comment | 08- 9-12 9:03 AM
503

That's a great list, thanks!

And re. the probability/gambling suggestion, his 5th grade teacher did used to have them play blackjack and calculate the probabilities. And he loved it. That's a really good suggestion, actually.

Posted by: tedra | Link to this comment | 08- 9-12 4:45 PM
504

I'd like to know the prior for 501.

Posted by: Sifu Tweety | Link to this comment | 08- 9-12 4:47 PM
505

The Compleat Strategyst

I had forgotten that book! Good book.

Posted by: md 20/400 | Link to this comment | 08- 9-12 6:22 PM
506

Is this thread still active? I was just looking at my bookshelf, and I have a few books that are suitable for someone without algebra (including one programming book that's really a math book in disguise), and a bunch that technically don't require any background beyond algebra (although many of those would be challenging even for most college students). I'd be happy to send them along, if you think you might use them. Just send me an email if you want to set something up.

Sorry if I don't respond right away. I'm about to head off to a dance competition. Typically, there's competition all day and then partying and random social dancing until 5 or 6 am, so I might not have the energy to check email until Monday.

Posted by: sral | Link to this comment | 08-10-12 9:28 AM
507

Sorry if I don't respond right away. I'm about to head off to a dance competition. Typically, there's competition all day and then partying and random social dancing until 5 or 6 am, so I might not have the energy to check email until Monday.

humblebrag? Sounds fun.

Posted by: NickS | Link to this comment | 08-10-12 9:37 AM
508

More math books I can recommend:

Overcoming Math Anxiety, by Sheila Tobias
The one book on pedagogy I recommend, this has a lot of useful info for the non-math anxious as well as some thoughts about problem-solving and learning approaches, and comments about how women (in particular) have tended to be subtly steered away from careers involving math. Also mentions how lack of math can severely limit your choice of college major and career.

Puzzle books by Raymond Smullyan. "What is the Name of this Book?" is the one I have read. Starts from some simple logic puzzles involving liars and truth-tellers, and adds complications from there. A lot of his puzzle books seem to involve liar/truth teller puzzles in various guises, so I'm not sure how repetitious they get when you read more than one.

How to Lie With Statistics, by Darrell Huff. The examples from the postwar years seem a bit dated, due to inflation (a factory worker making \$2,000 a year? \$25,000 a year meaning you are set for a very comfortable life?), but the overall lessons (in that case, a lesson in how the mean vs. the median income gives a misleading picture of the overall income distribution) generally remain valid.

Godel, Escher, Bach: an Eternal Golden Braid, by Douglas R. Hofstader. An amazing book on mathematical proof, Godel's theorem, Escher drawings, artificial intelligence, and a lot of other stuff. I particularly like the dialogue on the ...Ant Fugue, in which the various speakers take on fugue-like roles (entering at various times, repeating themes other speakers have introduced before going on to produce their own variations, etc.) while discussing the structure of fugues. PK might want to wait a bit before tackling some of the math, although the early examples should be easy for him to understand.

Mathematical Tables and Functions, by Robert Carmichael and Edwin R. Smith. This is the one book I always carried with me while tutoring, even though the first two thirds of the book has been rendered largely obsolete by the invention of the scientific calculator. The first two thirds consist of large tables of mathematical functions - logarithms, trig functions, square roots, etc. to multiple places. These days you would just use a calculator, although I have wondered if there would be some pedagogical value in having students use a table of common logs to compute some mathematical expressions in scientific notation without a calculator - it might develop a better intuition about logs and why they used to be far more important than they are today.

But the last third of the book is a condensed reference to formulas from algebra through calculus - a massive cheat sheet that covers all sorts of stuff, from the binomial expansion, graphs of various equations, trig formulas of various kinds, a massive table of integrals, and a bunch of useful infinite series. It's all very compressed - no explanations, it's just a reference list, but it's a massively useful one once you have studied the topics in question elsewhere.

Posted by: Dave W. | Link to this comment | 08-10-12 4:40 PM
509

Puzzle books by Raymond Smullyan

I mentioned Smullyan upthread. I can say there was a time when I loved his puzzles and then, at some point, they started to feel like work, rather than fun, and I don't remember what age that shifted for me. But they're definitely well written as far as puzzle books go.

Godel, Escher, Bach: an Eternal Golden Braid, by Douglas R. Hofstader

I would add Metamagical Themas (the collection of Hostader's Scientific American columns). It isn't as good a book as GEB but, as a collection of columns, it's easier to start and then put down or skip around if it doesn't work.

GEB is a classic, of course, but I just think it might work better for somebody a little bit older than PK.

Posted by: NickS | Link to this comment | 08-10-12 5:27 PM
510

509: GEB is a classic, of course, but I just think it might work better for somebody a little bit older than PK.

Sure. Like I said, he might want to wait a bit before tackling some of the math. A bunch of it may make a lot more sense after confronting mathematical proofs in Geometry, or even later. On the other hand, there are pieces of it, particularly the early parts of the book, that he might get now. I wouldn't *assign* it, but there are pieces that might interest him now, or later. It's the kind of book you might want to have around for when he has the interest. It partly depends on whether you think he might have the reaction "this is too hard - I never want to read this again" vs. "this is too hard right now - let me come back to this in another year or two."

Posted by: Dave W. | Link to this comment | 08-10-12 6:23 PM
511

510, continued: Actually, there's one other reaction that he might have, which I had back in the day: "I'll go ahead and read this to prove to you that I'm smart, and not let on if there are significant parts I don't get." That's how I wound up doing book reports on Herman Hesse and James Baldwin back in junior high, when my peers were reading sports books or light fiction. Sure, I understood the words, but there were a lot of nuances I didn't get that I would have appreciated more a few years later It probably would have done me good to read and report on stuff I enjoyed reading, rather than stuff I thought I should be reading.

There's nothing intrinsically wrong with reading stuff to challenge yourself, but it's helpful if you can then discuss it with a peer, guide, or mentor who can help steer you into a deeper understanding of the material. (That, by the way, is one of the potential benefits of that math circle in 466.)

So sure, hold off on GEB until he's a little older, maybe through Algebra 2 or so, or earlier if he develops an interest in Number Theory. Most of this second group isn't necessarily stuff for right now, but just stuff that isn't "books I read in junior high" but can still be interesting to the bright jr. high or high school student.

Posted by: Dave W. | Link to this comment | 08-10-12 7:57 PM
512

@DaveW--Thanks and more thanks.

@Sral--was that intended for me? Emailing to find out.

Posted by: tedra | Link to this comment | 08-13-12 5:00 PM
513

Also, re. GEB, that's a book Mr. B. has tried before to talk PK into reading, without luck. So PK seems (I think) fairly resistant to the reading-over-his-head-to-prove-something-to-the-adults thing. Sadly, the adults in his life (me included) aren't very good at refraining from "encouraging" him to read adult things we think he might be ready for. Am trying *really hard* to take the approach of "here's something I thought you might be interested in, what do you think?" for now (hence wanting to gather as many resources as possible) rather than the "you must read this" approach, although I'm not at all sure how long my patience will last if he keeps doing this NO NOTHING TO DO WITH SCHOOL thing.

Posted by: tedra | Link to this comment | 08-13-12 5:05 PM
514

There were two or three books in a series at my local library that I liked a lot sometime early in high school, which were full of little two-or-three page mini-introductions to various mathematical topics. Nothing in much depth, but sort of a whirlwind tour of interesting tidbits of mathematics beyond the sort of thing you get in a normal high school education. Glimpses of what topology, number theory, etc. are about. I wish I could remember the name of the author or the books; they were fun, and definitely gave me some sort of acculturation that helped me figure out where I was going when I tried to dive into more advanced topics later on.

Posted by: essear | Link to this comment | 08-13-12 6:04 PM
515

I heartily endorse the various books of Martin Gardner, particularly (in this case) Aha! Insight! and Aha! Gotcha!.

Posted by: snarkout | Link to this comment | 08-13-12 6:29 PM
516

I see people have already recommended Gardner, but those two books are collections of brainteasers doable by a junior high schooler.

Posted by: snarkout | Link to this comment | 08-13-12 6:32 PM
517

I can say there was a time when I loved his puzzles and then, at some point, they started to feel like work, rather than fun, and I don't remember what age that shifted for me

There's also the fact that some of those puzzles are fucking hard.

Posted by: nosflow | Link to this comment | 08-13-12 6:51 PM
518

I also liked the Gardner column and books.

However there is a potential problem in that I suspect most of the people giving advice in this thread are in the top 1% of mathematics ability and it is unclear that what was attractive to them would be equally attractive to a less talented kid.

Posted by: James B. Shearer | Link to this comment | 08-13-12 7:34 PM
519

when the Bayesian/frequentist holy war turns violent and plunges the world into a dystopian future

Right, it's not a dystopian future until after the war.

Posted by: fake accent | Link to this comment | 08-13-12 11:28 PM
520

518: However there is a potential problem in that I suspect most of the people giving advice in this thread are in the top 1% of mathematics ability and it is unclear that what was attractive to them would be equally attractive to a less talented kid.

Oh, absolutely. I'm going in part by tedra's description of PK as a bright kid who is bored to tears by doing full problem sets when he's already mastered the principles involved, and the fact that they seem to have some pretty awesome math resources available in the community (and through Mr. B). I don't know how far down the percentile scale you can go and still have an interest in reading about this kind of stuff, but it seems like it might be worth tossing some of this stuff out there and seeing if he likes it. Given that the main problem right now seems to be to keep him from burning out on math as taught in the standard curriculum, it seems worth taking a few chances to see if tedra can really engage his interest. I wouldn't be making the same recommendations for a kid who was still struggling to master basic arithmetic skills.

Demotivation can be a major problem. In the "shoemaker's children go barefoot" category, my own son burned out enough on high school preCalc (and the way prior math was taught/graded) that he has resolutely refused to take much further math in college, in spite of test scores that indicate it would likely be one of his strongest areas. (He's taken one stat course for non-majors, and refused to go further in spite of the encouragement of his stat prof who thought he should continue with the regular sequence, and has refused to even consider taking calculus or discussing it with me. My wife has convinced me that further pushing/encouragement on my part is likely to be counterproductive.) So I'm all over the "get the kid excited about some aspect of the subject" approach if at all possible.

Posted by: Dave W. | Link to this comment | 08-14-12 2:06 AM
521

#515: Thanks for the specific suggestions, snarkout.

#518/520: Yeah, I don't know if PK will latch onto this stuff or not, but his test scores are pretty damn high. And, more importantly I think, he really *enjoys* trying to figure mathematical concepts out, if not algorithms. Everyone has been incredibly helpful; thanks, guys and gals.

Posted by: tedra | Link to this comment | 08-14-12 5:06 PM