Phong reflection model 2026-10-31
Bui Tuong Phong's empirical local lighting model combines ambient illumination, cosine-weighted Lambertian reflectance, and a specular highlight about the specular reflection direction. The exponent of the specular lobe controls highlight width. It is distinct from interpolating normal vectors across a triangle.
Planar graph Created 2026-09-24 Updated 2026-10-14
A planar graph admits at least one graph drawing in which edges meet only at common endpoints. This is a property of the abstract graph, not a requirement on every graph drawing. A plane graph specifies one such drawing.[ref]
Planar Graphs; Bipartite Matching by Albert R. Meyer (6.042J lecture 5f). Planar Graphs; Bipartite Matching, slides lec 5f.3 and 5f.12
For example, the complete graph joins every pair of four vertices, giving six edges. Put its vertices at the corners of a square and its diagonals cross. Instead put at the corners of a triangle and inside it: the same six edges now meet only at their endpoints. The first graph drawing obscures planarity; the second proves it. In particular, its crossing number is zero.
The distinction matters whenever connections must fit on one surface without intersecting. A failed graph drawing may only need rearrangement, whereas nonplanarity by edge counts proves that every rearrangement fails.
Planar orientation test 2026-10-20
For planar points , the sign of , using the two-dimensional cross product, determines which side of the directed line from to contains . Zero means collinearity. A point is strictly inside a nondegenerate triangle exactly when these signs for its three cyclically ordered sides are all strictly positive or all strictly negative.
Pointwise convergence Created 2026-09-24 Updated 2026-10-14
For a sequence of functions , pointwise convergence to a function meansIt is the ordinary limit of a sequence at each fixed input. The threshold may depend on the input. Uniform convergence instead requires one threshold for the entire domain of a function.[ref]
6.1 Pointwise and uniform convergence. Basic Analysis: Introduction to Real Analysis, Volume I by Jiří Lebl, §6.1.1, Definition 6.1.1 and Proposition 6.1.5
Consider the polynomial functions , for positive integers , on the interval . For the geometric sequence tends to zero, while . ThusEach is a continuous function, but its pointwise limit is discontinuous at one. Holding an input still hides what happens near that endpoint. The analogous even-power example on appears in the source.[ref]
For and , taking the logarithm of and dividing by the negative real number reverses the inequality:The floor function followed by adding one handles the strict inequality even when the ratio is an integer. For tolerance , the first successful indices at , , and are respectively , , and . At , fails and succeeds. At and , the error from this pointwise limit is already zero, so works. Nevertheless, grows without bound as from below. A finite list of accurate test inputs cannot establish uniform convergence.
An even sharper warning concerns integration. On , define the continuous functionsTheir supports are , with height at and value zero at both ends. Every fixed eventually lies beyond the support, and always, so pointwise convergence gives the zero function. Nevertheless, each integral is the area of a triangle: . Shrinking width compensates increasing height. Hence the limit of a sequence of these integrals differs from the integral of the pointwise limit; interchanging them requires additional conditions, such as uniform convergence preserves integrals on a compact interval.
Polygon Created 2026-10-14 Updated 2026-11-05
A polygon is a closed finite chain of line segments in a plane, with successive segments meeting at vertices of a polygon. In the usual simple case, nonadjacent sides of a polygon do not intersect and the chain bounds an interior region. A triangle has three sides, a quadrilateral four, and a hexagon six. A simple -sided polygon has interior angle sum : splitting it into triangles explains the formula. A regular polygon has equal side lengths and equal interior angles. Self-intersecting regular star polygons require a separate convention for their interior and signed area.
Pythagorean theorem Created 2026-09-28 Updated 2026-10-14
For a right triangle in Euclidean geometry with perpendicular side lengths and hypotenuse , the Pythagorean theorem statesGeometrically, the area of the square on the hypotenuse equals the sum of the areas of the squares on the other two sides. Euclid's Elements, Book I, Proposition 47 states this area equality; Proposition 48 states its converse: a triangle satisfying the equality has a right angle opposite side .[ref][ref]
For and , we compute . The triangle has area , and its side lengths form a Pythagorean triple. Conversely, a triangle measured to have sides must have a right angle between the sides and . This makes the equality both a calculation tool and a test for perpendicularity.
The three squares in the next figure have areas , and in squared length units. These are different from the central right triangle's area . The Pythagorean theorem adds the areas of the attached squares, not their side lengths and not the area of the triangle. The square on the hypotenuse is tilted, but a rotation preserves its area. This makes the formula visible without suggesting that the hypotenuse has to align with an axis.
Historically, Euclid's Elements records an organized proof of the Pythagorean theorem as an equality of areas, rather than the modern equation between numbers representing lengths. Its placement in Book I makes it available before the treatment of similar triangles in Book VI. This is evidence of how the result was established within that text; the name Pythagorean theorem alone does not establish who first discovered or proved it. The precise historical anchor here is the surviving proposition, rather than an unsupported story of a single inventor.[ref]
https://mathcs.clarku.edu/~djoyce/elements/bookI/propI47.html. Euclid, Elements I.47, statement and proof
The dissection below makes the general identity tangible. Both outer squares have side and contain the same four congruent right triangles. In the first arrangement, their hypotenuses bound a square of side : adjacent acute angles together make a right angle. In the second, the uncovered regions are squares of sides and . Subtracting the same total triangle area from equal outer areas givesFor the pictured dimensions, the shared uncovered area is .
The same mechanism survives in inner product spaces: for orthogonal vectors , expanding the inner product gives . This is why orthogonal projection separates a squared distance into independent contributions. The familiar right triangle is the simplest picture of a much more reusable principle.
Quadratic Lagrange triangle Created 2026-10-25 Updated 2026-10-31
The quadratic Lagrange triangle uses degree-at-most-two polynomials on a nondegenerate triangle, with point evaluation at its three polygon vertices and three edge midpoints as the six finite element degrees of freedom. If are the affine functions of its barycentric coordinate system, the cardinal shape functions areAt a polygon vertex, one coordinate in the barycentric coordinate system is one and the others vanish; at an edge midpoint, two are and the third is zero. These values prove the cardinal property. Since , this is an unisolvent finite element. Matching the two endpoint values and midpoint value on a shared edge of a polygon matches the whole quadratic restriction, producing a continuous global conforming finite element space.
Quadrilateral Created 2026-10-14 Updated 2026-11-05
A quadrilateral is a polygon with four sides and four vertices of a polygon. For a simple quadrilateral, its interior angles sum to by dividing it along an interior diagonal of a polygon into two triangles. Rectangles, squares and parallelograms are special cases. The qualifier convex quadrilateral excludes a reflex interior angle; a self-crossing four-segment chain requires a different interior convention. Four side lengths alone generally leave freedom to vary the angles and area.
Rasterization 2026-11-05
Rasterization converts geometric primitives into candidate contributions at discrete pixel sample positions. For a projected triangle, an implementation tests which samples lie inside its three oriented edges and interpolates attributes from the vertices. With barycentric coordinates , a screen-space linear attribute is . Attributes defined before perspective projection generally need perspective-correct interpolation:Here are the clip-coordinate denominators. Ordinary interpolation would distort a texture seen at an angle.
A generated fragment is not necessarily a final visible pixel: a fragment shader determines its values, a depth buffer can reject hidden contributions, and blending combines surviving contributions. Multiple samples per pixel improve coverage estimates near boundaries but do not recreate arbitrarily fine detail. OpenGL specifies these stages separately, so geometric coverage and final image storage must not be conflated.[ref]
The OpenGL Graphics System Version 4.6 Core Profile by Khronos Group. Chapter14, rasterization and early tests; Chapter15, fragment shading
Ray-triangle intersection 2026-10-31
A ray-plane intersection followed by an inside-triangle test, conveniently using nonnegative barycentric coordinates. Oriented surfaces may additionally require a front-facing hit through back-face culling.
Semiperimeter 2026-10-20
Seven-triangle Dirichlet transplantation 2026-10-14
Take seven copies of a scalene triangle, with sides labelled opposite its three vertices, and reflect adjacent copies across their glued side. For the first planar domain, the glued pairs are , , ; for the second they are , , . Both coloured trees have central tile . For triangles sufficiently close to equilateral the interiors do not overlap. If its three angles are distinct and between and , the only reentrant vertices are the original central vertices, with angles four times the corresponding triangle angles. They force any proposed isometry to preserve the labelled central triangle, which is incompatible with the different attachments on its arms.
For the spectral proof index the nonzero vectors and covectors of by , using binary coordinates. The Fano plane incidence matrix is . It satisfies , so is invertible, and intertwines the point and line permutations of each of the three elementary transvections. Put . The signed reflection matrices for the Dirichlet boundary condition are and , hence intertwines them. Its polar orthogonal factor gives a unitary equivalence of the Dirichlet Laplacians, preserving both the inner product and the Dirichlet energy of the piecewise functions. This produces a three-parameter family of noncongruent isospectral planar domains.
Side-side-side congruence 2026-11-05
Side-side-side congruence states that two nondegenerate triangles in Euclidean geometry are congruent when their three corresponding side lengths agree. Congruence permits a reflection; the conclusion does not require an orientation-preserving motion.
To see uniqueness, put one side of length at and . If the third vertex has distances and to those endpoints, thenThe value of is now fixed, leaving only the two reflected choices of sign. Strict triangle inequalities ensure .
Signed area Created 2026-10-20 Updated 2026-10-25
Signed swept area 2026-10-14
Signed swept area counts the area traversed by a position vector, positively or negatively according to its direction of turning. For a continuously differentiable planar trajectory, its accumulated value relative to is the line integralA short segment contributes the oriented triangle area ; taking its time derivative gives areal velocity. Repeated turns count repeated area; a reversal subtracts it. Thus this quantity need not equal the area of the union of all previously swept regions. The origin matters: the relevant origin for Kepler's second law is the attracting focus of the ellipse, rather than its geometric centre.
Similar triangle Created 2026-10-14 Updated 2026-10-20
Two triangles are similar if a Euclidean similarity maps one onto the other. Their corresponding angles agree, and corresponding side lengths have a common positive ratio.
Specify the correspondence first: matches , matches and matches . For similar triangles, the common scale factor satisfiesThe ratios compare matching sides in the same order. A Euclidean similarity can also move, turn or reflect the triangle; its orientation on the page is irrelevant. In the Euclidean plane, matching just two interior angles is enough: their sums force the third to match, and equal corresponding angles force the side ratios to agree. This is the angle-angle (AA) criterion for similar triangles. Matching just one angle is insufficient.
Scale the right triangle with vertices , and by . Its new vertices are , and , and its side lengths are . The matching side ratios are . Both triangles have a right angle and the same two other interior angles, approximately and . However, their areas are and : doubling lengths multiplies area by four.
Generally, a Euclidean similarity multiplies both a base and its perpendicular height by , so the area becomes . This explains why an enlarged drawing needs four times as much surface when each length doubles. It also enables indirect measurement: under assumptions of level ground, vertical objects and parallel light rays, an object of height casting a shadow of length provides a right triangle. Another object's shadow of length gives a similar triangle and height . The shared angles justify the inference; visual resemblance alone does not.
Euclid's Elements VI, Definition 1 describes similarity using corresponding angles and proportional sides. VI.4 establishes the implication from matching angles to matching side ratios, while VI.19 states the squared relation between side ratios and areas. These are documented ancient formulations of the principles used above, without establishing a first discoverer.[ref][ref][ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVI/propVI19.html. Euclid, Elements VI.19
Simplex Created 2026-09-24 Updated 2026-11-05
An -simplex is the convex hull of affinely independent points. Every point has a unique expression with and , its barycentric coordinates. A zero-simplex is a point, a one-simplex a line segment, a two-simplex a filled triangle, and a three-simplex a tetrahedron. Its faces are obtained by taking subsets of the vertices. This uniform description allows simplicial complexes to build spaces from elementary pieces in every dimension.
Simplicial chain group 2026-11-05
For an abstract simplicial complex , the integer simplicial chain group is the free abelian group on its oriented -simplexes, with reversal of orientation changing sign. Thus a chain is a finite formal integer sum of oriented simplices. After choosing one orientation for each simplex, those chosen simplices form a basis of this abelian group.
For a filled triangle with vertices , , and . Its oriented two-simplex has boundaryTaking another boundary gives . This cancellation makes the simplicial chain complex possible: boundaries are cycles, and simplicial homology measures cycles modulo boundaries. With coefficients in an abelian group , use .[ref]
Spectral radiant flux 2026-10-14
Spectral radiant flux resolves radiant flux by wavelength or frequency:Its units are per metre of wavelength or per hertz of frequency. A density quoted per nanometre must be integrated with wavelength intervals in nanometres; its numerical value is times the per-metre density. The frequency and wavelength spectral radiance conversion applies equally to spectral radiant flux, through the change of variables formula:with the speed of light in vacuum and expressed per metre. The Jacobian determinant preserves integrated power rather than the height or location of an optical spectrum's peak.
For two explicitly synthetic optical spectra, let and quote the following densities in :The triangle under and the rectangle under both have area : . Their band radiant fluxes differ: – contains of , while – contains of . These are specified functions, not measured source spectra.
The dark-subtracted electric current of a linear photodiode isusing its spectral responsivity. The figure's stipulated gives and despite equal total radiant flux. Symmetry places 's mean wavelength at and 's at ; a linear averages to its value at that mean. A single electric current therefore cannot determine an unknown broadband radiant flux without additional spectral information or a sufficiently flat calibrated response.
Spherical geometry 2026-10-13
Spherical geometry studies lengths and angles measured along the surface of a sphere, rather than through its interior. It is a useful model whenever travel is constrained to a round surface. Its straightest paths are great circle arcs: they are geodesics, even though they appear curved in the surrounding Euclidean space. Two distinct great circles meet at an antipodal pair, so the parallel-line picture of Euclidean geometry does not apply.
For a sphere of radius , write two positions as , with unit vectors. Their shorter surface route has great-circle distancewhere the dot product gives the central angle in radians. The straight chord through the surrounding Euclidean space instead has length . For a quarter-circle separation these are and : specifying which distance we mean has a measurable effect. On the unit sphere, and great-circle distance equals the central angle.
Consider the spherical triangle with vertices , and , joined by the shorter great circle arcs. Each side has length . At each vertex the two outgoing tangent vectors point along the other coordinate axes and are orthogonal, so all three interior angles are . This is the positive coordinate octant of the sphere, not a flat triangle drawn inside it.
For a convex minor spherical triangle with interior angles in radians, the spherical excess formula statesOur octant therefore has area . Independently, eight congruent octants partition the sphere, giving again. Thus angles alone determine area when is fixed, unlike Euclidean geometry, where similar triangles can have arbitrarily different areas. The Gauss-Bonnet theorem explains the connection: the sphere's constant Gaussian curvature times the area equals this excess. For spherical triangles whose area is small compared with , the excess is small, recovering the familiar flat picture.






