{"id":265,"date":"2023-09-20T22:48:40","date_gmt":"2023-09-20T22:48:40","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/derivative-of-the-logarithmic-function\/"},"modified":"2024-08-05T12:57:19","modified_gmt":"2024-08-05T12:57:19","slug":"derivatives-of-exponential-and-logarithmic-functions-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/derivatives-of-exponential-and-logarithmic-functions-learn-it-2\/","title":{"raw":"Derivatives of Exponential and Logarithmic Functions: Learn It 2","rendered":"Derivatives of Exponential and Logarithmic Functions: Learn It 2"},"content":{"raw":"<h2>Derivative of the Logarithmic Function<\/h2>\r\n<p id=\"fs-id1169738222225\">Now that we have the derivative of the natural exponential function, we can use implicit differentiation to find the derivative of its inverse, the natural logarithmic function.<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3 style=\"text-align: left;\">derivative of the natural logarithmic function<\/h3>\r\n<p id=\"fs-id1169737911417\">If [latex]x&gt;0[\/latex] and [latex]y=\\ln x[\/latex], then<\/p>\r\n<div id=\"fs-id1169738223534\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169737765282\">More generally, let [latex]g(x)[\/latex] be a differentiable function. For all values of [latex]x[\/latex] for which [latex]g^{\\prime}(x)&gt;0[\/latex], the derivative of [latex]h(x)=\\ln(g(x))[\/latex] is given by<\/p>\r\n<div id=\"fs-id1169737919348\" class=\"equation\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{1}{g(x)} g^{\\prime}(x)[\/latex]<\/div>\r\n<\/section>\r\n<section class=\"textbox connectIt\">\r\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\r\n<hr \/>\r\n<p id=\"fs-id1169738186955\">If [latex]x&gt;0[\/latex] and [latex]y=\\ln x[\/latex], then [latex]e^y=x[\/latex]. Differentiating both sides of this equation results in the equation<\/p>\r\n<div id=\"fs-id1169738212688\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]e^y\\frac{dy}{dx}=1[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169738216993\">Solving for [latex]\\frac{dy}{dx}[\/latex] yields<\/p>\r\n<div class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{e^y}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169738219487\">Finally, we substitute [latex]x=e^y[\/latex] to obtain<\/p>\r\n<div id=\"fs-id1169737145231\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169738221909\">We may also derive this result by applying the inverse function theorem, as follows. Since [latex]y=g(x)=\\ln x[\/latex] is the inverse of [latex]f(x)=e^x[\/latex], by applying the inverse function theorem we have<\/p>\r\n<div id=\"fs-id1169738070944\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{f^{\\prime}(g(x))}=\\dfrac{1}{e^{\\ln x}}=\\dfrac{1}{x}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169737951681\">Using this result and applying the chain rule to [latex]h(x)=\\ln(g(x))[\/latex] yields<\/p>\r\n<div id=\"fs-id1169738106180\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{1}{g(x)} g^{\\prime}(x)[\/latex]<\/div>\r\n<p>[latex]_\\blacksquare[\/latex]<\/p>\r\n<\/section>\r\n<p>The graph of [latex]y=\\ln x[\/latex] and its derivative [latex]\\frac{dy}{dx}=\\frac{1}{x}[\/latex] are shown in Figure 3.<\/p>\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\/2332\/2018\/01\/11205536\/CNX_Calc_Figure_03_09_003.jpg\" alt=\"Graph of the function ln x along with its derivative 1\/x. The function ln x is increasing on (0, + \u221e). Its derivative is decreasing but greater than 0 on (0, + \u221e).\" width=\"487\" height=\"209\" \/> Figure 3.\u00a0The function [latex]y=\\ln x[\/latex] is increasing on [latex](0,+\\infty)[\/latex]. Its derivative [latex]y^{\\prime} =\\frac{1}{x}[\/latex] is greater than zero on [latex](0,+\\infty)[\/latex].[\/caption]\r\n\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169738228377\">Find the derivative of [latex]f(x)=\\ln(x^3+3x-4)[\/latex]<\/p>\r\n<p>[reveal-answer q=\"fs-id1169738221312\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169738221312\"]<\/p>\r\n<p id=\"fs-id1169738221312\">Use the derivative of a natural logarithm directly.<\/p>\r\n<div id=\"fs-id1169738220266\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} f^{\\prime}(x) &amp; =\\frac{1}{x^3+3x-4} \\cdot (3x^2+3) &amp; &amp; &amp; \\text{Use} \\, g(x)=x^3+3x-4 \\, \\text{in} \\, h^{\\prime}(x)=\\frac{1}{g(x)} g^{\\prime}(x). \\\\ &amp; =\\frac{3x^2+3}{x^3+3x-4} &amp; &amp; &amp; \\text{Rewrite.} \\end{array}[\/latex]<\/div>\r\n\r\n[\/hidden-answer]<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169738106144\">Find the derivative of [latex]f(x)=\\ln\\left(\\dfrac{x^2 \\sin x}{2x+1}\\right)[\/latex]<\/p>\r\n<p>[reveal-answer q=\"fs-id1169738219674\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169738219674\"]<\/p>\r\n<p id=\"fs-id1169738219674\">At first glance, taking this derivative appears rather complicated. However, by using the properties of logarithms prior to finding the derivative, we can make the problem much simpler.<\/p>\r\n<div id=\"fs-id1169738219679\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} f(x) &amp; = \\ln(\\frac{x^2 \\sin x}{2x+1})=2\\ln x+\\ln(\\sin x)-\\ln(2x+1) &amp; &amp; &amp; \\text{Apply properties of logarithms.} \\\\ f^{\\prime}(x) &amp; = \\frac{2}{x} + \\frac{\\cos x}{\\sin x} -\\frac{2}{2x+1} &amp; &amp; &amp; \\text{Apply sum rule and} \\, h^{\\prime}(x)=\\frac{1}{g(x)} g^{\\prime}(x). \\\\ &amp; = \\frac{2}{x} + \\cot x - \\frac{2}{2x+1} &amp; &amp; &amp; \\text{Simplify using the quotient identity for cotangent.} \\end{array}[\/latex]<\/div>\r\n\r\n[\/hidden-answer]<\/section>\r\n<p id=\"fs-id1169738076342\">Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of [latex]y=\\log_b x[\/latex] and [latex]y=b^x[\/latex] for [latex]b&gt;0, \\, b\\ne 1[\/latex].<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3 style=\"text-align: left;\">derivatives of general exponential and logarithmic functions<\/h3>\r\n<p id=\"fs-id1169738186170\">Let [latex]b&gt;0, \\, b\\ne 1[\/latex], and let [latex]g(x)[\/latex] be a differentiable function.<\/p>\r\n<ol id=\"fs-id1169737998025\">\r\n\t<li>If [latex]y=\\log_b x[\/latex], then<br \/>\r\n<div id=\"fs-id1169738105090\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x \\ln b}[\/latex]<\/div>\r\n<p>More generally, if [latex]h(x)=\\log_b (g(x))[\/latex], then for all values of [latex]x[\/latex] for which [latex]g(x)&gt;0[\/latex],<\/p>\r\n<div id=\"fs-id1169738186308\" class=\"equation\">\r\n<p style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{g^{\\prime}(x)}{g(x) \\ln b}[\/latex]<\/p>\r\n<\/div>\r\n<\/li>\r\n\t<li>If [latex]y=b^x[\/latex], then<br \/>\r\n<div id=\"fs-id1169738224034\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=b^x \\ln b[\/latex]<\/div>\r\n<p>More generally, if [latex]h(x)=b^{g(x)}[\/latex], then<\/p>\r\n<div id=\"fs-id1169738045159\" class=\"equation\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=b^{g(x)} g^{\\prime}(x) \\ln b[\/latex]<\/div>\r\n<\/li>\r\n<\/ol>\r\n<\/section>\r\n<section class=\"textbox connectIt\">\r\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\r\n<hr \/>\r\n<p id=\"fs-id1169738184804\">If [latex]y=\\log_b x[\/latex], then [latex]b^y=x[\/latex]. It follows that [latex]\\ln(b^y)=\\ln x[\/latex]. Thus [latex]y \\ln b = \\ln x[\/latex]. Solving for [latex]y[\/latex], we have [latex]y=\\frac{\\ln x}{\\ln b}[\/latex]. Differentiating and keeping in mind that [latex]\\ln b[\/latex] is a constant, we see that<\/p>\r\n<div id=\"fs-id1169738211798\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x \\ln b}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169738211864\">The derivative from above now follows from the chain rule.<\/p>\r\n<p id=\"fs-id1169737954089\">If [latex]y=b^x[\/latex], then [latex]\\ln y=x \\ln b[\/latex]. Using implicit differentiation, again keeping in mind that [latex]\\ln b[\/latex] is constant, it follows that [latex]\\frac{1}{y}\\frac{dy}{dx}=\\text{ln}b.[\/latex] Solving for [latex]\\frac{dy}{dx}[\/latex] and substituting [latex]y=b^x[\/latex], we see that<\/p>\r\n<div id=\"fs-id1169737934328\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=y \\ln b=b^x \\ln b[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169737145057\">The more general derivative follows from the chain rule.<\/p>\r\n<p>[latex]_\\blacksquare[\/latex]<\/p>\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169738185259\">Find the derivative of [latex]h(x)= \\dfrac{3^x}{3^x+2}[\/latex]<\/p>\r\n<p>[reveal-answer q=\"fs-id1169737700313\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169737700313\"]<\/p>\r\n<p id=\"fs-id1169737700313\">Use the quotient rule and the derivative from above.<\/p>\r\n<div id=\"fs-id1169737700320\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} h^{\\prime}(x) &amp; = \\large \\frac{3^x \\ln 3(3^x+2)-3^x \\ln 3(3^x)}{(3^x+2)^2} &amp; &amp; &amp; \\text{Apply the quotient rule.} \\\\ &amp; = \\large \\frac{2 \\cdot 3^x \\ln 3}{(3^x+2)^2} &amp; &amp; &amp; \\text{Simplify.} \\end{array}[\/latex]<\/div>\r\n\r\n[\/hidden-answer]<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169738219403\">Find the slope of the line tangent to the graph of [latex]y=\\log_2 (3x+1)[\/latex] at [latex]x=1[\/latex].<\/p>\r\n<p>[reveal-answer q=\"fs-id1169738045067\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169738045067\"]<\/p>\r\n<p id=\"fs-id1169738045067\">To find the slope, we must evaluate [latex]\\dfrac{dy}{dx}[\/latex] at [latex]x=1[\/latex]. Using the derivative above, we see that<\/p>\r\n<div id=\"fs-id1169738197861\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{dy}{dx}=\\dfrac{3}{\\ln 2(3x+1)}[\/latex]<\/div>\r\n<p id=\"fs-id1169738186987\">By evaluating the derivative at [latex]x=1[\/latex], we see that the tangent line has slope<\/p>\r\n<div id=\"fs-id1169738187002\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}|_{x=1} =\\frac{3}{4 \\ln 2}=\\frac{3}{\\ln 16}[\/latex]<\/div>\r\n\r\n[\/hidden-answer]<\/section>\r\n<section class=\"textbox tryIt\">\r\n<p>[ohm_question hide_question_numbers=1]288388[\/ohm_question]<\/p>\r\n<\/section>","rendered":"<h2>Derivative of the Logarithmic Function<\/h2>\n<p id=\"fs-id1169738222225\">Now that we have the derivative of the natural exponential function, we can use implicit differentiation to find the derivative of its inverse, the natural logarithmic function.<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3 style=\"text-align: left;\">derivative of the natural logarithmic function<\/h3>\n<p id=\"fs-id1169737911417\">If [latex]x>0[\/latex] and [latex]y=\\ln x[\/latex], then<\/p>\n<div id=\"fs-id1169738223534\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169737765282\">More generally, let [latex]g(x)[\/latex] be a differentiable function. For all values of [latex]x[\/latex] for which [latex]g^{\\prime}(x)>0[\/latex], the derivative of [latex]h(x)=\\ln(g(x))[\/latex] is given by<\/p>\n<div id=\"fs-id1169737919348\" class=\"equation\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{1}{g(x)} g^{\\prime}(x)[\/latex]<\/div>\n<\/section>\n<section class=\"textbox connectIt\">\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\n<hr \/>\n<p id=\"fs-id1169738186955\">If [latex]x>0[\/latex] and [latex]y=\\ln x[\/latex], then [latex]e^y=x[\/latex]. Differentiating both sides of this equation results in the equation<\/p>\n<div id=\"fs-id1169738212688\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]e^y\\frac{dy}{dx}=1[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169738216993\">Solving for [latex]\\frac{dy}{dx}[\/latex] yields<\/p>\n<div class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{e^y}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169738219487\">Finally, we substitute [latex]x=e^y[\/latex] to obtain<\/p>\n<div id=\"fs-id1169737145231\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169738221909\">We may also derive this result by applying the inverse function theorem, as follows. Since [latex]y=g(x)=\\ln x[\/latex] is the inverse of [latex]f(x)=e^x[\/latex], by applying the inverse function theorem we have<\/p>\n<div id=\"fs-id1169738070944\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{f^{\\prime}(g(x))}=\\dfrac{1}{e^{\\ln x}}=\\dfrac{1}{x}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169737951681\">Using this result and applying the chain rule to [latex]h(x)=\\ln(g(x))[\/latex] yields<\/p>\n<div id=\"fs-id1169738106180\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{1}{g(x)} g^{\\prime}(x)[\/latex]<\/div>\n<p>[latex]_\\blacksquare[\/latex]<br \/>\n<\/section>\n<p>The graph of [latex]y=\\ln x[\/latex] and its derivative [latex]\\frac{dy}{dx}=\\frac{1}{x}[\/latex] are shown in Figure 3.<\/p>\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11205536\/CNX_Calc_Figure_03_09_003.jpg\" alt=\"Graph of the function ln x along with its derivative 1\/x. The function ln x is increasing on (0, + \u221e). Its derivative is decreasing but greater than 0 on (0, + \u221e).\" width=\"487\" height=\"209\" \/><figcaption class=\"wp-caption-text\">Figure 3.\u00a0The function [latex]y=\\ln x[\/latex] is increasing on [latex](0,+\\infty)[\/latex]. Its derivative [latex]y^{\\prime} =\\frac{1}{x}[\/latex] is greater than zero on [latex](0,+\\infty)[\/latex].<\/figcaption><\/figure>\n<section class=\"textbox example\">\n<p id=\"fs-id1169738228377\">Find the derivative of [latex]f(x)=\\ln(x^3+3x-4)[\/latex]<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169738221312\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169738221312\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169738221312\">Use the derivative of a natural logarithm directly.<\/p>\n<div id=\"fs-id1169738220266\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} f^{\\prime}(x) & =\\frac{1}{x^3+3x-4} \\cdot (3x^2+3) & & & \\text{Use} \\, g(x)=x^3+3x-4 \\, \\text{in} \\, h^{\\prime}(x)=\\frac{1}{g(x)} g^{\\prime}(x). \\\\ & =\\frac{3x^2+3}{x^3+3x-4} & & & \\text{Rewrite.} \\end{array}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1169738106144\">Find the derivative of [latex]f(x)=\\ln\\left(\\dfrac{x^2 \\sin x}{2x+1}\\right)[\/latex]<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169738219674\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169738219674\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169738219674\">At first glance, taking this derivative appears rather complicated. However, by using the properties of logarithms prior to finding the derivative, we can make the problem much simpler.<\/p>\n<div id=\"fs-id1169738219679\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} f(x) & = \\ln(\\frac{x^2 \\sin x}{2x+1})=2\\ln x+\\ln(\\sin x)-\\ln(2x+1) & & & \\text{Apply properties of logarithms.} \\\\ f^{\\prime}(x) & = \\frac{2}{x} + \\frac{\\cos x}{\\sin x} -\\frac{2}{2x+1} & & & \\text{Apply sum rule and} \\, h^{\\prime}(x)=\\frac{1}{g(x)} g^{\\prime}(x). \\\\ & = \\frac{2}{x} + \\cot x - \\frac{2}{2x+1} & & & \\text{Simplify using the quotient identity for cotangent.} \\end{array}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/section>\n<p id=\"fs-id1169738076342\">Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of [latex]y=\\log_b x[\/latex] and [latex]y=b^x[\/latex] for [latex]b>0, \\, b\\ne 1[\/latex].<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3 style=\"text-align: left;\">derivatives of general exponential and logarithmic functions<\/h3>\n<p id=\"fs-id1169738186170\">Let [latex]b>0, \\, b\\ne 1[\/latex], and let [latex]g(x)[\/latex] be a differentiable function.<\/p>\n<ol id=\"fs-id1169737998025\">\n<li>If [latex]y=\\log_b x[\/latex], then\n<div id=\"fs-id1169738105090\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x \\ln b}[\/latex]<\/div>\n<p>More generally, if [latex]h(x)=\\log_b (g(x))[\/latex], then for all values of [latex]x[\/latex] for which [latex]g(x)>0[\/latex],<\/p>\n<div id=\"fs-id1169738186308\" class=\"equation\">\n<p style=\"text-align: center;\">[latex]h^{\\prime}(x)=\\dfrac{g^{\\prime}(x)}{g(x) \\ln b}[\/latex]<\/p>\n<\/div>\n<\/li>\n<li>If [latex]y=b^x[\/latex], then\n<div id=\"fs-id1169738224034\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=b^x \\ln b[\/latex]<\/div>\n<p>More generally, if [latex]h(x)=b^{g(x)}[\/latex], then<\/p>\n<div id=\"fs-id1169738045159\" class=\"equation\" style=\"text-align: center;\">[latex]h^{\\prime}(x)=b^{g(x)} g^{\\prime}(x) \\ln b[\/latex]<\/div>\n<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox connectIt\">\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\n<hr \/>\n<p id=\"fs-id1169738184804\">If [latex]y=\\log_b x[\/latex], then [latex]b^y=x[\/latex]. It follows that [latex]\\ln(b^y)=\\ln x[\/latex]. Thus [latex]y \\ln b = \\ln x[\/latex]. Solving for [latex]y[\/latex], we have [latex]y=\\frac{\\ln x}{\\ln b}[\/latex]. Differentiating and keeping in mind that [latex]\\ln b[\/latex] is a constant, we see that<\/p>\n<div id=\"fs-id1169738211798\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=\\dfrac{1}{x \\ln b}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169738211864\">The derivative from above now follows from the chain rule.<\/p>\n<p id=\"fs-id1169737954089\">If [latex]y=b^x[\/latex], then [latex]\\ln y=x \\ln b[\/latex]. Using implicit differentiation, again keeping in mind that [latex]\\ln b[\/latex] is constant, it follows that [latex]\\frac{1}{y}\\frac{dy}{dx}=\\text{ln}b.[\/latex] Solving for [latex]\\frac{dy}{dx}[\/latex] and substituting [latex]y=b^x[\/latex], we see that<\/p>\n<div id=\"fs-id1169737934328\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}=y \\ln b=b^x \\ln b[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169737145057\">The more general derivative follows from the chain rule.<\/p>\n<p>[latex]_\\blacksquare[\/latex]<br \/>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1169738185259\">Find the derivative of [latex]h(x)= \\dfrac{3^x}{3^x+2}[\/latex]<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169737700313\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169737700313\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169737700313\">Use the quotient rule and the derivative from above.<\/p>\n<div id=\"fs-id1169737700320\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{lllll} h^{\\prime}(x) & = \\large \\frac{3^x \\ln 3(3^x+2)-3^x \\ln 3(3^x)}{(3^x+2)^2} & & & \\text{Apply the quotient rule.} \\\\ & = \\large \\frac{2 \\cdot 3^x \\ln 3}{(3^x+2)^2} & & & \\text{Simplify.} \\end{array}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1169738219403\">Find the slope of the line tangent to the graph of [latex]y=\\log_2 (3x+1)[\/latex] at [latex]x=1[\/latex].<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169738045067\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169738045067\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169738045067\">To find the slope, we must evaluate [latex]\\dfrac{dy}{dx}[\/latex] at [latex]x=1[\/latex]. Using the derivative above, we see that<\/p>\n<div id=\"fs-id1169738197861\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{dy}{dx}=\\dfrac{3}{\\ln 2(3x+1)}[\/latex]<\/div>\n<p id=\"fs-id1169738186987\">By evaluating the derivative at [latex]x=1[\/latex], we see that the tangent line has slope<\/p>\n<div id=\"fs-id1169738187002\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{dy}{dx}|_{x=1} =\\frac{3}{4 \\ln 2}=\\frac{3}{\\ln 16}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">\n<iframe loading=\"lazy\" id=\"ohm288388\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=288388&theme=lumen&iframe_resize_id=ohm288388&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><br \/>\n<\/section>\n","protected":false},"author":6,"menu_order":24,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Calculus Volume 1\",\"author\":\"Gilbert Strang, Edwin (Jed) Herman\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/details\/books\/calculus-volume-1\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction\"},{\"type\":\"original\",\"description\":\"3.9 Derivatives of Exponential and Logarithmic Functions\",\"author\":\"Ryan Melton\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":560,"module-header":"learn_it","content_attributions":[{"type":"cc","description":"Calculus Volume 1","author":"Gilbert Strang, Edwin (Jed) Herman","organization":"OpenStax","url":"https:\/\/openstax.org\/details\/books\/calculus-volume-1","project":"","license":"cc-by-nc-sa","license_terms":"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction"},{"type":"original","description":"3.9 Derivatives of Exponential and Logarithmic Functions","author":"Ryan Melton","organization":"","url":"","project":"","license":"cc-by","license_terms":""}],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/265"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":10,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/265\/revisions"}],"predecessor-version":[{"id":4538,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/265\/revisions\/4538"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/parts\/560"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/265\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/media?parent=265"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapter-type?post=265"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/contributor?post=265"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/license?post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}