NZ Level 7 (NZC) Level 2 (NCEA)
topic badge
Domain and range of sine and cosine curves
Lesson

The domain of a function is the set of all values that the independent variable (usually $x$x) can take and the range of a function is the set of all values that the dependent variable (usually $y$y) takes.  Each number in the range is the image of one or more domain values under the action of the function.

The domain and the range of continuous functions are usually defined using notations like

meaning $x$x is an element of the real numbers, or

$y\ge0$y0,

meaning $y$y is greater than or equal to zero. Combinations of these and similar notations are also used.

 

When specifying domains and ranges, a key idea is to identify values for which the domain does not exist. For the functions given by  $y=\sin x$y=sinx and $y=\cos x$y=cosx we see that there are no values in the set of real numbers that the variable $x$x cannot take. 

Since there are no values to exclude, the domain for both sine and cosine functions is the whole set of real numbers.

 

We may, if we wish, restrict the domain in any way we choose. Often we may only be interested in the behaviour of the function on an interval, rather than on the whole set of real numbers, for example, $0^\circ\le x\le360^\circ$0°x360°.

The range is the set of values that the function $y$y can take as $x$x varies over the domain.  We can see from the graphs that the $y$y-values vary continuously between the maximum and the minimum values. For both of these functions, the maximum is $1$1 and the minimum $-1$1. Thus, the range is $-1\le y\le1$1y1.

For other cosine and sine functions we would need to establish the maximum and minimum by either reading off the graph or by using the following rule:

The range of $y=a\sin\left(bx-c\right)+d$y=asin(bxc)+d or $y=a\cos\left(bx-c\right)+d$y=acos(bxc)+d is 

$d-a\le y\le d+a$dayd+a.

This formula uses facts about amplitude and vertical translation. The amplitude is the amount by which the function goes above the central value given by $y=d$y=d.

 

Example

Give the natural domain and the range of the function defined by $y(x)=2.5\cos x+0.5$y(x)=2.5cosx+0.5.

The function makes sense for all real numbers $x$x. That is, the natural domain is the set of real numbers.

When $\cos x=1$cosx=1, which is its maximum, $y(x)=3$y(x)=3. And when $\cos x=-1$cosx=1, its minimum, $y(x)=-2$y(x)=2.  So, the range of $y(x)$y(x) is $-2\le y\le3$2y3.

The function varies by $2.5$2.5 above and below its mid-value of $0.5$0.5.

 

Worked Examples

Question 1

What is the domain of the sine function?

  1. $[$[$0,360$0,360$]$]

    A

    $\left(-\infty,\infty\right)$(,)

    B

    $[$[$-1,1$1,1$]$]

    C

    $[$[$0,\infty$0,$)$)

    D

    $[$[$0,360$0,360$]$]

    A

    $\left(-\infty,\infty\right)$(,)

    B

    $[$[$-1,1$1,1$]$]

    C

    $[$[$0,\infty$0,$)$)

    D

Question 2

Consider the function $y=2\sin2x$y=2sin2x, where $x$x is in degrees.

  1. Graph the function on the axes below.

    Loading Graph...

  2. State the domain of the function in interval notation.

  3. State the range of the function in interval notation.

Question 3

Consider the sine graph shown below.

  1. State the domain of the function in interval notation.

  2. State the range of the function in interval notation.

  3. How many cycles of the sine graph are completed in this domain?

 

 

 

Outcomes

M7-2

Display the graphs of linear and non-linear functions and connect the structure of the functions with their graphs

91257

Apply graphical methods in solving problems

What is Mathspace

About Mathspace