Derivatives · Engineering & BSc · Lesson 25

Euler's theorem: x ux + y uy = n u.

Short answer

If \(u(x, y)\) is a homogeneous function of degree \(n\), meaning \(u(tx, ty) = t^n u(x, y)\), then

\[x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} = n\,u\]

For example, \(u = x^2 + xy + y^2\) has degree 2, so \(x u_x + y u_y = 2u\).

Engineering MathsB Tech / BE Semester IBSc
01

Homogeneous functions

Before you start: you need partial differentiation.

Definition

\(f(x, y)\) is homogeneous of degree \(n\) if, for every \(t > 0\), \[f(tx, ty) = t^n f(x, y)\]

Equivalent form

\(f(x, y) = x^n\,\phi\!\left(\dfrac{y}{x}\right)\) for some function \(\phi\).

Quick test for polynomials: every term has the same total degree. \(x^3 + 3x^2y + y^3\) is homogeneous of degree 3, because every term has degree 3. For a fraction, the degree is (degree of the top) − (degree of the bottom), provided both are homogeneous.

FunctionDegree
\(x^2 + xy + y^2\)\(2\)
\(\dfrac{x^3 + y^3}{x + y}\)\(3 - 1 = 2\)
\(\dfrac{x + y}{\sqrt x + \sqrt y}\)\(1 - \tfrac{1}{2} = \tfrac{1}{2}\)
\(\tan^{-1}\dfrac{y}{x}\)\(0\)
\(x^2 + y\)not homogeneous
02

Euler's theorem

Euler's theorem

If \(u\) is a homogeneous function of \(x\) and \(y\) of degree \(n\), then \[x\frac{\partial u}{\partial x} + y\frac{\partial u}{\partial y} = n\,u\]

Three variables

\(x u_x + y u_y + z u_z = n\,u\)

Second-order form

\[x^2 u_{xx} + 2xy\,u_{xy} + y^2 u_{yy} = n(n - 1)\,u\]

Proof

Differentiate \(u(tx, ty) = t^n u(x, y)\) with respect to \(t\), using the chain rule: \(x\,u_x(tx, ty) + y\,u_y(tx, ty) = n\,t^{n-1}u(x, y)\). Now put \(t = 1\). \(\blacksquare\)

03

The extension exam questions love

Many exam functions are not homogeneous themselves, for example \(u = \sin^{-1}\dfrac{x^2 + y^2}{x + y}\). But some function of them is: here \(\sin u = \dfrac{x^2 + y^2}{x + y}\) is homogeneous of degree 1.

Extension

