zachary

how to find the slope of a line tangent to a curve

many common questions asked on the ap calculus exams involve finding the equation of a line tangent to a curve at a point.  if we are adept at quickly taking derivatives of functions, then 90 percent of the work for these types of problems is done.  everything else comes down to quick algebra.

the first thing we need to do is to go back to what we learned in our algebra: the equation of a line or y = mx+b, where m is our slope and b is our y-intercept.  this should be at our fingertips.  now, we don’t always have our y-intercept, so a slightly different form of our equation of a line is often useful: y-y1 = m(x-x1), where m is our slope, and x1 and y1 are the coordinates of a point.  questions involving finding the equation of a line tangent to a point then come down to two parts: finding the slope, and finding a point on the line.

let us take an example

find the equations of a line tangent to y = x3-2x2+x-3 at the point x=1.  

firstly, what is the slope of this line going to be?  anytime we are asked about slope, immediately find the derivative of the function.  we should get y’ = 3x2 – 4x + 1.  evaluate this derivative at x = 1, and we get 3(1)2 -4(1) +1 = 3-4+1= 0.  the slope, m, of this function at x=1 is 0.  m=0.  (note, for the ap exam, you should also be able to use the derivative of this function in a similar way to find local minimums and maximums – we should be able to see that because our slope is 0, we are looking at a line that exists at a local minimum or maximum). 

second, let us find a set of points (x1, y1) that exist on the line.  at this point, we can only use one value of x, and that is the value given, x=1.  to find the value y, we plug it into our original equation: y = (1)3-2(1)2+1-3 = 1-2+1-3 = -3.  therefore (x1, y1) = (1, -3).  we now have both a point on our line and the slope of our line.  this is everything we need to find our equation.

the equation of our line:

y-y1 = m(x-x1)

y-(-3) = 0(x-1)

y +3 = 0

y = -3

 

here we have the equation with the tangent line drawn in:

slope line tangent curve ap calculus

(can you find a local maximum of this function?)

another tangent line equation example

let’s do the exact same question as above, but at a new point: find the equations of a line tangent to y = x3-2x2+x-3 at the point x=2.  

again, what is the slope of this line going to be?  first, the derivative: y’ = 3x2 – 4x + 1.  evaluate at x = 2.

3(2)2-4(2) +1 = 12-8+1 = 5.  the slope, m, of this function at x=2 is 5 (m=5).  

 

set of points (x1, y1).  we can only use x=2.  plug it into our original equation.

y =  23-2(2)2+2-3 = 8-8+2-3 = -1.

(x1, y1) = (2, -1).

 

the equation of our line:

y-y1 = m(x-x1)

y-(-1) = 5(x-2)

y +1 = 5x-10

y = 5x-11
slope tangent ap calculus

finding the slope of a tangent line: a review

finding the equation of a line tangent to a curve at a point always comes down to the following three steps:

  1. find the derivative and use it to determine our slope m at the point given
  2. determine the y value of the function at the x value we are given.
  3. plug what we’ve found into the equation of a line.

master these steps, and we will be able to find the tangent line to any curve at any point.

author

  • zachary

    zachary is a former mechanical engineer and current high school physics, math, and computer science teacher. he graduated from mcgill university in 2011 and spent time in the automotive industry in detroit before moving into education. he has been teaching and tutoring for the past five years, but you can also find him adventuring, reading, rock climbing, and traveling whenever the opportunity arises.

more from magoosh