Free software

About OpticalSetup

Copyright © 2026 Luca Genchi and contributors.

OpticalSetup is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

It is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

The numbers OpticalSetup reports come from models with stated limits; read each component's page in the wiki before relying on one.

If you use OpticalSetup in your research, teaching or publications, please cite the software:

Bertoncini, A., & Genchi, L. (2026). OpticalSetup - the optical workbench software [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23191537

Examples / Fundamentals / The law of Malus

The law of Malus

A polarizer passes cos² θ of light polarized at an angle θ to its axis: half of an unpolarized beam, nothing through crossed polarizers, and everything again once a half-wave plate turns the polarization between them.

Open in the canvas →

A live trace of the setup above, shown as a picture. Open it in the canvas to take it apart, retune it, and save or export it as your own.

Background

An ideal linear polarizer transmits the part of the light whose electric field lies along its axis. For light already linearly polarized at an angle θ to that axis, the transmitted intensity is I = I₀ cos² θ, the law named after Étienne-Louis Malus[1]. Unpolarized light is an even mixture of all directions, and the average of cos² θ over all angles is one half: an ideal polarizer passes half of it[1].

Two polarizers in a row make the law visible. The first sets the polarization; the second, usually called the analyzer, passes cos² θ of what the first let through, θ now being the angle between the two axes. With the axes at right angles the polarizers are crossed and no light passes[1].

A half-wave plate between them changes that. It turns linear polarization by twice the angle between the polarization and the plate's fast axis[2], and absorbs nothing. With its axis at 45° it turns the polarization by 90°, onto the axis of the crossed analyzer, and all the light passes. A wave plate turned in front of a fixed polarizer is the usual way to set the power of a polarized laser beam without touching the laser.

What this setup demonstrates

In the upper setup a red LED, 1 mW and unpolarized, passes a polarizer at 0° and an analyzer at 30°. The power meter reads 375 µW: half of the light after the first polarizer, and cos² 30° = 0.75 of that after the second. Its inspector gives the polarization, linear at 30°.

Things to try. Turn the analyzer (its Axis angle):

AnalyzerPower meter
0°500 µW
30°375 µW
45°250 µW
60°125 µW
90°no light

In the lower setup a laser polarized at 0° passes a polarizer at 0°, a half-wave plate and an analyzer at 90°. The plate's fast axis is at 45°, and the power meter reads the laser's full 1.00 mW, polarized at 90°. Turn the plate: at 0° the meter is dark, at 22.5° it reads 500 µW, at 30°, 750 µW. The transmitted fraction is sin² 2a for a fast axis at an angle a, because the polarization is turned by 2a and the analyzer is at 90°.

What you won't see

The polarizers are ideal: they pass all of the light polarized along their axis and none of the other. A real polarizer loses a little of the first and leaks a little of the second, so crossed polarizers are never completely dark. The half-wave plate is a half wave at every wavelength; a real plate is made for one wavelength range, and away from it the light leaves elliptically polarized.

The polarization is carried as a Stokes vector, which holds for these elements met head-on. A mirror placed in the beam would act as an ideal mirror: p and s light come back as they went in, and the two diagonals swap.

Related components

References

  1. Wikipedia — Polarizer (Malus’s law and its use)
  2. Wikipedia — Waveplate (half-wave plate)