If \(F(u)\) is homogeneous of degree \(n\) in \(x\) and \(y\), then \[x u_x + y u_y = n\,\frac{F(u)}{F'(u)} = g(u)\]

Second-order form

\[x^2 u_{xx} + 2xy\,u_{xy} + y^2 u_{yy} = g(u)\big[g'(u) - 1\big]\]

Why it works: apply Euler's theorem to \(F(u)\), whose partial derivatives are \(F'(u)\,u_x\) and \(F'(u)\,u_y\). That gives \(F'(u)(x u_x + y u_y) = n F(u)\).

04

Solved examples

Example 1: Verifying the theorem

Easy

Verify Euler's theorem for \(u = x^3 + 3x^2y + y^3\).

  1. Every term has degree 3, so \(n = 3\).
  2. \(u_x = 3x^2 + 6xy\) and \(u_y = 3x^2 + 3y^2\).
  3. \(x u_x + y u_y = 3x^3 + 6x^2y + 3x^2y + 3y^3 = 3x^3 + 9x^2y + 3y^3 = 3u\). ✓

AnswerVerified: \(x u_x + y u_y = 3u\).

Example 2: A fraction

Easy

If \(u = \dfrac{x^2 + y^2}{x + y}\), find \(x u_x + y u_y\).

  1. Degree \(= 2 - 1 = 1\).
  2. By Euler's theorem, \(x u_x + y u_y = 1\cdot u\).

Answer\(x u_x + y u_y = u\)

Example 3: Inverse sine

Medium

If \(u = \sin^{-1}\dfrac{x^2 + y^2}{x + y}\), show that \(x u_x + y u_y = \tan u\).

  1. \(\sin u = \dfrac{x^2 + y^2}{x + y}\) is homogeneous of degree 1. So take \(F(u) = \sin u\), \(n = 1\).
  2. \(x u_x + y u_y = n\dfrac{F(u)}{F'(u)} = \dfrac{\sin u}{\cos u}\).

Answer\(x u_x + y u_y = \tan u\)

Example 4: Inverse tangent

Medium

If \(u = \tan^{-1}\dfrac{x^3 + y^3}{x - y}\), show that \(x u_x + y u_y = \sin 2u\).

  1. \(\tan u = \dfrac{x^3 + y^3}{x - y}\) is homogeneous of degree \(3 - 1 = 2\).
  2. \(x u_x + y u_y = 2\dfrac{\tan u}{\sec^2 u} = 2\sin u\cos u\).

Answer\(x u_x + y u_y = \sin 2u\)

Example 5: Logarithm

Medium

If \(u = \log\dfrac{x^4 + y^4}{x + y}\), find \(x u_x + y u_y\).

  1. \(e^u = \dfrac{x^4 + y^4}{x + y}\) is homogeneous of degree 3. Take \(F(u) = e^u\).
  2. \(x u_x + y u_y = 3\dfrac{e^u}{e^u}\).

Answer\(x u_x + y u_y = 3\)

Example 6: Second order

Exam level

If \(u = \sin^{-1}\dfrac{x + y}{\sqrt x + \sqrt y}\), show that \(x u_x + y u_y = \tfrac{1}{2}\tan u\) and \(x^2 u_{xx} + 2xy\,u_{xy} + y^2 u_{yy} = -\dfrac{\sin u\cos 2u}{4\cos^3 u}\).

  1. \(\sin u\) is homogeneous of degree \(\tfrac{1}{2}\), so \(g(u) = \tfrac{1}{2}\dfrac{\sin u}{\cos u} = \tfrac{1}{2}\tan u\). That's the first result.
  2. \(g'(u) = \tfrac{1}{2}\sec^2 u\), so \(g'(u) - 1 = \dfrac{1 - 2\cos^2 u}{2\cos^2 u} = -\dfrac{\cos 2u}{2\cos^2 u}\).
  3. \(g(u)\big[g'(u) - 1\big] = \dfrac{\sin u}{2\cos u}\cdot\left(-\dfrac{\cos 2u}{2\cos^2 u}\right)\).

Answer\(x^2 u_{xx} + 2xy\,u_{xy} + y^2 u_{yy} = -\dfrac{\sin u\cos 2u}{4\cos^3 u}\)

Vipul Sir's tip

When \(u\) is wrapped in \(\sin^{-1}\), \(\tan^{-1}\) or \(\log\), undo the wrapper first: \(\sin u\), \(\tan u\) or \(e^u\) is usually the homogeneous function. Then the answer is just \(n\dfrac{F(u)}{F'(u)}\).

05

Common mistakes

1. Applying the theorem to a non-homogeneous \(u\)

\(u = \sin^{-1}\dfrac{x^2 + y^2}{x + y}\) is not homogeneous, so \(x u_x + y u_y \ne u\). Use the extension with \(F(u) = \sin u\).

2. Getting the degree of a fraction wrong

Degree of \(\dfrac{\text{top}}{\text{bottom}}\) = degree of the top minus degree of the bottom. Square roots count as degree \(\tfrac{1}{2}\).

3. Using \(n(n - 1)u\) for the extension

The second-order result \(n(n - 1)u\) is only for homogeneous \(u\). For the extension, use \(g(u)[g'(u) - 1]\).

06

Practice questions

Try each one on paper before you open the answer.

Q1What is the degree of \(\dfrac{x^3 + y^3}{x^2 + y^2}\)?

\(3 - 2 = 1\).

Q2If \(u = x^2 y + x y^2\), find \(x u_x + y u_y\).

Degree 3, so \(3u\).

Q3If \(u = \tan^{-1}\dfrac{y}{x}\), find \(x u_x + y u_y\).

Degree 0, so \(0\).

Q4If \(u = \log\dfrac{x^2 + y^2}{x + y}\), find \(x u_x + y u_y\).

\(e^u\) has degree 1, so \(x u_x + y u_y = 1\).

Q5If \(u = \cos^{-1}\dfrac{x + y}{\sqrt x + \sqrt y}\), show that \(x u_x + y u_y = -\tfrac{1}{2}\cot u\).

\(\cos u\) has degree \(\tfrac{1}{2}\): \(\tfrac{1}{2}\dfrac{\cos u}{-\sin u} = -\tfrac{1}{2}\cot u\).

Q6For \(u = x^3 + y^3\), verify that \(x^2 u_{xx} + 2xy\,u_{xy} + y^2 u_{yy} = 6u\).

\(u_{xx} = 6x\), \(u_{xy} = 0\), \(u_{yy} = 6y\). The left side is \(6x^3 + 6y^3 = 6u = 3\cdot 2\cdot u\). ✓

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

07

Frequently asked questions

What is a homogeneous function?

One where scaling every variable by \(t\) scales the function by \(t^n\): \(f(tx, ty) = t^n f(x, y)\). The number \(n\) is its degree.

What does Euler's theorem say?

For a homogeneous function of degree \(n\), \(x u_x + y u_y = n u\).

What if u itself is not homogeneous?

Look for a function \(F(u)\) that is, such as \(\sin u\), \(\tan u\) or \(e^u\). Then \(x u_x + y u_y = n\dfrac{F(u)}{F'(u)}\).

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Engineering Mathematics

Partial derivatives giving you trouble? Work through them with Vipul Sir.

Concept-first coaching in small batches in Goregaon and Vile Parle, for first-year Engineering and BSc students.

WhatsApp↗