# Homogeneous function

In mathematics, a homogeneous function is one with multiplicative scaling behaviour: if all its arguments are multiplied by a factor, then its value is multiplied by some power of this factor.

For example, a homogeneous real-valued function of two variables ${\displaystyle x}$ and ${\displaystyle y}$ is a real-valued function that satisfies the condition ${\displaystyle f(rx,ry)=r^{k}f(x,y)}$ for some constant ${\displaystyle k}$ and all real numbers ${\displaystyle r.}$ The constant ${\displaystyle k}$ is called the degree of homogeneity.

More generally, if ${\displaystyle f:V\to W}$ is a function between two vector spaces over a field ${\displaystyle \mathbb {F} }$ and ${\displaystyle k}$ is an integer, then ${\displaystyle f}$ is said to be homogeneous of degree ${\displaystyle k}$ if

${\displaystyle f(s\mathbf {v} )=s^{k}f(\mathbf {v} )}$

(1)

for all nonzero scalars ${\displaystyle s\in \mathbb {F} }$ and ${\displaystyle v\in V.}$ When the vector spaces involved are over the real numbers, a slightly less general form of homogeneity is often used, requiring only that (1) hold for all ${\displaystyle s>0.}$

Homogeneous functions can also be defined for vector spaces with the origin deleted, a fact that is used in the definition of sheaves on projective space in algebraic geometry. More generally, if ${\displaystyle S\subseteq V}$ is any subset that is invariant under scalar multiplication by elements of the field (a "cone"), then a homogeneous function from S to W can still be defined by (1).

## Examples

A homogeneous function is not necessarily continuous, as shown by this example. This is the function ${\displaystyle f}$ defined by ${\displaystyle f(x,y)=x}$ if ${\displaystyle xy>0}$ and ${\displaystyle f(x,y)=0}$ if ${\displaystyle xy\leq 0.}$ This function is homogeneous of degree 1, that is, ${\displaystyle f(sx,sy)=sf(x,y)}$ for any real numbers ${\displaystyle s,x,y.}$ It is discontinuous at ${\displaystyle y=0,x\neq 0.}$

### Example 1

The function ${\displaystyle f(x,y)=x^{2}+y^{2}}$ is homogeneous of degree 2:

${\displaystyle f(tx,ty)=(tx)^{2}+(ty)^{2}=t^{2}\left(x^{2}+y^{2}\right)=t^{2}f(x,y).}$

For example, suppose ${\displaystyle x=2,y=4,}$ and ${\displaystyle t=5.}$ Then

• ${\displaystyle f(x,y)=2^{2}+4^{2}=4+16=20,}$ and
• ${\displaystyle f(5x,5y)=5^{2}\left(2^{2}+4^{2}\right)=25(20)=500.}$

### Linear functions

Any linear map ${\displaystyle f:V\to W}$ is homogeneous of degree 1 since by the definition of linearity

${\displaystyle f(\alpha \mathbf {v} )=\alpha f(\mathbf {v} )}$
for all ${\displaystyle \alpha \in \mathbb {F} }$ and ${\displaystyle v\in V.}$

Similarly, any multilinear function ${\displaystyle f:V_{1}\times V_{2}\times \cdots V_{n}\to W}$ is homogeneous of degree ${\displaystyle n}$ since by the definition of multilinearity

${\displaystyle f\left(\alpha \mathbf {v} _{1},\ldots ,\alpha \mathbf {v} _{n}\right)=\alpha ^{n}f(\mathbf {v} _{1},\ldots ,\mathbf {v} _{n})}$
for all ${\displaystyle \alpha \in \mathbb {F} }$ and ${\displaystyle v_{1}\in V_{1},v_{2}\in V_{2},\ldots ,v_{n}\in V_{n}.}$

It follows that the ${\displaystyle n}$-th differential of a function ${\displaystyle f:X\to Y}$ between two Banach spaces ${\displaystyle X}$ and ${\displaystyle Y}$ is homogeneous of degree ${\displaystyle n.}$

### Homogeneous polynomials

Monomials in ${\displaystyle n}$ variables define homogeneous functions ${\displaystyle f:\mathbb {F} ^{n}\to \mathbb {F} .}$ For example,

