Physics

Physics is the study of everything. It is the search for the fundamental rules that govern the universe, from the subatomic jitter of a quark to the slow, gravitational waltz of colliding galaxies.

At its heart, physics is not about memorizing formulas. It is about understanding the Symmetry and Logic of the universe. It is the realization that the same principles that cause a coffee cup to cool also dictate the eventual fate of all stars.

Let's strip away the complexity and look at reality from absolute first principles.

THERMODYNAMICS

1. The Architecture of Chaos (Entropy)

Why does time only move in one direction? Why do we never see a broken egg spontaneously reassemble itself? The answer lies in Entropy.

Entropy is often described as "disorder," but it is more accurately the number of ways a system can be arranged. There are billions of ways for gas molecules to be scattered randomly, but only one way for them all to be huddled in a single corner. Nature naturally drifts toward the most probable state: chaos.

Observe how the particles spread evenly over time. This uniform distribution is the state of maximum entropy.

QUANTUM

2. The Wave-Particle Duality

On the smallest scales, the universe stops acting like a machine and starts acting like a dream. Particles like electrons do not have a single, definite location. Instead, they exist as a Wave of Probability.

When we aren't looking, an electron is "everywhere" at once. Only when we measure it does the wave "collapse" into a single point. This is the heart of the Double-Slit experiment: things can be both a localized particle and a spreading wave simultaneously.

The ripples represent probability density. Click to collapse the wave into a single particle detection.

RELATIVITY

3. The Fabric of Reality (Relativity)

Space and time are not separate. They are woven together into a four-dimensional fabric called Space-time. Mass doesn't just "pull" on things; it actually warps the geometry of this fabric.

Imagine placing a bowling ball on a trampoline. The fabric dips. If you roll a marble nearby, it will curve toward the ball—not because of an invisible force, but because it is following the curvature of the surface. This curvature is what we feel as Gravity.

Drag to add more mass and watch the space-time grid deform. Larger dips create stronger gravitational wells.

RELATIVITY

4. The Cosmic Limit (Speed of Light)

In our everyday experience, speeds simply add up. If you run at 10 mph on a train moving at 50 mph, you are moving at 60 mph relative to the ground. But Light is different.

The speed of light ($c$) is the universe's absolute speed limit. No matter how fast you travel, light always races away from you at exactly 299,792,458 meters per second. This constancy forces space and time themselves to warp to keep the math consistent. This phenomenon is known as Time Dilation.

As velocity increases, the photon's path lengths increase. Since the speed of light is constant, time must slow down for the moving clock to compensate.

5. Test Your Physics Intuition

Can you simulate a simple gravitational orbit? Use the Python environment below to calculate the velocity needed to maintain a circular path.

Awaiting Python Kernel...