Skip to main content

Tangents perpendicular to a line: slope conditions and exceptions

2026-10-22 Cùng Học Toán Comments: 0

Find all finite-derivative tangents perpendicular to a given line, with separate treatment of horizontal and vertical lines.

High schoolFunctions, Graphs & Tangents

Content updated: October 22, 2026

The tangent slope at $x=t$ is $f^{\prime}(t)$. Perpendicularity turns the geometric requirement into an equation for $t$, but the product-of-slopes formula applies only when both lines have finite slopes.

Objectives: find all contact points; check coordinates and derivatives before forming equations; handle horizontal and vertical lines correctly.

Prerequisites: derivatives, line equations, and tangents at differentiable points.

On this page: Idea · Method · Examples · Practice · Further learning

1. When does the perpendicularity condition apply?

Suppose $f$ is differentiable at an interior domain input $t$, with a finite derivative. The tangent at $M(t;f(t))$ is $y=f^{\prime}(t)(x-t)+f(t)$. It is nonvertical; every conclusion here about a differentiable graph uses that hypothesis.

For $d:y=kx+b$, if $k\ne0$, a tangent is perpendicular to $d$ if and only if $k f^{\prime}(t)=-1$. Direction vectors $(1;k)$ and $(1;f^{\prime}(t))$ have dot product $0$ exactly under this condition. The constant term $b$ does not affect the perpendicular direction.

If $d$ is horizontal, a perpendicular line must be vertical; a graph with finite derivative has no vertical tangent at the points under consideration, so there is no solution within that setting. If $d$ is vertical, the required tangent is horizontal: solve $f^{\prime}(t)=0$. Do not assign a finite slope to a vertical line.

Some graphs have vertical tangents where no finite derivative exists. Such cases need a separate limit-based definition and a check that the point lies on the graph; the derivative equation here does not cover them.

2. Three steps and a final check

State the domain of $f$ and its differentiability points. Use the given line's direction to form the condition on $f^{\prime}(t)$. For each admissible root, calculate $f(t)$ and substitute into the tangent equation. Finally check that the resulting line passes through $M$, has slope equal to the derivative, and is perpendicular to the given line.

For $d:Ax+By+C=0$, $(A,B)\ne(0,0)$, use direction vector $(B;-A)$. Its dot product with $(1;f^{\prime}(t))$ is $B-Af^{\prime}(t)$, so the correct condition is

$$B-A f^{\prime}(t)=0.$$

For $B\ne0$, the slope of $d$ is $-A/B$, and the condition also follows from the product of slopes. For $A=0$ and $B\ne0$, there is no solution; for $B=0$ and $A\ne0$, it becomes $f^{\prime}(t)=0$.

3. Two examples on tangent directions

Example 1. A parabola and a line in general form

Let $f(x)=x^2-2x-1$ and $d:x+2y+1=0$. Require a tangent perpendicular to $d$. Since $d:y=-x/2-1/2$, the tangent slope must be $2$. The equation $2t-2=2$ gives $t=2$, with $f(2)=-1$. Hence

$$M(2;-1),\qquad T:y=2(x-2)-1=2x-5.$$

Check: $2\cdot(-1/2)=-1$, and the line passes through $M$. If instead a tangent parallel to the same $d$ is requested, solve $2t-2=-1/2$ to obtain $t=3/4$, $f(t)=-31/16$, and tangent $y=-x/2-25/16$. The two requirements give different answers; identify the relation between the lines before calculating.

Example 2. A rational function with two contact points

Let $f(x)=(2x+1)/(x-1)$ and $d:y=x/3$. The domain is $x\ne1$, and $f^{\prime}(x)=-3/(x-1)^2$. Perpendicularity requires

$$-\frac3{(t-1)^2}\cdot\frac13=-1\quad\Longleftrightarrow\quad(t-1)^2=1.$$

Both roots $t=0,2$ lie in the domain. The contact points are $(0;-1)$ and $(2;5)$, respectively, and both derivative values are $-3$. Therefore

$$T_1:y=-3x-1,\qquad T_2:y=-3(x-2)+5=-3x+11.$$

The lines are distinct because their constant terms differ. Each has a slope product with $d$ equal to $-1$. Do not replace the second tangent slope by $6$: the derivative at $2$ is still $-3$.

4. Practice exercises

  1. Find the tangents to $y=x^2$ perpendicular to $y=-x$.
  2. Find the tangents to $y=x^2$ perpendicular to the vertical line $x=3$.
  3. For $y=x^2$, is there a tangent perpendicular to $y=2$ within the finite-derivative setting?
Show hints and answers
  1. The equation $2t=1$ gives $t=1/2$ and $f(t)=1/4$. The line is $y=x-1/4$.
  2. A horizontal tangent is required: $2t=0$. At $t=0$, its equation is $y=0$.
  3. No. A perpendicular to a horizontal line must be vertical, while the parabola has finite derivative at every point.

5. Common mistakes

Do not use the product of slopes for a vertical line. Do not replace perpendicularity by parallelism. After solving for the input, calculate the height and derivative separately at each contact; check the constant-term sign when converting a line equation.

6. Related lessons

7. Videos and reference material

Leave a Reply

Your email address will not be published. Required fields are marked *