engineering
How to Apply Sine in Calculating Light Intensity Variations in Optics
Table of Contents
Introduction: Why Sine Describes Light
Light behaves as an electromagnetic wave, and its electric and magnetic fields oscillate in a periodic manner. The sine function is the natural mathematical language for describing these oscillations. Derived from the geometry of a circle, sin(x) gives the vertical component of a point moving at constant speed around a unit circle, mapping perfectly onto the cyclic nature of wave propagation. In optics, any calculation of light intensity—whether in simple refraction or complex interferometry—depends ultimately on the square of a sine (or cosine) function.
This article expands on the basic relationship between the sine function and light intensity, moving from the fundamental wave equation through interference patterns to practical applications. By the end, you will understand not only how to use sine in intensity calculations but also why the mathematics works the way it does.
The Wave Equation for Light
Light waves are solutions to Maxwell's equations, but for most optical calculations we use the scalar wave equation for the electric field E:
∇²E - (1/c²) ∂²E/∂t² = 0
A classic monochromatic plane wave solution traveling in the +x direction is:
E(x,t) = E₀ sin(kx - ωt + φ)
where:
- E₀ — amplitude (maximum field strength)
- k = 2π/λ — wave number (λ = wavelength)
- ω = 2πf — angular frequency (f = frequency)
- φ — initial phase
- c = λf — speed of light in vacuum
The sine function captures the spatial and temporal periodicity of the wave. At a fixed time, the field varies sinusoidally with x; at a fixed point, it varies sinusoidally with t. This sinusoidal behavior is the foundation for all intensity calculations.
From Field to Intensity: The I ∝ E² Relationship
Light intensity (or irradiance) I is defined as the time-averaged power per unit area carried by the wave. For a monochromatic plane wave, the instantaneous intensity is proportional to the square of the electric field:
I(t) ∝ E(x,t)² = E₀² sin²(kx - ωt + φ)
Since sin² averages to ½ over a full cycle, the time-averaged intensity becomes:
I_avg ∝ (1/2) E₀²
This factor of ½ is critical: it shows that the measurable intensity is directly proportional to the square of the amplitude, not the instantaneous sine value. However, when we compare relative intensities (e.g., in interference patterns), the constant factor cancels out, and we can write:
I ∝ E₀²
Thus, any change in amplitude due to superposition of waves directly affects the observed brightness. The sine function appears in the amplitude term when waves add.
Interference: Where Sine Becomes Indispensable
When two or more light waves overlap, the total electric field at a point is the sum of the individual fields. Because the fields are sinusoidal, the sum depends on the relative phases. The result is interference: areas of constructive (bright) and destructive (dark) intensity.
Consider two waves of equal amplitude E₀, angular frequency ω, and wave number k, but with a phase difference Δφ:
E₁ = E₀ sin(kx - ωt)
E₂ = E₀ sin(kx - ωt + Δφ)
Using the trigonometric identity
sin α + sin β = 2 sin((α+β)/2) cos((α-β)/2), we get:
E_total = 2E₀ sin(kx - ωt + Δφ/2) cos(Δφ/2)
The amplitude of the total wave is 2E₀ |cos(Δφ/2)|. The intensity is proportional to the square of this amplitude:
I ∝ 4E₀² cos²(Δφ/2)
Here, the sine function is hidden inside the phase difference Δφ, which itself is often expressed using sine (as we will see in the double-slit example). The key point: interference patterns are governed by a cos² factor, and the argument of that cosine is derived from geometry and path differences—usually involving the sine of an angle.
The Double-Slit Experiment
In the classic Young’s double-slit setup, light passes through two narrow slits separated by distance d. The waves from the two slits travel different distances to a point on a screen at angle θ. The path difference is d sin θ, leading to a phase difference:
Δφ = (2π/λ) d sin θ
Substituting into the intensity formula gives:
I(θ) = I₀ cos²( (π d sin θ) / λ )
where I₀ is the maximum intensity. This is the well-known double-slit interference pattern. Bright fringes occur when the cosine argument is an integer multiple of π, i.e.,
d sin θ = mλ (m = 0, ±1, ±2, …).
Without the sine function, we could not describe the angular distribution of fringes. The sin θ term maps the physical geometry of the slits to the phase delay.
Extension to Multiple Slits: Diffraction Gratings
A diffraction grating contains N equally spaced slits. The intensity pattern becomes:
I(θ) = I₀ [ sin(Nβ) / sin(β) ]²
where β = (π d sin θ)/λ. Here both numerator and denominator involve sine functions. The denominator sin(β) produces sharp principal maxima when β = mπ (i.e., d sin θ = mλ), and the numerator sin(Nβ) creates smaller secondary maxima. This formula is the core of spectrometry; it allows precise measurement of wavelength by locating the angles of bright lines.
Thin-Film Interference and the Role of Sine
When light reflects off a thin film (e.g., a soap bubble or oil slick), interference arises between rays reflected from the top and bottom surfaces. The phase difference includes a term from the path traveled inside the film (thickness t, refractive index n) and possible phase shifts upon reflection. For a film of uniform thickness viewed at angle θi (incidence angle), the path difference is:
Δ = 2 n t cos θt
where θt is the angle of refraction inside the film. Using Snell’s law, cos θt = √(1 - sin² θt), and sin θt = (nair/n) sin θi. So the path difference ultimately involves sin θi through the refraction relation. The condition for constructive or destructive interference (including any phase flip at boundaries) dictates the color of the film. The sine function links the viewing angle to the phase difference, which is why thin-film colors change when you tilt the film.
Practical Calculation Example: Designing an Anti-Reflection Coating
Suppose you want to minimize reflection from a glass lens (n = 1.5) at a wavelength of 550 nm. A quarter-wave coating of magnesium fluoride (MgF₂, n = 1.38) is deposited on the glass. The thickness t must satisfy:
2 n t = λ/2 (for destructive interference of reflected waves)
But this equation assumes normal incidence (θ = 0). If the light arrives at an angle θi, the effective path difference becomes 2 n t cos θt = λ/2. Since cos θt depends on sin θi through Snell’s law, the coating’s performance degrades at larger angles. Engineers use the sine-based formula to simulate the angular response of coatings.
For a more accurate calculation, you might use:
Δφ = (2π/λ) * 2 n t cos θt
with θt = arcsin( sin θi / n ). The sine function appears both in the phase expression and in the inverse sine needed to compute the refracted angle.
Sine and the Fresnel Equations
At an interface between two media, the amplitudes of reflected and transmitted light depend on the polarization state and the angle of incidence. The Fresnel equations give these amplitudes in terms of sin and cos of the incident and transmitted angles. For example, the reflection coefficient for s-polarized light (electric field perpendicular to the plane of incidence) is:
rs = (n₁ cos θi - n₂ cos θt) / (n₁ cos θi + n₂ cos θt)
Using Snell’s law (n₁ sin θi = n₂ sin θt), the cos terms can be expressed with sine, leading to alternative forms like:
rs = ( sin(θt - θi) ) / ( sin(θt + θi) ) (for rs).
These sine-based expressions are elegant and show how the phase of the reflected wave changes. At Brewster’s angle, where reflected light becomes completely p-polarized, the angle satisfies tan θB = n₂/n₁, which again involves sin and cos through trigonometry.
Further Applications in Modern Optics
- Interferometry: In Michelson and Mach-Zehnder interferometers, the intensity at the detector varies as I = I₀ (1 + cos Δφ), where Δφ = (2π/λ) * (path difference). The path difference is often given by a displacement d times sin θ or cos θ, depending on the geometry. Sine is used to model fringe spacing and tilt.
- Holography: Recording a hologram involves interference between an object wave and a reference wave. The resulting fringe pattern encodes the object’s amplitude and phase. The intensity at the recording medium is I(x,y) ∝ |R + O|², where R and O are sinusoidal fields. Fourier optics often uses sine and cosine transforms to reconstruct the wavefront.
- Optical Trapping: Gaussian beams are described by Bessel functions of the first kind, but for small angles, the electric field near the focus can be approximated by sine integrals. The intensity distribution in a tightly focused beam uses the sine of the angular aperture (numerical aperture NA = n sin α).
- Lidar and Ranging: The phase difference between emitted and reflected light in lidar systems is measured to determine distance. The return signal is often modeled as a sine wave with a phase shift due to the round trip time. The intensity of the reflected signal follows an inverse square law, but the phase encoding uses sine functions.
Why Sine Rather Than Cosine?
At this point, you may wonder why we usually write the wave as sin(kx - ωt) instead of cos. In fact, either works; the choice is arbitrary and only changes the initial phase φ. Many textbooks prefer cosine because at t=0 and x=0, cos(0)=1, which is often convenient. However, when dealing with interference, the additive properties of sine and cosine are interchangeable via the identity sin(θ) = cos(θ - π/2). The important mathematical feature is the periodicity and the ability to represent any linear combination as a single sinusoid with an amplitude and phase. The sine function (or cosine) provides a complete basis for describing wave superposition.
Mathematical Tools for Working with Sine in Optics
Phasor Representation
Instead of writing E = E₀ sin(ωt + φ), we can use a complex phasor: E = Re[ E₀ ei(ωt+φ) ]. The sine function is then recovered as the imaginary part of a complex exponential. Phasors simplify addition of waves: instead of trig identities, we add complex numbers. The intensity is proportional to the squared modulus of the phasor. However, the underlying geometry remains rooted in sin and cos.
Trigonometric Identities Every Optics Student Should Know
- sin² α = (1 - cos 2α)/2
- sin α + sin β = 2 sin((α+β)/2) cos((α-β)/2)
- sin α cos β = ½ [ sin(α+β) + sin(α-β) ]
Conclusion
The sine function is not just a mathematical convenience in optics; it is the direct expression of the wave nature of light. From the fundamental wave equation to complex interference patterns in double slits, diffraction gratings, and thin films, sine appears in every stage of intensity calculation. It links the physical geometry (distance, angle) to the phase difference, which in turn determines whether waves add constructively or destructively. Even when we use complex exponentials or phasors, the sinusoidal oscillation remains at the core.
By mastering the use of sine in optical calculations, you gain a deeper intuition for how light behaves—ensuring that wherever your work takes you, from designing coatings to building interferometers, you can predict and control the distribution of light intensity.