Friction laws, which are a key to the understanding of the diversity of earthquakes, are considered theoretically. Using dimensional analysis, the logarithmic dependence of the friction coefficient on the slip velocity and the state variable is derived without any knowledge of the underlying physical processes on the frictional surface. This is based on a simple assumption that the friction coefficient is expressed as the difference from a reference state. Therefore, the functional form of the rate and state dependent friction law itself does not necessarily mean that thermal activation processes dominate friction. It is also shown that, if there are two (or more) state variables having the same dimension, we need not assume the logarithmic dependence on the state variables.