3.7 - Sinusoidal Function Context and Data Modeling

user_exists

Introduction

Hello! Welcome to topic 3.7: Sinusoidal Function Context and Data Modeling. In this article, we will discuss how to determine the period, frequency, amplitude, translations, and dilatations of a sinusoidal function. In addition, you will learn how you can use Desmos to find the equation of a function using just data points. Let’s get started!

Period / Frequency

The period of a function is the minimum positive value such that for all values of . Note that must not be a constant.

Let’s take a look at the graph of the function .

Created using desmos.com
Created using desmos.com

Notice that the function repeats every so often, specifically every units.

Created using desmos.com
Created using desmos.com

For each, which are spaced units apart, the outputs of the function in between the black lines are the exact same. This means that the period of the function is . 

An additional property of periodicity is that if has a period of , also has a period of for all values of , or in other words, a horizontal shift of a function doesn’t change its periodicity. This means that, since , the periodicity of is also .

Frequency

The frequency of a sinusoidal function is the number of times a sinusoidal function repeats itself over an interval of . The frequency of a sinusoidal function is , where is the period of the function. In the general equation for a sinusoidal function (, is equal to the frequency.

Amplitude / Vertical Shift

The amplitude of a sinusoidal function is equal to the height that one of its waves makes.

Created using desmos.com
Created using desmos.com

To find the amplitude of a sinusoidal function, we can use the formula . Since the height of the waves of a sinusoidal function is the same both when the function is negative and positive, the total height of a wave, or the amplitude, is equal to half of the total height of the function.

So far, we have only discussed sinusoidal functions that have a midline, or center, at . That won’t always be the case, as seen in the graph below:

Created using desmos.com
Created using desmos.com

This graph has a midline at . To find the midline, we can take advantage of the fact that the waves below the midline have the same height as the waves above the midline, so the height of the midline is . The height of the midline is also called the vertical shift.

Finding the equation for a sinusoidal function given a set of points

With a Calculator

We will be using Desmos for this, as you are provided this calculator for the AP Exam. For usage of a personal calculator, please consult your calculator’s manual: do note that your calculator might not have the ability to do custom regressions, in which case you will have to settle for what you can.

  1. Click on the plus icon and add a table, and fill in your values
Created using desmos.com
Created using desmos.com
  1. Without deleting your table, type in the following equation. To type the subscript, or the small text after and , use the underscore: _. Note that an equals sign is not used, rather, a tilde () is used.
Created using desmos.com
Created using desmos.com
  1. Desmos will calculate the values of , , , and that best fit your dataset. It will also graph it for you.

Phase Shift calculations

As you may recall, a phase shift is simply the horizontal translation for sinusoidal functions. One way to determine the phase shift of a function is to compare your actual values with the values the Desmos calculated and modeled. Substitute the actual input value into the modeled equation and solve for , which is the variable for determining the phase shift. There you go, here’s your phase shift!

Quick Note: In the real world, these sinusoidal functions only occur over a period of time. However, from a mathematical context, these functions go on FOREVER, so keep in mind that just because a real world situation models a sinusoidal function does not mean that it will continue to go on forever.

Solving without a calculator

To find the sinusoidal function that matches a specific set of points given the general equation , follow the following steps.

  1. To find your amplitude: subtract the minimum -coordinate from the maximum -coordinate and divide by , this is your .
  2. To find the midline / vertical shift, take the average of the maximum and minimum -coordinate: this is your
  3. To find our frequency, let’s first find our period. We can do this in one of two ways:
    1. Find two coordinates with the same y-coordinate where the -coordinate is equal to the maximum or minimum output of the function. The distance between those two points is the period.
    2. Find three coordinates with the same y-coordinate where the -coordinate is not equal to the maximum or minimum output of the function. The distance between the first and third point is the period.
  4. Our frequency, or , is just , where is the period.
  5. To find the horizontal shift, we can take advantage of the fact that and use our period, , and our vertical shift, . Because hits every value twice in a period, it hits the midline at exactly , so the -value within that results in the vertical shift of .
  6. To find missing input or output coordinates, simply plug in the or coordinate in its place and solve for the unknown value
    1. To find the -coordinate when given a -coordinate, inverse trig functions will be used. (aka, , ). This is a later topic.

Practice Questions