This is a post written for my fall 2013 Math 100 class but largely intended for anyone with knowledge of what a function is and a desire to know what calculus is all about. Calculus is made out to be the pinnacle of the high school math curriculum, and correspondingly is thought to be very hard. But the difficulty is bloated, blown out of proportion. In fact, the ideas behind calculus are approachable and even intuitive if thought about in the right way.

Many people managed to stumble across the page before I’d finished all the graphics. I’m sorry, but they’re all done now! I was having trouble interpreting how WordPress was going to handle my gif files – it turns out that they automagically resize them if you don’t make them of the correct size, which makes them not display. It took me a bit to realize this. I’d like to mention that this actually started as a 90 minute talk I had with my wife over coffee, so perhaps an alternate title would be “Learning calculus in 2 hours over a cup of coffee.”

So read on if you would like to understand what calculus is, or if you’re looking for a refresher of the concepts from a first semester in calculus (like for Math 100 students at Brown), or if you’re looking for a bird’s eye view of AP Calc AB subject material.

1. An intuitive and semicomplete introduction to calculus

We will think of a function as something that takes an input and gives out another number, which we’ll denote by . We know functions like , which means that if I give in a number then the function returns the number . So I put in , I get , i.e. . Primary and secondary school overly conditions students to think of functions in terms of a formula or equation. The important thing to remember is that a function is really just something that gives an output when given an input, and if the same input is given later then the function spits the same output out. As an aside, I should mention that the most common problem I’ve seen in my teaching and tutoring is a fundamental misunderstanding of functions and their graphs

For a function that takes in and spits out numbers, we can associate a graph. A graph is a two-dimensional representation of our function, where by convention the input is put on the horizontal axis and the output is put on the vertical axis. Each axis is numbered, and in this way we can identify any point in the graph by its coordinates, i.e. its horizontal and vertical position. A graph of a function includes a point if .

The graph of the function is in blue. The emphasized point appears on the graph because it is of the form . In particular, this point is .

Thus each point on the graph is really of the form . A large portion of algebra I and II is devoted to being able to draw graphs for a variety of functions. And if you think about it, graphs contain a huge amount of information. Graphing involves drawing an upwards-facing parabola, which really represents an infinite number of points. That’s pretty intense, but it’s not what I want to focus on here.

1.1. Generalizing slope – introducing the derivative

You might recall the idea of the ‘slope’ of a line. A line has a constant ratio of how much the value changes for a specific change in , which we call the slope (people always seem to remember rise over run). In particular, if a line passes through the points and , then its slope will be the vertical change divided by the horizontal change , or .

The graph of a line appears in blue. The two points and are shown on the line. The horizontal red line shows the horizontal change. The vertical red line shows the vertical change. The ‘slope’ of the blue line is the length of the vertical red line divided by the length of the horizontal red line.

So if the line is given by an equation , then the slope from two inputs and is . As an aside, for those that remember things like the ‘standard equation’ or ‘point-slope’ but who have never thought or been taught where these come from: the claim that lines are the curves of constant slope is saying that for any choice of on the line, we expect a constant, which I denote by for no particularly good reason other than the fact that some textbook author long ago did such a thing. Since we’re allowing ourselves to choose any , we might drop the subscripts – since they usually mean a constant – and rearrange our equation to give , which is what has been so unkindly drilled into students’ heads as the ‘point-slope form.’ This is why lines have a point-slope form, and a reason that it comes up so much is that it comes so naturally from the defining characteristic of a line, i.e. constant slope.

But one cannot speak of the ‘slope’ of a parabola.

The parabola is shows in blue. Slope is a measure of how much the function changes when is changed. Some tangent lines to the parabola are shown in red. The slope of each line seems like it should be the ‘slope’ of the parabola when the line touches the parabola, but these slopes are different.

Intuitively, we look at our parabola and see that the ‘slope,’ or an estimate of how much the function changes with a change in , seems to be changing depending on what values we choose. (This should make sense – if it didn’t change, and had constant slope, then it would be a line). The first major goal of calculus is to come up with an idea of a ‘slope’ for non-linear functions. I should add that we already know a sort of ‘instantaneous rate of change’ of a nonlinear function. When we’re in a car and we’re driving somewhere, we’re usually speeding up or slowing down, and our pace isn’t usually linear. Yet our speedometer still manages to say how fast we’re going, which is an immediate rate of change. So if we had a function that gave us our position at a time , then the slope would give us our velocity (change in position per change in time) at a moment. So without knowing it, we’re familiar with a generalized slope already. Now in our parabola, we don’t expect a constant slope, so we want to associate a ‘slope’ to each input . In other words, we want to be able to understand how rapidly the function is changing at each , analogous to how the slope of a line tells us that if we change our input by an amount then our output value will change by .

How does calculus do that? The idea is to get closer and closer approximations. Suppose we want to find the ‘slope’ of our parabola at the point . Let’s get an approximate answer. The slope of the line coming from inputs and is a (poor) approximation. In particular, since we’re working with , we have that and , so that the ‘approximate slope’ from and is . But looking at the graph,

The parabola is shown in blue, and the line going through the points and is shown. The line immediately goes above and crosses the parabola, so it seems like this line is rising faster (changing faster) than the parabola. It’s too steep, and the slope is too high to reflect the ‘slope’ of the parabola at the indicated point.

we see that it feels like this slope is too large. So let’s get closer. Suppose we use inputs and . We get that the approximate slope is . If we were to graph it, this would also feel too large. So we can keep choosing smaller and smaller changes, like using and , or and , and so on. This next graphic contains these approximations, with chosen points getting closer and closer to .

The parabola is shown in blue. Two points are chosen on the parabola and the line between them is drawn in red. As the points get closer to each other, the red line indicates the rate of growth of the parabola at the point better and better. So the slope of the red lines seems to be getting closer to the ‘slope’ of the parabola at .

Let’s look a little closer at the values we’re getting for our slopes when we use and as our inputs. We get

It looks like the approximate slopes are approaching . What if we plot the graph with a line of slope going through the point ?

The parabola is shown in blue. The line in red has slope and goes through the point . We got this line by continuing the successive approximations done above. It looks like it accurately indicates the ‘slope’ of the parabola at .

It looks great! Let’s zoom in a whole lot.

When we zoom in, the blue parabola looks almost like a line, and the red line looks almost like the parabola! This is why we are measuring the ‘slope’ of the parabola in this fashion – when we zoom in, it looks more and more like a line, and we are getting the slope of that line.

That looks really close! In fact, what I’ve been allowing as the natural feeling slope, or local rate of change, is really the line tangent to the graph of our function at the point . In a calculus class, you’ll spend a bit of time making sense of what it means for the approximate slopes to ‘approach’ . This is called a ‘limit,’ and the details are not important to us right now. The important thing is that this let us get an idea of a ‘slope’ at a point on a parabola. It’s not really a slope, because a parabola isn’t a line. So we’ve given it a different name – we call this ‘the derivative.’ So the derivative of at is , i.e. right around we expect a rate of change of , so that we expect . If you think about it, we’re saying that we can approximate near the point by the line shown in the graph above: this line passes through and it’s slope is , what we’re calling the slope of at .

Let’s generalize. We were able to speak of the derivative at one point, but how about other points? The rest of this post is below the ‘more’ tag below.