Homogeneous Function: Definition, Degree & Examples

#Algebra
TL;DR
A homogeneous function of degree nn is one where scaling every input by the same factor tt scales the output by tnt^n, written f(tx,ty)=tnf(x,y)f(tx, ty) = t^n f(x, y). You find the degree by substituting txtx and tyty and reading off the single power of tt that factors out, and every differentiable homogeneous function obeys Euler's theorem, x∂f∂x+y∂f∂y=nfx\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = n f.
MV
Madhukar VLast updated on September 6, 202610 min read

What Is A Homogeneous Function?

A homogeneous function is a function whose output scales by a fixed power of tt when every input is multiplied by the same factor tt. In symbols, ff is homogeneous of degree nn when

f(tx,ty)=tnf(x,y)f(tx, ty) = t^{n} f(x, y)

holds for all tt and for every (x,y)(x, y) in the domain. The exponent nn is called the degree of the function.

Read the rule in words. Stretch or shrink both inputs by the same factor, and the value changes by that factor raised to one fixed power. That fixed power is the entire identity of the function's scaling behaviour, and it is what every test and theorem below comes back to.

The idea is not limited to two variables. A function of kk inputs is homogeneous of degree nn when f(tx1,tx2,…,txk)=tnf(x1,x2,…,xk)f(t x_1, t x_2, \dots, t x_k) = t^{n} f(x_1, x_2, \dots, x_k). Homogeneity is a property a function either has or does not have, which makes it one more way to sort functions, sitting alongside the labels you meet in types of functions and relations and functions, and separate from whether a rule is written as an explicit function or an implicit function.

How Do You Find The Degree Of A Homogeneous Function?

To find the degree, replace xx with txtx and yy with tyty, then factor out the largest common power of tt. If what remains is exactly the original function, the function is homogeneous and the exponent of tt is the degree. If any tt is left stuck inside, the function is not homogeneous.

For a polynomial there is a faster check: add the exponents in each term. If every term has the same total, that total is the degree. This is the same total-degree idea you meet with polynomials and the degree of a polynomial, now read across the whole expression at once.

Example 1: Find the degree of f(x,y)=x3+4x2y−2y3f(x, y) = x^{3} + 4x^{2}y - 2y^{3}.

Substitute txtx and tyty:

f(tx,ty)=(tx)3+4(tx)2(ty)−2(ty)3f(tx, ty) = (tx)^{3} + 4(tx)^{2}(ty) - 2(ty)^{3}

Simplify each term:

f(tx,ty)=t3x3+4t3x2y−2t3y3f(tx, ty) = t^{3}x^{3} + 4t^{3}x^{2}y - 2t^{3}y^{3}

Factor out t3t^{3}:

f(tx,ty)=t3(x3+4x2y−2y3)=t3f(x,y)f(tx, ty) = t^{3}\left(x^{3} + 4x^{2}y - 2y^{3}\right) = t^{3} f(x, y)

The power that factored out is 33, and nothing is left behind.

Final answer: ff is homogeneous of degree 33.

What Are Some Examples Of Homogeneous Functions?

Homogeneous functions turn up often once you know the pattern. Each one below is labelled with the degree that factors out under scaling.

  • Degree 1: f(x,y)=x+3yf(x, y) = x + 3y, since f(tx,ty)=t(x+3y)=t1f(x,y)f(tx, ty) = t(x + 3y) = t^{1} f(x, y).

  • Degree 2: f(x,y)=x2+xy+y2f(x, y) = x^{2} + xy + y^{2}, since f(tx,ty)=t2(x2+xy+y2)f(tx, ty) = t^{2}(x^{2} + xy + y^{2}).

  • Degree 3: f(x,y)=x3+y3f(x, y) = x^{3} + y^{3}, since f(tx,ty)=t3(x3+y3)f(tx, ty) = t^{3}(x^{3} + y^{3}).

  • Degree 1 (with a root): f(x,y)=x2+y2f(x, y) = \sqrt{x^{2} + y^{2}}, since t2x2+t2y2=tx2+y2\sqrt{t^{2}x^{2} + t^{2}y^{2}} = t\sqrt{x^{2} + y^{2}} for t>0t > 0.

  • Degree 0: f(x,y)=xyf(x, y) = \dfrac{x}{y}, since txty=xy\dfrac{tx}{ty} = \dfrac{x}{y} and no factor of tt survives.

