Finding the Rule of a Sine Function

Concept sheet | Mathematics
Formula

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.

Important!

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).|

A cycle of a sine function, starting and ending at an inflection point.

Since there are an infinite number of inflection points for the same sine function, there are an infinite number of possible points |(h,k)|.

Rule
  1. Determine |h| and |k| using the coordinates of an inflection point.

  2. Determine the cycle from the selected point |(h,k)|.

  3. Determine |\vert a\vert| from the amplitude.

  4. Determine |\vert b\vert| from the period.

  5. 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.

  6. Write the rule of the function.

Tip

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}||

Example

Determine the rule of the sine function represented on the following Cartesian plane.

A sine function represented on a Cartesian plane.

See solution

Be careful!

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|

A sine function represented on a Cartesian plane with the axis of oscillation and the inflection points.

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.

Example

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.

A sine function represented on a Cartesian plane with the maximum and minimum coordinates.

See solution

Tip

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.

Find out more!

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.

A sinusoidal function represented on a Cartesian plane.

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.|

Video

Finding the Rule of a Sine Function

Finding the Rule of a Sine Function

Moments in the video:

  • 00:00-Properties of the sine function
  • 01:19-Example 1
  • 04:39-Example 2

Correction