{"id":1739,"date":"2024-06-05T22:12:16","date_gmt":"2024-06-05T22:12:16","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/?post_type=chapter&#038;p=1739"},"modified":"2025-08-09T13:04:46","modified_gmt":"2025-08-09T13:04:46","slug":"graphs-of-linear-functions-learn-it-4","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/chapter\/graphs-of-linear-functions-learn-it-4\/","title":{"raw":"Graphs of Linear Functions: Learn It 4","rendered":"Graphs of Linear Functions: Learn It 4"},"content":{"raw":"<h2 data-type=\"title\">Graphing Linear Functions Cont.<\/h2>\r\n<h3>Graphing a Linear Function Using Transformations<\/h3>\r\nAnother option for graphing is to use <strong>transformations<\/strong> on the identity function [latex]f\\left(x\\right)=x[\/latex]. A function may be transformed by a shift up, down, left, or right. A function may also be transformed using a reflection, stretch, or compression.\r\n<h4>Vertical Stretch or Compression<\/h4>\r\nIn the equation [latex]f\\left(x\\right)=mx[\/latex], the [latex]m[\/latex]\u00a0is acting as the <strong>vertical stretch<\/strong> or <strong>compression<\/strong> of the identity function. When [latex]m[\/latex] is negative, there is also a vertical reflection of the graph. Notice that multiplying the equation [latex]f\\left(x\\right)=x[\/latex] by [latex]m [\/latex] stretches the graph of [latex]f [\/latex] by a factor of [latex]m[\/latex] units if [latex]m &gt; 1[\/latex] and compresses the graph of [latex]f [\/latex] by a factor of [latex]m[\/latex] units if [latex]0 {\\lt} m {\\lt} 1[\/latex]. This means the larger the absolute value of [latex]m[\/latex], the steeper the slope.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"900\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184329\/CNX_Precalc_Figure_02_02_0052.jpg\" alt=\"Graph with several linear functions including y = 3x, y = 2x, y = x, y = (1\/2)x, y = (1\/3)x, y = (-1\/2)x, y = -x, and y = -2x\" width=\"900\" height=\"759\" \/> Vertical stretches and compressions and reflections on the function [latex]f\\left(x\\right)=x[\/latex].[\/caption]\r\n<h4>Vertical Shift<\/h4>\r\nIn [latex]f\\left(x\\right)=mx+b[\/latex], the [latex]b[\/latex]\u00a0acts as the <strong>vertical shift<\/strong>, moving the graph up and down without affecting the slope of the line. Notice that adding a value of [latex]b[\/latex]\u00a0to the equation of [latex]f\\left(x\\right)=x[\/latex] shifts the graph of\u00a0[latex]f [\/latex] a total of [latex]b[\/latex]\u00a0units up if [latex]b[\/latex]\u00a0is positive and\u00a0[latex]|b|[\/latex] units down if [latex]b[\/latex]\u00a0is negative.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"900\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184332\/CNX_Precalc_Figure_02_02_0062.jpg\" alt=\"graph showing y = x , y = x+2, y = x+4, y = x-2, y = x-4\" width=\"900\" height=\"759\" \/> This graph illustrates vertical shifts of the function [latex]f\\left(x\\right)=x[\/latex].[\/caption]Using vertical stretches or compressions along with vertical shifts is another way to look at identifying different types of linear functions. Although this may not be the easiest way to graph this type of function, it is still important to practice each method.\r\n\r\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given the equation of a linear function, use transformations to graph the linear function in the form [latex]f\\left(x\\right)=mx+b[\/latex].<\/strong>\r\n<ol>\r\n \t<li>Graph [latex]f\\left(x\\right)=x[\/latex].<\/li>\r\n \t<li>Vertically stretch or compress the graph by a factor <em>m<\/em>.<\/li>\r\n \t<li>Shift the graph up or down <em>b<\/em>\u00a0units.<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Graph [latex]f\\left(x\\right)=\\frac{1}{2}x - 3[\/latex] using transformations.[reveal-answer q=\"750947\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"750947\"]The equation for the function shows that [latex]m=\\frac{1}{2}[\/latex] so the identity function is vertically compressed by [latex]\\frac{1}{2}[\/latex]. The equation for the function also shows that [latex]b=-3[\/latex], so the identity function is vertically shifted down [latex]3[\/latex] units.First, graph the identity function, and show the vertical compression.[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184335\/CNX_Precalc_Figure_02_02_0072.jpg\" alt=\"graph showing the lines y = x and y = (1\/2)x\" width=\"487\" height=\"378\" \/> The function [latex]y=x[\/latex] compressed by a factor of [latex]\\frac{1}{2}[\/latex].[\/caption]Then, show the vertical shift.[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184338\/CNX_Precalc_Figure_02_02_0082.jpg\" alt=\"Graph showing the lines y = (1\/2)x, and y = (1\/2) + 3\" width=\"487\" height=\"377\" \/> The function [latex]y=\\frac{1}{2}x[\/latex] shifted down 3 units.[\/caption][\/hidden-answer]<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]114584[\/ohm_question]<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]294296[\/ohm_question]<\/section>","rendered":"<h2 data-type=\"title\">Graphing Linear Functions Cont.<\/h2>\n<h3>Graphing a Linear Function Using Transformations<\/h3>\n<p>Another option for graphing is to use <strong>transformations<\/strong> on the identity function [latex]f\\left(x\\right)=x[\/latex]. A function may be transformed by a shift up, down, left, or right. A function may also be transformed using a reflection, stretch, or compression.<\/p>\n<h4>Vertical Stretch or Compression<\/h4>\n<p>In the equation [latex]f\\left(x\\right)=mx[\/latex], the [latex]m[\/latex]\u00a0is acting as the <strong>vertical stretch<\/strong> or <strong>compression<\/strong> of the identity function. When [latex]m[\/latex] is negative, there is also a vertical reflection of the graph. Notice that multiplying the equation [latex]f\\left(x\\right)=x[\/latex] by [latex]m[\/latex] stretches the graph of [latex]f[\/latex] by a factor of [latex]m[\/latex] units if [latex]m > 1[\/latex] and compresses the graph of [latex]f[\/latex] by a factor of [latex]m[\/latex] units if [latex]0 {\\lt} m {\\lt} 1[\/latex]. This means the larger the absolute value of [latex]m[\/latex], the steeper the slope.<\/p>\n<figure style=\"width: 900px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184329\/CNX_Precalc_Figure_02_02_0052.jpg\" alt=\"Graph with several linear functions including y = 3x, y = 2x, y = x, y = (1\/2)x, y = (1\/3)x, y = (-1\/2)x, y = -x, and y = -2x\" width=\"900\" height=\"759\" \/><figcaption class=\"wp-caption-text\">Vertical stretches and compressions and reflections on the function [latex]f\\left(x\\right)=x[\/latex].<\/figcaption><\/figure>\n<h4>Vertical Shift<\/h4>\n<p>In [latex]f\\left(x\\right)=mx+b[\/latex], the [latex]b[\/latex]\u00a0acts as the <strong>vertical shift<\/strong>, moving the graph up and down without affecting the slope of the line. Notice that adding a value of [latex]b[\/latex]\u00a0to the equation of [latex]f\\left(x\\right)=x[\/latex] shifts the graph of\u00a0[latex]f[\/latex] a total of [latex]b[\/latex]\u00a0units up if [latex]b[\/latex]\u00a0is positive and\u00a0[latex]|b|[\/latex] units down if [latex]b[\/latex]\u00a0is negative.<\/p>\n<figure style=\"width: 900px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21184332\/CNX_Precalc_Figure_02_02_0062.jpg\" alt=\"graph showing y = x , y = x+2, y = x+4, y = x-2, y = x-4\" width=\"900\" height=\"759\" \/><figcaption class=\"wp-caption-text\">This graph illustrates vertical shifts of the function [latex]f\\left(x\\right)=x[\/latex].<\/figcaption><\/figure>\n<p>Using vertical stretches or compressions along with vertical shifts is another way to look at identifying different types of linear functions. Although this may not be the easiest way to graph this type of function, it is still important to practice each method.<\/p>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given the equation of a linear function, use transformations to graph the linear function in the form [latex]f\\left(x\\right)=mx+b[\/latex].<\/strong><\/p>\n<ol>\n<li>Graph [latex]f\\left(x\\right)=x[\/latex].<\/li>\n<li>Vertically stretch or compress the graph by a factor <em>m<\/em>.<\/li>\n<li>Shift the graph up or down <em>b<\/em>\u00a0units.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Graph [latex]f\\left(x\\right)=\\frac{1}{2}x - 3[\/latex] using transformations.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q750947\">Show Solution<\/button><\/p>\n<div id=\"q750947\" class=\"hidden-answer\" style=\"display: none\">The equation for the function shows that [latex]m=\\frac{1}{2}[\/latex] so the identity function is vertically compressed by [latex]\\frac{1}{2}[\/latex]. The equation for the function also shows that [latex]b=-3[\/latex], so the identity function is vertically shifted down [latex]3[\/latex] units.First, graph the identity function, and show the vertical compression.<\/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\/896\/2016\/10\/21184335\/CNX_Precalc_Figure_02_02_0072.jpg\" alt=\"graph showing the lines y = x and y = (1\/2)x\" width=\"487\" height=\"378\" \/><figcaption class=\"wp-caption-text\">The function [latex]y=x[\/latex] compressed by a factor of [latex]\\frac{1}{2}[\/latex].<\/figcaption><\/figure>\n<p>Then, show the vertical shift.<\/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\/896\/2016\/10\/21184338\/CNX_Precalc_Figure_02_02_0082.jpg\" alt=\"Graph showing the lines y = (1\/2)x, and y = (1\/2) + 3\" width=\"487\" height=\"377\" \/><figcaption class=\"wp-caption-text\">The function [latex]y=\\frac{1}{2}x[\/latex] shifted down 3 units.<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm114584\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=114584&theme=lumen&iframe_resize_id=ohm114584&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm294296\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=294296&theme=lumen&iframe_resize_id=ohm294296&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":12,"menu_order":15,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":164,"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\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1739"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/users\/12"}],"version-history":[{"count":14,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1739\/revisions"}],"predecessor-version":[{"id":7558,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1739\/revisions\/7558"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/parts\/164"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1739\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/media?parent=1739"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1739"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/contributor?post=1739"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/license?post=1739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}