Sum of squares

In mathematics, statistics and elsewhere, sums of squares occur in a number of contexts:

Statistics

Number theory

Algebra and algebraic geometry

  • For representing a polynomial as the sum of squares of polynomials, see Polynomial SOS.
  • For representing a multivariate polynomial that takes only non-negative values over the reals as a sum of squares of rational functions, see Hilbert's seventeenth problem.
  • The Brahmagupta–Fibonacci identity says the set of all sums of two squares is closed under multiplication.
  • The sum of squared dimensions of a finite group's pairwise nonequivalent complex representations is equal to cardinality of that group.

Euclidean geometry and other inner-product spaces

  • The Pythagorean theorem says that the square on the hypotenuse of a right triangle is equal in area to the sum of the squares on the legs.
  • Heron's formula for the area of a triangle can be re-written as using the sums of squares of a triangle's sides (and the sums of the squares of squares)
  • The British flag theorem for rectangles equates two sums of two squares
  • The parallelogram law equates the sum of the squares of the four sides to the sum of the squares of the diagonals
  • Descartes' theorem for four kissing circles involves sums of squares
  • The sum of the squares of the edges of a rectangular cuboid equals the square of any space diagonal
gollark: ```ruststruct Fib1 { cache: Vec<u128>}impl Iterator for Fib1 { type Item = u128; fn next(&mut self) -> Option<Self::Item> { let n = self.cache.len(); let next = self.cache[n - 1].wrapping_add(self.cache[n - 2]); self.cache.push(next); Some(next) }}fn fib1() -> Fib1 { Fib1 { cache: vec![0, 1] } }fn main() { for n in fib1() { print!("{} ", n); }}```
gollark: I prefer it this way.
gollark: Idea: wrapping_add.
gollark: Unlike LyricLy's bad thing, which timed out.
gollark: See, it was too fast, it overflowed.

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.