Boxi Math

Stage 4 · Change and Relations / #39

Finite Differences: The Discrete Derivative

Before you watch

Make a guess first. You'll find out in the video.

  1. What are the gaps between 1, 4, 9, 16, 25?

The idea

A car stops at n squared after n seconds, so the signposts are 0, 1, 4, 9, 16, 25. Each second it covers the gap between neighbouring posts, 1, 3, 5, 7, 9, like a speed; those gaps grow by 2 each second, like an acceleration. The posts spread out, but evenly: that evenness is the constant second difference, matching the derivatives 2x and 2.

A common mix-up

Sequences and functions are different worlds; 'the second difference is constant' is just a problem type to memorise.

Where it stops working

Powers of two, 1, 2, 4, 8, 16: the gaps are 1, 2, 4, 8 again, spreading faster and faster, never constant however many times you take differences.

School year
China 高二

Try it yourself

The same idea as the video, in your hands: drag, slide and turn the pictures.

Open full screen ↗

Practice

Why does it work?

  1. Why does a square grow by 2n+1 cells when its side goes from n to n+1?

  2. What is the extra 1 in the difference 2n+1 compared with the derivative 2x?

Have a go

  1. Example: 0, 1, 4, 9, 16 has first differences 1, 3, 5, 7 and second difference 2. What is the second difference of 2, 5, 10, 17, 26?

  2. What comes next in 3, 7, 13, 21, 31?

Come back in a few days

Doing these again after a gap is what makes it stick.

  1. What is 1 + 3 + 5 + … + 19?

  2. How many rounds of differences make the cubes 0, 1, 8, 27, 64, 125 constant?

Something to think about

Next: how many rounds of differences does it take for the cubes to become constant?

Transcript

A workbook has a find-the-pattern puzzle that starts zero, one, four, nine, sixteen.

Take the gaps, then the gaps between those: all twos. Is that a coincidence?

The kid in front waves it off: it's a sequence problem, nothing to do with functions, just memorise the type.

Last time the side grew by a little dx. Now let's swap the side for time.

A car stops at n squared after n seconds, and we plant a signpost wherever it stops.

After one second it's at one, after two at four, then nine, sixteen, twenty-five.

The signposts spread further apart, but they spread out evenly.

How much further does the car go each second than the second before?

The distance each second is the gap between neighbouring posts: one, three, five, seven, nine.

Each of those is two more than the one before: two, two, two, two.

The posts spread out evenly because that extra two never changes.

Distance per second is like a speed: the difference two n plus one, matching the derivative two x.

Extra distance per second is like an acceleration: the second difference two, matching the derivative of two x, which is two.

The extra one is the corner we couldn't drop last time.

Now try powers of two: one, two, four, eight, sixteen.

The gaps are one, two, four, eight again: they spread faster and faster, never evenly.

So the second difference of the squares is constant, just as the second derivative of x squared is constant.

Differences of a sequence and derivatives of a function are two versions of the same idea.

Remember the staircases of arithmetic series? One plus three plus five plus seven plus nine makes exactly five by five.

The rings we add are exactly the numbers the differences gave us.

Next: how many rounds of differences does it take for the cubes to become constant?

Connects to