<< Chapter < Page Chapter >> Page >
In this section, you will:
  • Graph variations of  y=sin( x )  and  y=cos( x ).
  • Use phase shifts of sine and cosine curves.
A photo of a rainbow colored beam of light stretching across the floor.
Light can be separated into colors because of its wavelike properties. (credit: "wonderferret"/ Flickr)

White light, such as the light from the sun, is not actually white at all. Instead, it is a composition of all the colors of the rainbow in the form of waves. The individual colors can be seen only when white light passes through an optical prism that separates the waves according to their wavelengths to form a rainbow.

Light waves can be represented graphically by the sine function. In the chapter on Trigonometric Functions , we examined trigonometric functions such as the sine function. In this section, we will interpret and create graphs of sine and cosine functions.

Graphing sine and cosine functions

Recall that the sine and cosine functions relate real number values to the x - and y -coordinates of a point on the unit circle. So what do they look like on a graph on a coordinate plane? Let’s start with the sine function    . We can create a table of values and use them to sketch a graph. [link] lists some of the values for the sine function on a unit circle.

x 0 π 6 π 4 π 3 π 2 2 π 3 3 π 4 5 π 6 π
sin ( x ) 0 1 2 2 2 3 2 1 3 2 2 2 1 2 0

Plotting the points from the table and continuing along the x -axis gives the shape of the sine function. See [link] .

A graph of sin(x). Local maximum at (pi/2, 1). Local minimum at (3pi/2, -1). Period of 2pi.
The sine function

Notice how the sine values are positive between 0 and π , which correspond to the values of the sine function in quadrants I and II on the unit circle, and the sine values are negative between π and 2 π , which correspond to the values of the sine function in quadrants III and IV on the unit circle. See [link] .

A side-by-side graph of a unit circle and a graph of sin(x). The two graphs show the equivalence of the coordinates.
Plotting values of the sine function

Now let’s take a similar look at the cosine function    . Again, we can create a table of values and use them to sketch a graph. [link] lists some of the values for the cosine function on a unit circle.

x 0 π 6 π 4 π 3 π 2 2 π 3 3 π 4 5 π 6 π
cos ( x ) 1 3 2 2 2 1 2 0 1 2 2 2 3 2 1

As with the sine function, we can plots points to create a graph of the cosine function as in [link] .

A graph of cos(x). Local maxima at (0,1) and (2pi, 1). Local minimum at (pi, -1). Period of 2pi.
The cosine function

Because we can evaluate the sine and cosine of any real number, both of these functions are defined for all real numbers. By thinking of the sine and cosine values as coordinates of points on a unit circle, it becomes clear that the range of both functions must be the interval [ 1 , 1 ] .

In both graphs, the shape of the graph repeats after 2 π , which means the functions are periodic with a period of 2 π . A periodic function    is a function for which a specific horizontal shift    , P , results in a function equal to the original function: f ( x + P ) = f ( x ) for all values of x in the domain of f . When this occurs, we call the smallest such horizontal shift with P > 0 the period    of the function. [link] shows several periods of the sine and cosine functions.

Side-by-side graphs of sin(x) and cos(x). Graphs show period lengths for both functions, which is 2pi.

Looking again at the sine and cosine functions on a domain centered at the y -axis helps reveal symmetries. As we can see in [link] , the sine function    is symmetric about the origin. Recall from The Other Trigonometric Functions that we determined from the unit circle that the sine function is an odd function because sin ( x ) = sin x . Now we can clearly see this property from the graph.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask