Specular reflection, also known as regular reflection, is the mirror-like reflection of waves, such as light, from a surface. In this process, each incident ray is reflected at the same angle to the surface normal as the incident ray, but on the opposing side of the surface normal in the plane formed by incident and reflected rays. The result is that an image reflected by the surface is reproduced in mirror-like (specular) fashion. Specular reflection, also known as regular reflection, is the mirror-like reflection of waves, such as light, from a surface. In this process, each incident ray is reflected at the same angle to the surface normal as the incident ray, but on the opposing side of the surface normal in the plane formed by incident and reflected rays. The result is that an image reflected by the surface is reproduced in mirror-like (specular) fashion. The law of reflection states that for each incident ray the angle of incidence equals the angle of reflection, and the incident, normal, and reflected directions are coplanar. This behavior was first described by Hero of Alexandria (AD c. 10–70). It may be contrasted with diffuse reflection, in which light is scattered away from the surface in a range of directions rather than just one. When light hits a surface, there are three possible outcomes. Light may be absorbed by the material, light may be transmitted through the surface, or light may be reflected. Materials often show some mix of these behaviors, with the proportion of light that goes to each depending on the properties of the material, the wavelength of the light, and the angle of incidence. For most interfaces between materials, the fraction of the light that is reflected increases with increasing angle of incidence θ i {displaystyle heta _{i}} . Reflected light can be divided into two sub-types, specular reflection and diffuse reflection. Specular reflection reflects all light which arrives from a given direction at the same angle, whereas diffuse reflection reflects that light in a broad range of directions. An example of the distinction between specular and diffuse reflection would be glossy and matte paints. Matte paints have almost exclusively diffuse reflection, while glossy paints have both specular and diffuse reflection. A surface built from a non-absorbing powder, such as plaster, can be a nearly perfect diffuser, whereas polished metallic objects can specularly reflect light very efficiently. The reflecting material of mirrors is usually aluminum or silver. The law of reflection describes the angle of reflected light: the angle of incident light is the same as the angle of the reflected light. The law of reflection arises from diffraction of a plane wave with small wavelength on a flat boundary: when the boundary size is much larger than the wavelength, then electrons of the boundary are seen oscillating exactly in phase only from one direction – the specular direction. If a mirror becomes very small compared to the wavelength, the law of reflection no longer holds, and the behavior of light is more complicated. The law of reflection can also be equivalently expressed using linear algebra. The direction of a reflected ray is determined by the vector of incidence and the surface normal vector. Given an incident direction d ^ i {displaystyle mathbf {hat {d}} _{mathrm {i} }} from the surface to the light source and the surface normal direction d ^ n , {displaystyle mathbf {hat {d}} _{mathrm {n} },} the specularly reflected direction d ^ s {displaystyle mathbf {hat {d}} _{mathrm {s} }} (all unit vectors) is: where d ^ n ⋅ d ^ i {displaystyle mathbf {hat {d}} _{mathrm {n} }cdot mathbf {hat {d}} _{mathrm {i} }} is a scalar obtained with the dot product. Different authors may define the incident and reflection directions with different signs.Assuming these Euclidean vectors are represented in column form, the equation can be equivalently expressed as a matrix-vector multiplication: where R {displaystyle mathbf {R} } is the so-called Householder transformation matrix, defined as: