Tutorials › Calculus I › Finding The Tangent Line From Its Slope

Rates of Change and Tangents · Tutorial 329 of 1495

Finding The Tangent Line From Its Slope

Use a curve’s contact point and known limiting slope to write its tangent line in point-slope form and verify that the line contains the contact point.

Beginner 8 min read

What You'll Learn

  • Identify the contact point on a curve from its input and output values.
  • Translate a known finite limiting slope into a tangent-line equation.
  • Use point-slope form to construct the line through the contact point.
  • Rearrange the equation into slope-intercept form when useful.
  • Check that the constructed line passes through the curve’s contact point.
  • Recognize common errors involving signs, coordinates, and confusing the curve with its tangent line.

From a Tangent Slope to a Line

A tangent slope describes how steep a curve is at a particular point. Once that slope and the point of contact are known, a line equation can be constructed using the same information used to describe any line: a point on the line and its slope.

This tutorial focuses on that construction. The slope is treated as known—for example, because it has been found by examining secant slopes as their interval shrinks. The task is to turn the slope and contact point into an equation, then check that the equation gives the right point.

Definition: Suppose a curve is the graph of \(y=f(x)\), and consider the point \(P=(a,f(a))\) on the curve. If the secant slopes from \(P\) to nearby points on the curve approach a finite value \(m\), then \(m\) is the limiting tangent slope at \(P\). The tangent line at \(P\) is the line through \(P\) with slope \(m\).

In this definition, the nearby point has the form \((x,f(x))\), with \(x\ne a\). The secant slope is \(\frac{f(x)-f(a)}{x-a}\). For a two-sided limiting tangent slope, this quotient must approach the same finite value \(m\) as \(x\) approaches \(a\) from either side. Here we will use the value of \(m\) once it is known, rather than finding it from scratch.

Point-Slope Form

A line with slope \(m\) passing through a known point \((x_1,y_1)\) can be written in point-slope form:

$$ y-y_1=m(x-x_1). $$

For a tangent line, the contact point supplies the coordinates \(x_1=a\) and \(y_1=f(a)\). The limiting tangent slope supplies \(m\). Substituting those three values gives the tangent-line equation:

$$ y-f(a)=m(x-a). $$

The symbols have distinct roles. The value \(a\) is the input at the contact point, \(f(a)\) is the corresponding output, and \(m\) is the slope. In particular, the point is \((a,f(a))\), not \((a,m)\): the slope is not generally the curve’s output.

Key formula: If the curve \(y=f(x)\) has contact point \((a,f(a))\) and finite limiting tangent slope \(m\) there, then its tangent line is \(y-f(a)=m(x-a)\).

Why the Formula Works

The point-slope equation follows directly from what slope means. Take any point \((x,y)\) on a line through \((a,f(a))\). When \(x\ne a\), the line’s slope is the change in the vertical coordinate divided by the change in the horizontal coordinate:

$$ \frac{y-f(a)}{x-a}. $$

For the line to have slope \(m\), this ratio must equal \(m\). Multiplying by \(x-a\) gives \(y-f(a)=m(x-a)\). The equation also includes the contact point: if \(x=a\), then its right-hand side is zero, so it requires \(y-f(a)=0\), or \(y=f(a)\). Thus the equation describes a line of slope \(m\) that passes through the curve’s contact point.

Why this gives the tangent line: By definition, the tangent line at the contact point is the line through that point whose slope is the limiting tangent slope. Point-slope form specifies exactly that line.

A Reliable Construction

When the contact point and limiting slope are given, keep the construction in a fixed order. This helps avoid mixing the coordinates with the slope.

1
Find the contact point.
If the contact input is \(a\), evaluate the curve to get \(f(a)\). Record the point as \((a,f(a))\).
2
Record the limiting slope.
Use the stated or previously established value \(m\), including its sign.
3
Substitute into point-slope form.
Write \(y-f(a)=m(x-a)\) before expanding or rearranging.
4
Check the contact point.
Set \(x=a\) in the line equation and confirm that it gives \(y=f(a)\).

Worked Examples

Worked Example: A Positive Tangent Slope

Suppose the curve is \(y=f(x)=x^2\), and its limiting tangent slope at \(x=2\) is known to be \(m=4\). Find the tangent-line equation and check that it passes through the curve’s contact point.

First find the output at the contact input:

$$ f(2)=2^2=4. $$

The contact point is therefore \((2,4)\). Substitute \(a=2\), \(f(a)=4\), and \(m=4\) into point-slope form:

$$ y-4=4(x-2). $$

Expanding gives:

