Safekipedia
Conservation equationsEquations of fluid dynamicsPartial differential equations

Continuity equation

Adapted from Wikipedia · Discoverer experience

A continuity equation is a special math rule that helps us understand how different things move and change in our world. It is very useful when we are talking about things that stay the same overall, like mass, energy, or electric charge. Even though these things can move from one place to another, the total amount doesn't just disappear or appear out of nowhere.

This equation is a stronger way to talk about conservation laws. For example, the law of conservation of energy tells us that energy can't be created or destroyed. But a continuity equation goes further—it says that energy can't suddenly jump from one spot to another. Instead, it has to flow smoothly from one place to another.

We can also use continuity equations for things that aren't always saved, like the number of people alive. In this case, the equation includes extra parts to account for people being born (a "source") and people dying (a "sink").

These equations can be written in different ways—one that looks at a whole area, and another that looks at just a single point. They are the foundation for many other important equations used in science and engineering, such as the convection–diffusion equation, Boltzmann transport equation, and Navier–Stokes equations. We can even draw pictures called Sankey diagrams to show how flows behave according to these rules.

General equation

Main article: Flux

A continuity equation helps us understand how different things like mass, energy, or electric charge move and change. To use a continuity equation, we need to define something called "flux." Flux describes how much of a quantity is flowing through a space. For example, if water is flowing through a pipe, the flux tells us how much water is passing through each area of the pipe each second.

The continuity equation can be written in different ways. One way looks at how the amount of a quantity changes in a certain space. It tells us that the amount can only change if the quantity flows in or out of the space, or if it is created or destroyed inside the space. This helps scientists understand how things like electric charge stay balanced in systems. In electromagnetic theory, the continuity equation shows that charge cannot simply appear or disappear—it must move from one place to another.

Fluid dynamics

See also: Mass flux, Mass flow rate, and Vorticity equation

In fluid dynamics, the continuity equation helps us understand how mass moves through a system. It tells us that the amount of mass entering a system must either leave the system or build up inside it. This idea is important for studying things like water flowing in pipes.

When a fluid, like water, cannot be compressed (which we call incompressible), the equation becomes simpler. It tells us that the flow speed must change if the pipe gets narrower, because the same amount of water has to keep moving through.

Computer vision

Main article: Optical flow

In computer vision, optical flow describes how things in a scene seem to move between two pictures taken at different times. We assume the brightness of objects doesn’t change, which helps us understand their movement. This idea leads to a special math rule that connects changes in brightness over time and space, showing how images move.

Energy and heat

Conservation of energy tells us that energy cannot be created or destroyed. Because of this rule, we can describe how energy moves using a special math rule called a continuity equation. This helps us understand things like how heat travels through materials.

One common example is heat flow. When heat moves inside a solid object, we can combine the continuity equation with another rule called Fourier's law. This helps us understand how temperatures change and how heat spreads out. Heat can also be created from other forms of energy, such as through friction or electric currents.

Probability distributions

When a tiny particle, like a single molecule moving randomly in a liquid, moves around, we can describe where it might be using something called a probability distribution. This tells us the chances of finding the particle in different places. There is a special math rule, called the continuity equation, that helps us understand how these chances change over time as the particle moves. This rule shows that the particle is always somewhere, and it moves smoothly from one place to another without suddenly jumping around.

Quantum mechanics

See also: Madelung equations

Quantum mechanics has a special continuity equation that helps us understand how probabilities change. In this area, the equation talks about the conservation of probability.

The equation uses a few important ideas:

These ideas come together in a continuity equation that helps us understand how the chance of finding a particle changes over time. This equation shows that probability behaves in a way that is similar to water flowing in a stream.

Semiconductor

The total current in a semiconductor comes from two sources: the movement of electrons pushed by an electric field (drift current) and the spreading out of electrons from areas of high concentration to low concentration (diffusion current). This also applies to holes, which are spaces left when electrons move.

These ideas can be put together into equations that describe how the number of electrons or holes changes over time in a tiny piece of semiconductor material. These equations help scientists and engineers understand and design devices like transistors and diodes, which are essential parts of modern electronics.

Relativistic version

The continuity equation can also be understood using ideas from special relativity. By combining the density of a quantity, like electric charge, with its flow in space, we can create a special mathematical object called a 4-current. This helps us describe how quantities like charge or energy are conserved in a way that works perfectly with Einstein's theories.

In general relativity, where space and time can be curved, the continuity equation changes slightly. Instead of using the usual way of measuring change, we use a special method called "covariant divergence." This adjustment is needed because in curved space, the usual rules don't apply directly. This idea is important for understanding how energy and momentum behave in the universe, especially in extreme places like near black holes.

Particle physics

Quarks and gluons have something called color charge, which is always conserved like electric charge. There is a special math rule, called a continuity equation, that helps us understand how this color charge moves.

In particle physics, many other quantities are also conserved, such as baryon number, which relates to the number of quarks, and numbers related to different types of particles like electrons. Each of these has its own continuity equation that helps scientists study how these quantities change and move.

Main article: gluon field strength tensor

Noether's theorem

For more detailed explanations and derivations, see Noether's theorem.

Noether's theorem explains why we often see conservation equations in physics. It tells us that when the rules of physics stay the same no matter when or where you are, there is always a conservation law. For example:

  • The laws of physics work the same today as they did yesterday. This leads to the conservation of energy conservation of energy.
  • A rocket in space experiences the same forces no matter which direction it moves. This leads to the conservation of momentum conservation of momentum.
  • In space, there is no "up" or "down". The laws of physics are the same no matter how you turn. This leads to the conservation of angular momentum conservation of angular momentum.

This article is a child-friendly adaptation of the Wikipedia article on Continuity equation, available under CC BY-SA 4.0.