Continuous in every linear direction not implies continuous

From Calculus
Revision as of 19:23, 13 April 2012 by Vipul (talk | contribs) (Created page with "==Statement== ===For a function of two variables at a point=== It is possible to have a function <math>f</math> of two variables <math>x,y</math> and a point <math>(x_0,y_0)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Statement

For a function of two variables at a point

It is possible to have a function f of two variables x,y and a point (x0,y0) in the domain of f such that f is continuous along every linear direction at (x0,y0) (i.e., the function h(x0+uh,y0+vh) is continuous at h=0 for every vector u,v) but f is not a continuous function.

Statement

For a function of two variables at a point

It is possible to have a function f of two variables x,y and a point (x0,y0) in the domain of f such that f is continuous along every linear direction at every point but f is not a continuous function.

Proof

Example

Consider the function:

f(x,y):={0,y0 or yx2(1yx2),0<y<x2

Alternatively, we can describe it as:

f(x,y):={max{0,yx2(1yx2)},x00,x=0

We first argue that f is continuous at all points other than (0,0):

  • At any point with y<0, the function is the zero function around the point, hence is continuous.
  • At any point with y>x2, the function is the zero function around the point, hence is continuous.
  • At any point with 0<y<x2, the function has the rational function description yx2(1yx2) around the point, hence is continuous.
  • At any point on the line y=0 other than the origin, there are two definitions of the function around the point: the definition 0 (from the y0 side), and the definition yx2(1yx2) (from the 0<y<x2 side). Both definitions evaluate to zero at the point, which is the same as the function value at the point.
  • At any point on the curve y=x2 other than the origin, there are two definitions of the function around the point: the definition 0 (from the yx2 side), and the definition yx2(1yx2) (from the 0<y<x2 side). Both definitions evaluate to zero at the point, which is the same as the function value at the point.

We now argue that f is continuous in every linear direction at (0,0). It suffices to consider half-line directions because continuity from a linear direction is continuity from both half-line directions.

  • For the half-line directions that are below or along the y=0 line, the function is identically zero along the half-line, so the limit at the origin is zero, which equals the zero.
  • For the half-line directions that are above y=0, we note that, sufficiently close to the origin, this half-line is completely above the y=x2 curve (explicitly, if the slope of the line is m, then the half-line is above y=x2 for |x|<|m|). Thus, sufficiently close to the origin, f looks like the zero function on this half-line. Thus, the limit at the origin is zero, which equals the value.

We finally demonstrate that f is not continuous at (0,0) by finding a curve approaching the origin along which the limit at the origin is not zero. Consider the curve:

y=12x2

Consider the limit:

limx0+f(x,y)=limx0+f(x,x2/2)=limx0+(1/2)(11/2)=limx0+1/4=1/40

Intuitive explanation of example

Intuitively, this example function is zero on a very large subset of the domain, and the set of points where it is nonzero is a narrow squished subset of the plane that, near the origin, is too small to be detected by straight lines.