Homogeneity is not only a polynomial property. The function f(x,y)=x2sin⁡(yx)f(x, y) = x^{2}\sin\left(\dfrac{y}{x}\right) is homogeneous of degree 22, because the ratio yx\dfrac{y}{x} is untouched by scaling and the x2x^{2} out front carries the factor t2t^{2}.

Which Functions Are Not Homogeneous?

A function fails the test the moment its pieces scale by different powers of tt, or one piece refuses to scale at all.

  • Mixed degrees: f(x,y)=x2+yf(x, y) = x^{2} + y. Scaling gives t2x2+tyt^{2}x^{2} + ty, and no single power of tt factors out cleanly.

  • A constant term: f(x,y)=x2+y2+1f(x, y) = x^{2} + y^{2} + 1. Scaling gives t2x2+t2y2+1t^{2}x^{2} + t^{2}y^{2} + 1, and the 11 stays fixed while the rest grows.

  • A non-scaling piece: f(x,y)=x+sin⁡yf(x, y) = x + \sin y. The term sin⁡(ty)\sin(ty) does not reduce to a power of tt times sin⁡y\sin y.

In each case the reason is the same: the output does not change by one clean power of tt, so no degree exists.

What Is Euler's Theorem For Homogeneous Functions?

Euler's theorem gives a shortcut worth memorising: for a differentiable function that is homogeneous of degree nn, the inputs and the partial derivatives combine to rebuild the function itself, scaled by nn.

x∂f∂x+y∂f∂y=n,f(x,y)x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = n, f(x, y)

For a function of kk variables the pattern extends term by term, ∑i=1kxi∂f∂xi=nf\sum_{i=1}^{k} x_i \frac{\partial f}{\partial x_i} = n f. The theorem is named for Leonhard Euler, who developed it while studying the calculus of several variables.

Example 2: Verify Euler's theorem for f(x,y)=x2+xy+y2f(x, y) = x^{2} + xy + y^{2}.

This function is homogeneous of degree 22, so the theorem predicts x∂f∂x+y∂f∂y=2fx\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = 2f. First the partial derivatives:

∂f∂x=2x+y,∂f∂y=x+2y\frac{\partial f}{\partial x} = 2x + y, \qquad \frac{\partial f}{\partial y} = x + 2y

Now form the left side:

x(2x+y)+y(x+2y)=2x2+xy+xy+2y2x(2x + y) + y(x + 2y) = 2x^{2} + xy + xy + 2y^{2}

Collect like terms:

=2x2+2xy+2y2=2(x2+xy+y2)=2f(x,y)= 2x^{2} + 2xy + 2y^{2} = 2\left(x^{2} + xy + y^{2}\right) = 2f(x, y)

The left side equals 2f2f, and the degree is 22, so the two sides agree.

Final answer: x∂f∂x+y∂f∂y=2fx\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = 2f, matching n=2n = 2.

How Do Homogeneous Functions Connect To Differential Equations?

A first-order equation dydx=F(x,y)\dfrac{dy}{dx} = F(x, y) is called homogeneous when FF is a homogeneous function of degree zero, meaning F(tx,ty)=F(x,y)F(tx, ty) = F(x, y). A degree-zero function depends only on the ratio yx\dfrac{y}{x}, so the whole equation can be rewritten in terms of one new variable.

The standard move is the substitution y=vxy = vx, which turns the equation into a separable one you can integrate. This is where homogeneous functions do their most familiar work in a first calculus course, and it is a standard topic in senior-secondary and early-university syllabuses, including India's NCERT Class 12 differential-equations chapter and UK A-Level and first-year university courses. Homogeneous differential equations sit one step beyond this article.

Why Do Homogeneous Functions Matter?

