{"id":1908,"date":"2025-07-30T21:19:26","date_gmt":"2025-07-30T21:19:26","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=1908"},"modified":"2026-02-11T19:48:14","modified_gmt":"2026-02-11T19:48:14","slug":"graphs-of-the-sine-and-cosine-function-learn-it-4","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/graphs-of-the-sine-and-cosine-function-learn-it-4\/","title":{"raw":"Graphs of the Sine and Cosine Function: Learn It 5","rendered":"Graphs of the Sine and Cosine Function: Learn It 5"},"content":{"raw":"<h2>Graphing Transformations of [latex]y = \\sin x[\/latex] and [latex]y=\\cos x[\/latex]<\/h2>\r\nThroughout this section, we have learned about types of variations of sine and cosine functions and used that information to write equations from graphs. Now we can use the same information to create graphs from equations.\r\n<div>\r\n<div style=\"text-align: center;\"><\/div>\r\n<div><section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given the function [latex]y=Asin(Bx)[\/latex], sketch its graph.<\/strong>\r\n<ol>\r\n \t<li>Identify the amplitude,|<em>A<\/em>|.<\/li>\r\n \t<li>Identify the period, [latex]P=\\frac{2\u03c0}{|B|}[\/latex].<\/li>\r\n \t<li>Start at the origin, with the function increasing to the right if <em>A<\/em> is positive or decreasing if <em>A<\/em> is negative.<\/li>\r\n \t<li>At [latex]x=\\frac{\u03c0}{2|B|}[\/latex] there is a local maximum for <em>A<\/em> &gt; 0 or a minimum for <em>A<\/em> &lt; 0, with <em>y<\/em> = <em>A<\/em>.<\/li>\r\n \t<li>The curve returns to the <em>x<\/em>-axis at [latex]x=\\frac{\u03c0}{|B|}[\/latex].<\/li>\r\n \t<li>There is a local minimum for <em>A<\/em> &gt; 0 (maximum for <em>A\u00a0<\/em>&lt; 0) at [latex]x=\\frac{3\u03c0}{2|B|}[\/latex] with <em>y\u00a0<\/em>= \u2013<em>A<\/em>.<\/li>\r\n \t<li>The curve returns again to the <em>x<\/em>-axis at [latex]x=\\frac{\u03c0}{2|B|}[\/latex].<\/li>\r\n<\/ol>\r\n<\/section><\/div>\r\n<\/div>\r\n<section class=\"textbox example\" aria-label=\"Example\">Sketch a graph of [latex]f(x)=\u22122\\sin(\\frac{\u03c0x}{2})[\/latex].[reveal-answer q=\"699067\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"699067\"]Let\u2019s begin by comparing the equation to the form [latex]y=A\\sin(Bx)[\/latex].\r\n\r\n<strong>Step 1.<\/strong> We can see from the equation that A=\u22122,so the amplitude is 2.\r\n<p style=\"text-align: center;\">|<em>A<\/em>| = 2<\/p>\r\n<strong>Step 2.<\/strong> The equation shows that [latex]B=\\frac{\u03c0}{2}[\/latex], so the period is\r\n<p style=\"text-align: center;\">[latex] \\begin{align}P&amp;=\\frac{2\\pi}{\\frac{\\pi}{2}}\\\\&amp;=2\\pi\\times\\frac{2}{\\pi}\\\\&amp;=4 \\end{align}[\/latex]<\/p>\r\n<strong>Step 3.<\/strong> Because <em>A<\/em> is negative, the graph descends as we move to the right of the origin.\r\n\r\n<strong>Step 4\u20137.<\/strong> The <em>x<\/em>-intercepts are at the beginning of one period, <em>x\u00a0<\/em>= 0, the horizontal midpoints are at <em>x\u00a0<\/em>= 2 and at the end of one period at <em>x<\/em> = 4.\r\n\r\nThe quarter points include the minimum at <em>x<\/em> = 1 and the maximum at <em>x<\/em> = 3. A local minimum will occur 2 units below the midline, at <em>x<\/em> = 1, and a local maximum will occur at 2 units above the midline, at <em>x<\/em> = 3.\r\n\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003952\/CNX_Precalc_Figure_06_01_019.jpg\" alt=\"A graph of -2sin((pi\/2)x). Graph has range of [-2,2], period of 4, and amplitude of 2.\" width=\"487\" height=\"252\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">Sketch a graph of [latex]g(x)=\u22120.8\\cos(2x)[\/latex]. Determine the midline, amplitude, period, and phase shift.[reveal-answer q=\"862743\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"862743\"]midline: y=0; amplitude: |<em>A<\/em>|=0.8; period: P=[latex]\\frac{2\u03c0}{|B|}=\\pi[\/latex]; phase shift: [latex]\\frac{C}{B}=0[\/latex] or none\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27004024\/CNX_Precalc_Figure_06_01_020.jpg\" alt=\"A graph of -0.8cos(2x). Graph has range of [-0.8, 0.8], period of pi, amplitude of 0.8, and is reflected about the x-axis compared to it's parent function cos(x).\" \/>[\/hidden-answer]<\/section><section aria-label=\"Watch It\"><section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a sinusoidal function with a phase shift and a vertical shift, sketch its graph.<\/strong>\r\n<ol>\r\n \t<li>Express the function in the general form [latex]y=A\\sin(Bx\u2212C)+D[\/latex] or [latex]y=A\\cos(Bx\u2212C)+D[\/latex].<\/li>\r\n \t<li>Identify the amplitude, |<em>A<\/em>|.<\/li>\r\n \t<li>Identify the period, [latex]P=\\frac{2\u03c0}{|B|}[\/latex].<\/li>\r\n \t<li>Identify the phase shift, [latex]\\frac{C}{B}[\/latex].<\/li>\r\n \t<li>Draw the graph of [latex]f(x)=A\\sin(Bx)[\/latex] shifted to the right or left by [latex]\\frac{C}{B}[\/latex] and up or down by <em>D<\/em>.<\/li>\r\n<\/ol>\r\n<\/section><\/section><section class=\"textbox example\" aria-label=\"Example\">Sketch a graph of [latex]f(x)=3\\sin\\left(\\frac{\u03c0}{4}x\u2212\\frac{\u03c0}{4}\\right)[\/latex].[reveal-answer q=\"39590\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"39590\"]<strong>Step 1.<\/strong> The function is already written in general form: [latex]f(x)=3\\sin\\left(\\frac{\u03c0}{4}x\u2212\\frac{\u03c0}{4}\\right)[\/latex]. This graph will have the shape of a <strong>sine function<\/strong>, starting at the midline and increasing to the right.\r\n\r\n<strong>Step 2.<\/strong> |<em>A<\/em>|=|3|=3. The amplitude is 3.\r\n\r\n<strong>Step 3.<\/strong> Since [latex]|B|=|\\frac{\u03c0}{4}|=\\frac{\u03c0}{4}[\/latex], we determine the period as follows.\r\n<p style=\"text-align: center;\">[latex]P=\\frac{2\u03c0}{|B|}=\\frac{2\u03c0}{\\frac{\u03c0}{4}}=2\u03c0\\times\\frac{4}{\u03c0}=8[\/latex]<\/p>\r\nThe period is 8.\r\n\r\n<strong>Step 4.<\/strong> Since [latex]\\text{C}=\\frac{\u03c0}{4}[\/latex], the phase shift is\r\n<p style=\"text-align: center;\">[latex]\\frac{C}{B}=\\frac{\\frac{\\pi}{4}}{\\frac{\\pi}{4}}=1[\/latex].<\/p>\r\nThe phase shift is 1 unit.\r\n\r\n<strong>Step 5.<\/strong>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003954\/CNX_Precalc_Figure_06_01_021.jpg\" alt=\"A graph of 3sin(*(pi\/4)x-pi\/4). Graph has amplitude of 3, period of 8, and a phase shift of 1 to the right.\" width=\"487\" height=\"319\" \/> A horizontally compressed, vertically stretched, and horizontally shifted sinusoid[\/caption]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">\r\n<div class=\"bcc-box bcc-success\">\r\n\r\nDraw a graph of [latex]g(x)=\u22122\\cos(\\frac{\\pi}{3}x+\\frac{\\pi}{6})[\/latex]. Determine the midline, amplitude, period, and phase shift.\r\n\r\n[reveal-answer q=\"145991\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"145991\"]\r\n\r\n[latex]\\text{midline:}y=0;\\text{amplitude:}|A|=2;\\text{period:}\\text{P}=\\frac{2\\pi}{|B|}=6;\\text{phase shift:}\\frac{C}{B}=\u2212\\frac{1}{2}[\/latex]\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27004026\/CNX_Precalc_Figure_06_01_022.jpg\" alt=\"A graph of -2cos((pi\/3)x+(pi\/6)). Graph has amplitude of 2, period of 6, and has a phase shift of 0.5 to the left.\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]173422[\/ohm_question]<\/section><section class=\"textbox example\" aria-label=\"Example\">Given [latex]y=\u22122\\cos\\left(\\frac{\\pi}{2}x+\\pi\\right)+3[\/latex], determine the amplitude, period, phase shift, and horizontal shift. Then graph the function.[reveal-answer q=\"603659\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"603659\"]Begin by comparing the equation to the general form and use the steps outlined in Example 9.\r\n\r\n[latex]y=A\\cos(Bx\u2212C)+D[\/latex]\r\n\r\n<strong>Step 1.<\/strong> The function is already written in general form.\r\n\r\n<strong>Step 2.<\/strong> Since <em>A\u00a0<\/em>= \u22122, the amplitude is|<em>A<\/em>| = 2.\r\n\r\n<strong>Step 3.<\/strong>\u00a0[latex]|B|=\\frac{\\pi}{2}[\/latex], so the period is [latex]P=\\frac{2\u03c0}{|B|}=\\frac{2\\pi}{\\frac{\\pi}{2}}\\times2\\pi=4[\/latex]. The period is 4.\r\n\r\n<strong>Step 4.<\/strong>\u00a0[latex]C=\u2212\\pi[\/latex], so we calculate the phase shift as [latex]\\frac{C}{B}=\\frac{\u2212\\pi}{\\frac{\\pi}{2}}=\u2212\\pi\\times\\frac{2}{\\pi}=\u22122[\/latex]. The phase shift is \u22122.\r\n\r\n<strong>Step 5.<\/strong> <em>D\u00a0<\/em>= 3, so the midline is <em>y\u00a0<\/em>= 3, and the vertical shift is up 3.\r\n\r\nSince <em>A<\/em> is negative, the graph of the cosine function has been reflected about the x-axis.\r\n\r\n&nbsp;\r\n\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003956\/CNX_Precalc_Figure_06_01_028.jpg\" alt=\"A graph of -2cos((pi\/2)x+pi)+3. Graph shows an amplitude of 2, midline at y=3, and a period of 4.\" width=\"487\" height=\"317\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section>","rendered":"<h2>Graphing Transformations of [latex]y = \\sin x[\/latex] and [latex]y=\\cos x[\/latex]<\/h2>\n<p>Throughout this section, we have learned about types of variations of sine and cosine functions and used that information to write equations from graphs. Now we can use the same information to create graphs from equations.<\/p>\n<div>\n<div style=\"text-align: center;\"><\/div>\n<div>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given the function [latex]y=Asin(Bx)[\/latex], sketch its graph.<\/strong><\/p>\n<ol>\n<li>Identify the amplitude,|<em>A<\/em>|.<\/li>\n<li>Identify the period, [latex]P=\\frac{2\u03c0}{|B|}[\/latex].<\/li>\n<li>Start at the origin, with the function increasing to the right if <em>A<\/em> is positive or decreasing if <em>A<\/em> is negative.<\/li>\n<li>At [latex]x=\\frac{\u03c0}{2|B|}[\/latex] there is a local maximum for <em>A<\/em> &gt; 0 or a minimum for <em>A<\/em> &lt; 0, with <em>y<\/em> = <em>A<\/em>.<\/li>\n<li>The curve returns to the <em>x<\/em>-axis at [latex]x=\\frac{\u03c0}{|B|}[\/latex].<\/li>\n<li>There is a local minimum for <em>A<\/em> &gt; 0 (maximum for <em>A\u00a0<\/em>&lt; 0) at [latex]x=\\frac{3\u03c0}{2|B|}[\/latex] with <em>y\u00a0<\/em>= \u2013<em>A<\/em>.<\/li>\n<li>The curve returns again to the <em>x<\/em>-axis at [latex]x=\\frac{\u03c0}{2|B|}[\/latex].<\/li>\n<\/ol>\n<\/section>\n<\/div>\n<\/div>\n<section class=\"textbox example\" aria-label=\"Example\">Sketch a graph of [latex]f(x)=\u22122\\sin(\\frac{\u03c0x}{2})[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q699067\">Show Solution<\/button><\/p>\n<div id=\"q699067\" class=\"hidden-answer\" style=\"display: none\">Let\u2019s begin by comparing the equation to the form [latex]y=A\\sin(Bx)[\/latex].<\/p>\n<p><strong>Step 1.<\/strong> We can see from the equation that A=\u22122,so the amplitude is 2.<\/p>\n<p style=\"text-align: center;\">|<em>A<\/em>| = 2<\/p>\n<p><strong>Step 2.<\/strong> The equation shows that [latex]B=\\frac{\u03c0}{2}[\/latex], so the period is<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}P&=\\frac{2\\pi}{\\frac{\\pi}{2}}\\\\&=2\\pi\\times\\frac{2}{\\pi}\\\\&=4 \\end{align}[\/latex]<\/p>\n<p><strong>Step 3.<\/strong> Because <em>A<\/em> is negative, the graph descends as we move to the right of the origin.<\/p>\n<p><strong>Step 4\u20137.<\/strong> The <em>x<\/em>-intercepts are at the beginning of one period, <em>x\u00a0<\/em>= 0, the horizontal midpoints are at <em>x\u00a0<\/em>= 2 and at the end of one period at <em>x<\/em> = 4.<\/p>\n<p>The quarter points include the minimum at <em>x<\/em> = 1 and the maximum at <em>x<\/em> = 3. A local minimum will occur 2 units below the midline, at <em>x<\/em> = 1, and a local maximum will occur at 2 units above the midline, at <em>x<\/em> = 3.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003952\/CNX_Precalc_Figure_06_01_019.jpg\" alt=\"A graph of -2sin((pi\/2)x). Graph has range of &#091;-2,2&#093;, period of 4, and amplitude of 2.\" width=\"487\" height=\"252\" \/><\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\">Sketch a graph of [latex]g(x)=\u22120.8\\cos(2x)[\/latex]. Determine the midline, amplitude, period, and phase shift.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q862743\">Show Solution<\/button><\/p>\n<div id=\"q862743\" class=\"hidden-answer\" style=\"display: none\">midline: y=0; amplitude: |<em>A<\/em>|=0.8; period: P=[latex]\\frac{2\u03c0}{|B|}=\\pi[\/latex]; phase shift: [latex]\\frac{C}{B}=0[\/latex] or none<br \/>\n<img decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27004024\/CNX_Precalc_Figure_06_01_020.jpg\" alt=\"A graph of -0.8cos(2x). Graph has range of &#091;-0.8, 0.8&#093;, period of pi, amplitude of 0.8, and is reflected about the x-axis compared to it's parent function cos(x).\" \/><\/div>\n<\/div>\n<\/section>\n<section aria-label=\"Watch It\">\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a sinusoidal function with a phase shift and a vertical shift, sketch its graph.<\/strong><\/p>\n<ol>\n<li>Express the function in the general form [latex]y=A\\sin(Bx\u2212C)+D[\/latex] or [latex]y=A\\cos(Bx\u2212C)+D[\/latex].<\/li>\n<li>Identify the amplitude, |<em>A<\/em>|.<\/li>\n<li>Identify the period, [latex]P=\\frac{2\u03c0}{|B|}[\/latex].<\/li>\n<li>Identify the phase shift, [latex]\\frac{C}{B}[\/latex].<\/li>\n<li>Draw the graph of [latex]f(x)=A\\sin(Bx)[\/latex] shifted to the right or left by [latex]\\frac{C}{B}[\/latex] and up or down by <em>D<\/em>.<\/li>\n<\/ol>\n<\/section>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Sketch a graph of [latex]f(x)=3\\sin\\left(\\frac{\u03c0}{4}x\u2212\\frac{\u03c0}{4}\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q39590\">Show Solution<\/button><\/p>\n<div id=\"q39590\" class=\"hidden-answer\" style=\"display: none\"><strong>Step 1.<\/strong> The function is already written in general form: [latex]f(x)=3\\sin\\left(\\frac{\u03c0}{4}x\u2212\\frac{\u03c0}{4}\\right)[\/latex]. This graph will have the shape of a <strong>sine function<\/strong>, starting at the midline and increasing to the right.<\/p>\n<p><strong>Step 2.<\/strong> |<em>A<\/em>|=|3|=3. The amplitude is 3.<\/p>\n<p><strong>Step 3.<\/strong> Since [latex]|B|=|\\frac{\u03c0}{4}|=\\frac{\u03c0}{4}[\/latex], we determine the period as follows.<\/p>\n<p style=\"text-align: center;\">[latex]P=\\frac{2\u03c0}{|B|}=\\frac{2\u03c0}{\\frac{\u03c0}{4}}=2\u03c0\\times\\frac{4}{\u03c0}=8[\/latex]<\/p>\n<p>The period is 8.<\/p>\n<p><strong>Step 4.<\/strong> Since [latex]\\text{C}=\\frac{\u03c0}{4}[\/latex], the phase shift is<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{C}{B}=\\frac{\\frac{\\pi}{4}}{\\frac{\\pi}{4}}=1[\/latex].<\/p>\n<p>The phase shift is 1 unit.<\/p>\n<p><strong>Step 5.<\/strong><\/p>\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003954\/CNX_Precalc_Figure_06_01_021.jpg\" alt=\"A graph of 3sin(*(pi\/4)x-pi\/4). Graph has amplitude of 3, period of 8, and a phase shift of 1 to the right.\" width=\"487\" height=\"319\" \/><figcaption class=\"wp-caption-text\">A horizontally compressed, vertically stretched, and horizontally shifted sinusoid<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\">\n<div class=\"bcc-box bcc-success\">\n<p>Draw a graph of [latex]g(x)=\u22122\\cos(\\frac{\\pi}{3}x+\\frac{\\pi}{6})[\/latex]. Determine the midline, amplitude, period, and phase shift.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q145991\">Show Solution<\/button><\/p>\n<div id=\"q145991\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]\\text{midline:}y=0;\\text{amplitude:}|A|=2;\\text{period:}\\text{P}=\\frac{2\\pi}{|B|}=6;\\text{phase shift:}\\frac{C}{B}=\u2212\\frac{1}{2}[\/latex]<br \/>\n<img decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27004026\/CNX_Precalc_Figure_06_01_022.jpg\" alt=\"A graph of -2cos((pi\/3)x+(pi\/6)). Graph has amplitude of 2, period of 6, and has a phase shift of 0.5 to the left.\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm173422\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=173422&theme=lumen&iframe_resize_id=ohm173422&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Given [latex]y=\u22122\\cos\\left(\\frac{\\pi}{2}x+\\pi\\right)+3[\/latex], determine the amplitude, period, phase shift, and horizontal shift. Then graph the function.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q603659\">Show Solution<\/button><\/p>\n<div id=\"q603659\" class=\"hidden-answer\" style=\"display: none\">Begin by comparing the equation to the general form and use the steps outlined in Example 9.<\/p>\n<p>[latex]y=A\\cos(Bx\u2212C)+D[\/latex]<\/p>\n<p><strong>Step 1.<\/strong> The function is already written in general form.<\/p>\n<p><strong>Step 2.<\/strong> Since <em>A\u00a0<\/em>= \u22122, the amplitude is|<em>A<\/em>| = 2.<\/p>\n<p><strong>Step 3.<\/strong>\u00a0[latex]|B|=\\frac{\\pi}{2}[\/latex], so the period is [latex]P=\\frac{2\u03c0}{|B|}=\\frac{2\\pi}{\\frac{\\pi}{2}}\\times2\\pi=4[\/latex]. The period is 4.<\/p>\n<p><strong>Step 4.<\/strong>\u00a0[latex]C=\u2212\\pi[\/latex], so we calculate the phase shift as [latex]\\frac{C}{B}=\\frac{\u2212\\pi}{\\frac{\\pi}{2}}=\u2212\\pi\\times\\frac{2}{\\pi}=\u22122[\/latex]. The phase shift is \u22122.<\/p>\n<p><strong>Step 5.<\/strong> <em>D\u00a0<\/em>= 3, so the midline is <em>y\u00a0<\/em>= 3, and the vertical shift is up 3.<\/p>\n<p>Since <em>A<\/em> is negative, the graph of the cosine function has been reflected about the x-axis.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3675\/2018\/09\/27003956\/CNX_Precalc_Figure_06_01_028.jpg\" alt=\"A graph of -2cos((pi\/2)x+pi)+3. Graph shows an amplitude of 2, midline at y=3, and a period of 4.\" width=\"487\" height=\"317\" \/><\/p>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":13,"menu_order":9,"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\/1908"}],"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":9,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1908\/revisions"}],"predecessor-version":[{"id":5572,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1908\/revisions\/5572"}],"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\/1908\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=1908"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=1908"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=1908"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=1908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}