Subjects
Grades
The rule of a sine function is |f(x)=a\sin\!\big(b(x-h)\big)+k.|
Parameter |a| is related to the amplitude.
Parameter |b| is related to the period.
Parameter |h| is related to the phase shift.
Parameter |k| is related to the axis of oscillation.
When looking for the rule of a sinusoidal function (sine function), locate a cycle beginning and ending at an inflection point (i.e., points located on the axis of oscillation). The point at the start of the chosen cycle corresponds to the point |(h,k).|

Since there are an infinite number of inflection points for the same sine function, there are an infinite number of possible points |(h,k)|.
Determine |h| and |k| using the coordinates of an inflection point.
Determine the cycle from the selected point |(h,k)|.
Determine |\vert a\vert| from the amplitude.
Determine |\vert b\vert| from the period.
Determine the signs of |a| and |b.|
If the function is increasing at |(h,k)|, |a| and |b| have the same sign.
If the function is decreasing at |(h,k)|, |a| and |b| have opposite signs.
Write the rule of the function.
Since the same graph is obtained when |a| and |b| have the same sign, it’s easy to simplify the writing and choose to make them both positive in step 5.
When |a| and |b| have opposite signs, to make writing simpler, it is preferable to assign a positive value to |b| and negative value to |a.| In general, a positive value can always be assigned to |b|, and only the sign of |a| varies.
|a| and |b| have the same sign
||\begin{align}a&>0\\b&>0\end{align}||
|a| and |b| have opposite signs
||\begin{align}a&<0\\b&>0\end{align}||
Determine the rule of the sine function represented on the following Cartesian plane.

When choosing an alternate |(h,k)| point, another rule is used that works just as well for the same graphical representation. However, the variation (increase or decrease) from the chosen inflection point must be taken into account.
In the previous example, choosing the point |\left(-\dfrac{\pi}{2},3\right),| gives the following 2 rules.
|f(x)=2\sin\!\bigg(2\left(x+\frac{\pi}{2}\right)\!\bigg)+3|
or
|f(x)=-2\sin\!\bigg(-2\left(x+\dfrac{\pi}{2}\right)\!\bigg)+3|
If point |(0,3)| was chosen instead, the cycle would have started with a decrease, meaning |a| and |b| would have had opposite signs. In that case, the following 2 rules would have been obtained.
|f(x)=-2\sin\left(2x\right)+3|
or
|f(x)=2\sin\left(-2x\right)+3|
Continuing in the same manner with point |\left(\dfrac{\pi}{2},3\right)| gives the following rules.
|f(x)=2\sin\!\bigg(2\left(x-\dfrac{\pi}{2}\right)\!\bigg)+3|
or
|f(x)=-2\sin\!\bigg(-2\left(x-\dfrac{\pi}{2}\right)\!\bigg)+3|

Analyzing each rule reveals that |\vert a\vert,| |\vert b\vert,| and |k| never change. The only difference between them is the value of |h| and the signs of |a| and |b.|
The following example depicts when the coordinates of the inflection points are not directly provided. More calculations are required to find each parameter.
Determine the rule of the sine function passing through points |(1.25,-0.25)| and |(2.75,-1.75),| representing a maximum and a minimum, respectively.

When the maximum and minimum of the sinusoidal function are provided, it is best to search for the rule of the cosine function. That way, there are fewer calculations.
When asked to find the equation of a sinusoidal function, it’s possible to use the equation of a sine or a cosine function. The next example shows how the equation of a cosine function can be determined by using the trigonometric identities.

Above is a sinusoidal function where the rule, starting from the sine function, is |f(x)=-2\sin(x)-1.|
To transform the equation into a cosine function, apply the following trigonometric identity: |\sin x=\color{#3A9A38}{\cos}\left(x\color{#3A9A38}{-\dfrac{\pi} {2}}\right).|||\begin{align}f(x)&=-2\sin(x)-1\\f(x)&=-2\color{#3A9A38}{\cos }\left(x\color{#3A9A38}{-\dfrac{\pi}{2}}\right)-1\end{align}||
The 2 previous rules are equivalent.
Note: Although the rule changed from a sine function to a cosine function, |\vert a\vert| and |\vert b\vert| did not change, since the amplitude and the period have remained the same. Notice that |k| did not change either, since the axis of oscillation is also the same.
The only differences between the rules are the value of |h| and the signs of |a| and |b.|

Moments in the video: