{"id":230,"date":"2023-09-20T22:48:26","date_gmt":"2023-09-20T22:48:26","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/derivative-basics\/"},"modified":"2024-08-05T12:32:58","modified_gmt":"2024-08-05T12:32:58","slug":"defining-the-derivative-learn-it-1","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/defining-the-derivative-learn-it-1\/","title":{"raw":"Defining the Derivative: Learn It 1","rendered":"Defining the Derivative: Learn It 1"},"content":{"raw":"<section class=\"textbox learningGoals\">\r\n<ul>\r\n\t<li>Calculate the slope of a tangent line to a curve and find its equation<\/li>\r\n\t<li>Find the derivative of a function at a given point<\/li>\r\n\t<li>Explain how velocity measures speed over time, and compare average velocity over a period with the exact speed at a specific moment<\/li>\r\n<\/ul>\r\n<\/section>\r\n<p>Now that we understand limits and can compute them, we have established the foundation for studying calculus, the branch of mathematics involving derivatives and integrals. Calculus was independently developed by the Englishman Isaac Newton (1643-1727) and the German Gottfried Leibniz (1646-1716).<\/p>\r\n<p>When we credit Newton and Leibniz with developing calculus, we refer to their understanding of the relationship between the derivative and the integral. Both benefitted from the work of predecessors like Barrow, Fermat, and Cavalieri. Initially, Newton and Leibniz had an amicable relationship, but a controversy later erupted over who developed calculus first. Although it appears Newton arrived at the ideas first, we are indebted to Leibniz for the notation that we commonly use today.<\/p>\r\n<h2>Tangent Lines<\/h2>\r\n<p id=\"fs-id1169739302308\">Let's start by revisiting the notion of secant lines and tangent lines. The slope of a secant line to a function at a point [latex](a,f(a))[\/latex] helps estimate the rate of change. We can find the slope of the secant by choosing a value of [latex]x[\/latex] near [latex]a[\/latex] and drawing a line through the points [latex](a,f(a))[\/latex] and [latex](x,f(x))[\/latex]. The slope of this line is given by the <strong>difference quotient<\/strong>:<\/p>\r\n<div id=\"fs-id1169738930229\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]m_{\\sec}=\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\r\n<p id=\"fs-id1169738929481\">We can also calculate the slope of a secant line to a function at a value [latex]a[\/latex] by using this equation and replacing [latex]x[\/latex] with [latex]a+h[\/latex], where [latex]h[\/latex] is a value close to [latex]0[\/latex]. This gives us the slope of the secant line through the points [latex](a,f(a))[\/latex] and [latex](a+h,f(a+h))[\/latex]:<\/p>\r\n<div id=\"fs-id1169738985511\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]m_{\\sec}=\\dfrac{f(a+h)-f(a)}{a+h-a}=\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3>difference quotient<\/h3>\r\n<p id=\"fs-id1169738924962\">Let [latex]f[\/latex] be a function defined on an interval [latex]I[\/latex] containing [latex]a[\/latex]. If [latex]x\\ne a[\/latex] is in [latex]I[\/latex], then<\/p>\r\n<div id=\"fs-id1169738850293\" class=\"equation\" style=\"text-align: center;\">[latex]Q=\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\r\n<p id=\"fs-id1169738879993\">is a <strong>difference quotient<\/strong>.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169739195558\">Also, if [latex]h\\ne 0[\/latex] is chosen so that [latex]a+h[\/latex] is in [latex]I[\/latex], then<\/p>\r\n<div id=\"fs-id1169739097936\" class=\"equation\" style=\"text-align: center;\">[latex]Q=\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\r\n<p id=\"fs-id1169738913121\">is a difference quotient with increment [latex]h[\/latex].<\/p>\r\n<\/section>\r\n<p id=\"fs-id1169738819917\">These two expressions for calculating the slope of a secant line are illustrated in Figure 2. Depending on the setting, we can choose either method based on ease of calculation.<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"875\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11205147\/CNX_Calc_Figure_03_01_002.jpg\" alt=\"This figure consists of two graphs labeled a and b. Figure a shows the Cartesian coordinate plane with 0, a, and x marked on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)) and (x, f(x)). There is also a straight line that crosses these two points (a, f(a)) and (x, f(x)). At the bottom of the graph, the equation msec = (f(x) - f(a))\/(x - a) is given. Figure b shows a similar graph, but this time a + h is marked on the x-axis instead of x. Consequently, the curve labeled y = f(x) passes through (a, f(a)) and (a + h, f(a + h)) as does the straight line. At the bottom of the graph, the equation msec = (f(a + h) - f(a))\/h is given.\" width=\"875\" height=\"442\" \/> Figure 2. We can calculate the slope of a secant line in either of two ways.[\/caption]\r\n\r\n<p id=\"fs-id1169738909226\">In Figure 3(a), as the values of [latex]x[\/latex] approach [latex]a[\/latex], the slopes of the secant lines provide better estimates of the rate of change of the function at [latex]a[\/latex]. The secant lines themselves approach the tangent line to the function at [latex]a[\/latex], which represents the limit of the secant lines. Similarly, Figure 3(b) shows that as the values of [latex]h[\/latex] get closer to [latex]0[\/latex], the secant lines also approach the tangent line. The slope of the tangent line at [latex]a[\/latex] is the rate of change of the function at [latex]a[\/latex], as shown in Figure 3(c).<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"956\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11205151\/CNX_Calc_Figure_03_01_003.jpg\" alt=\"This figure consists of three graphs labeled a, b, and c. Figure a shows the Cartesian coordinate plane with 0, a, x2, and x1 marked in order on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)), (x2, f(x2)), and (x1, f(x1)). There are three straight lines: the first crosses (a, f(a)) and (x1, f(x1)); the second crosses (a, f(a)) and (x2, f(x2)); and the third only touches (a, f(a)), making it the tangent. At the bottom of the graph, the equation mtan = limx \u2192 a (f(x) - f(a))\/(x - a) is given. Figure b shows a similar graph, but this time a + h2 and a + h1 are marked on the x-axis instead of x2 and x1. Consequently, the curve labeled y = f(x) passes through (a, f(a)), (a + h2, f(a + h2)), and (a + h1, f(a + h1)) and the straight lines similarly cross the graph as in Figure a. At the bottom of the graph, the equation mtan = limh \u2192 0 (f(a + h) - f(a))\/h is given. Figure c shows only the curve labeled y = f(x) and its tangent at point (a, f(a)).\" width=\"956\" height=\"368\" \/> Figure 3. The secant lines approach the tangent line (shown in green) as the second point approaches the first.[\/caption]\r\n\r\n<p id=\"fs-id1169738949813\">Figure 4 shows the graph of [latex]f(x)=\\sqrt{x}[\/latex] and its tangent line at [latex](1,1)[\/latex] in a series of tighter intervals about [latex]x=1[\/latex]. As the intervals narrow, the graph of the function and its tangent line appear to coincide, making the values on the tangent line a goodapproximation of the function near [latex]x =1[\/latex]. In fact, the graph of [latex]f(x)[\/latex] appears locally linear close to [latex]x=1[\/latex].<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"831\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11205154\/CNX_Calc_Figure_03_01_008.jpg\" alt=\"This figure consists of four graphs labeled a, b, c, and d. Figure a shows the graphs of the square root of x and the equation y = (x + 1)\/2 with the x-axis going from 0 to 4 and the y-axis going from 0 to 2.5. The graphs of these two functions look very close near 1; there is a box around where these graphs look close. Figure b shows a close up of these same two functions in the area of the box from Figure a, specifically x going from 0 to 2 and y going from 0 to 1.4. Figure c is the same graph as Figure b, but this one has a box from 0 to 1.1 in the x coordinate and 0.8 and 1 on the y coordinate. There is an arrow indicating that this is blown up in Figure d. Figure d shows a very close picture of the box from Figure c, and the two functions appear to be touching for almost the entire length of the graph.\" width=\"831\" height=\"721\" \/> Figure 4. For values of [latex]x[\/latex] close to 1, the graph of [latex]f(x)=\\sqrt{x}[\/latex] and its tangent line appear to coincide.[\/caption]\r\n\r\n<p id=\"fs-id1169738971600\">Formally we may define the tangent line to the graph of a function as follows.<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3 style=\"text-align: left;\">tangent line<\/h3>\r\n<p id=\"fs-id1169738962299\">Let [latex]f(x)[\/latex] be a function defined in an open interval containing [latex]a[\/latex]. The <em>tangent line<\/em> to [latex]f(x)[\/latex] at [latex]a[\/latex] is the line passing through the point [latex](a,f(a))[\/latex] having slope<\/p>\r\n<div id=\"fs-id1169739226063\" class=\"equation\" style=\"text-align: center;\">[latex]m_{\\tan}=\\underset{x\\to a}{\\lim}\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\r\n<p id=\"fs-id1169738970954\">provided this limit exists.<br \/>\r\n<br \/>\r\n<\/p>\r\n<p id=\"fs-id1169738947329\">Equivalently, we may define the tangent line to [latex]f(x)[\/latex] at [latex]a[\/latex] to be the line passing through the point [latex](a,f(a))[\/latex] having slope<\/p>\r\n<div id=\"fs-id1169738970614\" class=\"equation\" style=\"text-align: center;\">[latex]m_{\\tan}=\\underset{h\\to 0}{\\lim}\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\r\n<p>provided this limit exists.<\/p>\r\n<\/section>\r\n<p>Just as we used two expressions to define the slope of a secant line, we use two forms to define the slope of a tangent line. In this text, we use both definitions depending on the context.<\/p>\r\n<p>Now that we have defined a tangent line to a function at a point, we can find equations of tangent lines. This requires recalling two algebraic techniques: evaluating a function with variable inputs and using point-slope form to write an equation of a line.<br \/>\r\n<br \/>\r\n<\/p>\r\n<section class=\"textbox recall\">\r\n<ul>\r\n\t<li><strong>Evaluating Functions<\/strong>: Functions can be evaluated for inputs that are variables or expressions. The process is the same as evaluating with a constant, but the simplified answer will contain a variable.<\/li>\r\n\t<li><strong>Point-Slope Form<\/strong>: The point-slope form of a linear equation takes the form:<center>[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/center>where [latex]m[\/latex] is the slope, and [latex](x_1,y_1)[\/latex] are the coordinates of a specific point through which the line passes.<\/li>\r\n<\/ul>\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169739030550\">Find the equation of the line tangent to the graph of [latex]f(x)=x^2[\/latex] at [latex]x=3[\/latex].<\/p>\r\n<p>[reveal-answer q=\"fs-id1169738899144\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169738899144\"]<\/p>\r\n<p id=\"fs-id1169738899144\">First find the slope of the tangent line. In this example, use the first definition above.<\/p>\r\n<div id=\"fs-id1169738970130\" class=\"equation unnumbered\">[latex]\\begin{array}{lllll}m_{\\tan} &amp; =\\underset{x\\to 3}{\\lim}\\frac{f(x)-f(3)}{x-3} &amp; &amp; &amp; \\text{Apply the definition.} \\\\ &amp; =\\underset{x\\to 3}{\\lim}\\frac{x^2-9}{x-3} &amp; &amp; &amp; \\text{Substitute} \\, f(x)=x^2 \\, \\text{and} \\, f(3)=9. \\\\ &amp; =\\underset{x\\to 3}{\\lim}\\frac{(x-3)(x+3)}{x-3}=\\underset{x\\to 3}{\\lim}(x+3)=6 &amp; &amp; &amp; \\text{Factor the numerator to evaluate the limit.} \\end{array}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1169739020694\">Next, find a point on the tangent line. Since the line is tangent to the graph of [latex]f(x)[\/latex] at [latex]x=3[\/latex], it passes through the point [latex](3,f(3))[\/latex]. We have [latex]f(3)=9[\/latex], so the tangent line passes through the point [latex](3,9)[\/latex].<\/p>\r\n<p id=\"fs-id1169738993948\">Using the point-slope equation of the line with the slope [latex]m=6[\/latex] and the point [latex](3,9)[\/latex], we obtain the line [latex]y-9=6(x-3)[\/latex]. Simplifying, we have [latex]y=6x-9[\/latex]. The graph of [latex]f(x)=x^2[\/latex] and its tangent line at [latex]x=3[\/latex] are shown in Figure 5.<\/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\/11205157\/CNX_Calc_Figure_03_01_005.jpg\" alt=\"This figure consists of the graphs of f(x) = x squared and y = 6x - 9. The graphs of these functions appear to touch at x = 3.\" width=\"487\" height=\"321\" \/> Figure 5. The tangent line to [latex]f(x)[\/latex] at [latex]x=3[\/latex].[\/caption]\r\n\r\n<p>Watch the following video to see the worked solution to this example.<\/p>\r\n<center><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/VnDnInldaMM?controls=0&amp;start=418&amp;end=506&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/center>\r\n<p>For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\r\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/3.1DefiningTheDerivative418to506_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of \"3.1 Defining the Derivative\" here (opens in new window)<\/a>.<\/p>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1169739031271\">Use the second definition to find the slope of the line tangent to the graph of [latex]f(x)=x^2[\/latex] at [latex]x=3[\/latex].<\/p>\r\n<p>[reveal-answer q=\"fs-id1169738885423\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1169738885423\"]<\/p>\r\n<p id=\"fs-id1169738885423\">The steps are very similar to the previous example.<\/p>\r\n<div id=\"fs-id1169739043970\" class=\"equation unnumbered\">[latex]\\begin{array}{lllll}m_{\\tan} &amp; =\\underset{h\\to 0}{\\lim}\\frac{f(3+h)-f(3)}{h} &amp; &amp; &amp; \\text{Apply the definition.} \\\\ &amp; =\\underset{h\\to 0}{\\lim}\\frac{(3+h)^2-9}{h} &amp; &amp; &amp; \\text{Substitute} \\, f(3+h)=(3+h)^2 \\, \\text{and} \\, f(3)=9. \\\\ &amp; =\\underset{h\\to 0}{\\lim}\\frac{9+6h+h^2-9}{h} &amp; &amp; &amp; \\text{Expand and simplify to evaluate the limit.} \\\\ &amp; =\\underset{h\\to 0}{\\lim}\\frac{h(6+h)}{h}=\\underset{h\\to 0}{\\lim}(6+h)=6 \\end{array}[\/latex]<\/div>\r\n<p id=\"fs-id1169738960593\">We obtained the same value for the slope of the tangent line by using the other definition, demonstrating that the formulas can be interchanged.<\/p>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox tryIt\">\r\n<p>[ohm_question hide_question_numbers=1]204652[\/ohm_question]<\/p>\r\n<\/section>","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li>Calculate the slope of a tangent line to a curve and find its equation<\/li>\n<li>Find the derivative of a function at a given point<\/li>\n<li>Explain how velocity measures speed over time, and compare average velocity over a period with the exact speed at a specific moment<\/li>\n<\/ul>\n<\/section>\n<p>Now that we understand limits and can compute them, we have established the foundation for studying calculus, the branch of mathematics involving derivatives and integrals. Calculus was independently developed by the Englishman Isaac Newton (1643-1727) and the German Gottfried Leibniz (1646-1716).<\/p>\n<p>When we credit Newton and Leibniz with developing calculus, we refer to their understanding of the relationship between the derivative and the integral. Both benefitted from the work of predecessors like Barrow, Fermat, and Cavalieri. Initially, Newton and Leibniz had an amicable relationship, but a controversy later erupted over who developed calculus first. Although it appears Newton arrived at the ideas first, we are indebted to Leibniz for the notation that we commonly use today.<\/p>\n<h2>Tangent Lines<\/h2>\n<p id=\"fs-id1169739302308\">Let&#8217;s start by revisiting the notion of secant lines and tangent lines. The slope of a secant line to a function at a point [latex](a,f(a))[\/latex] helps estimate the rate of change. We can find the slope of the secant by choosing a value of [latex]x[\/latex] near [latex]a[\/latex] and drawing a line through the points [latex](a,f(a))[\/latex] and [latex](x,f(x))[\/latex]. The slope of this line is given by the <strong>difference quotient<\/strong>:<\/p>\n<div id=\"fs-id1169738930229\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]m_{\\sec}=\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\n<p id=\"fs-id1169738929481\">We can also calculate the slope of a secant line to a function at a value [latex]a[\/latex] by using this equation and replacing [latex]x[\/latex] with [latex]a+h[\/latex], where [latex]h[\/latex] is a value close to [latex]0[\/latex]. This gives us the slope of the secant line through the points [latex](a,f(a))[\/latex] and [latex](a+h,f(a+h))[\/latex]:<\/p>\n<div id=\"fs-id1169738985511\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]m_{\\sec}=\\dfrac{f(a+h)-f(a)}{a+h-a}=\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\n<section class=\"textbox keyTakeaway\">\n<h3>difference quotient<\/h3>\n<p id=\"fs-id1169738924962\">Let [latex]f[\/latex] be a function defined on an interval [latex]I[\/latex] containing [latex]a[\/latex]. If [latex]x\\ne a[\/latex] is in [latex]I[\/latex], then<\/p>\n<div id=\"fs-id1169738850293\" class=\"equation\" style=\"text-align: center;\">[latex]Q=\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\n<p id=\"fs-id1169738879993\">is a <strong>difference quotient<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169739195558\">Also, if [latex]h\\ne 0[\/latex] is chosen so that [latex]a+h[\/latex] is in [latex]I[\/latex], then<\/p>\n<div id=\"fs-id1169739097936\" class=\"equation\" style=\"text-align: center;\">[latex]Q=\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\n<p id=\"fs-id1169738913121\">is a difference quotient with increment [latex]h[\/latex].<\/p>\n<\/section>\n<p id=\"fs-id1169738819917\">These two expressions for calculating the slope of a secant line are illustrated in Figure 2. Depending on the setting, we can choose either method based on ease of calculation.<\/p>\n<figure style=\"width: 875px\" 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\/11205147\/CNX_Calc_Figure_03_01_002.jpg\" alt=\"This figure consists of two graphs labeled a and b. Figure a shows the Cartesian coordinate plane with 0, a, and x marked on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)) and (x, f(x)). There is also a straight line that crosses these two points (a, f(a)) and (x, f(x)). At the bottom of the graph, the equation msec = (f(x) - f(a))\/(x - a) is given. Figure b shows a similar graph, but this time a + h is marked on the x-axis instead of x. Consequently, the curve labeled y = f(x) passes through (a, f(a)) and (a + h, f(a + h)) as does the straight line. At the bottom of the graph, the equation msec = (f(a + h) - f(a))\/h is given.\" width=\"875\" height=\"442\" \/><figcaption class=\"wp-caption-text\">Figure 2. We can calculate the slope of a secant line in either of two ways.<\/figcaption><\/figure>\n<p id=\"fs-id1169738909226\">In Figure 3(a), as the values of [latex]x[\/latex] approach [latex]a[\/latex], the slopes of the secant lines provide better estimates of the rate of change of the function at [latex]a[\/latex]. The secant lines themselves approach the tangent line to the function at [latex]a[\/latex], which represents the limit of the secant lines. Similarly, Figure 3(b) shows that as the values of [latex]h[\/latex] get closer to [latex]0[\/latex], the secant lines also approach the tangent line. The slope of the tangent line at [latex]a[\/latex] is the rate of change of the function at [latex]a[\/latex], as shown in Figure 3(c).<\/p>\n<figure style=\"width: 956px\" 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\/11205151\/CNX_Calc_Figure_03_01_003.jpg\" alt=\"This figure consists of three graphs labeled a, b, and c. Figure a shows the Cartesian coordinate plane with 0, a, x2, and x1 marked in order on the x-axis. There is a curve labeled y = f(x) with points marked (a, f(a)), (x2, f(x2)), and (x1, f(x1)). There are three straight lines: the first crosses (a, f(a)) and (x1, f(x1)); the second crosses (a, f(a)) and (x2, f(x2)); and the third only touches (a, f(a)), making it the tangent. At the bottom of the graph, the equation mtan = limx \u2192 a (f(x) - f(a))\/(x - a) is given. Figure b shows a similar graph, but this time a + h2 and a + h1 are marked on the x-axis instead of x2 and x1. Consequently, the curve labeled y = f(x) passes through (a, f(a)), (a + h2, f(a + h2)), and (a + h1, f(a + h1)) and the straight lines similarly cross the graph as in Figure a. At the bottom of the graph, the equation mtan = limh \u2192 0 (f(a + h) - f(a))\/h is given. Figure c shows only the curve labeled y = f(x) and its tangent at point (a, f(a)).\" width=\"956\" height=\"368\" \/><figcaption class=\"wp-caption-text\">Figure 3. The secant lines approach the tangent line (shown in green) as the second point approaches the first.<\/figcaption><\/figure>\n<p id=\"fs-id1169738949813\">Figure 4 shows the graph of [latex]f(x)=\\sqrt{x}[\/latex] and its tangent line at [latex](1,1)[\/latex] in a series of tighter intervals about [latex]x=1[\/latex]. As the intervals narrow, the graph of the function and its tangent line appear to coincide, making the values on the tangent line a goodapproximation of the function near [latex]x =1[\/latex]. In fact, the graph of [latex]f(x)[\/latex] appears locally linear close to [latex]x=1[\/latex].<\/p>\n<figure style=\"width: 831px\" 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\/11205154\/CNX_Calc_Figure_03_01_008.jpg\" alt=\"This figure consists of four graphs labeled a, b, c, and d. Figure a shows the graphs of the square root of x and the equation y = (x + 1)\/2 with the x-axis going from 0 to 4 and the y-axis going from 0 to 2.5. The graphs of these two functions look very close near 1; there is a box around where these graphs look close. Figure b shows a close up of these same two functions in the area of the box from Figure a, specifically x going from 0 to 2 and y going from 0 to 1.4. Figure c is the same graph as Figure b, but this one has a box from 0 to 1.1 in the x coordinate and 0.8 and 1 on the y coordinate. There is an arrow indicating that this is blown up in Figure d. Figure d shows a very close picture of the box from Figure c, and the two functions appear to be touching for almost the entire length of the graph.\" width=\"831\" height=\"721\" \/><figcaption class=\"wp-caption-text\">Figure 4. For values of [latex]x[\/latex] close to 1, the graph of [latex]f(x)=\\sqrt{x}[\/latex] and its tangent line appear to coincide.<\/figcaption><\/figure>\n<p id=\"fs-id1169738971600\">Formally we may define the tangent line to the graph of a function as follows.<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3 style=\"text-align: left;\">tangent line<\/h3>\n<p id=\"fs-id1169738962299\">Let [latex]f(x)[\/latex] be a function defined in an open interval containing [latex]a[\/latex]. The <em>tangent line<\/em> to [latex]f(x)[\/latex] at [latex]a[\/latex] is the line passing through the point [latex](a,f(a))[\/latex] having slope<\/p>\n<div id=\"fs-id1169739226063\" class=\"equation\" style=\"text-align: center;\">[latex]m_{\\tan}=\\underset{x\\to a}{\\lim}\\dfrac{f(x)-f(a)}{x-a}[\/latex]<\/div>\n<p id=\"fs-id1169738970954\">provided this limit exists.<\/p>\n<p id=\"fs-id1169738947329\">Equivalently, we may define the tangent line to [latex]f(x)[\/latex] at [latex]a[\/latex] to be the line passing through the point [latex](a,f(a))[\/latex] having slope<\/p>\n<div id=\"fs-id1169738970614\" class=\"equation\" style=\"text-align: center;\">[latex]m_{\\tan}=\\underset{h\\to 0}{\\lim}\\dfrac{f(a+h)-f(a)}{h}[\/latex]<\/div>\n<p>provided this limit exists.<\/p>\n<\/section>\n<p>Just as we used two expressions to define the slope of a secant line, we use two forms to define the slope of a tangent line. In this text, we use both definitions depending on the context.<\/p>\n<p>Now that we have defined a tangent line to a function at a point, we can find equations of tangent lines. This requires recalling two algebraic techniques: evaluating a function with variable inputs and using point-slope form to write an equation of a line.<\/p>\n<section class=\"textbox recall\">\n<ul>\n<li><strong>Evaluating Functions<\/strong>: Functions can be evaluated for inputs that are variables or expressions. The process is the same as evaluating with a constant, but the simplified answer will contain a variable.<\/li>\n<li><strong>Point-Slope Form<\/strong>: The point-slope form of a linear equation takes the form:\n<div style=\"text-align: center;\">[latex]y-{y}_{1}=m\\left(x-{x}_{1}\\right)[\/latex]<\/div>\n<p>where [latex]m[\/latex] is the slope, and [latex](x_1,y_1)[\/latex] are the coordinates of a specific point through which the line passes.<\/li>\n<\/ul>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1169739030550\">Find the equation of the line tangent to the graph of [latex]f(x)=x^2[\/latex] at [latex]x=3[\/latex].<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169738899144\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169738899144\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169738899144\">First find the slope of the tangent line. In this example, use the first definition above.<\/p>\n<div id=\"fs-id1169738970130\" class=\"equation unnumbered\">[latex]\\begin{array}{lllll}m_{\\tan} & =\\underset{x\\to 3}{\\lim}\\frac{f(x)-f(3)}{x-3} & & & \\text{Apply the definition.} \\\\ & =\\underset{x\\to 3}{\\lim}\\frac{x^2-9}{x-3} & & & \\text{Substitute} \\, f(x)=x^2 \\, \\text{and} \\, f(3)=9. \\\\ & =\\underset{x\\to 3}{\\lim}\\frac{(x-3)(x+3)}{x-3}=\\underset{x\\to 3}{\\lim}(x+3)=6 & & & \\text{Factor the numerator to evaluate the limit.} \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1169739020694\">Next, find a point on the tangent line. Since the line is tangent to the graph of [latex]f(x)[\/latex] at [latex]x=3[\/latex], it passes through the point [latex](3,f(3))[\/latex]. We have [latex]f(3)=9[\/latex], so the tangent line passes through the point [latex](3,9)[\/latex].<\/p>\n<p id=\"fs-id1169738993948\">Using the point-slope equation of the line with the slope [latex]m=6[\/latex] and the point [latex](3,9)[\/latex], we obtain the line [latex]y-9=6(x-3)[\/latex]. Simplifying, we have [latex]y=6x-9[\/latex]. The graph of [latex]f(x)=x^2[\/latex] and its tangent line at [latex]x=3[\/latex] are shown in Figure 5.<\/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\/11205157\/CNX_Calc_Figure_03_01_005.jpg\" alt=\"This figure consists of the graphs of f(x) = x squared and y = 6x - 9. The graphs of these functions appear to touch at x = 3.\" width=\"487\" height=\"321\" \/><figcaption class=\"wp-caption-text\">Figure 5. The tangent line to [latex]f(x)[\/latex] at [latex]x=3[\/latex].<\/figcaption><\/figure>\n<p>Watch the following video to see the worked solution to this example.<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/VnDnInldaMM?controls=0&amp;start=418&amp;end=506&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/div>\n<p>For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/3.1DefiningTheDerivative418to506_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of &#8220;3.1 Defining the Derivative&#8221; here (opens in new window)<\/a>.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1169739031271\">Use the second definition to find the slope of the line tangent to the graph of [latex]f(x)=x^2[\/latex] at [latex]x=3[\/latex].<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1169738885423\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1169738885423\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1169738885423\">The steps are very similar to the previous example.<\/p>\n<div id=\"fs-id1169739043970\" class=\"equation unnumbered\">[latex]\\begin{array}{lllll}m_{\\tan} & =\\underset{h\\to 0}{\\lim}\\frac{f(3+h)-f(3)}{h} & & & \\text{Apply the definition.} \\\\ & =\\underset{h\\to 0}{\\lim}\\frac{(3+h)^2-9}{h} & & & \\text{Substitute} \\, f(3+h)=(3+h)^2 \\, \\text{and} \\, f(3)=9. \\\\ & =\\underset{h\\to 0}{\\lim}\\frac{9+6h+h^2-9}{h} & & & \\text{Expand and simplify to evaluate the limit.} \\\\ & =\\underset{h\\to 0}{\\lim}\\frac{h(6+h)}{h}=\\underset{h\\to 0}{\\lim}(6+h)=6 \\end{array}[\/latex]<\/div>\n<p id=\"fs-id1169738960593\">We obtained the same value for the slope of the tangent line by using the other definition, demonstrating that the formulas can be interchanged.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">\n<iframe loading=\"lazy\" id=\"ohm204652\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=204652&theme=lumen&iframe_resize_id=ohm204652&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><br \/>\n<\/section>\n","protected":false},"author":6,"menu_order":5,"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.1 Defining the Derivative\",\"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":503,"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.1 Defining the Derivative","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\/230"}],"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":18,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/230\/revisions"}],"predecessor-version":[{"id":4487,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/230\/revisions\/4487"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/parts\/503"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/230\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/media?parent=230"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapter-type?post=230"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/contributor?post=230"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/license?post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}