Homogeneous functions matter because a single number, the degree, captures how a quantity responds to scaling. That one fact shows up wherever making the inputs bigger has a predictable effect on the output.

  • Scaling is built into measurement. Double the side of a square and its area grows by 222^{2}; double the edge of a cube and its volume grows by 232^{3}. Area is homogeneous of degree 22, volume of degree 33.

  • The degree encodes behaviour. A degree-1 function grows in step with its inputs, a degree-0 function ignores overall scale and reads only ratios, and higher degrees grow faster than the inputs themselves.

  • It simplifies hard equations. Spotting that a differential equation is built from homogeneous functions lets you swap in y=vxy = vx and reduce it to something you can integrate.

So the degree is not a label to memorise and forget. It is a compact prediction about what happens when the whole picture is made larger or smaller.

Who Discovered Homogeneous Functions?

The scaling property was used long before it had a tidy name, but one mathematician's name is attached to its most useful theorem: Leonhard Euler.

Two names shaped the idea we use today:

  • Leonhard Euler (1707 to 1783, Switzerland) set the theorem inside the calculus of several variables in the mid-1700s, giving the degree its role as the single number that organises the whole family of scaling functions.

  • Augustin-Louis Cauchy (1789 to 1857, France) later gave calculus the rigorous definitions of limit and derivative that Euler's relation quietly relies on.

Where Are Homogeneous Functions Used In The Real World?

The same scaling property drives models in fields that rarely talk to each other. In economics it even carries a name, returns to scale.

  • Economics: the Cobb-Douglas production function Q=A,KaLbQ = A,K^{a} L^{b} is homogeneous of degree a+ba + b. When a+b=1a + b = 1, doubling both capital and labour doubles output, the case called constant returns to scale.

  • Thermodynamics: extensive quantities like energy and entropy are homogeneous of degree 11 in the size of the system, while intensive quantities like temperature and density are homogeneous of degree 00.

  • Engineering and dimensional analysis: scale models of bridges, wings, and ships work because physical quantities scale as fixed powers of length, the same degree-nn rule.

  • Geometry of measurement: perimeter, area, and volume are homogeneous of degrees 11, 22, and 33, which is why a giant cannot simply be a scaled-up person and stay standing.

One property, read off as a single number, lets each of these fields predict how a system reacts when it grows.

What Are The Most Common Homogeneous Function Mistakes?

Three errors account for most lost marks on this topic. Each follows directly from a clause of the definition, or from the word "homogeneous" being reused for an unrelated idea.

Mislabelling the degree.

Where it slips in:

A student counts the number of terms, or reads only the highest single exponent, instead of adding the exponents within each term.

Don't do this:

Do not call x2yx^{2}y a degree-2 function. Its total degree is 2+1=32 + 1 = 3.

The correct way:

Add the exponents in every term and confirm they match. For a fraction such as x2+y2x+y\dfrac{x^{2} + y^{2}}{x + y}, subtract instead: numerator degree 22 minus denominator degree 11 gives degree 11.

Testing only one value of tt.

Where it slips in:

A student plugs in t=2t = 2, or worse t=1t = 1, gets a match, and declares the function homogeneous.

Don't do this:

Do not trust a single number. Setting t=1t = 1 makes f(tx,ty)=f(x,y)f(tx, ty) = f(x, y) for every function that exists, homogeneous or not, so it proves nothing.

The correct way:

Keep tt as a symbol and require f(tx,ty)f(tx, ty) to factor as tnf(x,y)t^{n} f(x, y) for all tt. Only a general tt confirms the property.

Confusing a homogeneous function with a homogeneous system of equations.

Where it slips in:

The word "homogeneous" is reused across topics, so students carry the wrong meaning from one to the other.

Don't do this:

Do not assume the two are related. A homogeneous system of linear equations is one where every equation equals zero, written Ax=0A\mathbf{x} = \mathbf{0}.

The correct way:

Keep the definitions apart. A homogeneous function is about scaling inputs, f(tx,ty)=tnf(x,y)f(tx, ty) = t^{n} f(x, y); a homogeneous system is about a right-hand side of zero.

Practice Problems On Homogeneous Functions

