The rate of temperature change with distance, which drives proton motion and magnetic field generation.A temperature gradient is the rate at which temperature changes over a given distance. In physics, it is the driving force behind heat transfer — from the microscopic jostling of atoms in a warm rod to the colossal convection currents inside stars and planets. Wherever there is a temperature difference, energy tends to flow from hot to cold, and this flow can organize matter in surprising ways, from generating magnetic fields to spinning up stars.
The concept of temperature gradient was formalized in the early 19th century by Jean-Baptiste Joseph Fourier, who in his 1822 work 'Théorie analytique de la chaleur' introduced the heat equation relating heat flow to the temperature gradient.
The gradient is a vector: it points in the direction of the steepest temperature increase, and its magnitude tells how quickly temperature rises per meter. In a fluid, a strong gradient makes hot, less dense material rise and cool, denser material sink — convection. This motion of electrically conducting fluid, combined with rotation, can stretch and twist magnetic field lines, a process called a dynamo. In solids, the gradient drives heat conduction via atomic vibrations or free electrons, and in plasmas it can also set up electric fields and currents.
Temperature gradients are exploited in thermoelectric generators (used in space probes like Voyager) to convert heat from radioactive decay into electricity, and in heat exchangers, cooling systems, and weather prediction models.
The Sun's magnetic cycle — the 11-year sunspot rhythm — is driven by the temperature gradient across the solar convection zone, which makes the plasma churn like a boiling pot.






