3

A commonly-accepted definition of a tangent line is the following.

A tangent line is a straight line that touches a function at only one point.

However, there are clearly cases where a tangent at a point touches the function at another point. The example that comes to mind right now is $f(x) = x\sin(x),$ where the derivative at $x=0$ is $0$ and the line with zero slope with $y=0$ intersects the function at numerous (an infinite number of) places, including $(\pi, 0)$ for instance.

Is the above definition of a tangent line sufficient, and how so? If not, what is a better definition for a tangent line?

Jack Pan
  • 1,704
  • A tangent line at a point $x=a$ is a line which touches the function at $x=a$ – user160738 Feb 13 '17 at 21:03
  • A slightly better definition would be to only consider the tangent line touching the curve once in a neighborhood of the point. – D_S Feb 13 '17 at 21:04
  • once between two saddle points (or on a saddle point) – Zonko Feb 13 '17 at 21:04
  • 1
    That is a totally insufficient (and incorrect) definition of a tangent line. It works only for a convex curve. And @user160738, what you wrote is not right at all. – Ted Shifrin Feb 13 '17 at 21:04
  • There are better definitions of the tangent line, but they become more technical. They often involve the order of vanishing of a function at the given point. – Michael Burr Feb 13 '17 at 21:04
  • I think a better definition would be that a tangent line touches the the graph of the function one time over some open interval of the domain. – Doug M Feb 13 '17 at 21:08
  • You should define “touches”. And you find yourself going into deep problems. The tangent at the point $(x_0,f(x_0))$ to the curve $y=f(x)$ is the line $y-y_0=f'(x_0)(x-x_0)$ if $f'(x_0)$ exists. It's possible to define the tangent also at points where the Newton quotient has limit $\pm\infty$ on either side. Otherwise the curve has no tangent. – egreg Feb 13 '17 at 21:09
  • By this definition, $\sin x$ has lots of tangent lines at $x = 0$. (ETA: Yes, as @egreg says, one needs a good definition of "touches"; else someone will interpret it simply as "shares a point" as I have.) – Brian Tung Feb 13 '17 at 21:10
  • @Doug M actually between two saddle points because definitions like "some open interval" are all a bit vague. – Zonko Feb 13 '17 at 21:10
  • 1
    @DougM Consider $f(x)=x^2\sin(1/x)$ for $x\ne0$ and $f(0)=0$. The line $y=0$ is obviously the tangent at $0$, but it intersects the curve infinitely many times in every neighborhood of $0$. – egreg Feb 13 '17 at 21:11
  • The definition you say is "commonly accepted" isn't. Hence my close vote. – Rob Arthan Feb 13 '17 at 21:34
  • @RobArthan I don't think that's a good reason to close a question, especially if it asks specifically for an improved definition. – Simply Beautiful Art Feb 13 '17 at 21:47
  • 2
    Possible duplicate of Tangent definition – David K Feb 13 '17 at 21:52
  • @SimplyBeautifulArt: I don't find questions that make unsubstantiated statements about mathematical practice acceptable. The correction to the question is straightforward: the OP just has to replace "commonly accepted definition" by "definition that I have seen" (preferably with a reference). – Rob Arthan Feb 13 '17 at 21:52
  • 1
    And here is some more evidence that people use this definition of tangent (presumably in an attempt to teach calculus?), showing why it is a bad definition. – David K Feb 13 '17 at 21:58

5 Answers5

7

Here is my answer from an earlier question (How is the derivative truly, literally the "best linear approximation" near a point?), which shows that the tangent is the best local linear approximation to the function at a point:

I'll first give a intuitive answer, then an analytic answer.

Intuitively, the tangent goes in the same direction as the function, following it as closely as possible for a line. Any other line immediately starts to diverge from the function.

Analytically:

Consider the Taylor aproximation at $x$: $f(x+h) =f(x)+hf'(x)+h^2f''(x)/2+... $.

This means that, for small $h$ $f(x+h) \approx f(x)+hf'(x)+h^2f''(x)/2 $ so that the error $E(x, h) =f(x+h)- (f(x)+hf'(x)) $ is about $ h^2f''(x)/2 $.

Now consider any other line through $(x, f(x))$ with slope $s$, with $s \ne f'(x)$. At $x+h$, its value is $f(x)+sh$, so its error, $e(x, h)$ is $e(x, h, s) =f(x+h)-(f(x)+sh) $.

Since $f(x+h)-f(x) \approx hf'(x)+h^2f''(x)/2 $,

$\begin{array}\\ e(x, h, s) &=f(x+h)-(f(x)+sh)\\ &\approx hf'(x)+h^2f''(x)/2-sh\\ &= h(f'(x)-s)+h^2f''(x)/2\\ \end{array} $

so that $\dfrac{E(x, h)}{e(x, h, s)} \approx \dfrac{h^2f''(x)/2}{h(f'(x)-s)+h^2f''(x)/2} = \dfrac{hf''(x)/2}{f'(x)-s+hf''(x)/2} $.

Since $s \ne f'(x)$, as $h \to 0$, the numerator of thie ratio of errors goes to zero, while the denominator stays bounded away from zero.

Therefore the error of the tangent goes to zero faster than the error in any other line through the point.

That is why the tangent is the best linear approximation to the curve.

marty cohen
  • 107,799
3

There are two common alternatives to this definition:

  1. A tangent line is a linear function that locally (such that there exists a neighbourhood) touches $f$ at one point.

  2. A tangent line of $f$ at $x$ is a linear function $g$ with $g(x) = f(x)$ and $g'(x) = f'(x)$.

The definition (1) fails if $f$ a linear function or linear in a neighbourhood, in which case a linear approximation of $f$ at $x$ touches $f$ at infinitely many points. Definition (2) is much better: it coincides with the Taylor polynomial of order $1$ of $f$.

(2) can also be expressed in this form: $g$ is a tangent line of $f$ at $x$ if $g$ is linear and $$ f(y) = g(y) + \mathrm O(y^2), \qquad (y \to x) $$ in which case the existence of $g$ implies the differentiability of $f$.

Henricus V.
  • 18,694
  • 3
    Is it even true that locally it must touch at only one point? If you consider $f(x)=x^2\sin\frac{1}{x}$ then $f'(0)=f(0)=0$, and so the "tangent line" would be $L(x) \equiv 0$. However this intersects the graph of $f(x)$ at in finite number of points in any neighborhood of $x=0$. Perhaps this example fails because the function isn't $C^1$? – Patch Feb 13 '17 at 21:46
  • 1
    @Patch That is why definition (1) fails for non-locally-convex functions. – Henricus V. Feb 13 '17 at 21:47
  • Ah, that's a more thorough explanation. Thanks. – Patch Feb 13 '17 at 21:48
  • I don't think this is very good. Usually, the derivative is defined as the slope of the tangent line, so defining tangents in terms of derivatives is... not so well done. – Simply Beautiful Art Feb 13 '17 at 21:49
  • @SimplyBeautifulArt These definitions are equivalent. Usually derivative is defined in terms of a limit but it can also be defined as the slope of a tangent line. The latter gives more intuition. – Henricus V. Feb 13 '17 at 21:50
  • Hm, of course the latter gives more intuition, but I'm just wondering how you could define/introduce derivatives without tangents. Derivative doesn't make much sense to me without the supporting tangent geometric definition, and then the question is basically "what are tangent lines?", so I feel this answer is losing me in a somewhat cyclic pattern. – Simply Beautiful Art Feb 13 '17 at 21:54
  • @SimplyBeautifulArt The definition in my answer are from a mathematically rigorous perspective and not a intuitive perspective. There may be a loss of intuition but the concepts are easy to work with. It is like defining $\pi$ as the smallest positive real number with $\cos \pi/2 = 0$ and proving its geometric meanings later. – Henricus V. Feb 13 '17 at 21:57
  • Yes, of course. I think I've seen some teachings like this. I was personally never a fan because I like understanding what I'm doing before I learn it, but I can't judge. :-) – Simply Beautiful Art Feb 13 '17 at 22:01
2

Yes, the above definition is incorrect. More accurately, I would think you'd need to use the following definition instead:

A tangent line is a straight line that touches a function once, locally, at a point.

However, this fails horribly for many functions, hence my second definition:

To me, it fits better in my mind if I think about it as two points, infinitely close, touching the function twice:

enter image description here

As a side note, my second definition transcends into a much better definition of tangent lines for polynomials degree greater than 1 (not linear). If $P(x)$ is a polynomial and $f(x)$ a line, then $f(x)$ is the tangent line of $P(x)$ at $x=a$ if $Q(x)=P(x)-f(x)$ has a root of multiplicity greater than or equal to 2 at $x=a$. (the idea of roots with multiplicities greater than or equal to 2 comes about from the concept "a line that crosses two points infinitely close")

A nice example: Take $P(x)=x^2$ and $f(x)=2x-1$. We see that

$Q(x)=P(x)-f(x)=x^2-2x+1=(x-1)^2$

It has a root of multiplicity two at $x=1$, thus, $f(x)$ is the tangent of $P(x)$ at $x=1$.

0

yeah that definition is imprecise. A better definition is that a tangent line at a point $x_0$ is equal to $$y-f(x_0) = f'(x_0)(x-x_0)$$ i.e. it is the line constructed but taking a point and drawing a line going through that point which has the same slope as the function at that point.

edenstar
  • 944
  • 6
  • 16
0

Let $f$ be a function, let $p = (x, f(x))$ be a point on the graph of the function.

Better definition: a tangent line to $f$ at $p$ is a line $\ell$ which passes through $p$, such that there exists a neighborhood $V$ of $p$ such that $\ell$ does not pass through any other points of the graph of the function in $V$. This allows you to avoid mistakes like the example you pointed out.

Best definition: a tangent line to $f$ at $p$ is a line $\ell$ passing through $p$ whose slope is $\lim\limits_{h \to 0} \frac{f(x+h)-f(x)}{h}$, provided this limit exists.

KingLogic
  • 1,441
D_S
  • 33,891