File:HomogeneousDiscontinuousFunction.gif

Summary

Description
English: An example that shows that a homogeneous function does not have to be continuous. This is the function f defined by f(x,y)=x if xy>0 or f(x,y)=0 otherwise. It is homogeneous of order 1, i.e. f(a*x,a*y)=a*f(x,y). It is discontinuous at y=0, x=/=0.
Date
Source Own work
 
This diagram was created with Mathematica.
Category:PNG created with Mathematica#HomogeneousDiscontinuousFunction.gif
Author Sbyrnes321
(* Source code in Mathematica 6.0 by Steve Byrnes, 2011. *) 
eps = .001;
a = Show[Plot3D[x, {x, 0, 1}, {y, eps, 1}, PlotRange -> {{-1, 1}, {-1, 1}, {-1, 1}}],
  Plot3D[0, {x, -1, 0}, {y, eps, 1}],
  Plot3D[0, {x, 0, 1}, {y, -1, -eps}],
  Plot3D[x, {x, -1, 0}, {y, -1, -eps}],
  Plot3D[x (1 - y/eps)/2, {x, -1, 0}, {y, -eps, eps}],
  Plot3D[x (1 - y/eps)/2, {x, 0, 1}, {y, -eps, eps}]]
Export["pic.gif", a]

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#HomogeneousDiscontinuousFunction.gif
Category:Self-published work Category:Images with Mathematica source code Category:Surface plots
Category:CC-Zero Category:Images with Mathematica source code Category:PNG created with Mathematica Category:Self-published work Category:Surface plots