Work each one, then check the answer beside it.

  1. Show that f(x,y)=x3−2xy2f(x, y) = x^{3} - 2xy^{2} is homogeneous and give its degree.
    (Answer: degree 33, since f(tx,ty)=t3(x3−2xy2)f(tx, ty) = t^{3}(x^{3} - 2xy^{2}).)

  2. Find the degree of f(x,y)=x4+y4x2+y2f(x, y) = \dfrac{x^{4} + y^{4}}{x^{2} + y^{2}}.
    (Answer: degree 22, from 4−24 - 2.)

  3. Is f(x,y)=x2+y2+3f(x, y) = x^{2} + y^{2} + 3 homogeneous?
    (Answer: no, the constant 33 does not scale.)

  4. Find the degree of f(x,y)=xy+yxf(x, y) = \dfrac{x}{y} + \dfrac{y}{x}.
    (Answer: degree 00.)

  5. Verify Euler's theorem for f(x,y)=x3+y3f(x, y) = x^{3} + y^{3}.
    (Answer: ∂f∂x=3x2\frac{\partial f}{\partial x} = 3x^{2}, ∂f∂y=3y2\frac{\partial f}{\partial y} = 3y^{2}, so x∂f∂x+y∂f∂y=3x3+3y3=3fx\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = 3x^{3} + 3y^{3} = 3f, matching degree 33.)

  6. Is f(x,y)=x2ln⁡(yx)f(x, y) = x^{2}\ln\left(\dfrac{y}{x}\right) homogeneous, and of what degree?
    (Answer: yes, degree 22, since f(tx,ty)=t2x2ln⁡(y/x)f(tx, ty) = t^{2}x^{2}\ln(y/x).)

Where Should You Go Next After Homogeneous Functions?

Homogeneity is one lens on functions, and a few natural directions open from here.

  1. Homogeneous system of linear equations. Meet the other, unrelated use of the word, and see why a right-hand side of zero changes the whole problem.

  2. Types of functions. Place homogeneity next to the other big families and see how functions get sorted by behaviour.

  3. Even and odd functions. Another property defined by what a substitution does to the output, close in spirit to the scaling test used here.

If your child is building toward calculus, a live Bhanzu trainer teaches these scaling ideas from the ground up in the Bhanzu algebra program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is a homogeneous function in simple terms?
It is a function that scales in a predictable way: multiply every input by the same factor, and the output changes by that factor raised to one fixed power. That power is the degree.
How do you find the degree of a homogeneous function?
Replace each variable with tt times itself, then factor out the highest common power of tt. If the leftover matches the original function exactly, the exponent of tt is the degree; if a stray tt remains, the function is not homogeneous.
Is every polynomial a homogeneous function?
No. A polynomial is homogeneous only when all of its terms share the same total degree. Something like x2+yx^{2} + y mixes degrees 22 and 11, so it is not homogeneous.
What is the difference between a homogeneous function and a homogeneous equation?
They are unrelated ideas that reuse one word. A homogeneous function is about how the output responds when the inputs are scaled, while a homogeneous system of equations is one whose right-hand side is entirely zero.
Can a homogeneous function have degree zero?
Yes. A degree-zero function satisfies f(tx,ty)=f(x,y)f(tx, ty) = f(x, y), meaning scaling changes nothing. Such functions depend only on ratios like y/xy/x, and they are exactly the ones behind homogeneous first-order differential equations.
Does Euler's theorem work for functions of three or more variables?
Yes. For kk variables the theorem reads ∑i=1kxi∂f∂xi=nf\sum_{i=1}^{k} x_i \frac{\partial f}{\partial x_i} = n f, so each input times its own partial derivative is summed, and the total is nn times the function.
✍️ Written By
Madhukar V
Madhukar V
Math Columnist & Analyst
I see mathematics as more than just numbers and formulas—it is a way of thinking, questioning, and understanding the world around us. I work at the intersection of mathematics, EdTech, technology, and AI-powered learning, I enjoy exploring how mathematical ideas can be made simple, meaningful, and relatable. Through my articles, I aim to present mathematics with curiosity and a practical perspective, helping readers see the beauty and relevance behind every concept in a Bhanzu way.
LinkedIn
Related Articles
Book a FREE Demo ClassBook Now →