Main content

## Algebra 2

### Course: Algebra 2 > Unit 11

Lesson 9: Sinusoidal models- Interpreting trigonometric graphs in context
- Interpreting trigonometric graphs in context
- Trig word problem: modeling daily temperature
- Trig word problem: modeling annual temperature
- Modeling with sinusoidal functions
- Trig word problem: length of day (phase shift)
- Modeling with sinusoidal functions: phase shift
- Trigonometry: FAQ

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Trig word problem: modeling annual temperature

CCSS.Math: , , ,

Sal solves a word problem about the annual change in temperature by modeling it with a sinusoidal function. Created by Sal Khan.

## Want to join the conversation?

- At6:54, there is a mention of solving the problem in next video. But the next video is about modeling with phase shifts. Can anyone please point me to the solution video?(72 votes)
- I posted this in "Tips & Thanks." Here's the answer:

Continuation of this video: https://youtu.be/2pwnr_soZEU

Alternatively: https://www.khanacademy.org/math/trigonometry/trig-equations-and-identities/solving-sinusoidal-models/v/inverse-trig-with-model

The two parts of the video seem separated by having being associated with two different topics in the Trigonometry subject: "GRAPHS OF TRIGONOMETRIC FUNCTIONS" and "TRIGONOMETRIC EQUATIONS AND IDENTITIES."(110 votes)

- Why is Sal using a whole bunch of terminology and concepts that we haven't learned yet?(38 votes)
- Many of these concepts aren't introduced until the next section "GRAPHS OF TRIG FUNCTIONS"(17 votes)

- What does Sal mean by argument?(15 votes)
- The argument is the input into a function. For example sin(x) has the argument x.(42 votes)

- How did the trigonometric functions be suddenly associated with data graphs? Previous lessons have only been showing angles in real life, like the sun to the ground, or a person to a tree, or a tower to the shadow? This video feels out of place. How do I know when to use a trigonemtric function to interpret data?(20 votes)
- You are thinking about "right triangle trigonometry", relating the sides of a right triangle. This extends to "circular trigonometry", relating the horizontal and vertical coordinates of a circular motion. Any situation that is based on circular motion may be modeled by a sinusoid, including the phases of the moon, day length as a function of the season, or tides.

As Noble notes, the sine and cosine also describe periodic motion where the acceleration is proportional and opposite to the position -- including EM waves, sound waves, and coil springs.(11 votes)

- How can we choose which function (sine / cosine / tangent) is used in a situation?(12 votes)
- If we are studying a periodic function, we would pay attention to the shape of the curve. Tangent can be separated out immediately because it is not this sinuous wave form. It is more like a flight of bats (curves swooping up from negative infinity toward positive infinity every so often, or swooping downward, if the function is negative). Sine waves of y= sin (x) pass through the value of 0 when the angle is 0. For a simple sine wave, the highest point of the snake will be 1 and the lowest point will be -1. After a little practice, cosine is easily identifiable because y = cos (x) passes through a value of 1 when the angle is 0. the highest point of the curve for y = cos (x) is also plus 1 and the lowest point is also -1. If the curves are happening more frequently or the waves are deeper (the variation between lowest and highest point), then the function may be more complicated, such as y = 5 sin (ᴨ/3) -12

With some practice and a few more video tutorials, it will become much easier to figure out a starting point and how to modify the basic shapes to fit the situation--wave heights pushing a toy boat, temperature variation, length of daylight or whatever.(5 votes)

- Where can I find the second part of the video?(8 votes)
- Hello Sal! Would the equation not be 7.5cos[ 2pi/365(x-7)] + 21.5? It states that the hottest day of the year (aka the maximum point, aka the START of the cosine function) is january 7th so would you not have to shift the entire graph to the right 7 days?(11 votes)
- If we set January 7th as the point d=7, then yes. In this case we set January 7th as d=0 though.(4 votes)

- "Because we're using a trig function so we're gonna hit our low-point exactly in between " . What? Is this a general rule?(14 votes)
- All Trig functions are periodic, so their minimums and maximums will be predictable since they'll just repeat again and again as x--> infinity or - infinity.

For example: y = sin(x)

This function has a repeating maximum at y = 0 and y = 1.

Hope that helps!(1 vote)

- At 6.54, Sal mentioned that we will answer the question on how many days after Jan 7 is the first Spring day when temperature reaches 20 degrees. I could not find the next video.(14 votes)
- the temp. is 20 degrees(0 votes)

- Can someone please provide me the link for the video Sal was referring to that comes after this?(3 votes)

## Video transcript

Voiceover:The hottest day of
the year in Santiago, Chile on average, is January
seventh, when the average high temperature is 29 degrees Celsius. The coolest day of the year has an average high temperature of 14 degrees Celsius. Use a trigonometric function
to model the temperature in Santiago, Chile, using 365
days as the length of a year. Remember that January seventh
is the summer in Santiago. How many days after January
seventh is the first spring day when the temperature
reaches 20 degrees Celsius? So let's do this in two parts. First, let's try to figure
out a trigonometric function that models the temperature
in Santiago, Chile. We'll have temperature
as a function of days, where days are the number of
days after January seventh. Once we have that trigonometric
function to model that, then we can answer the
second part, I guess, the essential question,
which is, "How many days after January seventh
is the first spring day when the temperature
reaches 20 degrees Celsius?" To think about this let's
graph it and it should become pretty apparent why
they are suggesting that we use a trigonometric
function to model this. Because our seasonal
variations they're cyclical. They go up and down. Actually, if you look at
the average temperature for any city over the course of the year, it really does look like
a trigonometric function. This axis right over here. This is the passage of the days. Let's do d for days and that's going to be in days after January seventh. So this right over here
would be January seventh. And the vertical axis, this
is the horizontal axis. The vertical axis is going to be in terms of Celsius degrees. The high is 29 and I could
write 29 degrees Celsius. The highest average day. If this is zero then 14, which
is the lowest average day. 14 degrees Celsius. So our temperature will vary
between these two extremes. The highest average day,
which they already told us, is January seventh we get
to 29 degrees Celsius. And then the coldest day
of the year, on average, you get to an average high
of 14 degrees Celsius. So it looks like this. We're talking about average
highs on a given day and the reason why a
trigonometric function is a good idea is because it's cyclical. If this is January
seventh, if you go 365 days in the future, you're
back at January seventh. If the average high temperature
is 29 degrees Celsius on that day, the average high temperature is going to be 29 degrees
Celsius on that day. Now, we're using a
trigonometric function so we're going to hit our low point
exactly halfway in between. So we're going to hit our low point exactly halfway in between. Something right like that. So our function is
going to look like this. Our function, let me see. I'm going to draw the low point right over there and this is a high point. That's a high point right over there. That looks pretty good. Then, I have the high point
right over here and then, I just need to connect
them and there you go. I've drawn one period of our trigonometric function and our period is 365 days. If we go through 365 days
later we're at the same point in the cycle, we are at
the same point in the year. We're at the same point in the year. So, what I want you to
do right now is, given what I've just drawn,
try to model this right. So, this right over here, let's write this as T as a function of d. Try to figure out an expression
for T as a function of d and remember it's going to be
some trigonometric function. So, I'm assuming you've given
a go at it and you might say, "Well this looks like a cosine
curve, maybe it could be "a sine curve, which one should I use?" You could actually use either one, but I always like to go with the simpler one. Just think about well
if these were angles, either actual degrees or radians, which trigonometric function
starts at your maximum point? Well cosine of zero is one. The cosine starts at your maximum point. Sine of zero is zero, so I'm
going to use cosine here. I'm going to use a cosine function. So, temperature as a function of days. There's going to be some amplitude
times our cosine function and we're going to have some
argument to our cosine function and then I'm probably
going to have to shift it. So let's think about how we would do that. Well, what's the mid line here? The mid line is the halfway point between our high and our low. So our midpoint, if we were to visualize it, looks just like so. That is our mid line right over there. And what value is this? Well what's the average of 29 and 14? 29 plus 14 is 43 divided by
two is 21.5 degrees Celsius. So that's our mid line
so essentially we've shifted up our function by that amount. If we just had a regular
cosine function our mid line would be at zero, but now
we're at 21.5 degrees Celsius. I'll just write plus 21.5, that's how much we've shifted it up. Now, what's the amplitude? Well our amplitude is how much
we diverge from the mid line. Over here we're 7.5 above the
mid line so that's plus 7.5. Here we're 7.5 below the
mid line, so minus 7.5. So our amplitude is
7.5, the maximum amount we go away from the mid line is 7.5. So that's our amplitude. And now let's think about our argument to the cosine function right over here. It's going to be a function of the days. And what do we want? When 365 days have gone by, we want this entire argument to be two pi. So when d is 365, we want this whole thing to evaluate to two pi. We could put two pi over 365 in here. You might remember your
formulas, I always forget them that's why I always try to
reason through them again. The formulas, you want two
pi divided by your period and all the rest, but I just
like to think, "Okay, look. "After one period, which is
365 days, I want the whole "argument over here to be two pi. "I want to go around the unit
circle once and so if this "is two pi over 365, when
you multiply it by 365 "your argument here is
going to be two pi." Just like that we've done the
first part of this question. We have modeled the
average high temperature in Santiago as a function of
days after January seventh. In the next video we'll
answer this second question. I encourage you to do
it ahead of time before watching that next video
and I'll give you one clue. Make sure you pay attention to the fact that they're saying the first spring day.