$$ y-4=4x-8, \qquad y=4x-4. $$

To check the contact point, set \(x=2\) in the line equation. It gives \(y=4(2)-4=8-4=4\), which agrees with \(f(2)=4\). The line \(y=4x-4\) passes through \((2,4)\).

Worked Example: A Negative Tangent Slope

Consider \(y=f(x)=x^2\) at \(x=-1\), where the limiting tangent slope is known to be \(m=-2\). Find the tangent line.

The curve’s output at the contact input is:

$$ f(-1)=(-1)^2=1. $$

Thus the contact point is \((-1,1)\). Substitute \(a=-1\), \(f(a)=1\), and \(m=-2\):

$$ y-1=-2\bigl(x-(-1)\bigr) =-2(x+1). $$

Expand and solve for \(y\):

$$ y-1=-2x-2, \qquad y=-2x-1. $$

For the check, substitute \(x=-1\) into the line: \(y=-2(-1)-1=2-1=1\). The curve also gives \(f(-1)=1\), so the line passes through \((-1,1)\). The negative slope is reflected in the line equation’s coefficient of \(x\).

Worked Example: A Horizontal Tangent Line

Suppose \(y=f(x)=3+x^2\), and the limiting tangent slope at \(x=0\) is \(m=0\). Find the tangent line and verify the contact point.

Evaluate the curve at the contact input:

$$ f(0)=3+0^2=3. $$

The point of contact is \((0,3)\). Point-slope form gives:

$$ y-3=0(x-0). $$

Since \(0(x-0)=0\), the equation reduces to \(y=3\). Checking \(x=0\) in this line gives \(y=3\), exactly the curve value \(f(0)=3\). A line with zero slope is horizontal, and here it passes through the required contact point.

Checking and Interpreting the Equation

For a line to be the tangent line at a stated contact point, it must meet two requirements: it must pass through the contact point, and it must have the given limiting tangent slope. Point-slope form builds in both requirements, but checking them is a useful way to catch substitution or simplification errors.

Check What to verify
Contact point Substituting \(x=a\) into the line gives \(y=f(a)\).
Slope In point-slope form, the multiplier of \(x-a\) is \(m\).
Rearrangement If written as \(y=mx+b\), the coefficient of \(x\) remains \(m\).

Point-slope form is often the clearest final answer because it displays the contact point and slope directly. Slope-intercept form, \(y=mx+b\), can be convenient for graphing or comparing lines, but it is not necessary to rearrange if point-slope form already answers the question.

Common Mistake: Losing the Sign of the Contact Input

Suppose the contact point is \((-1,1)\) and the slope is \(-2\). A common error is to write \(x-1\) instead of \(x-(-1)\), producing the incorrect calculation:

$$ y-1=-2(x-1) \quad\Longrightarrow\quad y=-2x+3. $$

This line does not pass through the stated contact point: substituting \(x=-1\) gives \(y=-2(-1)+3=5\), not \(1\). The correction is to preserve the coordinate \(-1\) in the point-slope expression:

$$ y-1=-2\bigl(x-(-1)\bigr) =-2(x+1) \quad\Longrightarrow\quad y=-2x-1. $$

Now substituting \(x=-1\) gives \(y=1\), as required. Writing the point as an ordered pair before substituting helps prevent this sign error.

Keep the Curve and Its Tangent Line Distinct

The curve and the tangent line are different equations. The curve gives the output at every input according to \(y=f(x)\); the tangent line is a straight line determined by one contact point and one limiting slope. The line is required to match the curve’s point and slope at contact, but it is not generally the same as the curve elsewhere.

For that reason, the final check in these examples is local and specific: evaluate the proposed line at the contact input and compare its output with the curve’s output there. This confirms that the equation is anchored at the correct point. The slope in the point-slope formula records the tangent slope already supplied for that point.

Check Your Understanding

For each question, keep the contact point and slope separate until you substitute them into point-slope form.

  1. A curve has contact point \((3,5)\) and limiting tangent slope \(2\). Write its tangent-line equation in point-slope form.
  2. The curve \(y=f(x)\) has \(f(1)=-2\), and its limiting tangent slope at \(x=1\) is \(-3\). Find the tangent line and check the contact point.
  3. Why does substituting \(x=a\) into \(y-f(a)=m(x-a)\) verify that the line contains the contact point?
  4. A proposed line is \(y-4=3(x+2)\) at a claimed contact point \((-2,4)\). Does it pass through that point? Show the substitution.
  5. What information does \(m\) represent in \(y-f(a)=m(x-a)\), and what information does \(f(a)\) represent?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon