Skip to content
Back to skills

Special Relativity

ASecurity

Solve special relativity problems: time dilation, length contraction, Lorentz transformations, relativistic momentum and energy, four-vectors, velocity addition, relativistic Doppler, paradoxes, spacetime diagrams. Use for fast-moving particles, E=mc², or any 'near light speed' question.

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentsaws

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add hamzabellouch/agent-skills --skill special-relativity --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Special Relativity?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Special Relativity
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hamzabellouch-special-relativity/badge)](https://www.skillsdirectory.com/skills/hamzabellouch-special-relativity)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: special-relativity
description: "Solve special relativity problems: time dilation, length contraction, Lorentz transformations, relativistic momentum and energy, four-vectors, velocity addition, relativistic Doppler, paradoxes, spacetime diagrams. Use for fast-moving particles, E=mc², or any 'near light speed' question."
---

# Special Relativity

## Postulates
Laws of physics are identical in all inertial frames; c is the same for all observers.

## Formulas
- γ = 1/sqrt(1 - v²/c²), β = v/c
- Lorentz boost (x-direction): x' = γ(x - vt), t' = γ(t - vx/c²)
- Time dilation Δt = γΔτ (τ = proper time); length contraction L = L0/γ
- Velocity addition u' = (u - v)/(1 - uv/c²)
- Relativistic Doppler f_obs = f sqrt((1+β)/(1-β)) (approaching); transverse Doppler f = f0/γ
- Momentum p = γmv; energy E = γmc²; E² = (pc)² + (mc²)²; K = (γ-1)mc²; photon E = pc
- Four-vectors: x^μ = (ct, x), p^μ = (E/c, p), invariant interval s² = c²t² - x² ; p^μ p_μ = m²c²
- Threshold energy for particle production: invariant mass s = (ΣE)² - |Σp|²c²
- Relativistic force F = dp/dt; acceleration a = F/(γ³m) parallel, F/(γm) perpendicular
- Constant proper acceleration (hyperbolic motion): x = (c²/a)(cosh(aτ/c) - 1)
- Electromagnetism transforms: E'∥ = E∥, E'⊥ = γ(E + v×B)⊥

## Paradoxes
- Twin: the traveling twin changes frames (accelerates) → ages less.
- Ladder/barn: simultaneity is frame dependent; no contradiction once relativity of simultaneity is used.

## Method
1. Define events with coordinates in one frame.
2. Use invariants (interval, invariant mass) to avoid transformation errors.
3. Use conservation of four-momentum in collisions/decays.
4. Check β→0 reproduces Newtonian result.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.