I have left Harvard as of July 1, 2008 to take a position at
NYU.
This website has been cached and left static. Feel free to browse
my
new website,
aka "What the heck is a Clinical Associate Professor?"
02.29.08
Posted in Math, News at 1:29 pm by leingang
This month’s Wired contains an article about the Netflix prize, offering $1,000,000 to the person or team that can improve Netflix’s recommendation engine by 10%. It’s an interesting tale of the frontier of data-centric personal services. The “hero” of the article uses not only mathematical algorithms but psychological concepts when gleaning information about past preferences in order to predict future ones.
For instance, there’s the concept of “inertia,” or another way, relativity, when ranking movies on a simple 1-5 scale. Somebody might give the same movie two different rankings depending on the most recent movie he or she watched. If you see, for instance, Gattaca followed by The Matrix, you might give The Matrix a 4 because you think it’s so much better than Gattaca. But if the previous movie was a 5 (I’ll let you fill in your favorite here), well, maybe The Matrix earns only a 3. Mathematically, we would say that the relationship between the set of movies and a person’s ratings for them may not actually define a function as the purely math models assume.
The other cool thing about this article is that it’s written by mathematician Jordan Ellenberg, with whom I went to grad school back in the day (the nineties).
Blogged with Flock
Tags: math, news, netflix, wired, jordan ellenberg
Permalink
Comments off
02.18.08
Posted in News, Education at 2:29 pm by leingang
Today I saw in one of the University of Michigan student papers an article about a WSJ blog post about a Chronicle of Higher Education column about a new book about college freshmen and their first experiences away from home. The Chronicle story is called “The Myth of First-Year Enlightenment” and the book tries to burst the bubble of those who picture a monumental eye-opening and metamorphosis during the first year. Instead of undergoing then sudden realization that the world is much bigger than they originally thought and what they had come to value was now clearly so…philistine (this was the word used at my freshman orientation), Tim Clydesdale writes,
Most of the mainstream American teens I spoke with neither liberated themselves intellectually nor broadened themselves socially during their first year out…What teens actually focus on during the first year out is this: daily life management.
Most American teens keep core identities in an ‘identity lockbox’ during their first year out and actively resist efforts to examine their self-understandings through classes or to engage their humanity through institutional efforts such as public lectures, the arts, or social activism. Contemporary teens are practical men and women. They . . . manage their daily lives fairly well. But they are not, by and large, thinking men and women.
Practical rather than paradigmatic shifts, I suppose. Clydesdale writes that some students do undergo big philosophical changes, but those are the exception. They end up becoming college teachers and perpetuate the metamorphosis myth.
How does that affect current college teachers? I think the older I get the more I appreciate the college experience, but I have to remember what I was actually like as a college freshmen. And even then I have to acknowledge that my experiences of learning the discipline I teach aren’t shared by the general population of students taking introductory courses in that discipline. Although Math 160’s at the University of Chicago changed the way I think about mathematics, that doesn’t mean that everyone should take it. But understanding where students do come from helps me reach them.
Getting this away from me: James Lang writes in the Chronicle story that we can do better at motivating our courses with what our students are seeking. No, not grades.
But practical-minded students need the tools to communicate, to analyze, to formulate, to critique, to defend, to think, to solve problems, and so on. He says he’s stopped advertising that he plans to change the way students think, leaving it as a covert mission. Now he focuses on teaching them to think in the first place.
Blogged with Flock
Tags: teaching, freshmen
Permalink
Comments off
02.16.08
Posted in Math, News at 7:14 pm by leingang
A couple of people pointed out this article in USA Today about a mathematics professor who thinks fractions need not be taught in schools.
I know that I work for one of the most famous organizations in the world, and I’m well aware that the things I write on my blog could be misconstrued as coming from my employer or representing positions held by them. So I keep things pretty close to the vest. But I hope I’m not being too controversial when I say that I like fractions and hope they continue to be taught. I’m not quite sure how algebra can be done without fractions (what becomes of rational functions if you can’t abstractly divide polynomials?), and without the skills to algebraically manipulate expressions, calculus becomes very hard to do as well.
Prof. DeTurck compares fractions to roman numerals, which of course were abandoned once the arabic system became more widespread. The arabic system had place value, that is, the idea that the position of a digit within a number changed the value of the number. They also had one of the most important numbers: zero. With these ideas, finitely many symbols can be used to express infinitely many numbers.
The quickest to move to the arabic system from roman numerals were the accountants, and indeed, a big advantage of arabic numerals is the ease of computation. The same could be said of decimals versus factions: it’s usually easier to add decimals. Alexander Hamilton wanted a base ten system for the currency of the United States, rejecting the 12 schillings per pound, 20 pence per schilling system long before the UK themselves did. Computers are built for floating-point arithmetic rather than adding fractions, and so most stock exchanges list decimal prices for commodities now.
But fractions are for more than just arithmetic. And decimals are only useful ways to express numbers when the numbers themselves are expressed as points on a line. But there are other ways that numbers are used. If I show you a pie and offer you 0.25 of it, how would you cut the pie? If you said “I’d cut it in half, then cut one of the halves in half”, then you converted the 0.25 to 1/4 and used the fact that (1/2)(1/2) = 1/4. But if numbers are only lengths, I think the only way to do this is to cut a circular piece out of the center of the pie whose radius is 0.5 of the radius of the whole pie.
And don’t forget that many fractions aren’t expressible exactly in decimals. To get a sixth of the pie (a much more modest slice), you’d have to cut out a circle whose radius is the square root of 0.166666… which is about 0.408248.
So I say, vive les fractions. And mmm…pie….
Blogged with Flock
Tags: fractions, deturck
Permalink
Comments off
Posted in Math 21a, Spring 2008 at 6:15 pm by leingang
We’re now firmly grounded in three-dimensional space. We talked this week about the various linear objects in 3D: lines, points, planes, and finding equations for them. Also, we showed how to define and calculate the distance between points and lines, lines and planes, etc.
Then we moved into the functional unit of the course. A function of two variables has as its graph a surface in three-dimensional space. Graphing these is a challenge of the brain but of the hands. But there are some tips, such as the method of traces.
Finally, we have other ways to measure space besides our boring old rectangular cartesian coordinates. We defined polar coordinates in the plane, and cylindrical and spherical coordinates in space, to better express certain surfaces. For instance, the cone in three-space can be described as
in cartesian coordinates, but in cylindrical all you need to say is z=r.
Tags: math, math21a, geometry, surface, coordinates
Permalink
Comments off
Posted in Math 1a, Spring 2008 at 6:08 pm by leingang
In the past week we’ve defined the derivative as the limit of a difference quotient. Graphically, it’s the slope of the line tangent to a curve at a point. But it has quite a few interpretations in various models. If the function is position, the derivative is velocity. If the function is cost, the derivative is marginal cost. If the function is mass, the derivative is density. The number of different uses for the derivative are what make it so important to study.
We looked at various interplays between a function and its derivative. For instance, when a function is increasing on an interval, the derivative is nonnegative (positive or zero) on that interval. If the function is decreasing, the derivative is negative or zero. And if the graph has a horizontal tangent line, the derivative is zero. It turns out–and we will be showing this when we get to The Most Important Theorem in Calculus–that the converses of these statements are pretty much true as well. That is, if a function has a positive derivative on an interval, it’s increasing on that interval, and so on.
The derivative can’t tell you everything, however. For one, it can’t tell you the function value at a specific point without any other information. This is true even of constant functions, which all have the derivative zero, no matter what the constant is. It also can’t tell you about the concavity of the graph of a function. But that can be computed from the second derivative.
Although we define the derivative in terms of a limit, eventually we will develop a set of rules to make calculating derivatives easier. That’s the subject of Chapter 3. However, it’s important not to lose the foundational ideas behind what the derivative actually is and what is for.
Slides for this week are posted.
Tags: math, math1a, function, derivative, calculus
Permalink
Comments off
02.07.08
Posted in Math 21a, Spring 2008 at 2:31 pm by leingang
A vector is a “thing” which has magnitude and direction. We sort of leave those two things undefined, too, but this is better than nothing. If you take an abstract algebra course, you’ll learn that a vector is any element of a vector space, but that probably doesn’t help here, either:-).
Either thinking geometrically (drawing arrows) or algebraically (recording a vector’s components), the important thing is that we can add, subtract, and scale vectors. Also, these operations are similar to those we know for regular numbers–which we’re going to call scalars from now on for no particularly good reason. For instance, adding two vectors is a commutative operation: the order of addition doesn’t matter. Scaling distributes over addition, and so on. (This is the “abstract” definition of vector space: a set of things you can add and scale).
Can you multiply vectors? Not in the same sense that you can multiply real numbers. You can multiply two-dimensional vectors by pretending they’re complex numbers. This doesn’t work in spaceland, however. There are two useful products of vectors, though: the scalar (or dot) product and the vector (or cross) product. The dot product measures the compatibility of vectors in some sense. If the dot product is positive, the angle between the vectors is acute. If it’s negative, the angle is obtuse. And if it’s zero, the vectors are perpendicular (another new word for a known concept: we’ll say orthogonal now instead of perpendicular).
The cross product is coming up on Friday.
Blogged with Flock
Tags: math, math21a, vector, dot product
Permalink
Comments off
Posted in Math 1a, Spring 2008 at 2:14 pm by leingang
Continuity is the property that the limit of a function near a point is the value of the function near that point. It’s one of many “nice” properties a function can have. Functions can fail to be continuous in a number of different ways, including jumping from one value to another, having a simple “removable” discontinuity, or blowing up to infinity near a point.
Lots of times we want to model a situation with a function, and we assume the function is continuous to make our lives easier. For instance, the population of a bacteria culture in a dish. Clearly there are only whole numbers of organisms in the culture, but we pretend the population function of time is continuous because relative to the population size, an error of one by rounding isn’t that much.
An important consequence of continuity is the intermediate value theorem, which says that a continuous function on an interval assumes all the values in between the values at the endpoints. This theorem has important consequences, for instance:
- the square root of two exists
- at some point in your life your height in inches equaled your weight in pounds
- A table on an uneven floor can always be turned so that it won’t wobble
- Right now there are points on opposite sides of the world with the same temperature!
Blogged with Flock
Tags: math, math1a, function, continuity, limit
Permalink
Comments off
02.05.08
Posted in Math 21a, Spring 2008 at 3:39 pm by leingang
First, we played a rousing game of Name Bingo to break the ice. Then we got down to business.
One major goal of Math 21a is to take what we know in the line and on the plane and generalize it to three-dimensional space.
One thing is immediately confusing: we have three axes in space, and we only allow those which are “right-handed” (biased, perhaps, but we have to pick one).
But the distance formula generalizes to three dimensions rather well: the distance between two points is the square root of the sum of the squares of the differences between the original coordinates, or

