{"id":2041,"date":"2016-11-02T23:39:09","date_gmt":"2016-11-02T23:39:09","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/waymakercollegealgebra\/?post_type=chapter&#038;p=2041"},"modified":"2019-02-18T02:29:24","modified_gmt":"2019-02-18T02:29:24","slug":"introduction-graphs-of-logarithmic-functions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/chapter\/introduction-graphs-of-logarithmic-functions\/","title":{"raw":"6.2 (Part 2) Graphs of Logarithmic Functions","rendered":"6.2 (Part 2) Graphs of Logarithmic Functions"},"content":{"raw":"In Graphs of Exponential Functions, we saw how creating a graphical representation of an exponential model gives us another layer of insight for predicting future events. How do logarithmic graphs give us insight into situations? Because every logarithmic function is the inverse function of an exponential function, we can think of every output on a logarithmic graph as the input for the corresponding inverse exponential equation. In other words, logarithms give the <em>cause<\/em> for an <em>effect<\/em>.\r\n\r\nTo illustrate, suppose we invest $2500 in an account that offers an annual interest rate of 5%, compounded continuously. We already know that the balance in our account for any year <em>t<\/em>\u00a0can be found with the equation [latex]A=2500{e}^{0.05t}[\/latex].\r\n\r\nBut what if we wanted to know the year for any balance? We would need to create a corresponding new function by interchanging the input and the output; thus we would need to create a logarithmic model for this situation. By graphing the model, we can see the output (year) for any input (account balance). For instance, what if we wanted to know how many years it would take for our initial investment to double? The graph below shows this point on the logarithmic graph.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233815\/CNX_Precalc_Figure_04_04_0012.jpg\" alt=\"A graph titled,\" width=\"900\" height=\"459\" \/>\r\n\r\nIn this section we will discuss the values for which a logarithmic function is defined, and then turn our attention to graphing the family of logarithmic functions.\r\n<h2>Characteristics of Graphs of Logarithmic Functions<\/h2>\r\nBefore working with graphs, we will take a look at the domain (the set of input values) for which the logarithmic function is defined.\r\n\r\nRecall that the exponential function is defined as [latex]y={b}^{x}[\/latex] for any real number <em>x<\/em>\u00a0and constant [latex]b&gt;0[\/latex], [latex]b\\ne 1[\/latex], where\r\n<ul>\r\n \t<li>The domain of <em>y<\/em>\u00a0is [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\r\n \t<li>The range of <em>y<\/em>\u00a0is [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\r\n<\/ul>\r\nIn the last section we learned that the logarithmic function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the inverse of the exponential function [latex]y={b}^{x}[\/latex]. So, as inverse functions:\r\n<ul>\r\n \t<li>The domain of [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the range of [latex]y={b}^{x}[\/latex]:[latex]\\left(0,\\infty \\right)[\/latex].<\/li>\r\n \t<li>The range of [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the domain of [latex]y={b}^{x}[\/latex]: [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\r\n<\/ul>\r\nTransformations of the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] behave similarly to those of other functions. Just as with other parent functions, we can apply the four types of transformations\u2014shifts, stretches, compressions, and reflections\u2014to the parent function without loss of shape.\r\n\r\nIn Graphs of Exponential Functions we saw that certain transformations can change the <em>range<\/em> of [latex]y={b}^{x}[\/latex]. Similarly, applying transformations to the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] can change the <em>domain<\/em>. When finding the domain of a logarithmic function, therefore, it is important to remember that the domain consists <em>only of positive real numbers<\/em>. That is, the argument of the logarithmic function must be greater than zero.\r\n\r\nFor example, consider [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(2x - 3\\right)[\/latex]. This function is defined for any values of <em>x<\/em>\u00a0such that the argument, in this case [latex]2x - 3[\/latex], is greater than zero. To find the domain, we set up an inequality and solve for\u00a0<em>x<\/em>:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}2x - 3&gt;0\\hfill &amp; \\text{Show the argument greater than zero}.\\hfill \\\\ 2x&gt;3\\hfill &amp; \\text{Add 3}.\\hfill \\\\ x&gt;1.5\\hfill &amp; \\text{Divide by 2}.\\hfill \\end{array}[\/latex]<\/p>\r\nIn interval notation, the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(2x - 3\\right)[\/latex] is [latex]\\left(1.5,\\infty \\right)[\/latex].\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic function, identify the domain.<strong>\r\n<\/strong><\/h3>\r\n<ol>\r\n \t<li>Set up an inequality showing the argument greater than zero.<\/li>\r\n \t<li>Solve for <em>x<\/em>.<\/li>\r\n \t<li>Write the domain in interval notation.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Identifying the Domain of a Logarithmic Shift<\/h3>\r\nWhat is the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x+3\\right)[\/latex]?\r\n\r\n[reveal-answer q=\"786555\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"786555\"]\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}x+3&gt;0\\hfill &amp; \\text{The input must be positive}.\\hfill \\\\ x&gt;-3\\hfill &amp; \\text{Subtract 3}.\\hfill \\end{array}[\/latex]<\/p>\r\n&nbsp;\r\n\r\nThe logarithmic function is defined only when the input is positive, so this function is defined when [latex]x+3&gt;0[\/latex].\r\n\r\nThe domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x+3\\right)[\/latex] is [latex]\\left(-3,\\infty \\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nWhat is the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x - 2\\right)+1[\/latex]?\r\n\r\n[reveal-answer q=\"613113\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"613113\"][latex]\\left(2,\\infty \\right)[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Identifying the Domain of a Logarithmic Shift and Reflection<\/h3>\r\nWhat is the domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(5 - 2x\\right)[\/latex]?\r\n\r\n[reveal-answer q=\"152912\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"152912\"]\r\n\r\nThe logarithmic function is defined only when the input is positive, so this function is defined when [latex]5 - 2x&gt;0[\/latex]. Solving this inequality,\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}5 - 2x&gt;0\\hfill &amp; \\text{The input must be positive}.\\hfill \\\\ -2x&gt;-5\\hfill &amp; \\text{Subtract }5.\\hfill \\\\ x&lt;\\frac{5}{2}\\hfill &amp; \\text{Divide by }-2\\text{ and switch the inequality}.\\hfill \\end{array}[\/latex]<\/p>\r\nThe domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(5 - 2x\\right)[\/latex] is [latex]\\left(-\\infty ,\\frac{5}{2}\\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nWhat is the domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(x - 5\\right)+2[\/latex]?\r\n\r\n[reveal-answer q=\"983551\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"983551\"][latex]\\left(5,\\infty \\right)[\/latex][\/hidden-answer]\r\n<iframe id=\"mom11\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=14399&amp;theme=oea&amp;iframe_resize_id=mom11\" width=\"100%\" height=\"250\">\r\n<\/iframe>\r\n\r\n<\/div>\r\n<h2>Graph a logarithmic function using a table of values<\/h2>\r\nNow 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.\r\n\r\nWe 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.\r\n<table 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\nUsing 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].\r\n<table 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\nAs we\u2019d expect, the <em>x<\/em>- and <em>y<\/em>-coordinates are reversed for the inverse functions. The figure below\u00a0shows the graph of <em>f<\/em>\u00a0and <em>g<\/em>.\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\/896\/2016\/11\/02233818\/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.\" width=\"487\" height=\"438\" \/> 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 y\u00a0= x.[\/caption]Observe the following from the graph:\r\n<ul>\r\n \t<li>[latex]f\\left(x\\right)={2}^{x}[\/latex] has a <em>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>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\n<div class=\"textbox\">\r\n<h3>A General Note: Characteristics of the Graph of the Parent Function, <em>f<\/em>(<em>x<\/em>) = log<sub><em>b<\/em><\/sub>(<em>x<\/em>)<\/h3>\r\nFor 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]:\r\n<ul>\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>x-<\/em>intercept: [latex]\\left(1,0\\right)[\/latex] and key point [latex]\\left(b,1\\right)[\/latex]<\/li>\r\n \t<li><em>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\nThe graphs below show 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>Note:<\/em> recall that the function [latex]\\mathrm{ln}\\left(x\\right)[\/latex] has base [latex]e\\approx 2.718 [\/latex]\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\/896\/2016\/11\/02233822\/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\" \/> The graphs of three logarithmic functions with different bases, all greater than 1.[\/caption]\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>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>\r\n \t<li>Draw and label the vertical asymptote, <em>x<\/em> = 0.<\/li>\r\n \t<li>Plot the <em>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 class=\"textbox exercises\">\r\n<h3>Example: Graphing a Logarithmic Function with the Form\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex].<\/h3>\r\nGraph [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"909934\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"909934\"]Before graphing, identify the behavior and key points for the graph.\r\n<ul>\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>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[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233824\/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.\" width=\"487\" height=\"367\" \/> The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x = 0.[\/caption][\/hidden-answer]<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nGraph [latex]f\\left(x\\right)={\\mathrm{log}}_{\\frac{1}{5}}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"150661\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"150661\"]\r\n\r\nThe domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 0.<span id=\"fs-id1165134377926\">\r\n<\/span>\r\n\r\n<img class=\"aligncenter size-full wp-image-3102\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16222857\/CNX_Precalc_Figure_04_04_0062.jpg\" alt=\"Graph of f(x)=log_(1\/5)(x) with labeled points at (1\/5, 1) and (1, 0). The y-axis is the asymptote.\" width=\"487\" height=\"367\" \/>\r\n\r\n[\/hidden-answer]\r\n<iframe id=\"mom10\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=34999&amp;theme=oea&amp;iframe_resize_id=mom10\" width=\"100%\" height=\"250\">\r\n<\/iframe>\r\n<iframe id=\"mom15\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=35000&amp;theme=oea&amp;iframe_resize_id=mom15\" width=\"100%\" height=\"250\">\r\n<\/iframe>\r\n\r\n<\/div>\r\n&nbsp;\r\n<h2>Horizontal and Vertical Shifts of Logarithmic Functions<\/h2>\r\nAs we mentioned in the beginning of the section, transformations of logarithmic graphs behave similarly to those of other parent functions. We can shift, stretch, compress, and reflect the <strong>parent function<\/strong> [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] without loss of shape.\r\n<h3>Graphing a Horizontal Shift of\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nWhen a constant <em>c<\/em>\u00a0is added to the input of the parent function [latex]f\\left(x\\right)=\\text{log}_{b}\\left(x\\right)[\/latex], the result is a <strong>horizontal shift<\/strong> <em>c<\/em>\u00a0units in the <em>opposite<\/em> direction of the sign on <em>c<\/em>. To visualize horizontal shifts, we can observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] and for\u00a0<em>c\u00a0<\/em>&gt; 0 alongside the shift left, [latex]g\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex], and the shift right, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(x-c\\right)[\/latex].\r\n\r\n\r\n<div class=\"textbox\">\r\n<h3>A General Note: Horizontal Shifts of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nFor any constant <em>c<\/em>, the function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex]\r\n<ul>\r\n \t<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] left <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&gt; 0.<\/li>\r\n \t<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] right <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&lt; 0.<\/li>\r\n \t<li>has the vertical asymptote <em>x\u00a0<\/em>= \u2013<em>c<\/em>.<\/li>\r\n \t<li>has domain [latex]\\left(-c,\\infty \\right)[\/latex].<\/li>\r\n \t<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\r\n<\/ul>\r\nThe graphs below summarize the changes in the x-intercepts, vertical asymptotes, and equations\u00a0of a logarithmic function that has been shifted either right or left.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233827\/CNX_Precalc_Figure_04_04_007n2.jpg\" alt=\"Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x+c) is the translation function with an asymptote at x=-c. This shows the translation of shifting left.\" width=\"900\" height=\"526\" \/>\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex], graph the translation.<\/h3>\r\n<ol>\r\n \t<li>Identify the horizontal shift:\r\n<ol>\r\n \t<li>If <em>c<\/em> &gt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] left <em>c<\/em>\u00a0units.<\/li>\r\n \t<li>If <em>c\u00a0<\/em>&lt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] right <em>c<\/em>\u00a0units.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Draw the vertical asymptote <em>x\u00a0<\/em>= \u2013<em>c<\/em>.<\/li>\r\n \t<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by subtracting <em>c<\/em>\u00a0from the\u00a0<em>x<\/em>\u00a0coordinate.<\/li>\r\n \t<li>Label the three points.<\/li>\r\n \t<li>The Domain is [latex]\\left(-c,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= \u2013c.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example:\u00a0Graphing a Horizontal Shift of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nSketch the horizontal shift [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x - 2\\right)[\/latex] alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"368750\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"368750\"]\r\n\r\nSince the function is [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x - 2\\right)[\/latex], we notice [latex]x+\\left(-2\\right)=x - 2[\/latex].\r\n\r\nThus <em>c\u00a0<\/em>= \u20132, so <em>c\u00a0<\/em>&lt; 0. This means we will shift the function [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)[\/latex] right 2 units.\r\n\r\nThe vertical asymptote is [latex]x=-\\left(-2\\right)[\/latex] or <em>x\u00a0<\/em>= 2.\r\n\r\nConsider the three key points from the parent function, [latex]\\left(\\frac{1}{3},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(3,1\\right)[\/latex].\r\n\r\nThe new coordinates are found by adding 2 to the <em>x<\/em>\u00a0coordinates.\r\n\r\nLabel the points [latex]\\left(\\frac{7}{3},-1\\right)[\/latex], [latex]\\left(3,0\\right)[\/latex], and [latex]\\left(5,1\\right)[\/latex].\r\n\r\nThe domain is [latex]\\left(2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 2.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233829\/CNX_Precalc_Figure_04_04_0082.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1\/3, -1), (1, 0), and (3, 1).The translation function f(x)=log_3(x-2) has an asymptote at x=2 and labeled points at (3, 0) and (5, 1).\" width=\"487\" height=\"363\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x+4\\right)[\/latex] alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"779370\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"779370\"]\r\n\r\nThe domain is [latex]\\left(-4,\\infty \\right)[\/latex], the range [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the asymptote <em>x\u00a0<\/em>= \u20134.<span id=\"fs-id1165135209395\">\r\n<\/span>\r\n\r\n<img class=\"aligncenter size-full wp-image-3106\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16230941\/CNX_Precalc_Figure_04_04_0092.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1, 0), and (3, 1).The translation function f(x)=log_3(x+4) has an asymptote at x=-4 and labeled points at (-3, 0) and (-1, 1).\" width=\"487\" height=\"363\" \/>\r\n\r\n[\/hidden-answer]\r\n<iframe id=\"mom11\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=74340&amp;theme=oea&amp;iframe_resize_id=mom11\" width=\"100%\" height=\"250\">\r\n<\/iframe>\r\n\r\n<\/div>\r\n<h3>Graphing a Vertical Shift of\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nWhen a constant <em>d<\/em>\u00a0is added to the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], the result is a <strong>vertical shift<\/strong> <em>d<\/em>\u00a0units in the direction of the sign on <em>d<\/em>. To visualize vertical shifts, we can observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the shift up, [latex]g\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex] and the shift down, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)-d[\/latex].\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233831\/CNX_Precalc_Figure_04_04_010F2.jpg\" alt=\"Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x)+d is the translation function with an asymptote at x=0. This shows the translation of shifting up. Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x)-d is the translation function with an asymptote at x=0. This shows the translation of shifting down.\" width=\"900\" height=\"684\" \/>\r\n<div class=\"textbox\">\r\n<h3>A General Note: Vertical Shifts of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nFor any constant <em>d<\/em>, the function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex]\r\n<ul>\r\n \t<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] up <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&gt; 0.<\/li>\r\n \t<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] down <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&lt; 0.<\/li>\r\n \t<li>has the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\r\n \t<li>has domain [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\r\n \t<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\r\n<\/ul>\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex], graph the translation.<\/h3>\r\n<ol>\r\n \t<li>Identify the vertical shift:\r\n<ol>\r\n \t<li>If <em>d\u00a0<\/em>&gt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] up <em>d<\/em>\u00a0units.<\/li>\r\n \t<li>If <em>d\u00a0<\/em>&lt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] down <em>d\u00a0<\/em>units.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Draw the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\r\n \t<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by adding <em>d<\/em>\u00a0to the <em>y\u00a0<\/em>coordinate.<\/li>\r\n \t<li>Label the three points.<\/li>\r\n \t<li>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\u00a0<\/em>= 0.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Graphing a Vertical Shift of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)-2[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"43912\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"43912\"]\r\n\r\nSince the function is [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)-2[\/latex], we will notice <em>d\u00a0<\/em>= \u20132. Thus <em>d\u00a0<\/em>&lt; 0.\r\n\r\nThis means we will shift the function [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)[\/latex] down 2 units.\r\n\r\nThe vertical asymptote is <em>x\u00a0<\/em>= 0.\r\n\r\nConsider the three key points from the parent function, [latex]\\left(\\frac{1}{3},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(3,1\\right)[\/latex].\r\n\r\nThe new coordinates are found by subtracting 2 from the <em>y <\/em>coordinates.\r\n\r\nLabel the points [latex]\\left(\\frac{1}{3},-3\\right)[\/latex], [latex]\\left(1,-2\\right)[\/latex], and [latex]\\left(3,-1\\right)[\/latex].\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\/896\/2016\/11\/02233834\/CNX_Precalc_Figure_04_04_0112.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1\/3, -1), (1, 0), and (3, 1).The translation function f(x)=log_3(x)-2 has an asymptote at x=0 and labeled points at (1, 0) and (3, 1).\" width=\"487\" height=\"516\" \/> The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x = 0.[\/caption][\/hidden-answer]<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)+2[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"338440\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"338440\"]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\u00a0<\/em>= 0.<span id=\"fs-id1165137874471\">\r\n<\/span>\r\n\r\n<img class=\"aligncenter size-full wp-image-3109\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16231838\/CNX_Precalc_Figure_04_04_0122.jpg\" alt=\"Graph of two functions. The parent function is y=log_2(x), with an asymptote at x=0 and labeled points at (1, 0), and (2, 1).The translation function f(x)=log_2(x)+2 has an asymptote at x=0 and labeled points at (0.25, 0) and (0.5, 1).\" width=\"487\" height=\"474\" \/>\r\n\r\n[\/hidden-answer]\r\n<iframe id=\"mom12\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=74341&amp;theme=oea&amp;iframe_resize_id=mom12\" width=\"100%\" height=\"300\">\r\n<\/iframe>\r\n\r\n<\/div>\r\n<h2>Stretch, Compress, or Reflect a Logarithmic Function<\/h2>\r\n<h2>Graphing Stretches and Compressions of\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h2>\r\nWhen the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by a constant <em>a<\/em> &gt; 0, the result is a <strong>vertical stretch<\/strong> or <strong>compression<\/strong> of the original graph. To visualize stretches and compressions, we set <em>a\u00a0<\/em>&gt; 1 and observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the vertical stretch, [latex]g\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex] and the vertical compression, [latex]h\\left(x\\right)=\\frac{1}{a}{\\mathrm{log}}_{b}\\left(x\\right)[\/latex].\r\n\r\n<div class=\"textbox\">\r\n<h3>A General Note: Vertical Stretches and Compressions of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nFor any constant <em>a<\/em> &gt; 1, the function [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]\r\n<ul>\r\n \t<li>stretches the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if <em>a\u00a0<\/em>&gt; 1.<\/li>\r\n \t<li>compresses the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if 0 &lt; <em>a\u00a0<\/em>&lt; 1.<\/li>\r\n \t<li>has the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\r\n \t<li>has the <em>x<\/em>-intercept [latex]\\left(1,0\\right)[\/latex].<\/li>\r\n \t<li>has domain [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\r\n \t<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\r\n<\/ul>\r\nThe graphs below summarize the key features of the resulting graphs of vertical stretches and compressions of logarithmic functions.\r\n\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233836\/CNX_Precalc_Figure_04_04_013n2.jpg\" alt=\"&quot;Graph\" \/>\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex], [latex]a&gt;0[\/latex], graph the translation.<\/h3>\r\n<ol>\r\n \t<li>Identify the vertical stretch or compressions:\r\n<ol>\r\n \t<li>If [latex]|a|&gt;1[\/latex], the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is stretched by a factor of <em>a<\/em>\u00a0units.<\/li>\r\n \t<li>If [latex]|a|&lt;1[\/latex], the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is compressed by a factor of <em>a<\/em>\u00a0units.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Draw the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\r\n \t<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by multiplying the <em>y<\/em>\u00a0coordinates by <em>a<\/em>.<\/li>\r\n \t<li>Label the three points.<\/li>\r\n \t<li>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.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Graphing a Stretch or Compression of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)=2{\\mathrm{log}}_{4}\\left(x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"595868\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"595868\"]\r\n\r\nSince the function is [latex]f\\left(x\\right)=2{\\mathrm{log}}_{4}\\left(x\\right)[\/latex], we will notice <em>a\u00a0<\/em>= 2.\r\n\r\nThis means we will stretch the function [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(x\\right)[\/latex] by a factor of 2.\r\n\r\nThe vertical asymptote is <em>x\u00a0<\/em>= 0.\r\n\r\nConsider the three key points from the parent function, [latex]\\left(\\frac{1}{4},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(4,1\\right)[\/latex].\r\n\r\nThe new coordinates are found by multiplying the <em>y<\/em>\u00a0coordinates by 2.\r\n\r\nLabel the points [latex]\\left(\\frac{1}{4},-2\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(4,\\text{2}\\right)[\/latex].\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\/896\/2016\/11\/02233838\/CNX_Precalc_Figure_04_04_0142.jpg\" alt=\"Graph of two functions. The parent function is y=log_4(x), with an asymptote at x=0 and labeled points at (1, 0), and (4, 1).The translation function f(x)=2log_4(x) has an asymptote at x=0 and labeled points at (1, 0) and (2, 1).\" width=\"487\" height=\"366\" \/> The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= 0.[\/caption][\/hidden-answer]<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)=\\frac{1}{2}{\\mathrm{log}}_{4}\\left(x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"250125\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"250125\"]\r\n\r\nThe domain is [latex]\\left(0,\\infty \\right)\\\\[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)\\\\[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 0.<span id=\"fs-id1165135332505\">\r\n<\/span>\r\n\r\n<img class=\"aligncenter size-full wp-image-3114\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16233042\/CNX_Precalc_Figure_04_04_0152.jpg\" alt=\"Graph of two functions. The parent function is y=log_4(x), with an asymptote at x=0 and labeled points at (1, 0), and (4, 1).The translation function f(x)=(1\/2)log_4(x) has an asymptote at x=0 and labeled points at (1, 0) and (16, 1).\" width=\"487\" height=\"364\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Combining a Shift and a Stretch<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)=5\\mathrm{log}\\left(x+2\\right)[\/latex]. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"804029\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"804029\"]\r\n\r\nRemember: what happens inside parentheses happens first. First, we move the graph left 2 units, then stretch the function vertically by a factor of 5. The vertical asymptote will be shifted to <em>x\u00a0<\/em>= \u20132. The <em>x<\/em>-intercept will be [latex]\\left(-1,0\\right)[\/latex]. The domain will be [latex]\\left(-2,\\infty \\right)[\/latex]. Two points will help give the shape of the graph: [latex]\\left(-1,0\\right)[\/latex] and [latex]\\left(8,5\\right)[\/latex]. We chose <em>x\u00a0<\/em>= 8 as the <em>x<\/em>-coordinate of one point to graph because when <em>x\u00a0<\/em>= 8, <em>x\u00a0<\/em>+ 2 = 10, the base of the common logarithm.\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\/896\/2016\/11\/02233840\/CNX_Precalc_Figure_04_04_0162.jpg\" alt=\"Graph of three functions. The parent function is y=log(x), with an asymptote at x=0. The first translation function y=5log(x+2) has an asymptote at x=-2. The second translation function y=log(x+2) has an asymptote at x=-2.\" width=\"487\" height=\"441\" \/> The domain is [latex]\\left(-2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= \u20132.[\/caption][\/hidden-answer]<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nSketch a graph of the function [latex]f\\left(x\\right)=3\\mathrm{log}\\left(x - 2\\right)+1[\/latex]. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"404704\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"404704\"]\r\n\r\nThe domain is [latex]\\left(2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 2.\r\n\r\n<img class=\"aligncenter size-full wp-image-3115\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16233717\/CNX_Precalc_Figure_04_04_0172.jpg\" alt=\"Graph of f(x)=3log(x-2)+1 with an asymptote at x=2.\" width=\"487\" height=\"439\" \/>\r\n<div id=\"fs-id1165137437228\" class=\"solution\"><\/div>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Graphing Reflections of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/h2>\r\nWhen the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by \u20131, the result is a <strong>reflection<\/strong> about the <em>x<\/em>-axis. When the <em>input<\/em> is multiplied by \u20131, the result is a reflection about the <em>y<\/em>-axis. To visualize reflections, we restrict <em>b\u00a0<\/em>&gt; 1, and observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the reflection about the <em>x<\/em>-axis, [latex]g\\left(x\\right)={\\mathrm{-log}}_{b}\\left(x\\right)[\/latex] and the reflection about the <em>y<\/em>-axis, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex].\r\n\r\n<div class=\"textbox\">\r\n<h3>A General Note: Reflections of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\r\nThe function [latex]f\\left(x\\right)={\\mathrm{-log}}_{b}\\left(x\\right)[\/latex]\r\n<ul>\r\n \t<li>reflects the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>x<\/em>-axis.<\/li>\r\n \t<li>has domain, [latex]\\left(0,\\infty \\right)[\/latex], range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and vertical asymptote, <em>x\u00a0<\/em>= 0, which are unchanged from the parent function.<\/li>\r\n<\/ul>\r\nThe function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]\r\n<ul>\r\n \t<li>reflects the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>y<\/em>-axis.<\/li>\r\n \t<li>has domain [latex]\\left(-\\infty ,0\\right)[\/latex].<\/li>\r\n \t<li>has range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and vertical asymptote, <em>x\u00a0<\/em>= 0, which are unchanged from the parent function.<\/li>\r\n<\/ul>\r\nThe graphs below summarize the key characteristics of reflecting [latex]f(x) = \\log_{b}{x}[\/latex] horizontally and vertically.\r\n\r\n<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233843\/CNX_Precalc_Figure_04_04_018n2.jpg\" alt=\"&quot;Graph\" \/>\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic function with the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], graph a translation.<\/h3>\r\n<table id=\"Table_04_04_08\" class=\"unnumbered\" summary=\"The first column gives the following instructions of graphing a translation of f(x)=-log_b(x) with the parent function being f(x)=log_b(x): 1. Draw the vertical asymptote, x=0; 2. Plot the x-intercept, (1, 0); 3. Reflect the graph of the parent function f(x)=log_b(x) about the x-axis; 4. Draw a smooth curve through the points; 5. State the domain, (0, infinity), the range, (-infinity, infinity), and the vertical asymptote x=0. The second column gives the following instructions of graphing a translation of f(x)=log_b(-x) with the parent function being f(x)=log_b(x): 1. Draw the vertical asymptote, x=0; 2. Plot the x-intercept, (-1, 0); 3. Reflect the graph of the parent function f(x)=log_b(x) about the y-axis; 4. Draw a smooth curve through the points; 5. State the domain, (-infinity, 0), the range, (-infinity, infinity), and the vertical asymptote x=0.\">\r\n<thead>\r\n<tr>\r\n<th>[latex]\\text{If }f\\left(x\\right)=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/th>\r\n<th>[latex]\\text{If }f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>1. Draw the vertical asymptote, <em>x\u00a0<\/em>= 0.<\/td>\r\n<td>1. Draw the vertical asymptote, <em>x\u00a0<\/em>= 0.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2. Plot the <em>x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/td>\r\n<td>2. Plot the <em>x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3. Reflect the graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>x<\/em>-axis.<\/td>\r\n<td>3. Reflect the graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>y<\/em>-axis.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4. Draw a smooth curve through the points.<\/td>\r\n<td>4. Draw a smooth curve through the points.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5. State the domain, [latex]\\left(0,\\infty \\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote <em>x\u00a0<\/em>= 0.<\/td>\r\n<td>5. State the domain, [latex]\\left(-\\infty ,0\\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote <em>x\u00a0<\/em>= 0.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Graphing a Reflection of a Logarithmic Function<\/h3>\r\nSketch a graph of [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"843271\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"843271\"]\r\n\r\nBefore graphing [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex], identify the behavior and key points for the graph.\r\n<ul>\r\n \t<li>Since <em>b\u00a0<\/em>= 10 is greater than one, we know that the parent function is increasing. Since the <em>input<\/em> value is multiplied by \u20131, <em>f<\/em>\u00a0is a reflection of the parent graph about the <em>y-<\/em>axis. Thus, [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex] will be decreasing as <em>x<\/em>\u00a0moves from negative infinity to zero, and the right tail of the graph will approach the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\r\n \t<li>The <em>x<\/em>-intercept is [latex]\\left(-1,0\\right)[\/latex].<\/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_019\" class=\"small\">[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233845\/CNX_Precalc_Figure_04_04_0192.jpg\" alt=\"Graph of two functions. The parent function is y=log(x), with an asymptote at x=0 and labeled points at (1, 0), and (10, 0).The translation function f(x)=log(-x) has an asymptote at x=0 and labeled points at (-1, 0) and (-10, 1).\" width=\"487\" height=\"363\" \/> The domain is [latex]\\left(-\\infty ,0\\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= 0.[\/caption]<\/figure>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nGraph [latex]f\\left(x\\right)=-\\mathrm{log}\\left(-x\\right)[\/latex]. State the domain, range, and asymptote.\r\n\r\n[reveal-answer q=\"160849\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"160849\"]\r\n\r\nThe domain is [latex]\\left(-\\infty ,0\\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 0.<span id=\"fs-id1165137855148\">\r\n<\/span>\r\n\r\n<img class=\"aligncenter size-full wp-image-3117\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16234244\/CNX_Precalc_Figure_04_04_0202.jpg\" alt=\"Graph of f(x)=-log(-x) with an asymptote at x=0.\" width=\"487\" height=\"288\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>How To: Given a logarithmic equation, use a graphing calculator to approximate solutions.<\/h3>\r\n<ol>\r\n \t<li>Press <strong>[Y=]<\/strong>. Enter the given logarithm equation or equations as <strong>Y<sub>1<\/sub>=<\/strong> and, if needed, <strong>Y<sub>2<\/sub>=<\/strong>.<\/li>\r\n \t<li>Press <strong>[GRAPH]<\/strong> to observe the graphs of the curves and use <strong>[WINDOW]<\/strong> to find an appropriate view of the graphs, including their point(s) of intersection.<\/li>\r\n \t<li>To find the value of <em>x<\/em>, we compute the point of intersection. Press <strong>[2ND] <\/strong>then <strong>[CALC]<\/strong>. Select \"intersect\" and press <strong>[ENTER]<\/strong> three times. The point of intersection gives the value of <em>x<\/em>, for the point(s) of intersection.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Approximating the Solution of a Logarithmic Equation<\/h3>\r\nSolve [latex]4\\mathrm{ln}\\left(x\\right)+1=-2\\mathrm{ln}\\left(x - 1\\right)[\/latex] graphically. Round to the nearest thousandth.\r\n\r\n[reveal-answer q=\"435068\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"435068\"]\r\n\r\nPress <strong>[Y=]<\/strong> and enter [latex]4\\mathrm{ln}\\left(x\\right)+1[\/latex] next to <strong>Y<sub>1<\/sub><\/strong>=. Then enter [latex]-2\\mathrm{ln}\\left(x - 1\\right)[\/latex] next to <strong>Y<sub>2<\/sub>=<\/strong>. For a window, use the values 0 to 5 for <em>x<\/em>\u00a0and \u201310 to 10 for <em>y<\/em>. Press <strong>[GRAPH]<\/strong>. The graphs should intersect somewhere a little to right of <em>x\u00a0<\/em>= 1.\r\n\r\nFor a better approximation, press <strong>[2ND] <\/strong>then <strong>[CALC]<\/strong>. Select <strong>[5: intersect]<\/strong> and press <strong>[ENTER]<\/strong> three times. The <em>x<\/em>-coordinate of the point of intersection is displayed as 1.3385297. (Your answer may be different if you use a different window or use a different value for <strong>Guess?<\/strong>) So, to the nearest thousandth, [latex]x\\approx 1.339[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nSolve [latex]5\\mathrm{log}\\left(x+2\\right)=4-\\mathrm{log}\\left(x\\right)[\/latex] graphically. Round to the nearest thousandth.\r\n\r\n[reveal-answer q=\"280798\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"280798\"][latex]x\\approx 3.049[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Summarizing Translations of the Logarithmic Function<\/h2>\r\nNow that we have worked with each type of translation for the logarithmic function, we can summarize each in the table below\u00a0to arrive at the general equation for translating exponential functions.\r\n<table id=\"Table_04_04_009\" summary=\"Titled,\">\r\n<thead>\r\n<tr>\r\n<th colspan=\"2\">Translations of the Parent Function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/th>\r\n<\/tr>\r\n<tr>\r\n<th>Translation<\/th>\r\n<th>Form<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Shift\r\n<ul>\r\n \t<li>Horizontally <em>c<\/em>\u00a0units to the left<\/li>\r\n \t<li>Vertically <em>d<\/em>\u00a0units up<\/li>\r\n<\/ul>\r\n<\/td>\r\n<td>[latex]y={\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Stretch and Compress\r\n<ul>\r\n \t<li>Stretch if [latex]|a|&gt;1[\/latex]<\/li>\r\n \t<li>Compression if [latex]|a|&lt;1[\/latex]<\/li>\r\n<\/ul>\r\n<\/td>\r\n<td>[latex]y=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Reflect about the <em>x<\/em>-axis<\/td>\r\n<td>[latex]y=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Reflect about the <em>y<\/em>-axis<\/td>\r\n<td>[latex]y={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>General equation for all translations<\/td>\r\n<td>[latex]y=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"textbox\">\r\n<h3>A General Note: Translations of Logarithmic Functions<\/h3>\r\nAll translations of the parent logarithmic function, [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], have the form\r\n\r\n[latex] f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]\r\n\r\nwhere the parent function, [latex]y={\\mathrm{log}}_{b}\\left(x\\right),b&gt;1[\/latex], is\r\n<ul>\r\n \t<li>shifted vertically up <em>d<\/em>\u00a0units.<\/li>\r\n \t<li>shifted horizontally to the left <em>c<\/em>\u00a0units.<\/li>\r\n \t<li>stretched vertically by a factor of |<em>a<\/em>| if |<em>a<\/em>| &gt; 0.<\/li>\r\n \t<li>compressed vertically by a factor of |<em>a<\/em>| if 0 &lt; |<em>a<\/em>| &lt; 1.<\/li>\r\n \t<li>reflected about the <em>x-<\/em>axis when <em>a\u00a0<\/em>&lt; 0.<\/li>\r\n<\/ul>\r\nFor [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex], the graph of the parent function is reflected about the <em>y<\/em>-axis.\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Finding the Vertical Asymptote of a Logarithm Graph<\/h3>\r\nWhat is the vertical asymptote of [latex]f\\left(x\\right)=-2{\\mathrm{log}}_{3}\\left(x+4\\right)+5[\/latex]?\r\n\r\n[reveal-answer q=\"714716\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"714716\"]\r\n\r\nThe vertical asymptote is at <em>x\u00a0<\/em>= \u20134.\r\n<h4>Analysis of the Solution<\/h4>\r\nThe coefficient, the base, and the upward translation do not affect the asymptote. The shift of the curve 4 units to the left shifts the vertical asymptote to <em>x\u00a0<\/em>= \u20134.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nWhat is the vertical asymptote of [latex]f\\left(x\\right)=3+\\mathrm{ln}\\left(x - 1\\right)[\/latex]?\r\n\r\n[reveal-answer q=\"502004\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"502004\"][latex]x=1[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Finding the Equation from a Graph<\/h3>\r\nFind a possible equation for the common logarithmic function graphed below.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233847\/CNX_Precalc_Figure_04_04_021.jpg\" alt=\"Graph of a logarithmic function with a vertical asymptote at x=-2, has been vertically reflected, and passes through the points (-1, 1) and (2, -1).\" width=\"487\" height=\"367\" \/>\r\n\r\n[reveal-answer q=\"671912\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"671912\"]\r\n\r\nThis graph has a vertical asymptote at <em>x\u00a0<\/em>= \u20132 and has been vertically reflected. We do not know yet the vertical shift or the vertical stretch. We know so far that the equation will have form:\r\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=-a\\mathrm{log}\\left(x+2\\right)+k[\/latex]<\/p>\r\nIt appears the graph passes through the points [latex]\\left(-1,1\\right)[\/latex] and [latex]\\left(2,-1\\right)[\/latex]. Substituting [latex]\\left(-1,1\\right)[\/latex],\r\n<p style=\"text-align: center;\">[latex]\\begin{cases}1=-a\\mathrm{log}\\left(-1+2\\right)+k\\hfill &amp; \\text{Substitute }\\left(-1,1\\right).\\hfill \\\\ 1=-a\\mathrm{log}\\left(1\\right)+k\\hfill &amp; \\text{Arithmetic}.\\hfill \\\\ 1=k\\hfill &amp; \\text{log(1)}=0.\\hfill \\end{cases}[\/latex]<\/p>\r\nNext, substituting in [latex]\\left(2,-1\\right)[\/latex],\r\n<p style=\"text-align: center;\">[latex]\\begin{cases}-1=-a\\mathrm{log}\\left(2+2\\right)+1\\hfill &amp; \\hfill &amp; \\text{Plug in }\\left(2,-1\\right).\\hfill \\\\ -2=-a\\mathrm{log}\\left(4\\right)\\hfill &amp; \\hfill &amp; \\text{Arithmetic}.\\hfill \\\\ \\text{ }a=\\frac{2}{\\mathrm{log}\\left(4\\right)}\\hfill &amp; \\hfill &amp; \\text{Solve for }a.\\hfill \\end{cases}[\/latex]<\/p>\r\nThis gives us the equation [latex]f\\left(x\\right)=-\\frac{2}{\\mathrm{log}\\left(4\\right)}\\mathrm{log}\\left(x+2\\right)+1[\/latex].\r\n<h4>Analysis of the Solution<\/h4>\r\nWe can verify this answer by comparing the function values in the table below\u00a0with the points on the graph in this example.\r\n<table id=\"Table_04_04_010\" summary=\"..\"><colgroup> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td><em><strong>x<\/strong><\/em><\/td>\r\n<td>\u22121<\/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><em><strong>f<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\r\n<td>1<\/td>\r\n<td>0<\/td>\r\n<td>\u22120.58496<\/td>\r\n<td>\u22121<\/td>\r\n<td>\u22121.3219<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em><strong>x<\/strong><\/em><\/td>\r\n<td>4<\/td>\r\n<td>5<\/td>\r\n<td>6<\/td>\r\n<td>7<\/td>\r\n<td>8<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><em><strong>f<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\r\n<td>\u22121.5850<\/td>\r\n<td>\u22121.8074<\/td>\r\n<td>\u22122<\/td>\r\n<td>\u22122.1699<\/td>\r\n<td>\u22122.3219<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\nGive the equation of the natural logarithm graphed below.\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233849\/CNX_Precalc_Figure_04_04_022.jpg\" alt=\"Graph of a logarithmic function with a vertical asymptote at x=-3, has been vertically stretched by 2, and passes through the points (-1, -1).\" width=\"487\" height=\"442\" \/>\r\n\r\n[reveal-answer q=\"752379\"]Solution[\/reveal-answer]\r\n[hidden-answer a=\"752379\"][latex]f\\left(x\\right)=2\\mathrm{ln}\\left(x+3\\right)-1[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>Q &amp; A<\/h3>\r\n<strong>Is it possible to tell the domain and range and describe the end behavior of a function just by looking at the graph?<\/strong>\r\n\r\n<em>Yes, if we know the function is a general logarithmic function. For example, look at the graph in the last Try It. The graph approaches x = \u20133 (or thereabouts) more and more closely, so x = \u20133 is, or is very close to, the vertical asymptote. It approaches from the right, so the domain is all points to the right, [latex]\\left\\{x|x&gt;-3\\right\\}[\/latex]. The range, as with all general logarithmic functions, is all real numbers. And we can see the end behavior because the graph goes down as it goes left and up as it goes right. The end behavior is that as [latex]x\\to -{3}^{+},f\\left(x\\right)\\to -\\infty [\/latex] and as [latex]x\\to \\infty ,f\\left(x\\right)\\to \\infty [\/latex].<\/em>\r\n\r\n<\/div>\r\n&nbsp;\r\n<h2>Key Equations<\/h2>\r\n<table summary=\"...\">\r\n<tbody>\r\n<tr>\r\n<td>General Form for the Translation of the Parent Logarithmic Function [latex]\\text{ }f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\r\n<td>[latex] f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>Key Concepts<\/h2>\r\n<ul>\r\n \t<li>To find the domain of a logarithmic function, set up an inequality showing the argument greater than zero, and solve for <em>x<\/em>.<\/li>\r\n \t<li>The graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] has an <em>x-<\/em>intercept at [latex]\\left(1,0\\right)[\/latex], domain [latex]\\left(0,\\infty \\right)[\/latex], range [latex]\\left(-\\infty ,\\infty \\right)[\/latex], vertical asymptote <em>x\u00a0<\/em>= 0, and\r\n<ul>\r\n \t<li>if <em>b\u00a0<\/em>&gt; 1, the function is increasing.<\/li>\r\n \t<li>if 0 &lt; <em>b\u00a0<\/em>&lt; 1, the function is decreasing.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex] shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] horizontally\r\n<ul>\r\n \t<li>left <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&gt; 0.<\/li>\r\n \t<li>right <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&lt; 0.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex] shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically\r\n<ul>\r\n \t<li>up <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&gt; 0.<\/li>\r\n \t<li>down <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&lt; 0.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>For any constant <em>a\u00a0<\/em>&gt; 0, the equation [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]\r\n<ul>\r\n \t<li>stretches the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if |<em>a<\/em>| &gt; 1.<\/li>\r\n \t<li>compresses the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if |<em>a<\/em>| &lt; 1.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>When the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by \u20131, the result is a reflection about the <em>x<\/em>-axis. When the input is multiplied by \u20131, the result is a reflection about the <em>y<\/em>-axis.\r\n<ul>\r\n \t<li>The equation [latex]f\\left(x\\right)=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex] represents a reflection of the parent function about the <em>x-<\/em>axis.<\/li>\r\n \t<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex] represents a reflection of the parent function about the <em>y-<\/em>axis.<\/li>\r\n<\/ul>\r\n<ul>\r\n \t<li>A graphing calculator may be used to approximate solutions to some logarithmic equations.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>All translations of the logarithmic function can be summarized by the general equation [latex] f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex].<\/li>\r\n \t<li>Given an equation with the general form [latex] f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex], we can identify the vertical asymptote <em>x\u00a0<\/em>= \u2013c for the transformation.<\/li>\r\n \t<li>Using the general equation [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex], we can write the equation of a logarithmic function given its graph.<\/li>\r\n<\/ul>","rendered":"<p>In Graphs of Exponential Functions, we saw how creating a graphical representation of an exponential model gives us another layer of insight for predicting future events. How do logarithmic graphs give us insight into situations? Because every logarithmic function is the inverse function of an exponential function, we can think of every output on a logarithmic graph as the input for the corresponding inverse exponential equation. In other words, logarithms give the <em>cause<\/em> for an <em>effect<\/em>.<\/p>\n<p>To illustrate, suppose we invest $2500 in an account that offers an annual interest rate of 5%, compounded continuously. We already know that the balance in our account for any year <em>t<\/em>\u00a0can be found with the equation [latex]A=2500{e}^{0.05t}[\/latex].<\/p>\n<p>But what if we wanted to know the year for any balance? We would need to create a corresponding new function by interchanging the input and the output; thus we would need to create a logarithmic model for this situation. By graphing the model, we can see the output (year) for any input (account balance). For instance, what if we wanted to know how many years it would take for our initial investment to double? The graph below shows this point on the logarithmic graph.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233815\/CNX_Precalc_Figure_04_04_0012.jpg\" alt=\"A graph titled,\" width=\"900\" height=\"459\" \/><\/p>\n<p>In this section we will discuss the values for which a logarithmic function is defined, and then turn our attention to graphing the family of logarithmic functions.<\/p>\n<h2>Characteristics of Graphs of Logarithmic Functions<\/h2>\n<p>Before working with graphs, we will take a look at the domain (the set of input values) for which the logarithmic function is defined.<\/p>\n<p>Recall that the exponential function is defined as [latex]y={b}^{x}[\/latex] for any real number <em>x<\/em>\u00a0and constant [latex]b>0[\/latex], [latex]b\\ne 1[\/latex], where<\/p>\n<ul>\n<li>The domain of <em>y<\/em>\u00a0is [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\n<li>The range of <em>y<\/em>\u00a0is [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\n<\/ul>\n<p>In the last section we learned that the logarithmic function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the inverse of the exponential function [latex]y={b}^{x}[\/latex]. So, as inverse functions:<\/p>\n<ul>\n<li>The domain of [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the range of [latex]y={b}^{x}[\/latex]:[latex]\\left(0,\\infty \\right)[\/latex].<\/li>\n<li>The range of [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is the domain of [latex]y={b}^{x}[\/latex]: [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\n<\/ul>\n<p>Transformations of the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] behave similarly to those of other functions. Just as with other parent functions, we can apply the four types of transformations\u2014shifts, stretches, compressions, and reflections\u2014to the parent function without loss of shape.<\/p>\n<p>In Graphs of Exponential Functions we saw that certain transformations can change the <em>range<\/em> of [latex]y={b}^{x}[\/latex]. Similarly, applying transformations to the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] can change the <em>domain<\/em>. When finding the domain of a logarithmic function, therefore, it is important to remember that the domain consists <em>only of positive real numbers<\/em>. That is, the argument of the logarithmic function must be greater than zero.<\/p>\n<p>For example, consider [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(2x - 3\\right)[\/latex]. This function is defined for any values of <em>x<\/em>\u00a0such that the argument, in this case [latex]2x - 3[\/latex], is greater than zero. To find the domain, we set up an inequality and solve for\u00a0<em>x<\/em>:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}2x - 3>0\\hfill & \\text{Show the argument greater than zero}.\\hfill \\\\ 2x>3\\hfill & \\text{Add 3}.\\hfill \\\\ x>1.5\\hfill & \\text{Divide by 2}.\\hfill \\end{array}[\/latex]<\/p>\n<p>In interval notation, the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(2x - 3\\right)[\/latex] is [latex]\\left(1.5,\\infty \\right)[\/latex].<\/p>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic function, identify the domain.<strong><br \/>\n<\/strong><\/h3>\n<ol>\n<li>Set up an inequality showing the argument greater than zero.<\/li>\n<li>Solve for <em>x<\/em>.<\/li>\n<li>Write the domain in interval notation.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Identifying the Domain of a Logarithmic Shift<\/h3>\n<p>What is the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x+3\\right)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q786555\">Solution<\/span><\/p>\n<div id=\"q786555\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}x+3>0\\hfill & \\text{The input must be positive}.\\hfill \\\\ x>-3\\hfill & \\text{Subtract 3}.\\hfill \\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p>The logarithmic function is defined only when the input is positive, so this function is defined when [latex]x+3>0[\/latex].<\/p>\n<p>The domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x+3\\right)[\/latex] is [latex]\\left(-3,\\infty \\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>What is the domain of [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x - 2\\right)+1[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q613113\">Solution<\/span><\/p>\n<div id=\"q613113\" class=\"hidden-answer\" style=\"display: none\">[latex]\\left(2,\\infty \\right)[\/latex]<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Identifying the Domain of a Logarithmic Shift and Reflection<\/h3>\n<p>What is the domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(5 - 2x\\right)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q152912\">Solution<\/span><\/p>\n<div id=\"q152912\" class=\"hidden-answer\" style=\"display: none\">\n<p>The logarithmic function is defined only when the input is positive, so this function is defined when [latex]5 - 2x>0[\/latex]. Solving this inequality,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}5 - 2x>0\\hfill & \\text{The input must be positive}.\\hfill \\\\ -2x>-5\\hfill & \\text{Subtract }5.\\hfill \\\\ x<\\frac{5}{2}\\hfill & \\text{Divide by }-2\\text{ and switch the inequality}.\\hfill \\end{array}[\/latex]<\/p>\n<p>The domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(5 - 2x\\right)[\/latex] is [latex]\\left(-\\infty ,\\frac{5}{2}\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>What is the domain of [latex]f\\left(x\\right)=\\mathrm{log}\\left(x - 5\\right)+2[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q983551\">Solution<\/span><\/p>\n<div id=\"q983551\" class=\"hidden-answer\" style=\"display: none\">[latex]\\left(5,\\infty \\right)[\/latex]<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"mom11\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=14399&amp;theme=oea&amp;iframe_resize_id=mom11\" width=\"100%\" height=\"250\"><br \/>\n<\/iframe><\/p>\n<\/div>\n<h2>Graph a logarithmic function using a table of values<\/h2>\n<p>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>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 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>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 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>As we\u2019d expect, the <em>x<\/em>&#8211; and <em>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<div style=\"width: 497px\" 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\/11\/02233818\/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.\" width=\"487\" height=\"438\" \/><\/p>\n<p class=\"wp-caption-text\">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 y\u00a0= x.<\/p>\n<\/div>\n<p>Observe the following from the graph:<\/p>\n<ul>\n<li>[latex]f\\left(x\\right)={2}^{x}[\/latex] has a <em>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>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<div class=\"textbox\">\n<h3>A General Note: Characteristics of the Graph of the Parent Function, <em>f<\/em>(<em>x<\/em>) = log<sub><em>b<\/em><\/sub>(<em>x<\/em>)<\/h3>\n<p>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>\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>x-<\/em>intercept: [latex]\\left(1,0\\right)[\/latex] and key point [latex]\\left(b,1\\right)[\/latex]<\/li>\n<li><em>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<p>The graphs below show 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>Note:<\/em> recall that the function [latex]\\mathrm{ln}\\left(x\\right)[\/latex] has base [latex]e\\approx 2.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\/wp-content\/uploads\/sites\/896\/2016\/11\/02233822\/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\" \/><\/p>\n<p class=\"wp-caption-text\">The graphs of three logarithmic functions with different bases, all greater than 1.<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox\">\n<h3>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>\n<li>Draw and label the vertical asymptote, <em>x<\/em> = 0.<\/li>\n<li>Plot the <em>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 class=\"textbox exercises\">\n<h3>Example: Graphing a Logarithmic Function with the Form\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex].<\/h3>\n<p>Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{5}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q909934\">Solution<\/span><\/p>\n<div id=\"q909934\" class=\"hidden-answer\" style=\"display: none\">Before graphing, identify the behavior and key points for the graph.<\/p>\n<ul>\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>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<div style=\"width: 497px\" 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\/11\/02233824\/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.\" width=\"487\" height=\"367\" \/><\/p>\n<p class=\"wp-caption-text\">The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x = 0.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Graph [latex]f\\left(x\\right)={\\mathrm{log}}_{\\frac{1}{5}}\\left(x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q150661\">Solution<\/span><\/p>\n<div id=\"q150661\" class=\"hidden-answer\" style=\"display: none\">\n<p>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\u00a0<\/em>= 0.<span id=\"fs-id1165134377926\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3102\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16222857\/CNX_Precalc_Figure_04_04_0062.jpg\" alt=\"Graph of f(x)=log_(1\/5)(x) with labeled points at (1\/5, 1) and (1, 0). The y-axis is the asymptote.\" width=\"487\" height=\"367\" \/><\/p>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"mom10\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=34999&amp;theme=oea&amp;iframe_resize_id=mom10\" width=\"100%\" height=\"250\"><br \/>\n<\/iframe><br \/>\n<iframe loading=\"lazy\" id=\"mom15\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=35000&amp;theme=oea&amp;iframe_resize_id=mom15\" width=\"100%\" height=\"250\"><br \/>\n<\/iframe><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>Horizontal and Vertical Shifts of Logarithmic Functions<\/h2>\n<p>As we mentioned in the beginning of the section, transformations of logarithmic graphs behave similarly to those of other parent functions. We can shift, stretch, compress, and reflect the <strong>parent function<\/strong> [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] without loss of shape.<\/p>\n<h3>Graphing a Horizontal Shift of\u00a0[latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>When a constant <em>c<\/em>\u00a0is added to the input of the parent function [latex]f\\left(x\\right)=\\text{log}_{b}\\left(x\\right)[\/latex], the result is a <strong>horizontal shift<\/strong> <em>c<\/em>\u00a0units in the <em>opposite<\/em> direction of the sign on <em>c<\/em>. To visualize horizontal shifts, we can observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] and for\u00a0<em>c\u00a0<\/em>&gt; 0 alongside the shift left, [latex]g\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex], and the shift right, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(x-c\\right)[\/latex].<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Horizontal Shifts of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>For any constant <em>c<\/em>, the function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex]<\/p>\n<ul>\n<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] left <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&gt; 0.<\/li>\n<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] right <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&lt; 0.<\/li>\n<li>has the vertical asymptote <em>x\u00a0<\/em>= \u2013<em>c<\/em>.<\/li>\n<li>has domain [latex]\\left(-c,\\infty \\right)[\/latex].<\/li>\n<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\n<\/ul>\n<p>The graphs below summarize the changes in the x-intercepts, vertical asymptotes, and equations\u00a0of a logarithmic function that has been shifted either right or left.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233827\/CNX_Precalc_Figure_04_04_007n2.jpg\" alt=\"Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x+c) is the translation function with an asymptote at x=-c. This shows the translation of shifting left.\" width=\"900\" height=\"526\" \/>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex], graph the translation.<\/h3>\n<ol>\n<li>Identify the horizontal shift:\n<ol>\n<li>If <em>c<\/em> &gt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] left <em>c<\/em>\u00a0units.<\/li>\n<li>If <em>c\u00a0<\/em>&lt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] right <em>c<\/em>\u00a0units.<\/li>\n<\/ol>\n<\/li>\n<li>Draw the vertical asymptote <em>x\u00a0<\/em>= \u2013<em>c<\/em>.<\/li>\n<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by subtracting <em>c<\/em>\u00a0from the\u00a0<em>x<\/em>\u00a0coordinate.<\/li>\n<li>Label the three points.<\/li>\n<li>The Domain is [latex]\\left(-c,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= \u2013c.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example:\u00a0Graphing a Horizontal Shift of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>Sketch the horizontal shift [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x - 2\\right)[\/latex] alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q368750\">Solution<\/span><\/p>\n<div id=\"q368750\" class=\"hidden-answer\" style=\"display: none\">\n<p>Since the function is [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x - 2\\right)[\/latex], we notice [latex]x+\\left(-2\\right)=x - 2[\/latex].<\/p>\n<p>Thus <em>c\u00a0<\/em>= \u20132, so <em>c\u00a0<\/em>&lt; 0. This means we will shift the function [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)[\/latex] right 2 units.<\/p>\n<p>The vertical asymptote is [latex]x=-\\left(-2\\right)[\/latex] or <em>x\u00a0<\/em>= 2.<\/p>\n<p>Consider the three key points from the parent function, [latex]\\left(\\frac{1}{3},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(3,1\\right)[\/latex].<\/p>\n<p>The new coordinates are found by adding 2 to the <em>x<\/em>\u00a0coordinates.<\/p>\n<p>Label the points [latex]\\left(\\frac{7}{3},-1\\right)[\/latex], [latex]\\left(3,0\\right)[\/latex], and [latex]\\left(5,1\\right)[\/latex].<\/p>\n<p>The domain is [latex]\\left(2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233829\/CNX_Precalc_Figure_04_04_0082.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1\/3, -1), (1, 0), and (3, 1).The translation function f(x)=log_3(x-2) has an asymptote at x=2 and labeled points at (3, 0) and (5, 1).\" width=\"487\" height=\"363\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x+4\\right)[\/latex] alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q779370\">Solution<\/span><\/p>\n<div id=\"q779370\" class=\"hidden-answer\" style=\"display: none\">\n<p>The domain is [latex]\\left(-4,\\infty \\right)[\/latex], the range [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the asymptote <em>x\u00a0<\/em>= \u20134.<span id=\"fs-id1165135209395\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3106\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16230941\/CNX_Precalc_Figure_04_04_0092.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1, 0), and (3, 1).The translation function f(x)=log_3(x+4) has an asymptote at x=-4 and labeled points at (-3, 0) and (-1, 1).\" width=\"487\" height=\"363\" \/><\/p>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"mom11\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=74340&amp;theme=oea&amp;iframe_resize_id=mom11\" width=\"100%\" height=\"250\"><br \/>\n<\/iframe><\/p>\n<\/div>\n<h3>Graphing a Vertical Shift of\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>When a constant <em>d<\/em>\u00a0is added to the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], the result is a <strong>vertical shift<\/strong> <em>d<\/em>\u00a0units in the direction of the sign on <em>d<\/em>. To visualize vertical shifts, we can observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the shift up, [latex]g\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex] and the shift down, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)-d[\/latex].<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233831\/CNX_Precalc_Figure_04_04_010F2.jpg\" alt=\"Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x)+d is the translation function with an asymptote at x=0. This shows the translation of shifting up. Graph of two functions. The parent function is f(x)=log_b(x), with an asymptote at x=0 and g(x)=log_b(x)-d is the translation function with an asymptote at x=0. This shows the translation of shifting down.\" width=\"900\" height=\"684\" \/><\/p>\n<div class=\"textbox\">\n<h3>A General Note: Vertical Shifts of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>For any constant <em>d<\/em>, the function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex]<\/p>\n<ul>\n<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] up <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&gt; 0.<\/li>\n<li>shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] down <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&lt; 0.<\/li>\n<li>has the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\n<li>has domain [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\n<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\n<\/ul>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex], graph the translation.<\/h3>\n<ol>\n<li>Identify the vertical shift:\n<ol>\n<li>If <em>d\u00a0<\/em>&gt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] up <em>d<\/em>\u00a0units.<\/li>\n<li>If <em>d\u00a0<\/em>&lt; 0, shift the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] down <em>d\u00a0<\/em>units.<\/li>\n<\/ol>\n<\/li>\n<li>Draw the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\n<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by adding <em>d<\/em>\u00a0to the <em>y\u00a0<\/em>coordinate.<\/li>\n<li>Label the three points.<\/li>\n<li>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\u00a0<\/em>= 0.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Graphing a Vertical Shift of the Parent Function\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)-2[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q43912\">Solution<\/span><\/p>\n<div id=\"q43912\" class=\"hidden-answer\" style=\"display: none\">\n<p>Since the function is [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)-2[\/latex], we will notice <em>d\u00a0<\/em>= \u20132. Thus <em>d\u00a0<\/em>&lt; 0.<\/p>\n<p>This means we will shift the function [latex]f\\left(x\\right)={\\mathrm{log}}_{3}\\left(x\\right)[\/latex] down 2 units.<\/p>\n<p>The vertical asymptote is <em>x\u00a0<\/em>= 0.<\/p>\n<p>Consider the three key points from the parent function, [latex]\\left(\\frac{1}{3},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(3,1\\right)[\/latex].<\/p>\n<p>The new coordinates are found by subtracting 2 from the <em>y <\/em>coordinates.<\/p>\n<p>Label the points [latex]\\left(\\frac{1}{3},-3\\right)[\/latex], [latex]\\left(1,-2\\right)[\/latex], and [latex]\\left(3,-1\\right)[\/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\/wp-content\/uploads\/sites\/896\/2016\/11\/02233834\/CNX_Precalc_Figure_04_04_0112.jpg\" alt=\"Graph of two functions. The parent function is y=log_3(x), with an asymptote at x=0 and labeled points at (1\/3, -1), (1, 0), and (3, 1).The translation function f(x)=log_3(x)-2 has an asymptote at x=0 and labeled points at (1, 0) and (3, 1).\" width=\"487\" height=\"516\" \/><\/p>\n<p class=\"wp-caption-text\">The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x = 0.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{2}\\left(x\\right)+2[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q338440\">Solution<\/span><\/p>\n<div id=\"q338440\" class=\"hidden-answer\" style=\"display: none\">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\u00a0<\/em>= 0.<span id=\"fs-id1165137874471\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3109\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16231838\/CNX_Precalc_Figure_04_04_0122.jpg\" alt=\"Graph of two functions. The parent function is y=log_2(x), with an asymptote at x=0 and labeled points at (1, 0), and (2, 1).The translation function f(x)=log_2(x)+2 has an asymptote at x=0 and labeled points at (0.25, 0) and (0.5, 1).\" width=\"487\" height=\"474\" \/><\/p>\n<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"mom12\" class=\"resizable\" src=\"https:\/\/www.myopenmath.com\/multiembedq.php?id=74341&amp;theme=oea&amp;iframe_resize_id=mom12\" width=\"100%\" height=\"300\"><br \/>\n<\/iframe><\/p>\n<\/div>\n<h2>Stretch, Compress, or Reflect a Logarithmic Function<\/h2>\n<h2>Graphing Stretches and Compressions of\u00a0[latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h2>\n<p>When the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by a constant <em>a<\/em> &gt; 0, the result is a <strong>vertical stretch<\/strong> or <strong>compression<\/strong> of the original graph. To visualize stretches and compressions, we set <em>a\u00a0<\/em>&gt; 1 and observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the vertical stretch, [latex]g\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex] and the vertical compression, [latex]h\\left(x\\right)=\\frac{1}{a}{\\mathrm{log}}_{b}\\left(x\\right)[\/latex].<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Vertical Stretches and Compressions of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>For any constant <em>a<\/em> &gt; 1, the function [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/p>\n<ul>\n<li>stretches the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if <em>a\u00a0<\/em>&gt; 1.<\/li>\n<li>compresses the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if 0 &lt; <em>a\u00a0<\/em>&lt; 1.<\/li>\n<li>has the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\n<li>has the <em>x<\/em>-intercept [latex]\\left(1,0\\right)[\/latex].<\/li>\n<li>has domain [latex]\\left(0,\\infty \\right)[\/latex].<\/li>\n<li>has range [latex]\\left(-\\infty ,\\infty \\right)[\/latex].<\/li>\n<\/ul>\n<p>The graphs below summarize the key features of the resulting graphs of vertical stretches and compressions of logarithmic functions.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233836\/CNX_Precalc_Figure_04_04_013n2.jpg\" alt=\"&quot;Graph\" \/><\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic function with the form [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex], [latex]a>0[\/latex], graph the translation.<\/h3>\n<ol>\n<li>Identify the vertical stretch or compressions:\n<ol>\n<li>If [latex]|a|>1[\/latex], the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is stretched by a factor of <em>a<\/em>\u00a0units.<\/li>\n<li>If [latex]|a|<1[\/latex], the graph of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is compressed by a factor of <em>a<\/em>\u00a0units.<\/li>\n<\/ol>\n<\/li>\n<li>Draw the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\n<li>Identify three key points from the parent function. Find new coordinates for the shifted functions by multiplying the <em>y<\/em>\u00a0coordinates by <em>a<\/em>.<\/li>\n<li>Label the three points.<\/li>\n<li>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.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Graphing a Stretch or Compression of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)=2{\\mathrm{log}}_{4}\\left(x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q595868\">Solution<\/span><\/p>\n<div id=\"q595868\" class=\"hidden-answer\" style=\"display: none\">\n<p>Since the function is [latex]f\\left(x\\right)=2{\\mathrm{log}}_{4}\\left(x\\right)[\/latex], we will notice <em>a\u00a0<\/em>= 2.<\/p>\n<p>This means we will stretch the function [latex]f\\left(x\\right)={\\mathrm{log}}_{4}\\left(x\\right)[\/latex] by a factor of 2.<\/p>\n<p>The vertical asymptote is <em>x\u00a0<\/em>= 0.<\/p>\n<p>Consider the three key points from the parent function, [latex]\\left(\\frac{1}{4},-1\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(4,1\\right)[\/latex].<\/p>\n<p>The new coordinates are found by multiplying the <em>y<\/em>\u00a0coordinates by 2.<\/p>\n<p>Label the points [latex]\\left(\\frac{1}{4},-2\\right)[\/latex], [latex]\\left(1,0\\right)[\/latex], and [latex]\\left(4,\\text{2}\\right)[\/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\/wp-content\/uploads\/sites\/896\/2016\/11\/02233838\/CNX_Precalc_Figure_04_04_0142.jpg\" alt=\"Graph of two functions. The parent function is y=log_4(x), with an asymptote at x=0 and labeled points at (1, 0), and (4, 1).The translation function f(x)=2log_4(x) has an asymptote at x=0 and labeled points at (1, 0) and (2, 1).\" width=\"487\" height=\"366\" \/><\/p>\n<p class=\"wp-caption-text\">The domain is [latex]\\left(0,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= 0.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)=\\frac{1}{2}{\\mathrm{log}}_{4}\\left(x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q250125\">Solution<\/span><\/p>\n<div id=\"q250125\" class=\"hidden-answer\" style=\"display: none\">\n<p>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\u00a0<\/em>= 0.<span id=\"fs-id1165135332505\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3114\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16233042\/CNX_Precalc_Figure_04_04_0152.jpg\" alt=\"Graph of two functions. The parent function is y=log_4(x), with an asymptote at x=0 and labeled points at (1, 0), and (4, 1).The translation function f(x)=(1\/2)log_4(x) has an asymptote at x=0 and labeled points at (1, 0) and (16, 1).\" width=\"487\" height=\"364\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Combining a Shift and a Stretch<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)=5\\mathrm{log}\\left(x+2\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q804029\">Solution<\/span><\/p>\n<div id=\"q804029\" class=\"hidden-answer\" style=\"display: none\">\n<p>Remember: what happens inside parentheses happens first. First, we move the graph left 2 units, then stretch the function vertically by a factor of 5. The vertical asymptote will be shifted to <em>x\u00a0<\/em>= \u20132. The <em>x<\/em>-intercept will be [latex]\\left(-1,0\\right)[\/latex]. The domain will be [latex]\\left(-2,\\infty \\right)[\/latex]. Two points will help give the shape of the graph: [latex]\\left(-1,0\\right)[\/latex] and [latex]\\left(8,5\\right)[\/latex]. We chose <em>x\u00a0<\/em>= 8 as the <em>x<\/em>-coordinate of one point to graph because when <em>x\u00a0<\/em>= 8, <em>x\u00a0<\/em>+ 2 = 10, the base of the common logarithm.<\/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\/wp-content\/uploads\/sites\/896\/2016\/11\/02233840\/CNX_Precalc_Figure_04_04_0162.jpg\" alt=\"Graph of three functions. The parent function is y=log(x), with an asymptote at x=0. The first translation function y=5log(x+2) has an asymptote at x=-2. The second translation function y=log(x+2) has an asymptote at x=-2.\" width=\"487\" height=\"441\" \/><\/p>\n<p class=\"wp-caption-text\">The domain is [latex]\\left(-2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= \u20132.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Sketch a graph of the function [latex]f\\left(x\\right)=3\\mathrm{log}\\left(x - 2\\right)+1[\/latex]. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q404704\">Solution<\/span><\/p>\n<div id=\"q404704\" class=\"hidden-answer\" style=\"display: none\">\n<p>The domain is [latex]\\left(2,\\infty \\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3115\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16233717\/CNX_Precalc_Figure_04_04_0172.jpg\" alt=\"Graph of f(x)=3log(x-2)+1 with an asymptote at x=2.\" width=\"487\" height=\"439\" \/><\/p>\n<div id=\"fs-id1165137437228\" class=\"solution\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2>Graphing Reflections of [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/h2>\n<p>When the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by \u20131, the result is a <strong>reflection<\/strong> about the <em>x<\/em>-axis. When the <em>input<\/em> is multiplied by \u20131, the result is a reflection about the <em>y<\/em>-axis. To visualize reflections, we restrict <em>b\u00a0<\/em>&gt; 1, and observe the general graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] alongside the reflection about the <em>x<\/em>-axis, [latex]g\\left(x\\right)={\\mathrm{-log}}_{b}\\left(x\\right)[\/latex] and the reflection about the <em>y<\/em>-axis, [latex]h\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex].<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Reflections of the Parent Function [latex]y=\\text{log}_{b}\\left(x\\right)[\/latex]<\/h3>\n<p>The function [latex]f\\left(x\\right)={\\mathrm{-log}}_{b}\\left(x\\right)[\/latex]<\/p>\n<ul>\n<li>reflects the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>x<\/em>-axis.<\/li>\n<li>has domain, [latex]\\left(0,\\infty \\right)[\/latex], range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and vertical asymptote, <em>x\u00a0<\/em>= 0, which are unchanged from the parent function.<\/li>\n<\/ul>\n<p>The function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]<\/p>\n<ul>\n<li>reflects the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>y<\/em>-axis.<\/li>\n<li>has domain [latex]\\left(-\\infty ,0\\right)[\/latex].<\/li>\n<li>has range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and vertical asymptote, <em>x\u00a0<\/em>= 0, which are unchanged from the parent function.<\/li>\n<\/ul>\n<p>The graphs below summarize the key characteristics of reflecting [latex]f(x) = \\log_{b}{x}[\/latex] horizontally and vertically.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233843\/CNX_Precalc_Figure_04_04_018n2.jpg\" alt=\"&quot;Graph\" \/><\/p>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic function with the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], graph a translation.<\/h3>\n<table id=\"Table_04_04_08\" class=\"unnumbered\" summary=\"The first column gives the following instructions of graphing a translation of f(x)=-log_b(x) with the parent function being f(x)=log_b(x): 1. Draw the vertical asymptote, x=0; 2. Plot the x-intercept, (1, 0); 3. Reflect the graph of the parent function f(x)=log_b(x) about the x-axis; 4. Draw a smooth curve through the points; 5. State the domain, (0, infinity), the range, (-infinity, infinity), and the vertical asymptote x=0. The second column gives the following instructions of graphing a translation of f(x)=log_b(-x) with the parent function being f(x)=log_b(x): 1. Draw the vertical asymptote, x=0; 2. Plot the x-intercept, (-1, 0); 3. Reflect the graph of the parent function f(x)=log_b(x) about the y-axis; 4. Draw a smooth curve through the points; 5. State the domain, (-infinity, 0), the range, (-infinity, infinity), and the vertical asymptote x=0.\">\n<thead>\n<tr>\n<th>[latex]\\text{If }f\\left(x\\right)=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/th>\n<th>[latex]\\text{If }f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1. Draw the vertical asymptote, <em>x\u00a0<\/em>= 0.<\/td>\n<td>1. Draw the vertical asymptote, <em>x\u00a0<\/em>= 0.<\/td>\n<\/tr>\n<tr>\n<td>2. Plot the <em>x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/td>\n<td>2. Plot the <em>x-<\/em>intercept, [latex]\\left(1,0\\right)[\/latex].<\/td>\n<\/tr>\n<tr>\n<td>3. Reflect the graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>x<\/em>-axis.<\/td>\n<td>3. Reflect the graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] about the <em>y<\/em>-axis.<\/td>\n<\/tr>\n<tr>\n<td>4. Draw a smooth curve through the points.<\/td>\n<td>4. Draw a smooth curve through the points.<\/td>\n<\/tr>\n<tr>\n<td>5. State the domain, [latex]\\left(0,\\infty \\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote <em>x\u00a0<\/em>= 0.<\/td>\n<td>5. State the domain, [latex]\\left(-\\infty ,0\\right)[\/latex], the range, [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote <em>x\u00a0<\/em>= 0.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Graphing a Reflection of a Logarithmic Function<\/h3>\n<p>Sketch a graph of [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex] alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q843271\">Solution<\/span><\/p>\n<div id=\"q843271\" class=\"hidden-answer\" style=\"display: none\">\n<p>Before graphing [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex], identify the behavior and key points for the graph.<\/p>\n<ul>\n<li>Since <em>b\u00a0<\/em>= 10 is greater than one, we know that the parent function is increasing. Since the <em>input<\/em> value is multiplied by \u20131, <em>f<\/em>\u00a0is a reflection of the parent graph about the <em>y-<\/em>axis. Thus, [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex] will be decreasing as <em>x<\/em>\u00a0moves from negative infinity to zero, and the right tail of the graph will approach the vertical asymptote <em>x\u00a0<\/em>= 0.<\/li>\n<li>The <em>x<\/em>-intercept is [latex]\\left(-1,0\\right)[\/latex].<\/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_019\" class=\"small\">\n<div style=\"width: 497px\" 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\/11\/02233845\/CNX_Precalc_Figure_04_04_0192.jpg\" alt=\"Graph of two functions. The parent function is y=log(x), with an asymptote at x=0 and labeled points at (1, 0), and (10, 0).The translation function f(x)=log(-x) has an asymptote at x=0 and labeled points at (-1, 0) and (-10, 1).\" width=\"487\" height=\"363\" \/><\/p>\n<p class=\"wp-caption-text\">The domain is [latex]\\left(-\\infty ,0\\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is x\u00a0= 0.<\/p>\n<\/div>\n<\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Graph [latex]f\\left(x\\right)=-\\mathrm{log}\\left(-x\\right)[\/latex]. State the domain, range, and asymptote.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q160849\">Solution<\/span><\/p>\n<div id=\"q160849\" class=\"hidden-answer\" style=\"display: none\">\n<p>The domain is [latex]\\left(-\\infty ,0\\right)[\/latex], the range is [latex]\\left(-\\infty ,\\infty \\right)[\/latex], and the vertical asymptote is <em>x\u00a0<\/em>= 0.<span id=\"fs-id1165137855148\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3117\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2017\/01\/16234244\/CNX_Precalc_Figure_04_04_0202.jpg\" alt=\"Graph of f(x)=-log(-x) with an asymptote at x=0.\" width=\"487\" height=\"288\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox\">\n<h3>How To: Given a logarithmic equation, use a graphing calculator to approximate solutions.<\/h3>\n<ol>\n<li>Press <strong>[Y=]<\/strong>. Enter the given logarithm equation or equations as <strong>Y<sub>1<\/sub>=<\/strong> and, if needed, <strong>Y<sub>2<\/sub>=<\/strong>.<\/li>\n<li>Press <strong>[GRAPH]<\/strong> to observe the graphs of the curves and use <strong>[WINDOW]<\/strong> to find an appropriate view of the graphs, including their point(s) of intersection.<\/li>\n<li>To find the value of <em>x<\/em>, we compute the point of intersection. Press <strong>[2ND] <\/strong>then <strong>[CALC]<\/strong>. Select &#8220;intersect&#8221; and press <strong>[ENTER]<\/strong> three times. The point of intersection gives the value of <em>x<\/em>, for the point(s) of intersection.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Approximating the Solution of a Logarithmic Equation<\/h3>\n<p>Solve [latex]4\\mathrm{ln}\\left(x\\right)+1=-2\\mathrm{ln}\\left(x - 1\\right)[\/latex] graphically. Round to the nearest thousandth.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q435068\">Solution<\/span><\/p>\n<div id=\"q435068\" class=\"hidden-answer\" style=\"display: none\">\n<p>Press <strong>[Y=]<\/strong> and enter [latex]4\\mathrm{ln}\\left(x\\right)+1[\/latex] next to <strong>Y<sub>1<\/sub><\/strong>=. Then enter [latex]-2\\mathrm{ln}\\left(x - 1\\right)[\/latex] next to <strong>Y<sub>2<\/sub>=<\/strong>. For a window, use the values 0 to 5 for <em>x<\/em>\u00a0and \u201310 to 10 for <em>y<\/em>. Press <strong>[GRAPH]<\/strong>. The graphs should intersect somewhere a little to right of <em>x\u00a0<\/em>= 1.<\/p>\n<p>For a better approximation, press <strong>[2ND] <\/strong>then <strong>[CALC]<\/strong>. Select <strong>[5: intersect]<\/strong> and press <strong>[ENTER]<\/strong> three times. The <em>x<\/em>-coordinate of the point of intersection is displayed as 1.3385297. (Your answer may be different if you use a different window or use a different value for <strong>Guess?<\/strong>) So, to the nearest thousandth, [latex]x\\approx 1.339[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Solve [latex]5\\mathrm{log}\\left(x+2\\right)=4-\\mathrm{log}\\left(x\\right)[\/latex] graphically. Round to the nearest thousandth.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q280798\">Solution<\/span><\/p>\n<div id=\"q280798\" class=\"hidden-answer\" style=\"display: none\">[latex]x\\approx 3.049[\/latex]<\/div>\n<\/div>\n<\/div>\n<h2>Summarizing Translations of the Logarithmic Function<\/h2>\n<p>Now that we have worked with each type of translation for the logarithmic function, we can summarize each in the table below\u00a0to arrive at the general equation for translating exponential functions.<\/p>\n<table id=\"Table_04_04_009\" summary=\"Titled,\">\n<thead>\n<tr>\n<th colspan=\"2\">Translations of the Parent Function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<tr>\n<th>Translation<\/th>\n<th>Form<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Shift<\/p>\n<ul>\n<li>Horizontally <em>c<\/em>\u00a0units to the left<\/li>\n<li>Vertically <em>d<\/em>\u00a0units up<\/li>\n<\/ul>\n<\/td>\n<td>[latex]y={\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Stretch and Compress<\/p>\n<ul>\n<li>Stretch if [latex]|a|>1[\/latex]<\/li>\n<li>Compression if [latex]|a|<1[\/latex]<\/li>\n<\/ul>\n<\/td>\n<td>[latex]y=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Reflect about the <em>x<\/em>-axis<\/td>\n<td>[latex]y=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Reflect about the <em>y<\/em>-axis<\/td>\n<td>[latex]y={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>General equation for all translations<\/td>\n<td>[latex]y=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"textbox\">\n<h3>A General Note: Translations of Logarithmic Functions<\/h3>\n<p>All translations of the parent logarithmic function, [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex], have the form<\/p>\n<p>[latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/p>\n<p>where the parent function, [latex]y={\\mathrm{log}}_{b}\\left(x\\right),b>1[\/latex], is<\/p>\n<ul>\n<li>shifted vertically up <em>d<\/em>\u00a0units.<\/li>\n<li>shifted horizontally to the left <em>c<\/em>\u00a0units.<\/li>\n<li>stretched vertically by a factor of |<em>a<\/em>| if |<em>a<\/em>| &gt; 0.<\/li>\n<li>compressed vertically by a factor of |<em>a<\/em>| if 0 &lt; |<em>a<\/em>| &lt; 1.<\/li>\n<li>reflected about the <em>x-<\/em>axis when <em>a\u00a0<\/em>&lt; 0.<\/li>\n<\/ul>\n<p>For [latex]f\\left(x\\right)=\\mathrm{log}\\left(-x\\right)[\/latex], the graph of the parent function is reflected about the <em>y<\/em>-axis.<\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Finding the Vertical Asymptote of a Logarithm Graph<\/h3>\n<p>What is the vertical asymptote of [latex]f\\left(x\\right)=-2{\\mathrm{log}}_{3}\\left(x+4\\right)+5[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q714716\">Solution<\/span><\/p>\n<div id=\"q714716\" class=\"hidden-answer\" style=\"display: none\">\n<p>The vertical asymptote is at <em>x\u00a0<\/em>= \u20134.<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>The coefficient, the base, and the upward translation do not affect the asymptote. The shift of the curve 4 units to the left shifts the vertical asymptote to <em>x\u00a0<\/em>= \u20134.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>What is the vertical asymptote of [latex]f\\left(x\\right)=3+\\mathrm{ln}\\left(x - 1\\right)[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q502004\">Solution<\/span><\/p>\n<div id=\"q502004\" class=\"hidden-answer\" style=\"display: none\">[latex]x=1[\/latex]<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example: Finding the Equation from a Graph<\/h3>\n<p>Find a possible equation for the common logarithmic function graphed below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233847\/CNX_Precalc_Figure_04_04_021.jpg\" alt=\"Graph of a logarithmic function with a vertical asymptote at x=-2, has been vertically reflected, and passes through the points (-1, 1) and (2, -1).\" width=\"487\" height=\"367\" \/><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q671912\">Solution<\/span><\/p>\n<div id=\"q671912\" class=\"hidden-answer\" style=\"display: none\">\n<p>This graph has a vertical asymptote at <em>x\u00a0<\/em>= \u20132 and has been vertically reflected. We do not know yet the vertical shift or the vertical stretch. We know so far that the equation will have form:<\/p>\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=-a\\mathrm{log}\\left(x+2\\right)+k[\/latex]<\/p>\n<p>It appears the graph passes through the points [latex]\\left(-1,1\\right)[\/latex] and [latex]\\left(2,-1\\right)[\/latex]. Substituting [latex]\\left(-1,1\\right)[\/latex],<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{cases}1=-a\\mathrm{log}\\left(-1+2\\right)+k\\hfill & \\text{Substitute }\\left(-1,1\\right).\\hfill \\\\ 1=-a\\mathrm{log}\\left(1\\right)+k\\hfill & \\text{Arithmetic}.\\hfill \\\\ 1=k\\hfill & \\text{log(1)}=0.\\hfill \\end{cases}[\/latex]<\/p>\n<p>Next, substituting in [latex]\\left(2,-1\\right)[\/latex],<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{cases}-1=-a\\mathrm{log}\\left(2+2\\right)+1\\hfill & \\hfill & \\text{Plug in }\\left(2,-1\\right).\\hfill \\\\ -2=-a\\mathrm{log}\\left(4\\right)\\hfill & \\hfill & \\text{Arithmetic}.\\hfill \\\\ \\text{ }a=\\frac{2}{\\mathrm{log}\\left(4\\right)}\\hfill & \\hfill & \\text{Solve for }a.\\hfill \\end{cases}[\/latex]<\/p>\n<p>This gives us the equation [latex]f\\left(x\\right)=-\\frac{2}{\\mathrm{log}\\left(4\\right)}\\mathrm{log}\\left(x+2\\right)+1[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>We can verify this answer by comparing the function values in the table below\u00a0with the points on the graph in this example.<\/p>\n<table id=\"Table_04_04_010\" summary=\"..\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td><em><strong>x<\/strong><\/em><\/td>\n<td>\u22121<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td><em><strong>f<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>\u22120.58496<\/td>\n<td>\u22121<\/td>\n<td>\u22121.3219<\/td>\n<\/tr>\n<tr>\n<td><em><strong>x<\/strong><\/em><\/td>\n<td>4<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<td>7<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td><em><strong>f<\/strong><\/em><strong>(<em>x<\/em>)<\/strong><\/td>\n<td>\u22121.5850<\/td>\n<td>\u22121.8074<\/td>\n<td>\u22122<\/td>\n<td>\u22122.1699<\/td>\n<td>\u22122.3219<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p>Give the equation of the natural logarithm graphed below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/02233849\/CNX_Precalc_Figure_04_04_022.jpg\" alt=\"Graph of a logarithmic function with a vertical asymptote at x=-3, has been vertically stretched by 2, and passes through the points (-1, -1).\" width=\"487\" height=\"442\" \/><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q752379\">Solution<\/span><\/p>\n<div id=\"q752379\" class=\"hidden-answer\" style=\"display: none\">[latex]f\\left(x\\right)=2\\mathrm{ln}\\left(x+3\\right)-1[\/latex]<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox\">\n<h3>Q &amp; A<\/h3>\n<p><strong>Is it possible to tell the domain and range and describe the end behavior of a function just by looking at the graph?<\/strong><\/p>\n<p><em>Yes, if we know the function is a general logarithmic function. For example, look at the graph in the last Try It. The graph approaches x = \u20133 (or thereabouts) more and more closely, so x = \u20133 is, or is very close to, the vertical asymptote. It approaches from the right, so the domain is all points to the right, [latex]\\left\\{x|x>-3\\right\\}[\/latex]. The range, as with all general logarithmic functions, is all real numbers. And we can see the end behavior because the graph goes down as it goes left and up as it goes right. The end behavior is that as [latex]x\\to -{3}^{+},f\\left(x\\right)\\to -\\infty[\/latex] and as [latex]x\\to \\infty ,f\\left(x\\right)\\to \\infty[\/latex].<\/em><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>Key Equations<\/h2>\n<table summary=\"...\">\n<tbody>\n<tr>\n<td>General Form for the Translation of the Parent Logarithmic Function [latex]\\text{ }f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex]<\/td>\n<td>[latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Key Concepts<\/h2>\n<ul>\n<li>To find the domain of a logarithmic function, set up an inequality showing the argument greater than zero, and solve for <em>x<\/em>.<\/li>\n<li>The graph of the parent function [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] has an <em>x-<\/em>intercept at [latex]\\left(1,0\\right)[\/latex], domain [latex]\\left(0,\\infty \\right)[\/latex], range [latex]\\left(-\\infty ,\\infty \\right)[\/latex], vertical asymptote <em>x\u00a0<\/em>= 0, and\n<ul>\n<li>if <em>b\u00a0<\/em>&gt; 1, the function is increasing.<\/li>\n<li>if 0 &lt; <em>b\u00a0<\/em>&lt; 1, the function is decreasing.<\/li>\n<\/ul>\n<\/li>\n<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x+c\\right)[\/latex] shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] horizontally\n<ul>\n<li>left <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&gt; 0.<\/li>\n<li>right <em>c<\/em>\u00a0units if <em>c\u00a0<\/em>&lt; 0.<\/li>\n<\/ul>\n<\/li>\n<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(x\\right)+d[\/latex] shifts the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically\n<ul>\n<li>up <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&gt; 0.<\/li>\n<li>down <em>d<\/em>\u00a0units if <em>d\u00a0<\/em>&lt; 0.<\/li>\n<\/ul>\n<\/li>\n<li>For any constant <em>a\u00a0<\/em>&gt; 0, the equation [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x\\right)[\/latex]\n<ul>\n<li>stretches the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if |<em>a<\/em>| &gt; 1.<\/li>\n<li>compresses the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] vertically by a factor of <em>a<\/em>\u00a0if |<em>a<\/em>| &lt; 1.<\/li>\n<\/ul>\n<\/li>\n<li>When the parent function [latex]y={\\mathrm{log}}_{b}\\left(x\\right)[\/latex] is multiplied by \u20131, the result is a reflection about the <em>x<\/em>-axis. When the input is multiplied by \u20131, the result is a reflection about the <em>y<\/em>-axis.\n<ul>\n<li>The equation [latex]f\\left(x\\right)=-{\\mathrm{log}}_{b}\\left(x\\right)[\/latex] represents a reflection of the parent function about the <em>x-<\/em>axis.<\/li>\n<li>The equation [latex]f\\left(x\\right)={\\mathrm{log}}_{b}\\left(-x\\right)[\/latex] represents a reflection of the parent function about the <em>y-<\/em>axis.<\/li>\n<\/ul>\n<ul>\n<li>A graphing calculator may be used to approximate solutions to some logarithmic equations.<\/li>\n<\/ul>\n<\/li>\n<li>All translations of the logarithmic function can be summarized by the general equation [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex].<\/li>\n<li>Given an equation with the general form [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex], we can identify the vertical asymptote <em>x\u00a0<\/em>= \u2013c for the transformation.<\/li>\n<li>Using the general equation [latex]f\\left(x\\right)=a{\\mathrm{log}}_{b}\\left(x+c\\right)+d[\/latex], we can write the equation of a logarithmic function given its graph.<\/li>\n<\/ul>\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-2041\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>Revision and Adaptation. <strong>Provided by<\/strong>: Lumen Learning. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><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><li>College Algebra. <strong>Authored by<\/strong>: Abramson, Jay et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/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\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/li><li>Questoin ID 34999, 35000. <strong>Authored by<\/strong>: Smart, Jim. <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>: IMathAS Community License CC-BY + GPL<\/li><li>Question ID 74340, 74341. <strong>Authored by<\/strong>: Nearing, Daniel. <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>: IMathAS Community License CC-BY + GPL<\/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":21,"menu_order":5,"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.\"},{\"type\":\"original\",\"description\":\"Revision and Adaptation\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"College Algebra\",\"author\":\"Abramson, Jay et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\"},{\"type\":\"cc\",\"description\":\"Questoin ID 34999, 35000\",\"author\":\"Smart, Jim\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License CC-BY + GPL\"},{\"type\":\"cc\",\"description\":\"Question ID 74340, 74341\",\"author\":\"Nearing, Daniel\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License CC-BY + GPL\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-2041","chapter","type-chapter","status-publish","hentry"],"part":1964,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/2041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/wp\/v2\/users\/21"}],"version-history":[{"count":17,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/2041\/revisions"}],"predecessor-version":[{"id":4306,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/2041\/revisions\/4306"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/1964"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/2041\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/wp\/v2\/media?parent=2041"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=2041"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/wp\/v2\/contributor?post=2041"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-wmopen-collegealgebra\/wp-json\/wp\/v2\/license?post=2041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}