In Precalculus we’re covering trigonometric functions (sin, cos, etc). These functions are periodic in nature (meaning their pattern repeats over time) and can be used to model all sorts of real life scenarios that do the same. I was planning to do a challenge problem today in class from the book that uses these functions to model ocean tides. See book problem:
While it’s a fine problem, I had an experience over the weekend that has made me change course (I love when this happens!). I was shopping at a store with my family that had a sign in the window, “Open 24 hours.” My 6 year old daughter asked what that meant and I tried to explain to her that there are 24 hours in a day and that the store never closes. She then asked when does the 24 hours start, which is such an interesting question!, and I was trying to explain that you can start and stop the 24 hours wherever you want: from 3am to 3am, from 10pm to 10pm, etc. and I realized (because I’ve got trig on my brain) that it’s a lot like a sine or cosine function. And from there, a much cooler problem was born. I decided to share this story with my Precalculus students and do our own trigonometric curve modeling to data that is periodic over a 24 hour period: weather/temperature data.
I decided to do as little of the problem setup as I could, based in part by a fabulous Ted Talk by Dan Meyer. I also genuinely prefer class activities that feel less like a perfectly set-up textbook problem and more like a messy, real-life scenario. I planned to have them collect temperature data for Walnut Creek (via weather.com) over a 24 hour period and to start with a graph of the points.
Here’s what we came up with:
I asked the students to comment on how this looked like a trig function and how it didn’t. Let’s start with the ways it looks like a trig function. Here’s where the math skills kicked in. We used our knowledge of transformations to build a trigonometric function that matched these observations made by the students:
- It looked like the cosine function (see small graph on left) shifted over 4 units.
- The period was 24 hours (i.e. how long before the pattern repeats)
- The amplitude was larger (i.e. the difference from average temperature to the maximum or minimum temperature)
- The average temperature was 49.5 degrees (and they realized they could average the maximum and minimum to find this).
- A student spoke up, qualifying that what she was trying to say was hard to explain, that the graph wasn’t balanced. (Side note: Isn’t great when our students have to struggle to communicate what they see? Instead of me directing them with my own language and they then repeating, it was awesome to leave the question open ended and force them to have to develop their own language). She was absolutely right. The temperature cooled down much more quickly when the sun was out than overnight. This is an instance where are data was not sinusoidal.
- We also talked about the fact that sinusoidal functions perfectly repeat over time and that doesn’t happen with weather data. The high one day is not necessarily the high the next day.