by Donny Thurston

5. Examine graphs of **y = a sin(bx + c)** for different values of a, b, and c.

Provide a **mathematical** interpretation of the * Parameters* a, b, and c.

Explore using animations to illustrate the impact of each parameter.

y = sin (x)represents an interesting type of function. To describe it simply, the function oscillates, repeating at a certain frequency from the domain of negative infinity to positive infinity, although constricted to a range of [-1,1].However, like nearly any function, certain parameters can be adjusted to alter the shape and general behavior of the parent function.

This write-up seeks to examine the influence that changes in a few basic parameters can have on the graph of the function, as well as to better understand how parameters may interact. In particular, we will be looking at the parametersa,b, andcin the function y = a sin(bx +c).

Before we start, we will assume that we already have an understanding of the basic mathematics behind the sine function, such as the unit circle, the values of sin(x) at x = 0, x = π, etc. In the graph below, note that there are vertical lines at π and -π to help illustrate the period of the function.

To start, let’s examine the parent function,

y = sin(x), above. In this instance we would consider the parametersaandbto be 1, and forcto be 0. This is because ifaorbwere to be 0, then the function would essentially be y = 0, since 0*sin(x) must be 0, and sin(0x) is also 0 for all values of x.Here we see that the function ranges from y = -1 to y = 1. This range represents the function’s

amplitude.As we will use it today, the amplitude is the half of the distance between the maximum and minimum points on the range of the function. It is how far "up and down" the function ranges from the horizontal axis that it is situation upon. For instance, in the parent function,y = sin(x), the amplitude is 1, since it reaches a value of 1 and it goes down to -1, covering a distance of 2. Amplitude will be discussed further below.Also of interest is the fact that the function repeats every so many units of x. This measure then represents the function’s

. Observe that the parent function has a period of 2π, because it is at 2π that values of sin begin to repeat themselves, as can be observed on the unit circle. Period will be discussed further below.period

__Parameter a__

To start, let us examine how the adjusting the parameter

ain the function y = a sin(x) influences the function. Some values ofa:

*a* = 1 in blue *a* = 2 in purple *a* = 3 in red *a* = 4 in green *a* = 5 in cyan

As we can see, adjusting

achanges theamplitudeof the function. Note that, apparently, the period of the function is not changed.Mathematically, this makes perfect sense. If we were to consider

y = a sin(x)no different than any function of the formy = a f(x), we can see that asachanges for the same input,x, it is really the output,y, that is directly changing. In other words,ais completely independent of the rest of the function, and so is really a direct influence ony.For

y = a sin(x),ais simply a constant by which the value of sin(x) is multiplied. This results in a function that rises and falls faster and farther. If the maximum value of sin(x) is 1 (when x = π/2), then whenais 1, the maximum value of y is 1 * 1 = 1, and whenais 5, the maximum value of y is 5 * 1 = 5.To look into this further, we can remember that the range of

y = sin(x)is [1,-1], which one remembers when considering the unit circle. Therefore, the range ofy = a*sin(x)would be [a,-a]. Since the amplitude of a function is half of the distance between the upper limit and the lower limit of the range, then the amplitude is (1/2)*(a-(-a)) = a. However, remember that the definition of amplitude is adistance. Since distances are always positive, it is the case that the amplitude is best said asamplitude = |a|.So, then, what about negative values of

a? Given what we have talked about, we would predict that a negative value ofawould create negative values of y when sin(x) is positive, and positive values of y when sin(x) is negative. In other words, the graph would stretch in the same manner as it would ifawas positive,in addition to reflecting across the x-axis.We can observe this in the following animation:

In this figure, *a* is ranging from 4 to -4.

Also of note is what happens whena= 0. In this case, we get the function y = 0, which is to be expected since 0*sin(x) results in 0 for any x, as previously mentioned.

So then, how doesainfluence the amplitude? Since we consider amplitude to be the maximum value of y of a sine function, we learn thatAmplitude = |

a|In addition, negative values of

areflect the function across the x-axis.We also see that

ahas no influence on the period of the function, neither does it shift the function in any direction.

__Parameter b__

So then, how does

binfluence the functiony = sin(b*x)? Let us examine some values ofb.

Blue is in y = sin(x) Purple is y = sin(2x) Red is y = sin(3x)

As we see here, the value ofbinfluences the apparent frequency of the function, without adjusting the amplitude. Or, another way of looking at this is thatbchanges inversely with theperiodof the function. For the functiony = sin(x), the period is 2π. Fory = sin(2x), the period is just π, and fory = sin(3x), the period is 2π/3.It would appear that the period of the function is equivalent to 2π/b.

Mathematically, this is supported by considering the period of sin(x). The period is 2π because that is the value it takes to complete one cycle is from 0 to 2π, or 0 ≤ x ≤ 2π. If we are presented with the function y = sin(bx), then bx will complete one cycle from 0 ≤ bx ≤ 2π. Solving for x, we get 0 ≤ x ≤ 2π/b, or the fact that it takes 2π/b to complete one cycle. This would also confirm that larger values ofbdecrease the size of the period, while smaller values ofbincrease the size of the period.

So does this hold up for all values ofb? See the animation below:

As we can see, it does. For values of

bless than 1, the period becomes bigger, consistent with our calculation. So what about when b is negative? It appears that the graph is reflected across the x-axis when this is done, just as when a is negative. Is this what is happening?

In fact, it can be considered that way. y = sin(x) is an odd function, meaning that f(-x)=-f(x). For example, assume that:f(x) = 2sin(x) and -f(x) = -2sin(x), then

f(-x) = 2sin(-x)

f(-x) = -2sin(x)

f(-x) = -f(x)

In other words, a negative

bis equivalent to a negativea, and so the effects are the same.

__Parameter c__

So, how does

cinfluence the functiony = sin(x+c)? Let’s observe.

y = sin(x) in blue y = sin(x + 1) in purple y = sin(x + 2) in red

It appears that the function shifted to the left

cunits. The negative characteristic of the shift is consistent with other functions who have a similar parameter (i.e.y = (x+1)^2is shifted one unit to theleftofy = x^2). In fact, one may be tempted to determine that this is exactly what happened. So, we would predict that thephase shiftof the function y = a sin(bx + c) would be –c.So let’s examine the function

y = sin(2x + 1). We would expect this function to be equivalent toy = sin(2x), but shifted to the left one unit.

y = sin (2x) in red y = sin (2x + 1) in blue

While it may look correct at first, when we look closely, we actually see that the phase shift was only ½ of a unit! Therefore, the phase shift must be more complex than that.The phase shift is actually dependent on two parameters,

bandc.

Let’s go back to the fact thaty = sin (x)cycles on 0 ≤ x ≤ 2π. Therefore,y = sin (bx + c)cycles on 0 ≤ bx + c ≤ 2π. Solving forxgives us –c/b ≤ x ≤ 2π/b – c/b. Here we see the familiar2π/bfor the period! We also see that –c/b represents a shift in that cycle, and that it does not actually enlarge or shrink the cycle.Therefore, we see that

cis an important parameter, but it does not act on its own. It, in conjunction withb, creates a shift in the function.Let’s see this happen on a function. Here are four functions, Red is y = sin(x), blue is y = sin(x+c), cyan is y = sin (2x), and green is y = sin(2x+c).

c, in both instances, ranges from 4 to -4.

As we can see, even though

cranges between the same two numbers in the functions, they do not shift the same amount of distance. Instead they shift an equivalent proportion of the period of the function.

Putting all of this together, and what do we get?

A picture of what the parameters in a sine function mean.

Let’s predicty = 3 sin (2x-4). Well,asuggests that the amplitude will be 3.bsuggests that the period will be π, andcandbtogether suggest that the phase shift will be 2 to the right.

And look here: