# Tangent

### Tangent

Tangent to a curve. The red line is tangential to the curve at the point marked by a red dot.
Tangent plane to a sphere

In geometry, the tangent line (or simply tangent) to a plane curve at a given point is the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on the curve.[1] More precisely, a straight line is said to be a tangent of a curve y = f(x) at a point x = c on the curve if the line passes through the point (c, f(c)) on the curve and has slope f '​(c) where f '​ is the derivative of f. A similar definition applies to space curves and curves in n-dimensional Euclidean space.

As it passes through the point where the tangent line and the curve meet, called the point of tangency, the tangent line is "going in the same direction" as the curve, and is thus the best straight-line approximation to the curve at that point.

Similarly, the tangent plane to a surface at a given point is the plane that "just touches" the surface at that point. The concept of a tangent is one of the most fundamental notions in differential geometry and has been extensively generalized; see Tangent space.

The word tangent comes from the Latin tangere, to touch.

## History

The first definition of a tangent was "a right line which touches a curve, but which when produced, does not cut it".[2] This old definition prevents inflection points from having any tangent. It has been dismissed and the modern definitions are equivalent to those of Leibniz. The tangent problem has given rise to differential calculus. The main ideas behind differential calculus are due to Pierre Fermat and were developed by John Wallis, Isaac Barrow, Isaac Newton and Gottfried Leibniz.

Pierre de Fermat developed a general technique for determining the tangents of a curve using his method of adequality in the 1630s.

Leibniz defined the tangent line as the line through a pair of infinitely close points on the curve.

## Tangent line to a curve

A tangent, a chord, and a secant to a circle

The intuitive notion that a tangent line "touches" a curve can be made more explicit by considering the sequence of straight lines (secant lines) passing through two points, A and B, those that lie on the function curve. The tangent at A is the limit when point B approximates or tends to A. The existence and uniqueness of the tangent line depends on a certain type of mathematical smoothness, known as "differentiability." For example, if two circular arcs meet at a sharp point (a vertex) then there is no uniquely defined tangent at the vertex because the limit of the progression of secant lines depends on the direction in which "point B" approaches the vertex.

At most points, the tangent touches the curve without crossing it (though it may, when continued, cross the curve at other places away from the point of tangent). A point where the tangent (at this point) crosses the curve is called an inflection point. Circles, parabolas, hyperbolas and ellipses do not have any inflection point, but more complicated curves do have, like the graph of a cubic function, which has exactly one inflection point.

Conversely, it may happen that the curve lies entirely on one side of a straight line passing through a point on it, and yet this straight line is not a tangent line. This is the case, for example, for a line passing through the vertex of a triangle and not intersecting the triangle—where the tangent line does not exist for the reasons explained above. In convex geometry, such lines are called supporting lines.

At each point, the line is always tangent to the curve. Its slope is the derivative; the positivity, negativity and zeroes of the derivative are marked by green, red and black respectively.

### Analytical approach

The geometrical idea of the tangent line as the limit of secant lines serves as the motivation for analytical methods that are used to find tangent lines explicitly. The question of finding the tangent line to a graph, or the tangent line problem, was one of the central questions leading to the development of calculus in the 17th century. In the second book of his Geometry, René Descartes[3] said of the problem of constructing the tangent to a curve, "And I dare say that this is not only the most useful and most general problem in geometry that I know, but even that I have ever desired to know".[4]

#### Intuitive description

Suppose that a curve is given as the graph of a function, y = f(x). To find the tangent line at the point p = (a, f(a)), consider another nearby point q = (a + h, f(a + h)) on the curve. The slope of the secant line passing through p and q is equal to the difference quotient

\frac{f(a+h)-f(a)}{h}.

As the point q approaches p, which corresponds to making h smaller and smaller, the difference quotient should approach a certain limiting value k, which is the slope of the tangent line at the point p. If k is known, the equation of the tangent line can be found in the point-slope form:

y-f(a) = k(x-a).\,

#### More rigorous description

To make the preceding reasoning rigorous, one has to explain what is meant by the difference quotient approaching a certain limiting value k. The precise mathematical formulation was given by Cauchy in the 19th century and is based on the notion of limit. Suppose that the graph does not have a break or a sharp edge at p and it is neither plumb nor too wiggly near p. Then there is a unique value of k such that, as h approaches 0, the difference quotient gets closer and closer to k, and the distance between them becomes negligible compared with the size of h, if h is small enough. This leads to the definition of the slope of the tangent line to the graph as the limit of the difference quotients for the function f. This limit is the derivative of the function f at x = a, denoted f ′(a). Using derivatives, the equation of the tangent line can be stated as follows:

y=f(a)+f'(a)(x-a).\,

Calculus provides rules for computing the derivatives of functions that are given by formulas, such as the power function, trigonometric functions, exponential function, logarithm, and their various combinations. Thus, equations of the tangents to graphs of all these functions, as well as many others, can be found by the methods of calculus.

#### How the method can fail

Calculus also demonstrates that there are functions and points on their graphs for which the limit determining the slope of the tangent line does not exist. For these points the function f is non-differentiable. There are two possible reasons for the method of finding the tangents based on the limits and derivatives to fail: either the geometric tangent exists, but it is a vertical line, which cannot be given in the point-slope form since it does not have a slope, or the graph exhibits one of three behaviors that precludes a geometric tangent.

The graph y = x1/3 illustrates the first possibility: here the difference quotient at a = 0 is equal to h1/3/h = h−2/3, which becomes very large as h approaches 0. This curve has a tangent line at the origin that is vertical.

The graph y = x2/3 illustrates another possibility: this graph has a cusp at the origin. This means that, when h approaches 0, the difference quotient at a = 0 approaches plus or minus infinity depending on the sign of x. Thus both branches of the curve are near to the half vertical line for which y=0, but none is near to the negative part of this line. Basically, there is no tangent at the origin in this case, but in some context one may consider this line as a tangent, and even, in algebraic geometry, as a double tangent.

The graph y = |x| of the absolute value function consists of two straight lines with different slopes joined at the origin. As a point q approaches the origin from the right, the secant line always has slope 1. As a point q approaches the origin from the left, the secant line always has slope −1. Therefore, there is no unique tangent to the graph at the origin. Having two different (but finite) slopes is called a corner.

Finally, since differentiability implies continuity, the contrapositive states discontinuity implies non-differentiability. Any such jump or point discontinuity will have no tangent line. This includes cases where one slope approaches positive infinity while the other approaches negative infinity, leading to an infinite jump discontinuity

### Equations

When the curve is given by y = f(x) then the slope of the tangent is \frac{dy}{dx}, so by the point–slope formula the equation of the tangent line at (XY) is

y-Y=\frac{dy}{dx}(X) \cdot (x-X)

where (xy) are the coordinates of any point on the tangent line, and where the derivative is evaluated at x=X.[5]

When the curve is given by y = f(x), the tangent line's equation can also be found[6] by using polynomial division to divide f \, (x) by (x-X)^2; if the remainder is denoted by g(x), then the equation of the tangent line is given by

y=g(x).

When the equation of the curve is given in the form f(xy) = 0 then the value of the slope can be found by implicit differentiation, giving

\frac{dy}{dx}=-\frac{\frac{\partial f}{\partial x}}{\frac{\partial f}{\partial y}}.

The equation of the tangent line at a point (X,Y) such that f(X,Y) = 0 is then[5]

\frac{\partial f}{\partial x}(X,Y) \cdot (x-X)+\frac{\partial f}{\partial y}(X,Y) \cdot (y-Y)=0.

This equation remains true if \frac{\partial f}{\partial y}(X,Y) = 0 but \frac{\partial f}{\partial x}(X,Y) \neq 0 (in this case the slope of the tangent is infinite). If \frac{\partial f}{\partial y}(X,Y) = \frac{\partial f}{\partial x}(X,Y) =0, the tangent line is not defined and the point (X,Y) is said singular.

For algebraic curves, computations may be simplified somewhat by converting to homogeneous coordinates. Specifically, let the homogeneous equation of the curve be g(xyz) = 0 where g is a homogeneous function of degree n. Then, if (XYZ) lies on the curve, Euler's theorem implies

\frac{\partial g}{\partial x} \cdot X +\frac{\partial g}{\partial y} \cdot Y+\frac{\partial g}{\partial z} \cdot Z=ng(X, Y, Z)=0.

It follows that the homogeneous equation of the tangent line is

\frac{\partial g}{\partial x}(X,Y,Z) \cdot x+\frac{\partial g}{\partial y}(X,Y,Z) \cdot y+\frac{\partial g}{\partial z}(X,Y,Z) \cdot z=0.

The equation of the tangent line in Cartesian coordinates can be found by setting z=1 in this equation.[7]

To apply this to algebraic curves, write f(xy) as

f=u_n+u_{n-1}+\dots+u_1+u_0\,

where each ur is the sum of all terms of degree r. The homogeneous equation of the curve is then

g=u_n+u_{n-1}z+\dots+u_1 z^{n-1}+u_0 z^n=0.\,

Applying the equation above and setting z=1 produces

\frac{\partial f}{\partial x}(X,Y) \cdot x + \frac{\partial f}{\partial y}(X,Y) \cdot y + \frac{\partial g}{\partial z}(X,Y,1) =0

as the equation of the tangent line.[8] The equation in this form is often simpler to use in practice since no further simplification is needed after it is applied.[7]

