{"id":1903,"date":"2025-07-30T21:17:28","date_gmt":"2025-07-30T21:17:28","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=1903"},"modified":"2025-08-13T03:07:45","modified_gmt":"2025-08-13T03:07:45","slug":"graphs-of-the-sine-and-cosine-function-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/graphs-of-the-sine-and-cosine-function-learn-it-2\/","title":{"raw":"Graphs of the Sine and Cosine Function: Learn It 2","rendered":"Graphs of the Sine and Cosine Function: Learn It 2"},"content":{"raw":"<h2>Period and Amplitude<\/h2>\r\nAs we can see, sine and cosine functions have a regular period and range. If we watch ocean waves or ripples on a pond, we will see that they resemble the sine or cosine functions. However, they are not necessarily identical. Some are taller or longer than others. A function that has the same general shape as a sine or <strong>cosine function<\/strong> is known as a <strong>sinusoidal function<\/strong>.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>general form of sine and cosine<\/h3>\r\nThe general forms of sinusoidal functions are\r\n<div style=\"text-align: center;\">[latex]y = A\\sin (Bx\u2212C) + D[\/latex]<\/div>\r\nand\r\n<div style=\"text-align: center;\">[latex]y = A\\cos (Bx\u2212C) + D[\/latex]<\/div>\r\n<\/section>\r\n<h3>Determining the Period of Sinusoidal Functions<\/h3>\r\nLooking at the forms of sinusoidal functions, we can see that they are transformations of the sine and cosine functions. We can use what we know about transformations to determine the period.\r\n\r\nIn the general formula, <em>B<\/em> is related to the period by [latex]P=\\frac{2\u03c0}{|B|}[\/latex]. If [latex]|B| &gt; 1[\/latex], then the period is less than [latex]2\u03c0[\/latex] and the function undergoes a horizontal compression, whereas if [latex]|B| &lt; 1[\/latex], then the period is greater than [latex]2\u03c0[\/latex] and the function undergoes a horizontal stretch. For example, [latex]f(x) = \\sin(x), B= 1[\/latex], so the period is [latex]2\u03c0[\/latex], which we knew. If [latex]f(x) =\\sin (2x)[\/latex], then [latex]B= 2[\/latex], so the period is [latex]\u03c0[\/latex] and the graph is compressed. If [latex]f(x) = \\sin\\left(\\frac{x}{2} \\right)[\/latex], then [latex]B=\\frac{1}{2}[\/latex], so the period is [latex]4\u03c0[\/latex] and the graph is stretched. Notice in the figure how period is indirectly related to [latex]|B|[\/latex].\r\n<figure id=\"Figure_06_01_008\" class=\"small\"><img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003927\/CNX_Precalc_Figure_06_01_008.jpg\" alt=\"A graph with three items. The x-axis ranges from 0 to 2pi. The y-axis ranges from -1 to 1. The first item is the graph of sin(x) for one full period. The second is the graph of sin(2x) over two periods. The third is the graph of sin(x\/2) for one half of a period.\" width=\"487\" height=\"274\" \/><\/figure>\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>period of sinusoidal functions<\/h3>\r\nFor a sinusoidal function in the form [latex]y = A\\sin (Bx\u2212C) + D[\/latex] or [latex]y = A\\cos (Bx\u2212C) + D[\/latex], the period is [latex]\\frac{2\u03c0}{|B|}[\/latex].\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Determine the period of the function [latex]f(x) = \\sin\\left(\\frac{\u03c0}{6}x\\right)[\/latex].[reveal-answer q=\"616023\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"616023\"]Let's begin by comparing the equation to the general form [latex]y=A\\sin(Bx)[\/latex].In the given equation, [latex]B =\\frac{\u03c0}{6}[\/latex], so the period will be\r\n<p style=\"text-align: center;\">[latex]\\begin{align}P&amp;=\\frac{\\frac{2}{\\pi}}{|B|} \\\\ &amp;=\\frac{2\\pi}{\\frac{x}{6}} \\\\ &amp;=2\\pi\\times \\frac{6}{\\pi} \\\\ &amp;=12 \\end{align}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">Determine the period of the function [latex]g(x)=\\cos\\left(\\frac{x}{3}\\right)[\/latex].[reveal-answer q=\"111765\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"111765\"][latex]6 \\pi[\/latex][\/hidden-answer]<\/section>\r\n<h3>Determining Amplitude<\/h3>\r\nReturning to the general formula for a sinusoidal function, we have analyzed how the variable <em>B<\/em> relates to the period. Now let\u2019s turn to the variable <em>A<\/em> so we can analyze how it is related to the <strong>amplitude<\/strong>, or greatest distance from rest. <em>A<\/em> represents the vertical stretch factor, and its absolute value [latex]|A|[\/latex] is the amplitude. The local maxima will be a distance [latex]|A|[\/latex] above the vertical <strong>midline<\/strong> of the graph, which is the line [latex]x = D[\/latex]; because [latex]D = 0[\/latex] in this case, the midline is the [latex]x[\/latex]-axis. The local minima will be the same distance below the midline. If [latex]|A| &gt; 1[\/latex], the function is stretched. For example, the amplitude of [latex]f(x)=4\\sin\\left(x\\right)[\/latex] is twice the amplitude of [latex]f(x)=2\\sin\\left(x\\right)[\/latex]\r\n\r\nIf [latex]|A| &lt; 1[\/latex], the function is compressed. The graph below compares several sine functions with different amplitudes.\r\n<figure id=\"Figure_06_01_009\"><img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003929\/CNX_Precalc_Figure_06_01_009.jpg\" alt=\"A graph with four items. The x-axis ranges from -6pi to 6pi. The y-axis ranges from -4 to 4. The first item is the graph of sin(x), which has an amplitude of 1. The second is a graph of 2sin(x), which has amplitude of 2. The third is a graph of 3sin(x), which has an amplitude of 3. The fourth is a graph of 4 sin(x) with an amplitude of 4.\" width=\"975\" height=\"316\" \/><\/figure>\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>amplitude of sinusoidal functions<\/h3>\r\nFor a sinusoidal function in the form [latex]y = A\\sin (Bx\u2212C) + D[\/latex] or [latex]y = A\\cos (Bx\u2212C) + D[\/latex], t<span style=\"font-size: 12pt;\">he <strong>amplitude<\/strong> is |A|. <\/span>\r\n\r\n&nbsp;\r\n\r\n<span style=\"font-size: 12pt;\">In addition, notice in the example that<\/span>\r\n<p style=\"text-align: center;\"><span style=\"text-align: center; background-color: initial; font-size: 12pt;\">[latex]|A|=\\text{amplitude}=\\frac{1}{2}|\\text{maximum}\u2212\\text{minimum}|[\/latex]<\/span><\/p>\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">What is the amplitude of the sinusoidal function\u00a0[latex]f(x)=\u22124\\sin(x)[\/latex]? Is the function stretched or compressed vertically?[reveal-answer q=\"207317\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"207317\"]Let\u2019s begin by comparing the function to the simplified form [latex]y=A\\sin(Bx)[\/latex].In the given function, <em>A\u00a0<\/em>= \u22124, so the amplitude is |<em>A<\/em>|=|\u22124| = 4. The function is stretched.\r\n<h4>Analysis of the Solution<\/h4>\r\nThe negative value of <em>A<\/em> results in a reflection across the <em>x<\/em>-axis of the <strong>sine function<\/strong>.\r\n<figure id=\"Figure_06_01_010\" class=\"small\"><img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003932\/CNX_Precalc_Figure_06_01_010.jpg\" alt=\"A graph of -4sin(x). The function has an amplitude of 4. Local minima at (-3pi\/2, -4) and (pi\/2, -4). Local maxima at (-pi\/2, 4) and (3pi\/2, 4). Period of 2pi.\" width=\"487\" height=\"319\" \/><\/figure>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">What is the amplitude of the sinusoidal function [latex]f(x)=\\frac{1}{2}\\sin (x)[\/latex]? Is the function stretched or compressed vertically?[reveal-answer q=\"525586\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"525586\"][latex]\\frac{1}{2}[\/latex] compressed[\/hidden-answer]<\/section>","rendered":"<h2>Period and Amplitude<\/h2>\n<p>As we can see, sine and cosine functions have a regular period and range. If we watch ocean waves or ripples on a pond, we will see that they resemble the sine or cosine functions. However, they are not necessarily identical. Some are taller or longer than others. A function that has the same general shape as a sine or <strong>cosine function<\/strong> is known as a <strong>sinusoidal function<\/strong>.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>general form of sine and cosine<\/h3>\n<p>The general forms of sinusoidal functions are<\/p>\n<div style=\"text-align: center;\">[latex]y = A\\sin (Bx\u2212C) + D[\/latex]<\/div>\n<p>and<\/p>\n<div style=\"text-align: center;\">[latex]y = A\\cos (Bx\u2212C) + D[\/latex]<\/div>\n<\/section>\n<h3>Determining the Period of Sinusoidal Functions<\/h3>\n<p>Looking at the forms of sinusoidal functions, we can see that they are transformations of the sine and cosine functions. We can use what we know about transformations to determine the period.<\/p>\n<p>In the general formula, <em>B<\/em> is related to the period by [latex]P=\\frac{2\u03c0}{|B|}[\/latex]. If [latex]|B| > 1[\/latex], then the period is less than [latex]2\u03c0[\/latex] and the function undergoes a horizontal compression, whereas if [latex]|B| < 1[\/latex], then the period is greater than [latex]2\u03c0[\/latex] and the function undergoes a horizontal stretch. For example, [latex]f(x) = \\sin(x), B= 1[\/latex], so the period is [latex]2\u03c0[\/latex], which we knew. If [latex]f(x) =\\sin (2x)[\/latex], then [latex]B= 2[\/latex], so the period is [latex]\u03c0[\/latex] and the graph is compressed. If [latex]f(x) = \\sin\\left(\\frac{x}{2} \\right)[\/latex], then [latex]B=\\frac{1}{2}[\/latex], so the period is [latex]4\u03c0[\/latex] and the graph is stretched. Notice in the figure how period is indirectly related to [latex]|B|[\/latex].\n\n\n<figure id=\"Figure_06_01_008\" class=\"small\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003927\/CNX_Precalc_Figure_06_01_008.jpg\" alt=\"A graph with three items. The x-axis ranges from 0 to 2pi. The y-axis ranges from -1 to 1. The first item is the graph of sin(x) for one full period. The second is the graph of sin(2x) over two periods. The third is the graph of sin(x\/2) for one half of a period.\" width=\"487\" height=\"274\" \/><\/figure>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>period of sinusoidal functions<\/h3>\n<p>For a sinusoidal function in the form [latex]y = A\\sin (Bx\u2212C) + D[\/latex] or [latex]y = A\\cos (Bx\u2212C) + D[\/latex], the period is [latex]\\frac{2\u03c0}{|B|}[\/latex].<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Determine the period of the function [latex]f(x) = \\sin\\left(\\frac{\u03c0}{6}x\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q616023\">Show Solution<\/button><\/p>\n<div id=\"q616023\" class=\"hidden-answer\" style=\"display: none\">Let&#8217;s begin by comparing the equation to the general form [latex]y=A\\sin(Bx)[\/latex].In the given equation, [latex]B =\\frac{\u03c0}{6}[\/latex], so the period will be<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}P&=\\frac{\\frac{2}{\\pi}}{|B|} \\\\ &=\\frac{2\\pi}{\\frac{x}{6}} \\\\ &=2\\pi\\times \\frac{6}{\\pi} \\\\ &=12 \\end{align}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\">Determine the period of the function [latex]g(x)=\\cos\\left(\\frac{x}{3}\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q111765\">Show Solution<\/button><\/p>\n<div id=\"q111765\" class=\"hidden-answer\" style=\"display: none\">[latex]6 \\pi[\/latex]<\/div>\n<\/div>\n<\/section>\n<h3>Determining Amplitude<\/h3>\n<p>Returning to the general formula for a sinusoidal function, we have analyzed how the variable <em>B<\/em> relates to the period. Now let\u2019s turn to the variable <em>A<\/em> so we can analyze how it is related to the <strong>amplitude<\/strong>, or greatest distance from rest. <em>A<\/em> represents the vertical stretch factor, and its absolute value [latex]|A|[\/latex] is the amplitude. The local maxima will be a distance [latex]|A|[\/latex] above the vertical <strong>midline<\/strong> of the graph, which is the line [latex]x = D[\/latex]; because [latex]D = 0[\/latex] in this case, the midline is the [latex]x[\/latex]-axis. The local minima will be the same distance below the midline. If [latex]|A| > 1[\/latex], the function is stretched. For example, the amplitude of [latex]f(x)=4\\sin\\left(x\\right)[\/latex] is twice the amplitude of [latex]f(x)=2\\sin\\left(x\\right)[\/latex]<\/p>\n<p>If [latex]|A| < 1[\/latex], the function is compressed. The graph below compares several sine functions with different amplitudes.\n\n\n<figure id=\"Figure_06_01_009\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003929\/CNX_Precalc_Figure_06_01_009.jpg\" alt=\"A graph with four items. The x-axis ranges from -6pi to 6pi. The y-axis ranges from -4 to 4. The first item is the graph of sin(x), which has an amplitude of 1. The second is a graph of 2sin(x), which has amplitude of 2. The third is a graph of 3sin(x), which has an amplitude of 3. The fourth is a graph of 4 sin(x) with an amplitude of 4.\" width=\"975\" height=\"316\" \/><\/figure>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>amplitude of sinusoidal functions<\/h3>\n<p>For a sinusoidal function in the form [latex]y = A\\sin (Bx\u2212C) + D[\/latex] or [latex]y = A\\cos (Bx\u2212C) + D[\/latex], t<span style=\"font-size: 12pt;\">he <strong>amplitude<\/strong> is |A|. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\">In addition, notice in the example that<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"text-align: center; background-color: initial; font-size: 12pt;\">[latex]|A|=\\text{amplitude}=\\frac{1}{2}|\\text{maximum}\u2212\\text{minimum}|[\/latex]<\/span><\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">What is the amplitude of the sinusoidal function\u00a0[latex]f(x)=\u22124\\sin(x)[\/latex]? Is the function stretched or compressed vertically?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q207317\">Show Solution<\/button><\/p>\n<div id=\"q207317\" class=\"hidden-answer\" style=\"display: none\">Let\u2019s begin by comparing the function to the simplified form [latex]y=A\\sin(Bx)[\/latex].In the given function, <em>A\u00a0<\/em>= \u22124, so the amplitude is |<em>A<\/em>|=|\u22124| = 4. The function is stretched.<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>The negative value of <em>A<\/em> results in a reflection across the <em>x<\/em>-axis of the <strong>sine function<\/strong>.<\/p>\n<figure id=\"Figure_06_01_010\" class=\"small\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003932\/CNX_Precalc_Figure_06_01_010.jpg\" alt=\"A graph of -4sin(x). The function has an amplitude of 4. Local minima at (-3pi\/2, -4) and (pi\/2, -4). Local maxima at (-pi\/2, 4) and (3pi\/2, 4). Period of 2pi.\" width=\"487\" height=\"319\" \/><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\">What is the amplitude of the sinusoidal function [latex]f(x)=\\frac{1}{2}\\sin (x)[\/latex]? Is the function stretched or compressed vertically?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q525586\">Show Solution<\/button><\/p>\n<div id=\"q525586\" class=\"hidden-answer\" style=\"display: none\">[latex]\\frac{1}{2}[\/latex] compressed<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":13,"menu_order":6,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":191,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1903"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":10,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1903\/revisions"}],"predecessor-version":[{"id":1945,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1903\/revisions\/1945"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/191"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1903\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=1903"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=1903"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=1903"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=1903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}