Dayaan M. answered 08/26/26
Scored 5/5 on Algebra 2 EOC | 5 Years of Tutoring Experience
In order to build a trig function for something like the tide, it helps to pull out the four pieces one at a time rather than trying to write the whole formula at once. The general shape we are aiming for is
h(t) = A cos(B(t - C)) + D
and each of those letters is one of the characteristics the problem mentioned.
Start with the midline, D. The tide swings between 7 feet and 11 feet, so the middle of that swing is the average of the two:
D = (7 + 11)/2 = 9
Next the amplitude, A, which is how far the tide travels above or below that midline. From 9 up to 11 is 2 feet, and from 9 down to 7 is also 2 feet:
A = (11 - 7)/2 = 2
Now the period. Low tide was at 4 am and high tide at 10 am, which is 6 hours apart. Here is the part to be careful with: going from a low to a high is only HALF of a full cycle, since the tide still has to come back down. So the full period is 12 hours, and since B = 2pi divided by the period:
B = 2pi/12 = pi/6
Last is the horizontal shift, C. We know low tide happens at t = 4. A regular cosine starts at its maximum, so if we use negative cosine instead it starts at its minimum, which is exactly what we want. Putting the shift at 4 lines that minimum up with 4 am:
h(t) = -2cos(pi/6 (t - 4)) + 9
Let us check it at both times we were given. At t = 4, the inside is 0 and cos(0) = 1, so we get -2(1) + 9 = 7, which is low tide. At t = 10, the inside is pi/6 times 6 which is pi, and cos(pi) = -1, so we get -2(-1) + 9 = 11, which is high tide. Both match.
So, our final answer is h(t) = -2cos(pi/6 (t - 4)) + 9, where t is hours after midnight and h is in feet.