If the curve is given parametrically by

then the slope of the tangent is

\frac{dy}{dx}=\frac{\frac{dy}{dt}}{\frac{dx}{dt}}

giving the equation for the tangent line at \, t=T, \, X=x(T), \, Y=y(T) as[9]

\frac{dx}{dt}(T) \cdot (y-Y)=\frac{dy}{dt}(T) \cdot (x-X).

If \frac{dx}{dt}(T)= \frac{dy}{dt}(T) =0, , the tangent line is not defined. However, it may occur that the tangent line exists and may be computed from an implicit equation of the curve.

### Normal line to a curve

The line perpendicular to the tangent line to a curve at the point of tangency is called the normal line to the curve at that point. The slopes of perpendicular lines have product −1, so if the equation of the curve is y = f(x) then slope of the normal line is

-\frac{1}{\frac{dy}{dx}}

and it follows that the equation of the normal line at (X, Y) is

(X-x)+\frac{dy}{dx}(Y-y)=0.

Similarly, if the equation of the curve has the form f(xy) = 0 then the equation of the normal line is given by[10]

\frac{\partial f}{\partial y}(X-x)-\frac{\partial f}{\partial x}(Y-y)=0.

If the curve is given parametrically by

then the equation of the normal line is[9]

\frac{dx}{dt}(X-x)+\frac{dy}{dt}(Y-y)=0.

### Angle between curves

The angle between two curves at a point where they intersect is defined as the angle between their tangent lines at that point. More specifically, two curves are said to be tangent at a point if they have the same tangent at a point, and orthogonal if their tangent lines are orthogonal.[11]

### Multiple tangents at the origin

The limaçon trisectrix: a curve with two tangents at the origin.

The formulas above fail when the point is a singular point. In this case there may be two or more branches of the curve which pass through the point, each branch having its own tangent line. When the point is the origin, the equations of these lines can be found for algebraic curves by factoring the equation formed by eliminating all but the lowest degree terms from the original equation. Since any point can be made the origin by a change of variables, this gives a method for finding the tangent lines at any singular point.

For example, the equation of the limaçon trisectrix shown to the right is

(x^2+y^2-2ax)^2=a^2(x^2+y^2).\,

Expanding this and eliminating all but terms of degree 2 gives

a^2(3x^2-y^2)=0\,

which, when factored, becomes

y=\pm\sqrt{3}x.

So these are the equations of the two tangent lines through the origin.[12]

## Tangent circles

Two pairs of tangent circles. Above internally and below externally tangent
Two circles of non-equal radius, both in the same plane, are said to be tangent to each other if they meet at only one point. Equivalently, two circles, with radii of ri and centers at (xi, yi), for i = 1, 2 are said to be tangent to each other if
\left(x_1-x_2\right)^2+\left(y_1-y_2\right)^2=\left(r_1\pm r_2\right)^2.\,
• Two circles are externally tangent if the distance between their centres is equal to the sum of their radii.
\left(x_1-x_2\right)^2+\left(y_1-y_2\right)^2=\left(r_1 + r_2\right)^2.\,
• Two circles are internally tangent if the distance between their centres is equal to the difference between their radii.[13]
\left(x_1-x_2\right)^2+\left(y_1-y_2\right)^2=\left(r_1 - r_2\right)^2.\,

## Surfaces and higher-dimensional manifolds

The tangent plane to a surface at a given point p is defined in an analogous way to the tangent line in the case of curves. It is the best approximation of the surface by a plane at p, and can be obtained as the limiting position of the planes passing through 3 distinct points on the surface close to p as these points converge to p. More generally, there is a k-dimensional tangent space at each point of a k-dimensional manifold in the n-dimensional Euclidean space.

## References

1. ^ Leibniz, G., Nova methodus pro maximis et minimis ..., Acta Erud., Oct. 1684
2. ^ Noah Webster, American Dictionary of the English Language (New York: S. Converse, 1828), vol. 2, p.733, [1]
3. ^ Descartes, René (1954). The geometry of René Descartes. Courier Dover. p. 95.
4. ^ R. E. Langer (October 1937). "Rene Descartes".
5. ^ a b Edwards Art. 191
6. ^ Strickland-Constable, Charles, "A simple method for finding tangents to polynomial graphs", Mathematical Gazette, November 2005, 466–467.
7. ^ a b Edwards Art. 192
8. ^ Edwards Art. 193
9. ^ a b Edwards Art. 196
10. ^ Edwards Art. 194
11. ^ Edwards Art. 195
12. ^ Edwards Art. 197
13. ^ Circles For Leaving Certificate Honours Mathematics by Thomas O’Sullivan 1997
• J. Edwards (1892). Differential Calculus. London: MacMillan and Co. pp. 143 ff.