MatheramaMatherama
← Application of Derivatives
Application of Derivatives·Section 7·36 min read

Tangents and Normals

In this chapter, we study the fundamental concepts of tangents and normals to curves. Given a function y=f(x)y = f(x), its graph represents a continuous curve in the Cartesian plane. At any point on this curve, we can define a tangent, which is a straight line that just touches the curve at that point without crossing it (locally). The normal at that point is a line perpendicular to the tangent.

The fundamental idea relies on the derivative dydx\frac{dy}{dx}. Given a curve y=f(x)y = f(x), the derivative at a point (x0,y0)(x_0, y_0) gives the slope of the tangent at that point. That is,

mtangent=f′(x0).m_{\text{tangent}} = f'(x_0).

Using this, we can write the equation of the tangent line in its point-slope form:

y−y0=f′(x0)(x−x0).y - y_0 = f'(x_0) (x - x_0).

Since the normal is perpendicular to the tangent, its slope is the negative reciprocal of the tangent's slope:

mnormal=−1f′(x0),provided f′(x0)≠0.m_{\text{normal}} = -\frac{1}{f'(x_0)}, \quad \text{provided } f'(x_0) \neq 0.

Thus, the equation of the normal at (x0,y0)(x_0, y_0) is:

y−y0=−1f′(x0)(x−x0).y - y_0 = -\frac{1}{f'(x_0)} (x - x_0).

The mathematical methods covered here serve as essential tools for more advanced topics in calculus, including curvature, envelopes, and optimization problems.

Equation of the Tangent Line§

Let y=f(x)y = f(x) be a differentiable function at x=ax = a, and let (a,f(a))(a, f(a)) be a point on the curve. If the derivative f′(a)f'(a) exists and is finite, the equation of the tangent line is:

y−f(a)=f′(a)(x−a).y - f(a) = f'(a) (x - a).

The tangent line is well-defined whenever f′(a)f'(a) is finite. However, we must analyze the special case of vertical tangents, which arise when the derivative fails to exist in a finite form.

tangent to a curve

Vertical Tangents§

A tangent is vertical when its slope is undefined due to the derivative tending to ±∞\pm\infty. That is, if:

lim⁡x→a−f′(x)=±∞andlim⁡x→a+f′(x)=±∞,\lim_{x \to a^-} f'(x) = \pm \infty \quad \text{and} \quad \lim_{x \to a^+} f'(x) = \pm \infty,

then the tangent is vertical and given by the equation:

x=a.x = a.

The point x=ax = a is an inflection point with a vertical tangent, meaning that the concavity changes while the curve remains nearly vertical.

a general curve with vertical tangent

A classic example is:

f(x)=x1/3,f(x) = x^{1/3},

which has:

f′(x)=13x−2/3.f'(x) = \frac{1}{3} x^{-2/3}.

Here, we see that:

lim⁡x→0−f′(x)=−∞,lim⁡x→0+f′(x)=+∞.\lim_{x \to 0^-} f'(x) = -\infty, \quad \lim_{x \to 0^+} f'(x) = +\infty.

Thus, x=0x = 0 is an inflection point with a vertical tangent.

Horizontal Tangents§

A tangent is horizontal when f′(a)=0f'(a) = 0, meaning the curve has a zero slope at x=ax = a. In such cases, the tangent line is given by:

y=f(a).y = f(a).

Horizontal tangents typically occur at local maxima, local minima, or stationary points.

Finding the Tangent to a Curve with a Given Slope§

When we need to find a tangent to a curve that has a given slope, or equivalently, a tangent parallel to a given line, we follow a systematic approach.

Let the curve be given by

y=f(x).y = f(x).

We assume the point of tangency to be (x0,y0)(x_0, y_0), which means we need to determine x0x_0 and y0y_0. Since we have two unknowns, we require two independent equations.

  1. First equation: The point (x0,y0)(x_0, y_0) lies on the curve, which means it must satisfy the equation of the curve. That is,

    y0=f(x0).y_0 = f(x_0).
  2. Second equation: The derivative dydx\frac{dy}{dx} gives the slope of the tangent at x0x_0, so we equate it to the given slope:

    dydx∣(x0,y0)=given slope.\left. \frac{dy}{dx} \right|_{(x_0, y_0)} = \text{given slope}.

These two equations are then solved simultaneously to find x0x_0 and y0y_0, giving the required point of tangency. Once x0x_0 and y0y_0 are determined, the equation of the tangent line is given by

y−y0=(given slope)(x−x0).y - y_0 = (\text{given slope}) (x - x_0).

Tangent from a Given Point to a Curve§

Sometimes, we need to determine tangents from a given external point to a curve. The given point, say P(x0,y0)P(x_0, y_0), does not lie on the curve, and we seek to find the equations of all possible tangents from PP to the curve.

For many curves, there can be more than one such tangent. The number of tangents depends on the nature of the curve and the position of the external point. To find the equation of the tangent(s), we follow this procedure:

Let the point of tangency be T(x1,y1)T(x_1, y_1). If multiple tangents exist, algebraic calculations will provide multiple values of x1,y1x_1, y_1. Since there are two unknowns, x1x_1 and y1y_1, we need two independent equations to determine them.

alt text

  1. First equation (Curve Condition): Since T(x1,y1)T(x_1, y_1) lies on the curve, it must satisfy the equation of the curve, i.e.,

    y1=f(x1).y_1 = f(x_1).
  2. Second equation (Slope Condition): The slope of the tangent at T(x1,y1)T(x_1, y_1) is obtained by differentiating the given curve. The derivative at x1x_1 gives

    dydx∣(x1,y1).\left. \frac{dy}{dx} \right|_{(x_1, y_1)}.

    This slope must be equal to the slope of the line joining P(x0,y0)P(x_0, y_0) and T(x1,y1)T(x_1, y_1), which is given by the coordinate geometry formula:

    y1−y0x1−x0.\frac{y_1 - y_0}{x_1 - x_0}.

    Equating these slopes, we obtain the second equation:

    dydx∣(x1,y1)=y1−y0x1−x0.\left. \frac{dy}{dx} \right|_{(x_1, y_1)} = \frac{y_1 - y_0}{x_1 - x_0}.

These two equations are then solved simultaneously to determine x1x_1 and y1y_1. Once the point(s) of tangency are found, the equation(s) of the tangent line(s) can be written as:

y−y1=dydx∣(x1,y1)(x−x1).y - y_1 = \left. \frac{dy}{dx} \right|_{(x_1, y_1)} (x - x_1).

This method ensures that all possible tangents from the given external point are determined systematically.

Condition of Tangency§

A given line

y=mx+cy = mx + c

is a tangent to the curve

y=f(x)y = f(x)

if they touch at a single point without crossing. Such problems can be easily handled by following this procedure:

  1. Let the point of tangency be (x1,y1)(x_1, y_1).

  2. Since the point lies on the curve, we must have

    y1=f(x1).y_1 = f(x_1).
  3. Since the point also lies on the given line, we must have

    y1=mx1+c.y_1 = m x_1 + c.
  4. Since the line is a tangent, its slope must match the slope of the curve at (x1,y1)(x_1, y_1), i.e.,

    m=dydx∣(x1,y1).m = \frac{dy}{dx} \Big|_{(x_1, y_1)}.

Now, from these three equations, we eliminate the unknowns x1x_1 and y1y_1. The resulting equation will provide the required condition of tangency.

Equation of the Normal Line§

Let the equation of the curve be

y=f(x).y = f(x).

The normal to the curve at a given point is the straight line perpendicular to the tangent at that point.

General Form of the Normal Equation§

Let (x1,y1)(x_1, y_1) be the point of tangency. The slope of the tangent at this point is given by

mtangent=dydx∣(x1,y1).m_{\text{tangent}} = \left. \frac{dy}{dx} \right|_{(x_1, y_1)}.

Since the normal is perpendicular to the tangent, its slope is given by the negative reciprocal of the tangent slope:

mnormal=−1mtangent,provided that mtangent≠0.m_{\text{normal}} = -\frac{1}{m_{\text{tangent}}}, \quad \text{provided that } m_{\text{tangent}} \neq 0.

Thus, the equation of the normal at (x1,y1)(x_1, y_1) is

y−y1=−1mtangent(x−x1),y - y_1 = -\frac{1}{m_{\text{tangent}}} (x - x_1),

where mtangent=f′(x1)m_{\text{tangent}} = f'(x_1).

Normal representation to a general Curve

Vertical Normal§

A vertical normal occurs when the normal line is perpendicular to the x-axis, meaning it has an equation of the form

x=x1.x = x_1.

For the normal to be vertical, the normal slope mnormalm_{\text{normal}} must be undefined, which happens when

mtangent=0.m_{\text{tangent}} = 0.

That is, vertical normals exist at points where the tangent is horizontal, i.e.,

dydx=0.\frac{dy}{dx} = 0.

At any such point (x1,y1)(x_1, y_1), the equation of the vertical normal is simply

x=x1.x = x_1.

Thus, vertical normals always occur at critical points of the function where the derivative vanishes.

Tangents and Normals to a Parametric Curve§

When the equation of a curve is given in parametric form as

x=f(θ),y=g(θ),x = f(\theta), \quad y = g(\theta),

the tangent at θ\theta refers to the tangent line at the point (f(θ),g(θ))(f(\theta), g(\theta)), and the normal at θ\theta refers to the normal line at the same point.

Equation of the Tangent§

Differentiating both equations with respect to θ\theta,

dxdθ=f′(θ),dydθ=g′(θ).\frac{dx}{d\theta} = f'(\theta), \quad \frac{dy}{d\theta} = g'(\theta).

The slope of the tangent is

dydx=dydθdxdθ=g′(θ)f′(θ).\frac{dy}{dx} = \frac{\frac{dy}{d\theta}}{\frac{dx}{d\theta}} = \frac{g'(\theta)}{f'(\theta)}.

Using the point-slope form, the equation of the tangent at θ\theta is

y−g(θ)=g′(θ)f′(θ)(x−f(θ)).y - g(\theta) = \frac{g'(\theta)}{f'(\theta)} (x - f(\theta)).

Equation of the Normal§

Since the normal is perpendicular to the tangent, its slope is

mnormal=−1mtangent=−f′(θ)g′(θ).m_{\text{normal}} = -\frac{1}{m_{\text{tangent}}} = -\frac{f'(\theta)}{g'(\theta)}.

Thus, the equation of the normal at θ\theta is

y−g(θ)=−f′(θ)g′(θ)(x−f(θ)).y - g(\theta) = -\frac{f'(\theta)}{g'(\theta)} (x - f(\theta)).

Angle of Intersection of Two Curves§

If two curves intersect at a point P(xI,yI)P(x_I, y_I), the angle of intersection of the two curves at that point is defined as the angle between their respective tangents at PP.

Let the given curves be

F(x,y)=0andG(x,y)=0.F(x, y) = 0 \quad \text{and} \quad G(x, y) = 0.

To determine the angle between the two curves at P(xI,yI)P(x_I, y_I), the slopes of their respective tangents must be found. Differentiating both implicitly and solving for dydx\frac{dy}{dx}, the slopes of the tangents to the curves are

m1=dydx∣(xI,yI)forF(x,y)=0,m_1 = \frac{dy}{dx} \Big|_{(x_I, y_I)} \quad \text{for} \quad F(x, y) = 0, m2=dydx∣(xI,yI)forG(x,y)=0.m_2 = \frac{dy}{dx} \Big|_{(x_I, y_I)} \quad \text{for} \quad G(x, y) = 0.

The acute angle θ\theta between the two tangents is given by

tan⁡θ=∣m1−m21+m1m2∣.\tan \theta = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right|.

two curves intersecting at angle theta

Special Cases

  • Orthogonal Intersection: If the curves intersect at P(xI,yI)P(x_I, y_I) such that their tangents are perpendicular, then

    m1m2=−1.m_1 m_2 = -1.

    In this case, θ=90∘\theta = 90^\circ, meaning the curves meet at a right angle.

    orthogonal intersection

  • Curves Touching Each Other: If the curves intersect at P(xI,yI)P(x_I, y_I) such that

    m1=m2,m_1 = m_2,

    then the two curves share the same tangent at P(xI,yI)P(x_I, y_I), meaning they touch each other without forming a distinct angle. This implies that the two curves have a common tangent at the point of intersection.

    curves touching each other at a point

Shortest Distance Between a Point and a Curve§

In many problems, we are interested in finding the shortest distance between a given point P(x0,y0)P(x_0, y_0) and a curve defined implicitly by

f(x,y)=0.f(x, y) = 0.

The shortest distance always lies along the normal from the given point to the curve. However, in some cases, there may be more than one normal from the given point to the curve, meaning multiple points on the curve can act as the foot of the normal.

To solve this problem, assume the foot of the normal is (x1,y1)(x_1, y_1). This point must satisfy two conditions:

  1. Since (x1,y1)(x_1, y_1) lies on the curve, it satisfies

    f(x1,y1)=0.f(x_1, y_1) = 0.
  2. The normal at (x1,y1)(x_1, y_1) passes through (x0,y0)(x_0, y_0) and is perpendicular to the tangent at (x1,y1)(x_1, y_1).

    Differentiating f(x,y)=0f(x, y) = 0 implicitly, the slope of the tangent at (x1,y1)(x_1, y_1) is

    mtangent=dydx∣(x1,y1).m_{\text{tangent}} = \frac{dy}{dx} \Big|_{(x_1, y_1)}.

    Since the normal is perpendicular to the tangent, its slope satisfies

    mtangent⋅y1−y0x1−x0=−1.m_{\text{tangent}} \cdot \frac{y_1 - y_0}{x_1 - x_0} = -1.

This provides two equations:

  1. Curve Equation: f(x1,y1)=0f(x_1, y_1) = 0.
  2. Normal Condition: dydx∣(x1,y1)⋅y1−y0x1−x0=−1\frac{dy}{dx} \Big|_{(x_1, y_1)} \cdot \frac{y_1 - y_0}{x_1 - x_0} = -1.

Solving these two equations for x1x_1 and y1y_1, we obtain the possible feet of the normal. Algebraic manipulation may give more than one solution, indicating multiple normal lines from the given point to the curve.

Three normals to a curve

To find the shortest distance, compute the Euclidean distance between P(x0,y0)P(x_0, y_0) and each foot of the normal:

d=(x1−x0)2+(y1−y0)2.d = \sqrt{(x_1 - x_0)^2 + (y_1 - y_0)^2}.

Among all possible distances, the smallest one gives the shortest distance between the point and the curve.

Shortest Distance Between a Line and a Curve§

Consider a given line

L:ax+by+c=0.L: ax + by + c = 0.

Suppose this line does not intersect the curve

f(x,y)=0.f(x, y) = 0.

The goal is to determine the shortest distance from the line to the curve. This is defined as the minimum distance between any point PP on the line and any point QQ on the curve, i.e.,

min⁡d(P,Q).\min \limits_{} d(P, Q).

This minimum distance occurs when PQ is normal to both the line and the curve. This is equivalent to saying the tangent at Q is parallel to the given line L. The approach is to first find the foot of the normal Q(x1,y1)Q(x_1, y_1) on the curve from the line.

alt text

Since there are two unknowns x1x_1 and y1y_1, we need two independent equations to determine their values:

  1. Curve Condition: Since Q(x1,y1)Q(x_1, y_1) lies on the curve, it must satisfy the equation

    f(x1,y1)=0.(1)f(x_1, y_1) = 0. \quad \text{(1)}
  2. Parallel Tangent Condition:

    • Differentiating the curve implicitly, the slope of the tangent at Q(x1,y1)Q(x_1, y_1) is

      mtangent=dydx∣(x1,y1).m_{\text{tangent}} = \frac{dy}{dx} \Big|_{(x_1, y_1)}.
    • The slope of the given line is −ab-\frac{a}{b}.

    • Since the tangent at Q(x1,y1)Q(x_1, y_1) is parallel to the given line, their slopes must be equal:

      dydx∣(x1,y1)=−ab.(2)\frac{dy}{dx} \Big|_{(x_1, y_1)} = -\frac{a}{b}. \quad \text{(2)}

Solving (1) and (2) simultaneously gives the coordinates (x1,y1)(x_1, y_1).

Once (x1,y1)(x_1, y_1) is found, the shortest distance is simply the perpendicular distance from Q(x1,y1)Q(x_1, y_1) to the given line, given by

d=∣ax1+by1+c∣a2+b2.d = \frac{|ax_1 + by_1 + c|}{\sqrt{a^2 + b^2}}.

Thus, the shortest distance between the line and the curve is found by determining the foot of the normal and computing its perpendicular distance to the line.

Shortest Distance Between a Circle and a Curve§

The shortest distance between a circle and a curve refers to the minimum length of a segment PQ, where PP lies on the circle and QQ lies on the curve. The key observation is that PQ is minimized when it is a common normal to both the circle and the curve.

A circle has a special property: the normal at any point on the circle always passes through the center of the circle. Let the center of the circle be C(h,k)C(h, k), and let the radius of the circle be RR.

To determine the shortest distance PQPQ, observe that it is equivalent to computing CQCQ first, where Q is the foot of the normal from CC to the curve.

Thus, the problem reduces to finding the shortest distance from the center C(h,k)C(h, k) to the curve, which has already been discussed previously.

circle in vicinity of a curve

  1. Find Q(x1,y1)Q(x_1, y_1), the foot of the normal from C(h,k)C(h, k) to the curve.

    • The point Q(x1,y1)Q(x_1, y_1) satisfies the equation of the curve:

      f(x1,y1)=0.f(x_1, y_1) = 0.
    • The slope of the normal at Q(x1,y1)Q(x_1, y_1) is given by

      dydx∣(x1,y1).\frac{dy}{dx} \Big|_{(x_1, y_1)}.
    • Since CQCQ is the normal, it must be perpendicular to the tangent at QQ. The perpendicularity condition gives the second equation:

      dydx∣(x1,y1)⋅(y1−kx1−h)=−1.\frac{dy}{dx} \Big|_{(x_1, y_1)} \cdot \left(\frac{y_1 - k}{x_1 - h}\right) =-1.
  2. Solve these equations for x1,y1x_1, y_1.

  3. Compute CQCQ, the shortest distance from C(h,k)C(h, k) to the curve, using the Euclidean formula:

    CQ=(x1−h)2+(y1−k)2.CQ = \sqrt{(x_1 - h)^2 + (y_1 - k)^2}.
  4. Compute the required shortest distance between the circle and the curve:

    PQ=CQ−R.PQ = CQ - R.

Thus, the shortest distance between a circle and a curve is the shortest distance from the center of the circle to the curve, minus the radius of the circle.

Shortest Distance Between Two General Curves§

The shortest distance between two given curves f(x,y)=0f(x, y) = 0 and g(x,y)=0g(x, y) = 0 is defined as the minimum possible distance between a point P(x1,y1)P(x_1, y_1) lying on the first curve and a point Q(x2,y2)Q(x_2, y_2) lying on the second curve. That is,

min⁡(x1,y1)∈f(x,y)=0, (x2,y2)∈g(x,y)=0d(P,Q).\min \limits_{(x_1, y_1) \in f(x, y) = 0, \, (x_2, y_2) \in g(x, y) = 0} d(P, Q).

Key Observation: Common Normal or Parallel Tangents

The shortest distance occurs when PQ is normal to both curves. This means that the tangent at P(x1,y1)P(x_1, y_1) is parallel to the tangent at Q(x2,y2)Q(x_2, y_2).

Procedure to Find the Shortest Distance

Since there are four unknowns, x1,y1,x2,y2x_1, y_1, x_2, y_2, we require four independent equations to determine them. These equations are obtained as follows:

  1. Curve Condition at P(x1,y1)P(x_1, y_1): Since P(x1,y1)P(x_1, y_1) lies on the first curve, it must satisfy

    f(x1,y1)=0.(1)f(x_1, y_1) = 0. \quad \text{(1)}
  2. Curve Condition at Q(x2,y2)Q(x_2, y_2): Since Q(x2,y2)Q(x_2, y_2) lies on the second curve, it must satisfy

    g(x2,y2)=0.(2)g(x_2, y_2) = 0. \quad \text{(2)}
  3. Slope Condition for Parallel Tangents: The tangents at PP and QQ must be parallel. Differentiating f(x,y)=0f(x, y) = 0 and g(x,y)=0g(x, y) = 0 implicitly, the slopes of their tangents at PP and QQ are

    dydx∣(x1,y1)=dydx∣(x2,y2).(3)\frac{dy}{dx} \Big|_{(x_1, y_1)} = \frac{dy}{dx} \Big|_{(x_2, y_2)}. \quad \text{(3)}
  4. Normal Condition: The shortest distance line PQPQ is perpendicular to the common tangent, meaning its slope is the negative reciprocal of the common tangent slope. That is,

    y2−y1x2−x1=−1dydx∣(x1,y1).(4)\frac{y_2 - y_1}{x_2 - x_1} = -\frac{1}{\frac{dy}{dx} \Big|_{(x_1, y_1)}}. \quad \text{(4)}

Solving (1), (2), (3), and (4) simultaneously gives the points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), which define the shortest distance.

Complexity of the General Case

In most general cases, solving these four nonlinear equations algebraically is extremely difficult. Therefore, additional information is often provided or used to simplify the problem.

Alternatively, if one of the curves is a straight line or a circle, then the problem reduces to previously discussed special cases, which are computationally simpler.

Section 7 of 8 · Application of Derivatives

Mark this section complete when you have worked through its proofs.