Rays and Shadows Explained

Learn how light travels in straight lines, how shadows form, and why they have sharp and fuzzy edges. Clear examples for beginners.

TwiddleLabs··5 min read

What are rays and shadows

A ray is a straight line that shows the direction light travels. When something blocks that line, a shadow appears on the surface behind the object. The shadow is simply the region where the ray cannot reach.

How light travels

Light spreads out from a source in many directions. A point source, like a tiny LED, emits rays that diverge uniformly. An extended source, such as the Sun, can be thought of as many point sources placed side by side. Each point on the source sends out its own set of rays. Because rays travel in straight lines, any obstacle will block a subset of those lines.

How shadows form

When an opaque object blocks some rays, two zones can appear on the screen:

  • Umbra – the region where all rays from the source are blocked. It is the darkest part of the shadow.
  • Penumbra – the region where only part of the source is hidden. Here some rays still reach the surface, so the shadow is lighter and fuzzy.

If the source is truly a point, only an umbra is created and its edge is perfectly sharp. With an extended source, the penumbra grows larger and the edge becomes gradual.

Worked example with numbers

Imagine a streetlamp that is 2 m tall and 5 m above the ground. A pole 0.2 m wide stands 3 m away from the lamp. The lamp acts like an extended source of about 0.1 m width.

  1. Draw two rays from the top and bottom of the lamp to the far edge of the pole.
  2. Extend those rays to the ground. The distance between where the top-ray and bottom-ray meet the ground is the width of the umbra.
  3. Using similar triangles:
    • Height difference lamp-pole = 5 m − 2 m = 3 m.
    • Distance pole-ground = unknown x.
    • Ratio: 3 m / 3 m = 1, so x = 3 m.
    • The umbra therefore starts 3 m beyond the pole and is 0.2 m wide.
  4. The penumbra extends beyond that by an amount proportional to the lamp’s size. With a 0.1 m source, the penumbra adds roughly 0.1 m on each side, giving a total fuzzy edge of about 0.4 m.

This simple geometry shows why shadows become blurrier the farther they are from the object and why a larger light source makes the penumbra wider.

Ray diagrams and drawing tips

When you sketch a shadow, start each ray at the light source, not at the object. Extend the ray through the edge of the object to the surface where the shadow will fall. Repeat the process for the top and bottom (or left and right) of the source. The region between the two intersecting rays is the umbra; the area between the outermost rays is the penumbra.

A quick way to check your diagram is to ask: Do the rays from the extreme points of the source intersect the surface at the same points as the rays from the extreme points of the object? If yes, the shadow shape is correct.

Factors that change shadow size and softness

Factor Effect on umbra Effect on penumbra
Distance between object and surface Umbra gets larger as distance increases (rays spread) Penumbra widens proportionally
Size of light source No change to umbra size (if source is far enough) Larger source creates a broader penumbra
Distance between source and object Greater distance makes the umbra sharper (rays are more parallel) Penumbra shrinks when source is far away
Object shape Determines the outline of the umbra Same outline, but edges become fuzzy

Understanding these relationships helps you predict how a shadow will look in any situation.

Simple experiment you can try at home

  1. Grab a small flashlight (acts as a point source) and a ruler.
  2. Place a coin on a piece of paper on a table.
  3. Shine the flashlight from a low angle so the light hits the coin and the paper.
  4. Observe the dark shape on the paper. Move the flashlight farther away and notice the edge stays sharp.
  5. Replace the flashlight with a desk lamp that has a wide bulb. Repeat the steps. This time the shadow will have a noticeable fuzzy edge.

Record the distance between the lamp and the coin, and the width of the penumbra. You will see the penumbra grows as the lamp moves farther from the coin.

Common beginner mistakes

  • Assuming all shadows are sharp. Beginners often draw a single dark shape, forgetting the penumbra that appears with real light sources.
  • Ignoring the size of the source. Treating the Sun as a point light leads to wrong predictions about shadow softness at sunrise or sunset.
  • Mixing up the direction of rays. Light travels outward from the source, not toward it. When sketching, start the ray at the source and point it toward the object.
  • Using the wrong scale in calculations. Forgetting to keep units consistent (meters vs centimeters) gives incorrect shadow lengths.

Everyday uses

  • Sundials. The tip of the gnomon casts a moving shadow that indicates the time of day. The shadow’s length changes because the Sun’s angle changes, but the edge stays relatively sharp because the Sun, though large, is far away.
  • Photography lighting. Photographers use a small softbox to create a wide penumbra, producing gentle shadows that flatter subjects. A hard flash creates a narrow penumbra and crisp edges.
  • Architecture. Designers study how shadows fall on a building’s façade at different times of year to avoid unwanted glare or to create visual interest.

All of these examples rely on the same geometry of rays and shadows described above. Understanding the distinction between umbra and penumbra helps you predict how light will behave in these situations.

Why shadows matter in optics

Shadows are a direct illustration of how light propagates. By analyzing shadow size and edge softness, scientists can infer properties of the light source, such as its angular size or distance. In laboratory settings, a simple shadow test can reveal whether a lamp is truly point-like or if it has an extended filament.

Check yourself

  1. What is the region called where no light from the source reaches? Answer: Umbra.
  2. Why does a shadow become fuzzier as the distance between the object and the surface increases? Answer: The rays from different points of the extended source spread out, widening the penumbra.
  3. If a point source shines on a small ball, what shape will the shadow have on a flat wall? Answer: A sharp, dark silhouette identical to the ball’s outline.

For a deeper look at related concepts, see the Prism course.

← All posts