${\displaystyle f(x,y,z)=x^{5}y^{2}z^{3}\,}$
is homogeneous of degree 10 since
${\displaystyle 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, ${\displaystyle 10=5+2+3.}$

A homogeneous polynomial is a polynomial made up of a sum of monomials of the same degree. For example,

${\displaystyle 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 ${\displaystyle k,}$ it is possible to get a homogeneous function of degree 1 by raising to the power ${\displaystyle 1/k.}$ So for example, for every ${\displaystyle k}$ the following function is homogeneous of degree 1:

${\displaystyle \left(x^{k}+y^{k}+z^{k}\right)^{\frac {1}{k}}}$

### Min/max

For every set of weights ${\displaystyle w_{1},\dots ,w_{n},}$ the following functions are homogeneous of degree 1:

• ${\displaystyle \min \left({\frac {x_{1}}{w_{1}}},\dots ,{\frac {x_{n}}{w_{n}}}\right)}$ (Leontief utilities)
• ${\displaystyle \max \left({\frac {x_{1}}{w_{1}}},\dots ,{\frac {x_{n}}{w_{n}}}\right)}$

### Polarization

A multilinear function ${\displaystyle g:V\times V\times \cdots \times V\to \mathbb {F} }$ from the ${\displaystyle n}$-th Cartesian product of ${\displaystyle V}$ with itself to the underlying field ${\displaystyle \mathbb {F} }$ gives rise to a homogeneous function ${\displaystyle f:V\to \mathbb {F} }$ by evaluating on the diagonal:

${\displaystyle f(v)=g(v,v,\dots ,v).}$

The resulting function ${\displaystyle f}$ is a polynomial on the vector space ${\displaystyle V.}$

Conversely, if ${\displaystyle \mathbb {F} }$ has characteristic zero, then given a homogeneous polynomial ${\displaystyle f}$ of degree ${\displaystyle n}$ on ${\displaystyle V,}$ the polarization of ${\displaystyle f}$ is a multilinear function ${\displaystyle g:V\times V\times \cdots \times V\to \mathbb {F} }$ on the ${\displaystyle n}$-th Cartesian product of ${\displaystyle V.}$ The polarization is defined by:

${\displaystyle g\left(v_{1},v_{2},\dots ,v_{n}\right)={\frac {1}{n!}}{\frac {\partial }{\partial t_{1}}}{\frac {\partial }{\partial t_{2}}}\cdots {\frac {\partial }{\partial t_{n}}}f\left(t_{1}v_{1}+\cdots +t_{n}v_{n}\right).}$

These two constructions, one of a homogeneous polynomial from a multilinear form and the other of a multilinear form from a homogeneous polynomial, are mutually inverse to one another. In finite dimensions, they establish an isomorphism of graded vector spaces from the symmetric algebra of ${\displaystyle V^{*}}$ to the algebra of homogeneous polynomials on ${\displaystyle V.}$

### Rational functions

Rational functions formed as the ratio of two homogeneous polynomials are homogeneous functions off of the affine cone cut out by the zero locus of the denominator. Thus, if ${\displaystyle f}$ is homogeneous of degree ${\displaystyle m}$ and ${\displaystyle g}$ is homogeneous of degree ${\displaystyle n,}$ then ${\displaystyle f/g}$ is homogeneous of degree ${\displaystyle m-n}$ away from the zeros of ${\displaystyle g.}$

## Non-examples

### Logarithms

The natural logarithm ${\displaystyle f(x)=\ln x}$ scales additively and so is not homogeneous.

This can be demonstrated with the following examples: ${\displaystyle f(5x)=\ln 5x=\ln 5+f(x),}$ ${\displaystyle f(10x)=\ln 10+f(x),}$ and ${\displaystyle f(15x)=\ln 15+f(x).}$ This is because there is no ${\displaystyle k}$ such that ${\displaystyle f(\alpha \cdot x)=\alpha ^{k}\cdot f(x).}$

### Affine functions

Affine functions (the function ${\displaystyle f(x)=x+5}$ is an example) do not in general scale multiplicatively.

## Positive homogeneity

In the special case of vector spaces over the real numbers, the notion of positive homogeneity often plays a more important role than homogeneity in the above sense.

Let ${\displaystyle X}$ be a vector space over a field ${\displaystyle \mathbb {F} }$ and let ${\displaystyle Y}$ be a vector space over a field ${\displaystyle \mathbb {G} }$ where ${\displaystyle \mathbb {F} }$ and ${\displaystyle \mathbb {G} }$ will usually be (or possibly just contain as subsets) the real numbers ${\displaystyle \mathbb {R} }$ or complex numbers ${\displaystyle \mathbb {C} .}$ Let ${\displaystyle f:X\to Y}$ be a map.[note 1] Define[note 2] the following terminology:

1. Strict positive homogeneity: ${\displaystyle f(rx)=rf(x)}$for all ${\displaystyle x\in X}$ and all positive real ${\displaystyle r>0.}$
2. Nonnegative homogeneity: ${\displaystyle f(rx)=rf(x)}$for all ${\displaystyle x\in X}$ and all non-negative real ${\displaystyle r\geq 0.}$
3. Positive homogeneity: This is usually defined to mean "nonnegative homogeneity" but it is also frequently defined to instead mean "strict positive homogeneity".
• Which of these two is chosen as the definition is usually[note 3] irrelevant because for a function valued in a vector space or field, nonnegative homogeneity is the same as strict positive homogeneity; the definitions will be logically equivalent.[proof 1]
4. Real homogeneity: ${\displaystyle f(rx)=rf(x)}$ for all ${\displaystyle x\in X}$ and all real ${\displaystyle r.}$
5. Homogeneity: ${\displaystyle f(sx)=sf(x)}$ for all ${\displaystyle x\in X}$ and all scalars ${\displaystyle s\in \mathbb {F} .}$
• It is emphasized that this definition depends on the scalar field ${\displaystyle \mathbb {F} }$ underlying the domain ${\displaystyle X}$.
• This property is used in the definition of linear functionals and linear maps.
6. Conjugate homogeneity: ${\displaystyle f(sx)={\overline {s}}f(x)}$ for all ${\displaystyle x\in X}$ and all scalars ${\displaystyle s\in \mathbb {F} .}$
• If ${\displaystyle \mathbb {F} =\mathbb {C} }$ then ${\displaystyle {\overline {s}}}$ typically denotes the complex conjugate of ${\displaystyle s.}$ But more generally, ${\displaystyle {\overline {s}}}$ could be the image of ${\displaystyle s}$ under some distinguished automorphism of ${\displaystyle \mathbb {F} .}$
• Along with additivity, this property is assumed in the definition of an antilinear map. It is also assumed that one of the two coordinates of a sesquilinear form has this property (such as the inner product of a Hilbert space).

All of the above definitions can be generalized by replacing the condition ${\displaystyle f(rx)=rf(x)}$ with ${\displaystyle f(rx)=|r|f(x),}$ in which case that definition is prefixed with the word "absolute" or "absolutely." For example,

1. Absolute real homogeneity: ${\displaystyle f(rx)=|r|f(x)}$ for all ${\displaystyle x\in X}$ and all real ${\displaystyle r.}$
2. Absolute homogeneity: ${\displaystyle f(sx)=|s|f(x)}$ for all ${\displaystyle x\in X}$ and all scalars ${\displaystyle s\in \mathbb {F} .}$
• This property is used in the definition of a seminorm and a norm.

If ${\displaystyle k}$ is a fixed real number then the above definitions can be further generalized by replacing the condition ${\displaystyle f(rx)=rf(x)}$ with ${\displaystyle f(rx)=r^{k}f(x)}$ (and similarly, by replacing ${\displaystyle f(rx)=|r|f(x)}$ with ${\displaystyle f(rx)=|r|^{k}f(x)}$ for conditions using the absolute value, etc.), in which case the homogeneity is said to be "of degree ${\displaystyle k}$" (where in particular, all of the above definitions are "of degree ${\displaystyle 1}$"). For instance,

1. Nonnegative homogeneity of degree ${\displaystyle k}$: ${\displaystyle f(rx)=r^{k}f(x)}$ for all ${\displaystyle x\in X}$ and all real ${\displaystyle r\geq 0.}$
2. Real homogeneity of degree ${\displaystyle k}$: ${\displaystyle f(rx)=r^{k}f(x)}$ for all ${\displaystyle x\in X}$ and all real ${\displaystyle r.}$
3. Homogeneity of degree ${\displaystyle k}$: ${\displaystyle f(sx)=s^{k}f(x)}$ for all ${\displaystyle x\in X}$ and all scalars ${\displaystyle s\in \mathbb {F} .}$
4. Absolute real homogeneity of degree ${\displaystyle k}$: ${\displaystyle f(rx)=|r|^{k}f(x)}$ for all ${\displaystyle x\in X}$ and all real ${\displaystyle r.}$
5. Absolute homogeneity of degree ${\displaystyle k}$: ${\displaystyle f(sx)=|s|^{k}f(x)}$ for all ${\displaystyle x\in X}$ and all scalars ${\displaystyle s\in \mathbb {F} .}$

A nonzero continuous function that is homogeneous of degree ${\displaystyle k}$ on ${\displaystyle \mathbb {R} ^{n}\backslash \lbrace 0\rbrace }$ extends continuously to ${\displaystyle \mathbb {R} ^{n}}$ if and only if ${\displaystyle k>0.}$

### Generalizations

The definitions given above are all specializes of the following more general notion of homogeneity in which ${\displaystyle X}$ can be any set (rather than a vector space) and the real numbers can be replaced by the more general notion of a monoid.

#### Monoids and monoid actions

A monoid is a pair ${\displaystyle (M,\,\cdot \,)}$ consisting of a set ${\displaystyle M}$ and an associative operator ${\displaystyle M\times M\to M}$ where there is some element in ${\displaystyle S}$ called an identity element, denoted by ${\displaystyle 1\in M,}$ such that ${\displaystyle 1\cdot m=m=m\cdot 1}$ for all ${\displaystyle m\in M.}$

If ${\displaystyle (M,\,\cdot \,)}$ is a monoid with identity element ${\displaystyle 1\in M}$ and if ${\displaystyle m\in M,}$ then the following notation will be used: let ${\displaystyle m_{0}:=1,m_{1}:=m,m_{2}:=m\cdot m,}$ and more generally for any positive integers ${\displaystyle k,}$ let ${\displaystyle m^{k}}$ be the product of ${\displaystyle k}$ instances of ${\displaystyle m}$; that is, ${\displaystyle m^{k}:=m\cdot \left(m^{k-1}\right).}$

It is common practice (e.g. such as in algebra or calculus) to denote the multiplication operation of a monoid ${\displaystyle (M,\,\cdot \,)}$ by juxtaposition, meaning that ${\displaystyle mn}$ may be written rather than ${\displaystyle m\cdot n.}$ This avoids any need to assign a symbol to a monoid's multiplication operation. When this juxtaposition notation is used then it should be automatically assumed that the monoid's identity element is denoted by ${\displaystyle 1.}$

Let ${\displaystyle M}$ be a monoid with identity element ${\displaystyle 1\in M}$ whose operation is denoted by juxtaposition and let ${\displaystyle X}$ be a set. A monoid action of ${\displaystyle M}$ on ${\displaystyle X}$ is a map ${\displaystyle M\times M\to X,}$ which will also be denoted by juxtaposition, such that ${\displaystyle 1x=x=x1}$ and for all ${\displaystyle x\in X}$ and all ${\displaystyle m,n\in M.}$

#### Homogeneity

Let ${\displaystyle M}$ be a monoid with identity element ${\displaystyle 1\in M,}$ let ${\displaystyle X}$ and ${\displaystyle Y}$ be sets, and suppose that on both ${\displaystyle X}$ and ${\displaystyle Y}$ there are defined monoid actions of ${\displaystyle M.}$ Let ${\displaystyle k}$ be a non-negative integer and let ${\displaystyle f:X\to Y}$ be a map. Then ${\displaystyle f}$ is said to be homogeneous of degree ${\displaystyle k}$ over ${\displaystyle M}$ if for every ${\displaystyle x\in X}$ and ${\displaystyle m\in M,}$

${\displaystyle f(mx)=m^{k}f(x).}$
If in addition there is a function ${\displaystyle M\to M,}$ denoted by ${\displaystyle m\mapsto |m|,}$ called an absolute value then ${\displaystyle f}$ is said to be absolutely homogeneous of degree ${\displaystyle k}$ over ${\displaystyle M}$ if for every ${\displaystyle x\in X}$ and ${\displaystyle m\in M,}$
${\displaystyle f(mx)=|m|^{k}f(x).}$

A function is homogeneous over ${\displaystyle M}$ (resp. absolutely homogeneous over ${\displaystyle M}$) if it is homogeneous of degree ${\displaystyle 1}$ over ${\displaystyle M}$ (resp. absolutely homogeneous of degree ${\displaystyle 1}$ over ${\displaystyle M}$).

More generally, it is possible for the symbols ${\displaystyle m^{k}}$ to be defined for ${\displaystyle m\in M}$ with ${\displaystyle k}$ being something other than an integer (for example, if ${\displaystyle M}$ is the real numbers and ${\displaystyle k}$ is a non-zero real number then ${\displaystyle m^{k}}$ is defined even though ${\displaystyle k}$ is not an integer). If this is the case then ${\displaystyle f}$ will be called homogeneous of degree ${\displaystyle k}$ over ${\displaystyle M}$ if the same equality holds:

${\displaystyle f(mx)=m^{k}f(x)\quad {\text{ for every }}x\in X{\text{ and }}m\in M.}$

The notion of being absolutely homogeneous of degree ${\displaystyle k}$ over ${\displaystyle M}$ is generalized similarly.

### Euler's homogeneous function theorem

Continuously differentiable positively homogeneous functions are characterized by the following theorem:

Euler's homogeneous function theorem — Suppose that the function ${\displaystyle f:\mathbb {R} ^{n}\backslash \lbrace 0\rbrace \to \mathbb {R} }$ is continuously differentiable. Then ${\displaystyle f}$ is positively homogeneous of degree ${\displaystyle k}$ if and only if

${\displaystyle \mathbf {x} \cdot \nabla f(\mathbf {x} )=kf(\mathbf {x} ).}$

Proof —

This result follows at once by differentiating both sides of the equation ${\displaystyle f(\alpha y)=\alpha ^{k}f(y)}$ with respect to ${\displaystyle \alpha ,}$ applying the chain rule, and choosing ${\displaystyle \alpha }$ to be ${\displaystyle 1.}$

The converse is proved by integrating. Specifically, let ${\textstyle g(\alpha )=f(\alpha \mathbf {x} ).}$ Since ${\textstyle \alpha \mathbf {x} \cdot \nabla f(\alpha \mathbf {x} )=kf(\alpha \mathbf {x} ),}$

${\displaystyle g'(\alpha )=\mathbf {x} \cdot \nabla f(\alpha \mathbf {x} )={\frac {k}{\alpha }}f(\alpha \mathbf {x} )={\frac {k}{\alpha }}g(\alpha ).}$

Thus, ${\textstyle g^{\prime }(\alpha )-{\frac {k}{\alpha }}g(\alpha )=0.}$ This implies ${\textstyle g(\alpha )=g(1)\alpha ^{k}.}$ Therefore, ${\textstyle f(\alpha \mathbf {x} )=g(\alpha )=\alpha ^{k}g(1)=\alpha ^{k}f(\mathbf {x} )}$: ${\displaystyle f}$ is positively homogeneous of degree ${\displaystyle k.}$

As a consequence, suppose that ${\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} }$ is differentiable and homogeneous of degree ${\displaystyle k.}$ Then its first-order partial derivatives ${\displaystyle \partial f/\partial x_{i}}$ are homogeneous of degree ${\displaystyle k-1.}$ The result follows from Euler's theorem by commuting the operator ${\displaystyle \mathbf {x} \cdot \nabla }$ with the partial derivative.

One can specialize the theorem to the case of a function of a single real variable (${\displaystyle n=1}$), in which case the function satisfies the ordinary differential equation

${\displaystyle f^{\prime }(x)-{\frac {k}{x}}f(x)=0.}$
This equation may be solved using an integrating factor approach, with solution ${\textstyle f(x)=cx^{k},}$ where ${\displaystyle c=f(1).}$

## Homogeneous distributions

A continuous function ${\displaystyle f}$ on ${\displaystyle \mathbb {R} ^{n}}$ is homogeneous of degree ${\displaystyle k}$ if and only if

${\displaystyle \int _{\mathbb {R} ^{n}}f(tx)\varphi (x)\,dx=t^{k}\int _{\mathbb {R} ^{n}}f(x)\varphi (x)\,dx}$
for all compactly supported test functions ${\displaystyle \varphi }$; and nonzero real ${\displaystyle t.}$ Equivalently, making a change of variable ${\displaystyle y=tx,}$ ${\displaystyle f}$ is homogeneous of degree ${\displaystyle k}$ if and only if
${\displaystyle t^{-n}\int _{\mathbb {R} ^{n}}f(y)\varphi \left({\frac {y}{t}}\right)\,dy=t^{k}\int _{\mathbb {R} ^{n}}f(y)\varphi (y)\,dy}$
for all ${\displaystyle t}$ and all test functions ${\displaystyle \varphi .}$ The last display makes it possible to define homogeneity of distributions. A distribution ${\displaystyle S}$ is homogeneous of degree ${\displaystyle k}$ if
${\displaystyle t^{-n}\langle S,\varphi \circ \mu _{t}\rangle =t^{k}\langle S,\varphi \rangle }$
for all nonzero real ${\displaystyle t}$ and all test functions ${\displaystyle \varphi .}$ Here the angle brackets denote the pairing between distributions and test functions, and ${\displaystyle \mu _{t}:\mathbb {R} ^{n}\to \mathbb {R} ^{n}}$ is the mapping of scalar division by the real number ${\displaystyle t.}$

## Application to differential equations

The substitution ${\displaystyle v=y/x}$ converts the ordinary differential equation

${\displaystyle I(x,y){\frac {\mathrm {d} y}{\mathrm {d} x}}+J(x,y)=0,}$
where ${\displaystyle I}$ and ${\displaystyle J}$ are homogeneous functions of the same degree, into the separable differential equation
${\displaystyle x{\frac {\mathrm {d} v}{\mathrm {d} x}}=-{\frac {J(1,v)}{I(1,v)}}-v.}$

1. ^ Note in particular that if ${\displaystyle Y=\mathbb {C} =\mathbb {G} ,}$ then every ${\displaystyle \mathbb {R} }$-valued function on ${\displaystyle X}$ is also ${\displaystyle \mathbb {C} }$-valued.
2. ^ For a property such as real homogeneity to even be well-defined, the fields ${\displaystyle \mathbb {F} }$ and ${\displaystyle \mathbb {G} }$ must both contain the real numbers. We will of course automatically make whatever assumptions on ${\displaystyle \mathbb {F} }$ and ${\displaystyle \mathbb {G} }$ are necessary in order for the scalar products below to be well-defined.
3. ^ In fields like convex analysis, the codomain of ${\displaystyle f}$ is sometimes the set ${\displaystyle [-\infty ,\infty ]=\mathbb {R} \cup \{\pm \infty \}}$ of extended real numbers, in which case the multiplication ${\displaystyle 0\cdot f(x)}$ will be undefined whenever ${\displaystyle f(x)=\pm \infty .}$ In this case, the conditions "${\displaystyle r>0}$" and "${\displaystyle r\geq 0}$" may not necessarily be used interchangeably. However, if such an ${\displaystyle f}$ satisfies ${\displaystyle f(rx)=rf(x)}$ for all ${\displaystyle r>0}$ and ${\displaystyle x\in X,}$ then necessarily ${\displaystyle f(0)\in \{\pm \infty ,0\}}$ and whenever ${\displaystyle f(0),f(x)\in \mathbb {R} }$ are both real then ${\displaystyle f(rx)=rf(x)}$ will hold for all ${\displaystyle r\geq 0.}$
1. ^ Assume that ${\displaystyle f}$ is strictly positively homogeneous and valued in a vector space or a field. Then ${\displaystyle f(0)=f(2\cdot 0)=2f(0)}$ so subtracting ${\displaystyle f(0)}$ from both sides shows that ${\displaystyle f(0)=0.}$ Writing ${\displaystyle r:=0,}$ then for any ${\displaystyle x\in X,}$ ${\displaystyle f(rx)=f(0)=0=0f(x)=rf(x),}$ which shows that ${\displaystyle f}$ is nonnegative homogeneous.