, as shown by this example. This is the function f defined by f(x,y) = x if xy > 0 and f(x, y) = 0 if xy \leq 0. This function is homogeneous of degree 1, that is, f(s x, s y) = s f(x,y) for any real numbers s, x, y. It is discontinuous at y = 0, x \neq 0.
Simple example The function f(x, y) = x^2 + y^2 is homogeneous of degree 2: f(tx, ty) = (tx)^2 + (ty)^2 = t^2 \left(x^2 + y^2\right) = t^2 f(x, y).
Absolute value and norms The
absolute value of a
real number is a positively homogeneous function of degree , which is not homogeneous, since |sx|=s|x| if s>0, and |sx|=-s|x| if s The absolute value of a
complex number is a positively homogeneous function of degree 1 over the real numbers (that is, when considering the complex numbers as a
vector space over the real numbers). It is not homogeneous, over the real numbers as well as over the complex numbers. More generally, every
norm and
seminorm is a positively homogeneous function of degree which is not a homogeneous function. As for the absolute value, if the norm or semi-norm is defined on a vector space over the complex numbers, this vector space has to be considered as vector space over the real number for applying the definition of a positively homogeneous function.
Linear Maps Any
linear map f : V \to W between
vector spaces over a
field is homogeneous of degree 1, by the definition of linearity: f(\alpha \mathbf{v}) = \alpha f(\mathbf{v}) for all \alpha \in {F} and v \in V. Similarly, any
multilinear function f : V_1 \times V_2 \times \cdots V_n \to W is homogeneous of degree n, by the definition of multilinearity: f\left(\alpha \mathbf{v}_1, \ldots, \alpha \mathbf{v}_n\right) = \alpha^n f(\mathbf{v}_1, \ldots, \mathbf{v}_n) for all \alpha \in {F} and v_1 \in V_1, v_2 \in V_2, \ldots, v_n \in V_n.
Homogeneous polynomials Monomials in n variables define homogeneous functions f : \mathbb{F}^n \to \mathbb{F}. For example, f(x, y, z) = x^5 y^2 z^3 \, is homogeneous of degree 10 since f(\alpha x, \alpha y, \alpha z) = (\alpha x)^5(\alpha y)^2(\alpha z)^3 = \alpha^{10} x^5 y^2 z^3 = \alpha^{10} f(x, y, z). \, The degree is the sum of the exponents on the variables; in this example, 10 = 5 + 2 + 3. A
homogeneous polynomial is a
polynomial made up of a sum of monomials of the same degree. For example, x^5 + 2x^3 y^2 + 9xy^4 is a homogeneous polynomial of degree 5. Homogeneous polynomials also define homogeneous functions. Given a homogeneous polynomial of degree k with real coefficients that takes only positive values, one gets a positively homogeneous function of degree k/d by raising it to the power 1 / d. So for example, the following function is positively homogeneous of degree 1 but not homogeneous: \left(x^2 + y^2 + z^2\right)^\frac{1}{2}.
Min/max For every set of weights w_1,\dots,w_n, the following functions are positively homogeneous of degree 1, but not homogeneous: • \min\left(\frac{x_1}{w_1}, \dots, \frac{x_n}{w_n}\right) (
Leontief utilities) • \max\left(\frac{x_1}{w_1}, \dots, \frac{x_n}{w_n}\right)
Rational functions Rational functions formed as the ratio of two polynomials are homogeneous functions in their
domain, that is, off of the
linear cone formed by the
zeros of the denominator. Thus, if f is homogeneous of degree m and g is homogeneous of degree n, then f / g is homogeneous of degree m - n away from the zeros of g.
Non-examples The homogeneous
real functions of a single variable have the form x\mapsto cx^k for some constant . So, the
affine function x\mapsto x+5, the
natural logarithm x\mapsto \ln(x), and the
exponential function x\mapsto e^x are not homogeneous. == Euler's theorem ==