Blogged with Flock
Tags: math, math21a, distance, axis, right-hand rule
Permalink
Comments off
Posted in Math 1a, Spring 2008 at 11:57 am by leingang
Today (yesterday, actually) we introduced the concept of limit: The limit of a function near a point is the number to which function values get arbitrarily close to by making the points sufficiently close to a given point. Or,
if values of f(x) can be made arbitrarily close to L by taking x sufficiently close to a.
There are several ways a function can fail to have a limit. One is that limits “from the right” and “from the left” exist but do not agree. In this case there are two good candidates for the limit, but neither satisfies the definition completely. Another possibility is for the function to be unbounded near a. Then we cannot get arbitrarily close to any finite value. A third possibility is the kind of oscillation you see in the graph of y = sin(1/x): the frequency of oscillation increases near zero.
But limits do behave well with respect to arithmetic: for instance, the limit of a sum of functions at a point is the sum of the limits of those functions at that point (provided these limits exist). The only caveat here being that we still can’t divide by zero, so for a limit of a quotient where the denominator has a limit of zero, no limit law applies.
In many cases, the limit of a function at a point is the value of the function near that point. We call this property the Direct Substitution Property, and we will talk much more about it Wednesday.
Another useful method of computing limits is the Squeeze Theorem. It allows to “pinch” a function between two functions that are known to have the same limit. It follows that the middle function has the same limit.
Slides are now on the website.
Blogged with Flock
Tags: math, math1a, function, limit
Permalink
Comments off
02.01.08
Posted in Math 1a, Spring 2008 at 3:50 pm by leingang
Today we had a rousing game of Name Bingo, and then we settled down to set up the one of the principal ideas of the course.
Finding the velocity of a moving object involves finding a distance traveled and dividing by the time it takes to move that distance. Smaller intervals are better, but there’s no smallest positive interval so what can we do? For now we take as small an interval as we can and approximate.
Finding the slope of a line tangent to a curve at a point is another problem. We need its slope, but how do we find that when we only know one point on the line? We approximate the tangent line with a secant line, measure the slope of the secant line (knowable since it goes through two points on the curve), and use secants to get the best possible approximation. Again, there’s no smallest distance between two points on the curve, so we have to decide what the successive approximations are actually approximating.
But the idea of taking something easy and well-understood (the slope of a line defined by two points) and using it to get at something complicated (the slope of a line defined by a point and a tangency condition) is pervasive. And it turns out that our two calculations–velocities and tangents–are formally very similar. In fact, we can find the instantaneous rate of change for any function using a limiting process like this. Formalizing the process is the matter of the next few sections.
Slides are on the web now.
Blogged with Flock
Tags: mathmath1a function limit derivative
Permalink
Comments off