{"id":11193,"date":"2015-07-14T18:46:05","date_gmt":"2015-07-14T18:46:05","guid":{"rendered":"https:\/\/courses.candelalearning.com\/osprecalc\/?post_type=chapter&#038;p=11193"},"modified":"2021-12-29T19:17:16","modified_gmt":"2021-12-29T19:17:16","slug":"graph-logarithmic-functions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/chapter\/graph-logarithmic-functions\/","title":{"raw":"Graph logarithmic functions","rendered":"Graph logarithmic functions"},"content":{"raw":"<p id=\"fs-id1165134104063\">Now that we have a feel for the set of values for which a logarithmic function is defined, we move on to graphing logarithmic functions. The family of logarithmic functions includes the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] along with all its transformations: shifts, stretches, compressions, and reflections.<\/p>\r\n<p id=\"fs-id1165137679088\">We begin with the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]. Because every logarithmic function of this form is the inverse of an exponential function with the form [latex]y={b}^{x}[\/latex], their graphs will be reflections of each other across the line [latex]y=x[\/latex]. To illustrate this, we can observe the relationship between the input and output values of [latex]y={2}^{x}[\/latex] and its equivalent [latex]x={\\mathrm{log}}_{2}\\left(y\\right)[\/latex] in the table below.<\/p>\r\n\r\n<table id=\"Table_04_04_01\" summary=\"Three rows and eight columns. The first row is labeled, \">\r\n<tbody>\r\n<tr>\r\n<td><em><strong>x<\/strong><\/em><\/td>\r\n<td>\u20133<\/td>\r\n<td>\u20132<\/td>\r\n<td>\u20131<\/td>\r\n<td>0<\/td>\r\n<td>1<\/td>\r\n<td>2<\/td>\r\n<td>3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]{2}^{x}=y[\/latex]<\/strong><\/td>\r\n<td>[latex]\\frac{1}{8}[\/latex]<\/td>\r\n<td>[latex]\\frac{1}{4}[\/latex]<\/td>\r\n<td>[latex]\\frac{1}{2}[\/latex]<\/td>\r\n<td>1<\/td>\r\n<td>2<\/td>\r\n<td>4<\/td>\r\n<td>8<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]{\\mathrm{log}}_{2}\\left(y\\right)=x[\/latex]<\/strong><\/td>\r\n<td>\u20133<\/td>\r\n<td>\u20132<\/td>\r\n<td>\u20131<\/td>\r\n<td>0<\/td>\r\n<td>1<\/td>\r\n<td>2<\/td>\r\n<td>3<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p id=\"fs-id1165135509175\">Using the inputs and outputs from the table above, we can build another table to observe the relationship between points on the graphs of the inverse functions [latex]f\\left(x\\right)={2}^{x}[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/p>\r\n\r\n<table id=\"Table_04_04_02\" summary=\"Two rows and eight columns. The first row is labeled, \">\r\n<tbody>\r\n<tr>\r\n<td><strong>[latex]f\\left(x\\right)={2}^{x}[\/latex]<\/strong><\/td>\r\n<td>[latex]\\left(-3,\\frac{1}{8}\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(-2,\\frac{1}{4}\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(-1,\\frac{1}{2}\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(0,1\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(1,2\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(2,4\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(3,8\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex]<\/strong><\/td>\r\n<td>[latex]\\left(\\frac{1}{8},-3\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(\\frac{1}{4},-2\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(\\frac{1}{2},-1\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(1,0\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(2,1\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(4,2\\right)[\/latex]<\/td>\r\n<td>[latex]\\left(8,3\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p id=\"fs-id1165137761335\">As we\u2019d expect, the <em data-effect=\"italics\">x<\/em>- and <em data-effect=\"italics\">y<\/em>-coordinates are reversed for the inverse functions. The figure below\u00a0shows the graph of <em>f<\/em>\u00a0and <em>g<\/em>.<\/p>\r\n\r\n<figure class=\"small\"><img class=\" aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010821\/CNX_Precalc_Figure_04_04_0022.jpg\" alt=\"Graph of two functions, f(x)=2^x and g(x)=log_2(x), with the line y=x denoting the axis of symmetry.\" data-media-type=\"image\/jpg\" \/><\/figure>\r\n<p style=\"text-align: center;\"><strong>Figure 2.\u00a0<\/strong>Notice that the graphs of [latex]f\\left(x\\right)={2}^{x}[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex] are reflections about the line <em>y\u00a0<\/em>= <em>x<\/em>.<\/p>\r\n<p id=\"fs-id1165137406913\">Observe the following from the graph:<\/p>\r\n\r\n<ul id=\"fs-id1165137408405\">\r\n \t<li>[latex]f\\left(x\\right)={2}^{x}[\/latex] has a <em data-effect=\"italics\">y<\/em>-intercept at [latex]\\left(0,1\\right)[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex] has an <em data-effect=\"italics\">x<\/em>-intercept at [latex]\\left(1,0\\right)[\/latex].<\/li>\r\n \t<li>The domain of [latex]f\\left(x\\right)={2}^{x}[\/latex], [latex]\\left(-\\infty ,\\infty \\right)[\/latex], is the same as the range of [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/li>\r\n \t<li>The range of [latex]f\\left(x\\right)={2}^{x}[\/latex], [latex]\\left(0,\\infty \\right)[\/latex], is the same as the domain of [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/li>\r\n<\/ul>\r\nThe video shows graphing logarithmic and exponential functions side by side.\r\n\r\n[embed]https:\/\/www.youtube.com\/watch?v=w1A2ZYmfGco[\/embed]\r\n<div id=\"fs-id1165137780760\" class=\"note textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"A General Note\">\r\n<h3 class=\"title\" data-type=\"title\">A General Note: Characteristics of the Graph of the Parent Function, <em data-effect=\"italics\">f<\/em>(<em data-effect=\"italics\">x<\/em>) = log<sub><em data-effect=\"italics\">b<\/em><\/sub>(<em data-effect=\"italics\">x<\/em>)<\/h3>\r\n<p id=\"fs-id1165135520250\">For any real number <em>x<\/em>\u00a0and constant <em>b\u00a0<\/em>&gt; 0, [latex]b\\ne 1[\/latex], we can see the following characteristics in the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]:<\/p>\r\n\r\n<ul id=\"fs-id1165137400150\">\r\n \t<li>one-to-one function<\/li>\r\n \t<li>vertical asymptote: <em>x\u00a0<\/em>= 0<\/li>\r\n \t<li>domain: [latex]\\left(0,\\infty \\right)[\/latex]<\/li>\r\n \t<li>range: [latex]\\left(-\\infty ,\\infty \\right)[\/latex]<\/li>\r\n \t<li><em data-effect=\"italics\">x-<\/em>intercept: [latex]\\left(1,0\\right)[\/latex] and key point [latex]\\left(b,1\\right)[\/latex]<\/li>\r\n \t<li><em data-effect=\"italics\">y<\/em>-intercept: none<\/li>\r\n \t<li>increasing if [latex]b&gt;1[\/latex]<\/li>\r\n \t<li>decreasing if 0 &lt; <em>b\u00a0<\/em>&lt; 1<\/li>\r\n<\/ul>\r\n<figure id=\"CNX_Precalc_Figure_04_04_003\">\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"824\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010821\/CNX_Precalc_Figure_04_04_003G2.jpg\" alt=\"Two graphs of the function f(x)=log_b(x) with points (1,0) and (b, 1). The first graph shows the line when b&gt;1, and the second graph shows the line when 0&lt;b&lt;1.\" width=\"824\" height=\"367\" data-media-type=\"image\/jpg\" \/> <b>Figure 3<\/b>[\/caption]<\/figure>\r\nFigure 3\u00a0shows how changing the base <em>b<\/em>\u00a0in [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] can affect the graphs. Observe that the graphs compress vertically as the value of the base increases. (<em data-effect=\"italics\">Note:<\/em> recall that the function [latex]\\mathrm{ln}\\left(x\\right)[\/latex] has base [latex]e\\approx \\text{2}.\\text{718.)}[\/latex]\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010822\/CNX_Precalc_Figure_04_04_0042.jpg\" alt=\"Graph of three equations: y=log_2(x) in blue, y=ln(x) in orange, and y=log(x) in red. The y-axis is the asymptote.\" width=\"487\" height=\"363\" data-media-type=\"image\/jpg\" \/> <strong>Figure 4.\u00a0<\/strong>The graphs of three logarithmic functions with different bases, all greater than 1.[\/caption]\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137871937\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\r\n<h3 id=\"fs-id1165137805513\">How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], graph the function.<\/h3>\r\n<ol id=\"fs-id1165135435529\" data-number-style=\"arabic\">\r\n \t<li>Draw and label the vertical asymptote, <em>x<\/em> = 0.<\/li>\r\n \t<li>Plot the <em data-effect=\"italics\">x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/li>\r\n \t<li>Plot the key point [latex]\\left(b,1\\right)[\/latex].<\/li>\r\n \t<li>Draw a smooth curve through the points.<\/li>\r\n \t<li>State the domain, [latex]\\left(0,\\infty \\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote, <em>x<\/em> = 0.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div id=\"Example_04_04_03\" class=\"example\" data-type=\"example\">\r\n<div id=\"fs-id1165137550508\" class=\"exercise\" data-type=\"exercise\">\r\n<div id=\"fs-id1165137550510\" class=\"problem textbox shaded\" data-type=\"problem\">\r\n<h3 data-type=\"title\">Example 3: Graphing a Logarithmic Function with the Form\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex].<\/h3>\r\n<p id=\"fs-id1165137431970\">Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137501967\" class=\"solution textbox shaded\" data-type=\"solution\">\r\n<h3>Solution<\/h3>\r\n<p id=\"fs-id1165137501970\">Before graphing, identify the behavior and key points for the graph.<\/p>\r\n\r\n<ul id=\"fs-id1165135497154\">\r\n \t<li>Since <em>b\u00a0<\/em>= 5 is greater than one, we know the function is increasing. The left tail of the graph will approach the vertical asymptote <em>x\u00a0<\/em>= 0, and the right tail will increase slowly without bound.<\/li>\r\n \t<li>The <em data-effect=\"italics\">x<\/em>-intercept is [latex]\\left(1,0\\right)[\/latex].<\/li>\r\n \t<li>The key point [latex]\\left(5,1\\right)[\/latex] is on the graph.<\/li>\r\n \t<li>We draw and label the asymptote, plot and label the points, and draw a smooth curve through the points.<\/li>\r\n<\/ul>\r\n<figure id=\"CNX_Precalc_Figure_04_04_005\" class=\"small\"><span id=\"fs-id1165135508394\" data-type=\"media\" data-alt=\"Graph of f(x)=log_5(x) with labeled points at (1, 0) and (5, 1). The y-axis is the asymptote.\"> <img class=\" aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010822\/CNX_Precalc_Figure_04_04_0052.jpg\" alt=\"Graph of f(x)=log_5(x) with labeled points at (1, 0) and (5, 1). The y-axis is the asymptote.\" data-media-type=\"image\/jpg\" \/><\/span><\/figure>\r\n<p id=\"fs-id1165135697920\" style=\"text-align: center;\"><strong>Figure 5.\u00a0<\/strong>The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x<\/em> = 0.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 3<\/h3>\r\n<p id=\"fs-id1165135171582\">Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{\\frac{1}{5}}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\r\n<a href=\"https:\/\/courses.lumenlearning.com\/precalcone\/chapter\/solutions-20\/\" target=\"_blank\" rel=\"noopener\">Solution<\/a>\r\n\r\n<\/div>","rendered":"<p id=\"fs-id1165134104063\">Now that we have a feel for the set of values for which a logarithmic function is defined, we move on to graphing logarithmic functions. The family of logarithmic functions includes the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] along with all its transformations: shifts, stretches, compressions, and reflections.<\/p>\n<p id=\"fs-id1165137679088\">We begin with the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]. Because every logarithmic function of this form is the inverse of an exponential function with the form [latex]y={b}^{x}[\/latex], their graphs will be reflections of each other across the line [latex]y=x[\/latex]. To illustrate this, we can observe the relationship between the input and output values of [latex]y={2}^{x}[\/latex] and its equivalent [latex]x={\\mathrm{log}}_{2}\\left(y\\right)[\/latex] in the table below.<\/p>\n<table id=\"Table_04_04_01\" summary=\"Three rows and eight columns. The first row is labeled,\">\n<tbody>\n<tr>\n<td><em><strong>x<\/strong><\/em><\/td>\n<td>\u20133<\/td>\n<td>\u20132<\/td>\n<td>\u20131<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]{2}^{x}=y[\/latex]<\/strong><\/td>\n<td>[latex]\\frac{1}{8}[\/latex]<\/td>\n<td>[latex]\\frac{1}{4}[\/latex]<\/td>\n<td>[latex]\\frac{1}{2}[\/latex]<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>4<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]{\\mathrm{log}}_{2}\\left(y\\right)=x[\/latex]<\/strong><\/td>\n<td>\u20133<\/td>\n<td>\u20132<\/td>\n<td>\u20131<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"fs-id1165135509175\">Using the inputs and outputs from the table above, we can build another table to observe the relationship between points on the graphs of the inverse functions [latex]f\\left(x\\right)={2}^{x}[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/p>\n<table id=\"Table_04_04_02\" summary=\"Two rows and eight columns. The first row is labeled,\">\n<tbody>\n<tr>\n<td><strong>[latex]f\\left(x\\right)={2}^{x}[\/latex]<\/strong><\/td>\n<td>[latex]\\left(-3,\\frac{1}{8}\\right)[\/latex]<\/td>\n<td>[latex]\\left(-2,\\frac{1}{4}\\right)[\/latex]<\/td>\n<td>[latex]\\left(-1,\\frac{1}{2}\\right)[\/latex]<\/td>\n<td>[latex]\\left(0,1\\right)[\/latex]<\/td>\n<td>[latex]\\left(1,2\\right)[\/latex]<\/td>\n<td>[latex]\\left(2,4\\right)[\/latex]<\/td>\n<td>[latex]\\left(3,8\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex]<\/strong><\/td>\n<td>[latex]\\left(\\frac{1}{8},-3\\right)[\/latex]<\/td>\n<td>[latex]\\left(\\frac{1}{4},-2\\right)[\/latex]<\/td>\n<td>[latex]\\left(\\frac{1}{2},-1\\right)[\/latex]<\/td>\n<td>[latex]\\left(1,0\\right)[\/latex]<\/td>\n<td>[latex]\\left(2,1\\right)[\/latex]<\/td>\n<td>[latex]\\left(4,2\\right)[\/latex]<\/td>\n<td>[latex]\\left(8,3\\right)[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"fs-id1165137761335\">As we\u2019d expect, the <em data-effect=\"italics\">x<\/em>&#8211; and <em data-effect=\"italics\">y<\/em>-coordinates are reversed for the inverse functions. The figure below\u00a0shows the graph of <em>f<\/em>\u00a0and <em>g<\/em>.<\/p>\n<figure class=\"small\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010821\/CNX_Precalc_Figure_04_04_0022.jpg\" alt=\"Graph of two functions, f(x)=2^x and g(x)=log_2(x), with the line y=x denoting the axis of symmetry.\" data-media-type=\"image\/jpg\" \/><\/figure>\n<p style=\"text-align: center;\"><strong>Figure 2.\u00a0<\/strong>Notice that the graphs of [latex]f\\left(x\\right)={2}^{x}[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex] are reflections about the line <em>y\u00a0<\/em>= <em>x<\/em>.<\/p>\n<p id=\"fs-id1165137406913\">Observe the following from the graph:<\/p>\n<ul id=\"fs-id1165137408405\">\n<li>[latex]f\\left(x\\right)={2}^{x}[\/latex] has a <em data-effect=\"italics\">y<\/em>-intercept at [latex]\\left(0,1\\right)[\/latex] and [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex] has an <em data-effect=\"italics\">x<\/em>-intercept at [latex]\\left(1,0\\right)[\/latex].<\/li>\n<li>The domain of [latex]f\\left(x\\right)={2}^{x}[\/latex], [latex]\\left(-\\infty ,\\infty \\right)[\/latex], is the same as the range of [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/li>\n<li>The range of [latex]f\\left(x\\right)={2}^{x}[\/latex], [latex]\\left(0,\\infty \\right)[\/latex], is the same as the domain of [latex]g\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)[\/latex].<\/li>\n<\/ul>\n<p>The video shows graphing logarithmic and exponential functions side by side.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Ex:  Graph an Exponential Function and Logarithmic Function\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/w1A2ZYmfGco?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div id=\"fs-id1165137780760\" class=\"note textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"A General Note\">\n<h3 class=\"title\" data-type=\"title\">A General Note: Characteristics of the Graph of the Parent Function, <em data-effect=\"italics\">f<\/em>(<em data-effect=\"italics\">x<\/em>) = log<sub><em data-effect=\"italics\">b<\/em><\/sub>(<em data-effect=\"italics\">x<\/em>)<\/h3>\n<p id=\"fs-id1165135520250\">For any real number <em>x<\/em>\u00a0and constant <em>b\u00a0<\/em>&gt; 0, [latex]b\\ne 1[\/latex], we can see the following characteristics in the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]:<\/p>\n<ul id=\"fs-id1165137400150\">\n<li>one-to-one function<\/li>\n<li>vertical asymptote: <em>x\u00a0<\/em>= 0<\/li>\n<li>domain: [latex]\\left(0,\\infty \\right)[\/latex]<\/li>\n<li>range: [latex]\\left(-\\infty ,\\infty \\right)[\/latex]<\/li>\n<li><em data-effect=\"italics\">x-<\/em>intercept: [latex]\\left(1,0\\right)[\/latex] and key point [latex]\\left(b,1\\right)[\/latex]<\/li>\n<li><em data-effect=\"italics\">y<\/em>-intercept: none<\/li>\n<li>increasing if [latex]b>1[\/latex]<\/li>\n<li>decreasing if 0 &lt; <em>b\u00a0<\/em>&lt; 1<\/li>\n<\/ul>\n<figure id=\"CNX_Precalc_Figure_04_04_003\">\n<div style=\"width: 834px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010821\/CNX_Precalc_Figure_04_04_003G2.jpg\" alt=\"Two graphs of the function f(x)=log_b(x) with points (1,0) and (b, 1). The first graph shows the line when b&gt;1, and the second graph shows the line when 0&lt;b&lt;1.\" width=\"824\" height=\"367\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 3<\/b><\/p>\n<\/div>\n<\/figure>\n<p>Figure 3\u00a0shows how changing the base <em>b<\/em>\u00a0in [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] can affect the graphs. Observe that the graphs compress vertically as the value of the base increases. (<em data-effect=\"italics\">Note:<\/em> recall that the function [latex]\\mathrm{ln}\\left(x\\right)[\/latex] has base [latex]e\\approx \\text{2}.\\text{718.)}[\/latex]<\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010822\/CNX_Precalc_Figure_04_04_0042.jpg\" alt=\"Graph of three equations: y=log_2(x) in blue, y=ln(x) in orange, and y=log(x) in red. The y-axis is the asymptote.\" width=\"487\" height=\"363\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><strong>Figure 4.\u00a0<\/strong>The graphs of three logarithmic functions with different bases, all greater than 1.<\/p>\n<\/div>\n<\/div>\n<div id=\"fs-id1165137871937\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137805513\">How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], graph the function.<\/h3>\n<ol id=\"fs-id1165135435529\" data-number-style=\"arabic\">\n<li>Draw and label the vertical asymptote, <em>x<\/em> = 0.<\/li>\n<li>Plot the <em data-effect=\"italics\">x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/li>\n<li>Plot the key point [latex]\\left(b,1\\right)[\/latex].<\/li>\n<li>Draw a smooth curve through the points.<\/li>\n<li>State the domain, [latex]\\left(0,\\infty \\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote, <em>x<\/em> = 0.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_04_04_03\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137550508\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137550510\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 3: Graphing a Logarithmic Function with the Form\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex].<\/h3>\n<p id=\"fs-id1165137431970\">Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<\/div>\n<div id=\"fs-id1165137501967\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137501970\">Before graphing, identify the behavior and key points for the graph.<\/p>\n<ul id=\"fs-id1165135497154\">\n<li>Since <em>b\u00a0<\/em>= 5 is greater than one, we know the function is increasing. The left tail of the graph will approach the vertical asymptote <em>x\u00a0<\/em>= 0, and the right tail will increase slowly without bound.<\/li>\n<li>The <em data-effect=\"italics\">x<\/em>-intercept is [latex]\\left(1,0\\right)[\/latex].<\/li>\n<li>The key point [latex]\\left(5,1\\right)[\/latex] is on the graph.<\/li>\n<li>We draw and label the asymptote, plot and label the points, and draw a smooth curve through the points.<\/li>\n<\/ul>\n<figure id=\"CNX_Precalc_Figure_04_04_005\" class=\"small\"><span id=\"fs-id1165135508394\" data-type=\"media\" data-alt=\"Graph of f(x)=log_5(x) with labeled points at (1, 0) and (5, 1). The y-axis is the asymptote.\"> <img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010822\/CNX_Precalc_Figure_04_04_0052.jpg\" alt=\"Graph of f(x)=log_5(x) with labeled points at (1, 0) and (5, 1). The y-axis is the asymptote.\" data-media-type=\"image\/jpg\" \/><\/span><\/figure>\n<p id=\"fs-id1165135697920\" style=\"text-align: center;\"><strong>Figure 5.\u00a0<\/strong>The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x<\/em> = 0.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 3<\/h3>\n<p id=\"fs-id1165135171582\">Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{\\frac{1}{5}}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<p><a href=\"https:\/\/courses.lumenlearning.com\/precalcone\/chapter\/solutions-20\/\" target=\"_blank\" rel=\"noopener\">Solution<\/a><\/p>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-11193\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":276,"menu_order":15,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-11193","chapter","type-chapter","status-publish","hentry"],"part":11277,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/11193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":12,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/11193\/revisions"}],"predecessor-version":[{"id":16396,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/11193\/revisions\/16396"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/parts\/11277"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapters\/11193\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/media?parent=11193"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/pressbooks\/v2\/chapter-type?post=11193"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/contributor?post=11193"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ccbcmd-math-1\/wp-json\/wp\/v2\/license?post=11193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}