Back in February I did a post on scale invariant functions of one variable. These are functions that satisfy the condition
Depending on which source you look at, you might find a more specific definition, but I think this is the most general condition that you can sensibly use to call a function scale invariant. Under this definition, I showed that all scale invariant functions of interest to physicists are power laws, of the form
There is a related concept called a homogeneous function (thanks to that site's creator, Ondřej Čertík, for pointing it out), defined as those functions which satisfy
for some , called the degree of homogeneity. While the definition is similar to the one I'm using for scale invariant functions, it's less restrictive. A homogeneous function has to satisfy the condition for only one particular choice of , not any arbitrary choice, so you can have homogeneous functions which are not scale invariant.
Multivariate scale invariant functions
The definitions of homogeneous functions apply to multivariate functions too, so let's see if we can do the same for scale invariance. Again, I'm going to use a more general definition than the one for homogeneous functions:
Are all these functions required to be power laws as well?
Let me try the same trick I used for single-variable functions. First, take the logarithm of both sides:
Introduce a new function and write
which can be rearranged to
In the 1D case I would then divide by and take the limit as that quantity goes to zero. But which to use?
This is well-studied mathematical territory, of course. is a function on the vector space of all possible values of , and thus we can use the same technique used to define multidimensional derivatives. First, let's compute the partial derivatives, one variable at a time. Setting for , we get
Assuming the limit on the right side converges to some constant , that becomes
which is the same differential equation that we had in the 1D case. You can integrate it to find that
again, just as in the 1D case.
Then you can do the same thing for each of the remaining variables in turn, and you'll find that the function has to have a power law dependence on each of its individual variables.
"Less multivariate" scale invariant functions
There's a different, and more general, way you could define a scale invariant function for multiple variables:
This definition has only one scaling constant, not one for each variable. To find which functions satisfy this definition, you can use the logarithm trick only once.
The limit on the left side can be evaluated by adding and subtracting terms, like this:
Solving this differential equation is a little more interesting than in the earlier case. Because only the total is specified, not the individual constants , we can pick any combination of them that add up to . And that means there's a whole set of different solutions. As usual, when there are multiple independent solutions to a differential equation, the general solution is a linear combination of them, which works out to
This means you can have solutions like
in which the totals of the powers in each term add up to 4, and that will still be scale invariant under the one- definition! Functions like this don't qualify as scale invariant when you have separate scaling constants for each variable.
The forms of these solutions have implications for what you can do with various kinds of physical equations involving quantities with units. But that will have to wait for a future post...