While studying the heat equation, I ran into a few equalities that I cannot understand.
For example, Fourier's law of heat conduction claims that
$$\varphi(x,t)=-K_0\frac{\partial u}{\partial x},$$
where $\varphi$ is the heat flux (the amount of thermal energy per unit time flowing to the right per unit surface area), $K_0$ is the thermal conductivity, and $u$ is the temperature.
How did Fourier end up with this?
Another equality that I cannot understand is the relationship between thermal energy and temperature:
$$e(x,t)=c(x)\rho(x)u(x,t),$$
where $e$ is the thermal energy density, $c$ is the specific heat (the heat energy that must be supplied to a unit mass of a substance to raise its temperature one unit), and $\rho$ is the mass density (mass per unit volume).
Why is this true? I cannot seem to make the physical connection.
Thanks in advance!