Tangent Line: Definition & Equation

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: What Are Intersecting Lines? - Definition & Examples

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:04 What is a Tangent Line?
  • 0:55 Mathematical Definition
  • 2:32 Equation of a Tangent Line
  • 3:39 An Example
  • 4:29 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed Audio mode

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Jasmine Cetrone

Jasmine has taught college Mathematics and Meteorology and has a master's degree in applied mathematics and atmospheric sciences.

In this lesson, we explore the idea and definition of a tangent line both visually and algebraically. After learning how to calculate a tangent line to a curve, you will find a short quiz to test your knowledge.

What Is a Tangent Line?

Let's say we're on a rollercoaster…in space! We're held to the track by the wheels of the cart, but if the cart were to suddenly disconnect from the track, we would soar off the track in a straight line because of the lack of gravity. Of course, it would be nice to be rescued from space, so what line would the rescuers follow in order to find us? As it turns out, they would find our cart along a very special line called the tangent line, like the one you are looking at now:

roller coaster

A tangent line is a straight line that just barely touches a curve at one point. The idea is that the tangent line and the curve are both going in the same direction at the point of contact. If we have a very wavy curve, the tangent line and the curve don't really seem to have much in common because the tangent line is perfectly straight. However, as we zoom in closer and closer to the point where the tangent line touches the curve, we can see that they have more in common than we thought, and they do look quite similar!

Mathematical Definition

Now that we have a conceptual idea of what a tangent line is, we need to understand how to define one mathematically. There are two important elements to finding an equation that defines a tangent line: its slope and its point of contact with a curve. A line's slope is its steepness, or rate of change both horizontally and vertically as it travels away from the origin.

To find the slope of a tangent line, we actually look first to an equation's secant line, or a line that connects two points on a curve. To find the equation of a line, we need the slope of that line. With a tangent line, that can be tricky, but with a secant line, because we have two points, it's no problem!

The slope of this secant line, which passes through the points (a , f(a)) and (a + h , f(a + h)) shown in the formula below. You might recognize this formula from precalculus; it's called the difference quotient:

  • slope of secant line = [f(x + h) - f(x)] / h

So, how does this help us with the tangent line? Well, imagine that we took that second point (a + h , f(a + h)) and brought it closer to our first point. The closer it gets to the first point, the more the secant line starts to resemble the tangent line! We bring it closer and closer and closer… which is the mathematical idea of a limit. As h approaches zero, this turns our secant line into our tangent line, and now we have a formula for the slope of our tangent line! It is the limit of the difference quotient as h approaches zero.

Assuming you are familiar with the basics of calculus, you will recognize this as the definition of the derivative of our function f(x) at x = a, denoted in prime notation as f '(a). The derivative of a function is the instantaneous rate of change of the function and the slope of the line tangent to the curve.

Equation of the Tangent Line

Now that we have the slope of the tangent line, all we would need is a point on the tangent line to complete the equation of our line. That's easy, because we know that our tangent line went through the point (a , f(a)). Let's now build the equation of our line using point-slope form of a line:

  • y - y1 = m(x - x1), where (x1, y1) is a known point on the line, and m is the slope of the line

The equations are valid for almost all points on a curve y = f(x):

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account