<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Khanh</id>
	<title>Department of Mathematics at UTSA - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Khanh"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Special:Contributions/Khanh"/>
	<updated>2026-04-11T22:14:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4691</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4691"/>
		<updated>2022-04-15T16:36:18Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Introduction to Mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Understand the difference between the terms plurality and majority in an election&lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
* Multiple ranking methods can be employed to make decisions about other issues&lt;br /&gt;
* Employ the &amp;quot;Instant Runoff&amp;quot; method to determine the winner of an election&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||    &lt;br /&gt;
* Earning the most votes may not be sufficient to win an election&lt;br /&gt;
* Employ the Borda Count method to determine the winner of an election&lt;br /&gt;
* Apply and justify selection strategies to election results       &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||  &lt;br /&gt;
* Convert ratios to percentages&lt;br /&gt;
* Sketch pie graphs using part-to-whole percentages           &lt;br /&gt;
 || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
* Analyze and describe data using absolute (additive) comparison and relative (multiplicative) reasoning &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Identify and use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4690</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4690"/>
		<updated>2022-04-15T16:33:11Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Introduction to Mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Understand the difference between the terms plurality and majority in an election&lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
* Multiple ranking methods can be employed to make decisions about other issues&lt;br /&gt;
* Employ the &amp;quot;Instant Runoff&amp;quot; method to determine the winner of an election&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||    &lt;br /&gt;
* Earning the most votes may not be sufficient to win an election&lt;br /&gt;
* Employ the Borda Count method to determine the winner of an election&lt;br /&gt;
* Apply and justify selection strategies to election results       &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||             || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
* Analyze and describe data using absolute (additive) comparison and relative (multiplicative) reasoning &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Identify and use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4689</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4689"/>
		<updated>2022-04-15T16:28:27Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Introduction to Mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||    &lt;br /&gt;
* Earning the most votes may not be sufficient to win an election&lt;br /&gt;
* Employ the Borda Count method to determine the winner of an election&lt;br /&gt;
* Apply and justify selection strategies to election results       &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||             || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
* Analyze and describe data using absolute (additive) comparison and relative (multiplicative) reasoning &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Identify and use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4688</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4688"/>
		<updated>2022-04-15T16:18:12Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Introduction to Mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||           &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||             || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
* Analyze and describe data using absolute (additive) comparison and relative (multiplicative) reasoning &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Identify and use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4687</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4687"/>
		<updated>2022-04-15T16:15:46Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Introduction to Mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||           &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||             || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Identify and use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4686</id>
		<title>MAT1043</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=MAT1043&amp;diff=4686"/>
		<updated>2022-04-15T16:13:30Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction to Mathematics==&lt;br /&gt;
[https://catalog.utsa.edu/search/?P=MAT%201043 MAT 1043. Introduction to Mathematics]. (3-0) 3 Credit Hours. (TCCN = MATH 1332)&lt;br /&gt;
&lt;br /&gt;
Prerequisite: Satisfactory performance on a placement examination. This course is designed primarily for the liberal arts major to satisfy the Core Curriculum mathematics requirement. Topics may include logic; proofs; deductive and inductive reasoning; number theory; fundamentals of statistics; basic statistical graphs; causal connections; financial management; functions; linear graphs and modeling; exponential growth and decay; logarithms; fundamentals of probability; fundamentals of geometry; and basic ideas from trigonometry, calculus, and discrete mathematics. (Formerly MTC 1043. Credit cannot be earned for both MAT 1043 and MTC 1043.) May apply toward the Core Curriculum requirement in Mathematics. Generally offered: Fall, Spring, Summer. Course Fees: LRC1 $12; LRS1 $45; STSI $21.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date !! Sections !! Topics !! Prerequisite Skills !! Student learning outcomes&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.A || [[Data]] || Understand what is a learning community&lt;br /&gt;
 || &lt;br /&gt;
* Collect data from daily life&lt;br /&gt;
*Work positively in a group to make a decision&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.B || [[Learning Community]] ||          || Seek and give help to one another inside and outside of class&lt;br /&gt;
|-&lt;br /&gt;
| Week 1 || Lesson 1.C || [[First-degree equation involving percentages]]  || Determine the original amount, given the percentage that a given number is of the original&lt;br /&gt;
  || &lt;br /&gt;
* Create a first-degree equation involving percentages and solve for the variable&lt;br /&gt;
* Apply and justify selection strategies to election results and decisions about other issues&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 1.D || [[Ranking methods]] ||            ||           &lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.A || [[Graphical Display]]  &lt;br /&gt;
 || &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
* Know the definition of mean &lt;br /&gt;
* Know the definition of median  &lt;br /&gt;
 || &lt;br /&gt;
* Analyze a variety of graphical displays and interpret them in context&lt;br /&gt;
* Compute the mean of a set of data &lt;br /&gt;
* Construct a dot plot or histogram from data&lt;br /&gt;
|-&lt;br /&gt;
| Week 2 || Lesson 2.C ||  [[Analyzing graphical displays]]   &lt;br /&gt;
 || &lt;br /&gt;
* Compare side-by-side graphical displays &lt;br /&gt;
* Be able to read and interpret graphical displays&lt;br /&gt;
 || Write a contextual analysis of a graphic display in a formal paper including appropriate mathematical language and explanations&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.A || [[Sampling]] || Students should know the symbols for pop. Mean, sample mean, pop. Standard deviation, sample standard deviation&lt;br /&gt;
 || &lt;br /&gt;
* Explain the difference between populations and samples&lt;br /&gt;
* Use the characteristics of a sample to describe the population&lt;br /&gt;
* Analyze the conclusions of a study and explain the limitations on inferences made&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.B || [[Mean and Central Limit Theorem]]  || Students should know how to determine the mean of a data set || Graph sample means and use the central limit theorem to estimate the population mean&lt;br /&gt;
|-&lt;br /&gt;
| Week 3 || Lesson 3.C || [[Standard Deviation]]  || Students should be able to calculate the size of a portion given the size of the whole and a percentage&lt;br /&gt;
 || &lt;br /&gt;
* Use standard deviation to interpret the spread of a data set&lt;br /&gt;
* Calculate the percentage of data in a graph region&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.A || [[Probability]]&lt;br /&gt;
 || Students should be able to convert between fractions, decimals, and percentages || &lt;br /&gt;
* Calculate theoretical probability of two or more independent events&lt;br /&gt;
* Calculate AND and OR probabilities for independent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 4 || Lesson 4.B || [[Conditional Probability]] || Students should be able to determine a conditional probability || Calculate conditional probabilities for two or more dependent events&lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.A || [[Conversions]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to calculate unit ratios&lt;br /&gt;
* Be able to use ratios to convert units&lt;br /&gt;
* Be able to perform dimensional analysis &lt;br /&gt;
 || &lt;br /&gt;
* Recognize when converting units is needed&lt;br /&gt;
* Use conversion to make comparisons  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.B || [[Index numbers]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to convert ratios to decimals and percentages, and divide &lt;br /&gt;
* Be able to describe types of averages  &lt;br /&gt;
 || &lt;br /&gt;
* Perform calculations involving index numbers &lt;br /&gt;
* Make and justify decisions and evaluate  claims using index numbers  &lt;br /&gt;
|-&lt;br /&gt;
| Week 5 || Lesson 5.C || [[Weighted averages]]   || Should be able to calculate mean&lt;br /&gt;
 || &lt;br /&gt;
* Calculate weighted averages &lt;br /&gt;
* Use weighted averages to analyze data and draw conclusions about the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 5.D || [[Expected Value]]   || Be able to calculate, percentages, means, and weighted averages&lt;br /&gt;
be able to find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate expected value &lt;br /&gt;
* Make predictions about real world scenarios  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.A || [[Weighted moving average graphs]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Graph points &lt;br /&gt;
* Find the mean of a data set  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages &lt;br /&gt;
* Analyze graphs of moving average data&lt;br /&gt;
* Use simple and moving weighted averages to analyze data and draw conclusions about the data  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 6.B || [[Weighted moving average graphs continued]] &lt;br /&gt;
 || &lt;br /&gt;
* Weighted moving average &lt;br /&gt;
* Find the mean of a data set&lt;br /&gt;
* Ue a spreadsheet to do calculations and create graphs  &lt;br /&gt;
 || &lt;br /&gt;
* Calculate and compare simple and weighted moving averages  &lt;br /&gt;
* Write a contextual analysis of a graphical display  &lt;br /&gt;
* Write a ratio or percentage and explain its meaning within a context  &lt;br /&gt;
|-&lt;br /&gt;
| Week 6 || Lesson 7.A || [[Ratios and percentages]]  || Be able to write and simplify fractions, create a pie graph, convert fractions to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Determine percentages based on part-to-whole ratios&lt;br /&gt;
* Write a ratio or percentage and explain in meaning within a context &lt;br /&gt;
* Read a budget, determine values of line items, and draw conclusions about the overall distributions of funds &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.B || [[Part-to-part ratios &amp;amp;  Part-to-whole ratios]] ||             || Construct a pie graph based on ratios and percentages &lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.C || [[Absolute change (additive reasoning) &amp;amp; Relative change (multiplicative reasoning)]] || Students should be able to create a line graph from data &lt;br /&gt;
 || &lt;br /&gt;
* Analyze data in a spreadsheet and graphs &lt;br /&gt;
* Develop reasonable hypothesis supported by evidence&lt;br /&gt;
* Create line graphs and describe patterns in graphs&lt;br /&gt;
|-&lt;br /&gt;
| Week 7 || Lesson 7.D || [[Adjusting claims and hypothesis]] || Students should be able to create a line graph from data || Analyze data in a spreadsheet and graphs to compare changes in categories&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.E || [[Debt-to-income (DTI) ratios]]  || Be able to write ratios and proportions, solve proportions, calculate percentages from ratios &lt;br /&gt;
 || &lt;br /&gt;
* Calculate a DTI ratio &lt;br /&gt;
* Draw conclusions from DTI about the appropriateness of the percentage of income spent on housing and debt &lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 7.F || [[Proportional reasoning]]   || Write rates, convert ratios to percentages &lt;br /&gt;
 || &lt;br /&gt;
* Interpret ratios and percentages as rates of change&lt;br /&gt;
* Compare ratios and percentages &lt;br /&gt;
* Interpret graphical displays&lt;br /&gt;
* Compare mathematical relationships using a variety of representations&lt;br /&gt;
|-&lt;br /&gt;
| Week 8 || Lesson 8.A || [[Mathematical (Linear) relationships]]&lt;br /&gt;
 || &lt;br /&gt;
* Be able to plot ordered pairs, sketch graphs of linear equations, construct a linear equation given the slope and y intercept&lt;br /&gt;
* Write a linear equation based on a verbal description/or that  passes through 2 points &lt;br /&gt;
* Solve a 2-step linear equation&lt;br /&gt;
 || &lt;br /&gt;
* Compare mathematical relationships using a variety of representations &lt;br /&gt;
* Write a linear equation given a slope and y intercept&lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.B || [[Proportionality vs. Linearity]] || Determine when 2 quantities are proportional  || Explain, compare, and contrast linear and proportional relationships &lt;br /&gt;
|-&lt;br /&gt;
| Week 9 || Lesson 8.C || [[Simple and Compound Interest (Linear and Exponential Models)]]&lt;br /&gt;
 || &lt;br /&gt;
* Write a percentage as a decimal&lt;br /&gt;
* Perform calculations with percentages &lt;br /&gt;
  || &lt;br /&gt;
* Describe the difference between simple and compound interest in practical and mathematical terms &lt;br /&gt;
* Compare and contrast patterns in linear and exponential models&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.D || [[Regression]]&lt;br /&gt;
 || &lt;br /&gt;
* Read a scatterplot&lt;br /&gt;
* Interpret the slope of a line in context&lt;br /&gt;
 || &lt;br /&gt;
* Create a scatterplot and regression equation using technology and estimate the parameters of the line of best fit &lt;br /&gt;
* Interpret the parameters (slope, y-intercept, coefficient of determination) of a simple linear regression&lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 8.E || [[Piecewise Linear Function]]&lt;br /&gt;
 || &lt;br /&gt;
* Use a percentage rate to calculate tax&lt;br /&gt;
* Use constant rates of change to write a linear equation&lt;br /&gt;
* Identify the slope of a linear function &lt;br /&gt;
* Solve a linear equation for a given output&lt;br /&gt;
 || &lt;br /&gt;
* Model a progressive income tax system algebraically and graphically&lt;br /&gt;
* Compare a progressive income tax system to a flat tax system and explain advantages and disadvantages of different income tax systems &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.A || [[Depreciation]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph ordered pairs &lt;br /&gt;
* Identify the value of the output variable, given the input value, using a graphical and symbolic representation of the relationship between two variables &lt;br /&gt;
 || &lt;br /&gt;
* Interpolate and extrapolate using a graphical representation of the relationship between two variables &lt;br /&gt;
* Use a symbolic model to find the exact value of one variable, given the value of the other variable, and relate those values to the context of the problem &lt;br /&gt;
|-&lt;br /&gt;
| Week 10 || Lesson 9.B || [[Geometric interpretation of interpolation ]]&lt;br /&gt;
 || &lt;br /&gt;
* Graph data from a scenario &lt;br /&gt;
* Create proportions using the sides of similar triangles and solve them&lt;br /&gt;
 || &lt;br /&gt;
* Create a proportion between corresponding sides of similar triangles &lt;br /&gt;
* Use variables with subscripts &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.C || [[Univariate, Bivariate, Correlation and Causation]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate measures of central tendency&lt;br /&gt;
* Analyze data and visual displays of univariate and bivariate data and describe trends &lt;br /&gt;
 || &lt;br /&gt;
* Create a line graph for univariate data &lt;br /&gt;
* Determine, informally, the correlation between bivariate data &lt;br /&gt;
* Analyze data and related graphs and describe the trend of the data &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 9.D || [[Univariate, Bivariate, Correlation and Causation]] || Create and interpret a scatterplot || Explain why, even if there is a strong correlation, a change in one variable may not cause a change in the other &lt;br /&gt;
|-&lt;br /&gt;
| Week 11 || Lesson 10.A || [[Time series model of exponential growth]] || Use formulas in spreadsheets &lt;br /&gt;
 || &lt;br /&gt;
* Develop a time series model for the Fibonacci problem&lt;br /&gt;
* Test whether data are exponential by comparing the rate of growth to the population size&lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 10.B || [[Linear and Exponential Models]]&lt;br /&gt;
 || &lt;br /&gt;
* Create a table of values and scatterplot in a spreadsheet &lt;br /&gt;
* Calculate the average rate of growth for a period of time &lt;br /&gt;
* Calculate the first differences in a data set&lt;br /&gt;
 || &lt;br /&gt;
* Evaluate the mathematical appropriateness of a model give historical data &lt;br /&gt;
* Determine whether a data set suggests a linear or exponential relationship &lt;br /&gt;
* Use an appropriate model to predict a future outcome &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.A || [[Continuous Growth]]&lt;br /&gt;
 || &lt;br /&gt;
* Analyze the relationship of input and output values in a problem situation&lt;br /&gt;
* Determine whether numerical and graphical relationships are increasing at a constant rate, at an increasing rate or at a decreasing rate  &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a model for a population that increases at an increasing rate and a decreasing rate &lt;br /&gt;
* Identify behavior in a graph, draw conclusions about the behavior, and predict future outcomes &lt;br /&gt;
|-&lt;br /&gt;
| Week 12 || Lesson 11.B || [[Carrying Capacity and Logistic Growth Rate]]&lt;br /&gt;
 || &lt;br /&gt;
* Calculate absolute and relative change &lt;br /&gt;
* Read delta notation for absolute change &lt;br /&gt;
 || &lt;br /&gt;
* Develop discrete models of natural phenomena and use the models to predict future values &lt;br /&gt;
* Calculate the carrying capacity and logistic growth rate of a real-world scenario &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.C || [[Logistic Growth Model]] || Determine the increasing and/or decreasing behavior of outputs in a table  || Explore the changes of the values of the parameters of a logistic growth model and describe the effect of those changes on the model &lt;br /&gt;
|-&lt;br /&gt;
| Week 13 || Lesson 11.D || [[Complex Population Growth and Decay Models]] &lt;br /&gt;
 || &lt;br /&gt;
* Find the constant of proportionality and express variables that are jointly proportional &lt;br /&gt;
* Determine how jointly proportional variables affect each other in an abstract model&lt;br /&gt;
 || Develop a parameterized time series model with more than two dependent variables in a spreadsheet &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 11.E || [[Analyzing Complex Population Growth and Decay Models]]  || Extract data from an academic article and create models for the data &lt;br /&gt;
 || &lt;br /&gt;
* Determine parameters to match a model’s predictions against historical data&lt;br /&gt;
* Create a spreadsheet involving the formulas of the model to predict future behavior &lt;br /&gt;
|-&lt;br /&gt;
| Week 14 || Lesson 12.A || [[Periodic Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on coordinate axis&lt;br /&gt;
* Analyze the shape of a graph and find 12A coordinate values on a graph &lt;br /&gt;
 || &lt;br /&gt;
* Sketch a graph that depicts a periodic phenomenon &lt;br /&gt;
* Identify the period and amplitude of a periodic function &lt;br /&gt;
* Compare and contrast the graphs of different periodic models&lt;br /&gt;
|-&lt;br /&gt;
| Week 15 || Lesson 12.B || [[The Sine Function]] &lt;br /&gt;
 || &lt;br /&gt;
* Plot points on a graph&lt;br /&gt;
* Understand that constants (Parameters) in an equation control the relationship between the dependent variable and independent variable &lt;br /&gt;
 || &lt;br /&gt;
* Describe the effect that changing one or more parameters has on the graph of a sine function&lt;br /&gt;
* Change the parameters of the sine curve to match given criteria &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4683</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4683"/>
		<updated>2022-02-13T22:35:25Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Euclidean geometry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in [0, ''π'']) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC &amp;lt;/math&amp;gt;, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that ''d'' = ''a''/3, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation ''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 = 0, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation &lt;br /&gt;
''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 = 0, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that &amp;lt;math&amp;gt; r = \sqrt{\phi}&amp;lt;/math&amp;gt; it generates a right triangle that is always similar to the Kepler triangle.&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have &amp;lt;math&amp;gt; b^2 = h^2 + d^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; a^2 = h^2 + (c - d)^2 &amp;lt;/math&amp;gt; according to the figure at the right. Subtracting these yields &amp;lt;math&amp;gt; a^2 - b^2 = c^2 - 2cd &amp;lt;/math&amp;gt;. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that &amp;lt;math&amp;gt; h^2 = b^2 - d^2 &amp;lt;/math&amp;gt;. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4682</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4682"/>
		<updated>2022-02-13T22:32:32Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in [0, ''π'']) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that ''d'' = ''a''/3, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation ''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 = 0, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation &lt;br /&gt;
''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 = 0, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that &amp;lt;math&amp;gt; r = \sqrt{\phi}&amp;lt;/math&amp;gt; it generates a right triangle that is always similar to the Kepler triangle.&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have &amp;lt;math&amp;gt; b^2 = h^2 + d^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; a^2 = h^2 + (c - d)^2 &amp;lt;/math&amp;gt; according to the figure at the right. Subtracting these yields &amp;lt;math&amp;gt; a^2 - b^2 = c^2 - 2cd &amp;lt;/math&amp;gt;. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that &amp;lt;math&amp;gt; h^2 = b^2 - d^2 &amp;lt;/math&amp;gt;. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4681</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4681"/>
		<updated>2022-02-13T22:31:11Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Converse */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that ''d'' = ''a''/3, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation ''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 = 0, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation &lt;br /&gt;
''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 = 0, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that &amp;lt;math&amp;gt; r = \sqrt{\phi}&amp;lt;/math&amp;gt; it generates a right triangle that is always similar to the Kepler triangle.&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have &amp;lt;math&amp;gt; b^2 = h^2 + d^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; a^2 = h^2 + (c - d)^2 &amp;lt;/math&amp;gt; according to the figure at the right. Subtracting these yields &amp;lt;math&amp;gt; a^2 - b^2 = c^2 - 2cd &amp;lt;/math&amp;gt;. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that &amp;lt;math&amp;gt; h^2 = b^2 - d^2 &amp;lt;/math&amp;gt;. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4680</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4680"/>
		<updated>2022-02-13T22:28:49Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Converse */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that ''d'' = ''a''/3, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation ''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 = 0, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation &lt;br /&gt;
''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 = 0, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that &amp;lt;math&amp;gt; r = \sqrt{\phi}&amp;lt;/math&amp;gt; it generates a right triangle that is always similar to the Kepler triangle.&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have &amp;lt;math&amp;gt; b^2 = h^2 + d^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; a^2 = h^2 + (c - d)^2 &amp;lt;/math&amp;gt; according to the figure at the right. Subtracting these yields &amp;lt;math&amp;gt; a^2 - b^2 = c^2 − 2cd &amp;lt;/math&amp;gt;. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that &amp;lt;math&amp;gt; h^2 = b^2 - d^2 &amp;lt;/math&amp;gt;. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4679</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4679"/>
		<updated>2022-02-13T22:21:34Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Examples of use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that ''d'' = ''a''/3, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation ''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 = 0, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation &lt;br /&gt;
''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 = 0, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that &amp;lt;math&amp;gt; r = \sqrt{\phi}&amp;lt;/math&amp;gt; it generates a right triangle that is always similar to the Kepler triangle.&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4678</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4678"/>
		<updated>2022-02-13T22:09:51Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Right triangle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt; divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the triangle postulate), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4677</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4677"/>
		<updated>2022-02-13T22:07:51Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Right triangle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}} divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. From the triangle postulate, the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But &amp;lt;math&amp;gt;\overline{AB} = \overline{AC}&amp;lt;/math&amp;gt;. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows &amp;lt;math&amp;gt; \overline{AC} &amp;gt; \overline{DC}&amp;lt;/math&amp;gt;, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the [[triangle postulate]]), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4676</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4676"/>
		<updated>2022-02-13T22:04:51Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Normed vector space */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}} divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. From the [[triangle postulate]], the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows {{math|{{overline|AC}} &amp;gt; {{overline|DC}}}}, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the [[triangle postulate]]), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., ''x'' = 0 or ''y'' = 0, or&lt;br /&gt;
''x'' = ''α y'' for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote ''x'' = (1, 0) and ''y'' = (0, 1). Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in mathematical analysis for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4675</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4675"/>
		<updated>2022-02-13T21:59:11Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Metric space */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}} divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. From the [[triangle postulate]], the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows {{math|{{overline|AC}} &amp;gt; {{overline|DC}}}}, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the [[triangle postulate]]), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., {{math|''x'' {{=}} 0}} or {{math|''y'' {{=}} 0}}, or&lt;br /&gt;
{{math|''x'' {{=}} ''α y''}} for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote {{math|''x'' {{=}} (1, 0)}} and {{math|''y'' {{=}} (0, 1)}}. Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in [[mathematical analysis]] for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, &amp;lt;math&amp;gt; d(x_n, x_m) \leq d(x_n, x) + d(x_m, x) &amp;lt; \epsilon /2 +  \epsilon /2 = \epsilon &amp;lt;/math&amp;gt;, so that the sequence {{math|{''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4674</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4674"/>
		<updated>2022-02-13T21:50:32Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Euclidean geometry */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; and the other equal leg &amp;lt;math&amp;gt;\overline{BD}&amp;lt;/math&amp;gt; along the extension of side &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt;. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side &amp;lt;math&amp;gt;\overline{AD}&amp;lt;/math&amp;gt; is longer than side &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. But &amp;lt;math&amp;gt; AD = AB + BD = AB + BC, so the sum of the lengths of sides &amp;lt;math&amp;gt;\overline{AB}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{BC}&amp;lt;/math&amp;gt; is larger than the length of &amp;lt;math&amp;gt;\overline{AC}&amp;lt;/math&amp;gt;. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the golden ratio, as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}} divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. From the [[triangle postulate]], the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows {{math|{{overline|AC}} &amp;gt; {{overline|DC}}}}, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the [[triangle postulate]]), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., {{math|''x'' {{=}} 0}} or {{math|''y'' {{=}} 0}}, or&lt;br /&gt;
{{math|''x'' {{=}} ''α y''}} for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote {{math|''x'' {{=}} (1, 0)}} and {{math|''y'' {{=}} (0, 1)}}. Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in [[mathematical analysis]] for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'') ≤ ''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') + ''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2 + ''ε''/2 {{=}} ''ε''}}, so that the sequence {{math|{{mset|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4673</id>
		<title>Triangle Inequality</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Triangle_Inequality&amp;diff=4673"/>
		<updated>2022-02-13T21:40:26Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TriangleInequality.svg|thumb|Three examples of the triangle inequality for triangles with sides of lengths {{math|''x''}}, {{math|''y''}}, {{math|''z''}}. The top example shows a case where {{math|''z''}} is much less than the sum {{math|''x'' + ''y''}} of the other two sides,  and the bottom example shows a case where the side {{math|''z''}} is only slightly less than {{math|''x'' + ''y''}}.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, the '''triangle inequality''' states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but some authors, especially those writing about elementary geometry, will exclude this possibility, thus leaving out the possibility of equality. If {{math|''x''}}, {{math|''y''}}, and {{math|''z''}} are the lengths of the sides of the triangle, with no side being greater than {{math|''z''}}, then the triangle inequality states that&lt;br /&gt;
:&amp;lt;math&amp;gt;z \leq x + y ,&amp;lt;/math&amp;gt;&lt;br /&gt;
with equality only in the degenerate case of a triangle with zero area.&lt;br /&gt;
In Euclidean geometry and some other geometries, the triangle inequality is a theorem about distances, and it is written using vectors and vector lengths (norms):&lt;br /&gt;
:&amp;lt;math&amp;gt;\|\mathbf x + \mathbf y\| \leq \|\mathbf x\| + \|\mathbf y\| ,&amp;lt;/math&amp;gt;&lt;br /&gt;
where the length {{math|''z''}} of the third side has been replaced by the vector sum {{math|'''x''' + '''y'''}}. When {{math|'''x'''}} and {{math|'''y'''}} are real numbers, they can be viewed as vectors in {{math|'''R'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}, and the triangle inequality expresses a relationship between absolute values.&lt;br /&gt;
&lt;br /&gt;
In Euclidean geometry, for right triangles the triangle inequality is a consequence of the Pythagorean theorem, and for general triangles, a consequence of the law of cosines, although it may be proven without these theorems. The inequality can be viewed intuitively in either {{math|'''R'''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} or {{math|'''R'''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. The figure at the right shows three examples beginning with clear inequality (top) and approaching equality (bottom). In the Euclidean case, equality occurs only if the triangle has a {{math|180°}} angle and two {{math|0°}} angles, making the three vertices collinear, as shown in the bottom example. Thus, in Euclidean geometry, the shortest distance between two points is a straight line.&lt;br /&gt;
&lt;br /&gt;
In spherical geometry, the shortest distance between two points is an arc of a great circle, but the triangle inequality holds provided the restriction is made that the distance between two points on a sphere is the length of a minor spherical line segment (that is, one with central angle in {{closed-closed|0, ''π''}}) with those endpoints.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is a ''defining property'' of norms and measures of distance. This property must be established as a theorem for any function proposed for such purposes for each particular space: for example, spaces such as the real numbers, Euclidean spaces, the L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces ({{math|''p'' ≥ 1}}), and inner product spaces.&lt;br /&gt;
&lt;br /&gt;
==Euclidean geometry==&lt;br /&gt;
&lt;br /&gt;
[[File:Euclid triangle inequality.svg|thumb|Euclid's construction for proof of the triangle inequality for plane geometry.]]&lt;br /&gt;
&lt;br /&gt;
Euclid proved the triangle inequality for distances in plane geometry using the construction in the figure. Beginning with triangle {{math|''ABC''}}, an isosceles triangle is constructed with one side taken as {{math|{{overline|''BC''}}}} and the other equal leg {{math|{{overline|''BD''}}}} along the extension of side {{math|{{overline|''AB''}}}}. It then is argued that angle {{math|''β''}} has larger measure than angle {{math|''α''}}, so side {{math|{{overline|''AD''}}}} is longer than side {{math|{{overline|''AC''}}}}. But {{math|''AD'' {{=}} ''AB'' + ''BD'' {{=}} ''AB'' + ''BC''}}, so the sum of the lengths of sides {{math|{{overline|''AB''}}}} and {{math|{{overline|''BC''}}}} is larger than the length of {{math|{{overline|''AC''}}}}. This proof appears in Euclid's Elements, Book 1, Proposition 20.&lt;br /&gt;
&lt;br /&gt;
===Mathematical expression of the constraint on the sides of a triangle===&lt;br /&gt;
&lt;br /&gt;
For a proper triangle, the triangle inequality, as stated in words, literally translates into three inequalities (given that a proper triangle has side lengths {{math|''a''}}, {{math|''b''}}, {{math|''c''}} that are all positive and excludes the degenerate case of zero area):&lt;br /&gt;
:&amp;lt;math&amp;gt;a + b &amp;gt; c ,\quad b + c &amp;gt; a ,\quad c + a &amp;gt; b .&amp;lt;/math&amp;gt;&lt;br /&gt;
A more succinct form of this inequality system can be shown to be&lt;br /&gt;
:&amp;lt;math&amp;gt;|a - b| &amp;lt; c &amp;lt; a + b .&amp;lt;/math&amp;gt;&lt;br /&gt;
Another way to state it is&lt;br /&gt;
:&amp;lt;math&amp;gt;\max(a, b, c) &amp;lt; a + b + c - \max(a, b, c)&amp;lt;/math&amp;gt;&lt;br /&gt;
implying&lt;br /&gt;
:&amp;lt;math&amp;gt;2 \max(a, b, c) &amp;lt; a + b + c&amp;lt;/math&amp;gt;&lt;br /&gt;
and thus that the longest side length is less than the semiperimeter.&lt;br /&gt;
&lt;br /&gt;
A mathematically equivalent formulation is that the area of a triangle with sides ''a'', ''b'', ''c'' must be a real number greater than zero. Heron's formula for the area is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
4\cdot \text{area} &amp;amp; =\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)} \\&lt;br /&gt;
&amp;amp; = \sqrt{-a^4-b^4-c^4+2a^2b^2+2a^2c^2+2b^2c^2}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terms of either area expression, the triangle inequality imposed on all sides is equivalent to the condition that the expression under the square root sign be real and greater than zero (so the area expression is real and greater than zero).&lt;br /&gt;
&lt;br /&gt;
The triangle inequality provides two more interesting constraints for triangles whose sides are ''a, b, c'', where ''a'' ≥ ''b'' ≥ ''c'' and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the [[golden ratio]], as&lt;br /&gt;
:&amp;lt;math&amp;gt;1&amp;lt;\frac{a+c}{b}&amp;lt;3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1\le\min\left(\frac{a}{b}, \frac{b}{c}\right)&amp;lt;\phi.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Right triangle===&lt;br /&gt;
&lt;br /&gt;
[[File:Isosceles triangle made of right triangles.svg|thumb|Isosceles triangle with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}} divided into two right triangles by an altitude drawn from one of the two base angles.]]&lt;br /&gt;
&lt;br /&gt;
In the case of right triangles, the triangle inequality specializes to the statement that the hypotenuse is greater than either of the two sides and less than their sum.&lt;br /&gt;
The second part of this theorem is already established above for any side of any triangle. The first part is established using the lower figure. In the figure, consider the right triangle {{math|ADC}}. An isosceles triangle {{math|ABC}} is constructed with equal sides {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. From the [[triangle postulate]], the angles in the right triangle {{math|ADC}} satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha + \gamma = \pi /2 \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Likewise, in the isosceles triangle {{math|ABC}}, the angles satisfy:&lt;br /&gt;
:&amp;lt;math&amp;gt;2\beta + \gamma = \pi \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore,&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha = \pi/2 - \gamma ,\ \mathrm{while} \ \beta= \pi/2 - \gamma /2  \ ,&amp;lt;/math&amp;gt;&lt;br /&gt;
and so, in particular,&lt;br /&gt;
:&amp;lt;math&amp;gt;\alpha &amp;lt; \beta \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
That means side {{math|AD}} opposite angle {{math|''α''}} is shorter than side {{math|AB}} opposite the larger angle {{math|''β''}}. But {{math|{{overline|AB}} {{=}} {{overline|AC}}}}. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{\mathrm{AC}} &amp;gt; \overline{\mathrm{AD}} \ . &amp;lt;/math&amp;gt;&lt;br /&gt;
A similar construction shows {{math|{{overline|AC}} &amp;gt; {{overline|DC}}}}, establishing the theorem.&lt;br /&gt;
&lt;br /&gt;
An alternative proof (also based upon the triangle postulate) proceeds by considering three positions for point {{math|B}}:&lt;br /&gt;
(i) as depicted (which is to be proven), or (ii) {{math|B}} coincident with {{math|D}} (which would mean the isosceles triangle had two right angles as base angles plus the vertex angle {{math|''γ''}}, which would violate the [[triangle postulate]]), or lastly, (iii) {{math|B}} interior to the right triangle between points {{math|A}} and {{math|D}} (in which case angle {{math|ABC}} is an exterior angle of a right triangle {{math|BDC}} and therefore larger than {{math|''π''/2}}, meaning the other base angle of the isosceles triangle also is greater than {{math|''π''/2}} and their sum exceeds {{math|''π''}} in violation of the triangle postulate).&lt;br /&gt;
&lt;br /&gt;
This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides.&lt;br /&gt;
&lt;br /&gt;
===Examples of use===&lt;br /&gt;
Consider a triangle whose sides are in an arithmetic progression and let the sides be {{math|''a''}}, {{math|''a'' + ''d''}}, {{math|''a'' + 2''d''}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;2a+3d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+d&amp;lt;2a+2d &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a+2d&amp;lt;2a+d. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To satisfy all these inequalities requires&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a&amp;gt;0 \text{ and } -\frac{a}{3}&amp;lt;d&amp;lt;a. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''d''}} is chosen such that {{math|''d'' {{=}} ''a''/3}}, it generates a right triangle that is always similar to the Pythagorean triple with sides {{math|3}}, {{math|4}}, {{math|5}}.&lt;br /&gt;
&lt;br /&gt;
Now consider a triangle whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Then the triangle inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality requires {{math|''a'' &amp;gt; 0}}; consequently it can be divided through and eliminated. With {{math|''a'' &amp;gt; 0}}, the middle inequality only requires {{math|''r'' &amp;gt; 0}}. This now leaves the first and third inequalities needing to satisfy&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r^2+r-1 &amp;amp; {} &amp;gt;0 \\&lt;br /&gt;
r^2-r-1 &amp;amp; {} &amp;lt;0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first of these quadratic inequalities requires {{math|''r''}} to range in the region beyond the value of the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + ''r'' − 1 {{=}} 0}}, i.e. {{math|''r'' &amp;gt; ''φ'' − 1}}  where {{math|''φ''}} is the golden ratio. The second quadratic inequality requires {{math|''r''}} to range between 0 and the positive root of the quadratic equation {{math|''r''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; − ''r'' − 1 {{=}} 0}}, i.e. {{math|0 &amp;lt; ''r'' &amp;lt; ''φ''}}. The combined requirements result in {{math|''r''}} being confined to the range&lt;br /&gt;
:&amp;lt;math&amp;gt;\varphi - 1 &amp;lt; r &amp;lt;\varphi\, \text{ and } a &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When {{math|''r''}} the common ratio is chosen such that {{math|''r'' {{=}} {{sqrt|''φ''}}}} it generates a right triangle that is always similar to the [[Kepler triangle]].&lt;br /&gt;
&lt;br /&gt;
===Generalization to any polygon===&lt;br /&gt;
The triangle inequality can be extended by mathematical induction to arbitrary polygonal paths, showing that the total length of such a path is no less than the length of the straight line between its endpoints. Consequently, the length of any polygon side is always less than the sum of the other polygon side lengths.&lt;br /&gt;
&lt;br /&gt;
====Example of the generalized polygon inequality for a quadrilateral====&lt;br /&gt;
Consider a quadrilateral whose sides are in a geometric progression and let the sides be {{math|''a''}}, {{math|''ar''}}, {{math|''ar''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}, {{math|''ar''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;}}. Then the generalized polygon inequality requires that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;a&amp;lt;ar+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar&amp;lt;a+ar^2+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^2&amp;lt;a+ar+ar^3 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; 0&amp;lt;ar^3&amp;lt;a+ar+ar^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These inequalities for {{math|''a'' &amp;gt; 0}} reduce to the following&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3+r^2+r-1&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; r^3-r^2-r-1&amp;lt;0. &amp;lt;/math&amp;gt;&lt;br /&gt;
The left-hand side polynomials of these two inequalities have roots that are the tribonacci constant and its reciprocal. Consequently, {{math|''r''}} is limited to the range {{math|1/''t'' &amp;lt; ''r'' &amp;lt; ''t''}} where {{math|''t''}} is the tribonacci constant.&lt;br /&gt;
&lt;br /&gt;
====Relationship with shortest paths====&lt;br /&gt;
[[File:Arclength.svg|300px|thumb|The arc length of a curve is defined as the least upper bound of the lengths of polygonal approximations.]]&lt;br /&gt;
This generalization can be used to prove that the shortest curve between two points in Euclidean geometry is a straight line.&lt;br /&gt;
&lt;br /&gt;
No polygonal path between two points is shorter than the line between them. This implies that no curve can have an arc length less than the distance between its endpoints. By definition, the arc length of a curve is the least upper bound of the lengths of all polygonal approximations of the curve. The result for polygonal paths shows that the straight line between the endpoints is the shortest of all the polygonal approximations. Because the arc length of the curve is greater than or equal to the length of every polygonal approximation, the curve itself cannot be shorter than the straight line path.&lt;br /&gt;
&lt;br /&gt;
===Converse===&lt;br /&gt;
&lt;br /&gt;
The converse of the triangle inequality theorem is also true: if three real numbers are such that each is less than the sum of the others, then there exists a triangle with these numbers as its side lengths and with positive area; and if one number equals the sum of the other two, there exists a degenerate triangle (that is, with zero area) with these numbers as its side lengths.&lt;br /&gt;
&lt;br /&gt;
In either case, if the side lengths are ''a, b, c'' we can attempt to place a triangle in the Euclidean plane as shown in the diagram. We need to prove that there exists a real number ''h'' consistent with the values ''a, b,'' and ''c'', in which case this triangle exists.&lt;br /&gt;
&lt;br /&gt;
[[Image:Triangle with notations 3.svg|thumb|270px|Triangle with altitude {{math|''h''}} cutting base {{math|''c''}} into {{math|''d'' + (''c'' − ''d'')}}.]]&lt;br /&gt;
&lt;br /&gt;
By the Pythagorean theorem we have {{math|''b''{{sup|2}} {{=}} ''h''{{sup|2}} + ''d''{{sup|2}}}} and {{math|''a''{{sup|2}} {{=}} ''h''{{sup|2}} + (''c'' − ''d''){{sup|2}}}} according to the figure at the right. Subtracting these yields {{math|''a''{{sup|2}} − ''b''{{sup|2}} {{=}} ''c''{{sup|2}} − 2''cd''}}. This equation allows us to express {{math|''d''}} in terms of the sides of the triangle:&lt;br /&gt;
:&amp;lt;math&amp;gt;d=\frac{-a^2+b^2+c^2}{2c}.&amp;lt;/math&amp;gt;&lt;br /&gt;
For the height of the triangle we have that {{math|''h''{{sup|2}} {{=}} ''b''{{sup|2}} − ''d''{{sup|2}}}}. By replacing {{math|''d''}} with the formula given above, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h^2 = b^2-\left(\frac{-a^2+b^2+c^2}{2c}\right)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a real number ''h'' to satisfy this, &amp;lt;math&amp;gt;h^2&amp;lt;/math&amp;gt; must be non-negative:&lt;br /&gt;
:&amp;lt;math&amp;gt;b^2-\left (\frac{-a^2+b^2+c^2}{2c}\right) ^2 \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left( b- \frac{-a^2+b^2+c^2}{2c}\right) \left( b+ \frac{-a^2+b^2+c^2}{2c}\right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(a^2-(b-c)^2)((b+c)^2-a^2 \right) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a-b+c)(b+c+a)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;(a+b-c)(a+c-b)(b+c-a) \ge 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
which holds if the triangle inequality is satisfied for all sides. Therefore there does exist a real number ''h'' consistent with the sides ''a, b, c'', and the triangle exists. If each triangle inequality holds strictly, ''h'' &amp;gt; 0 and the triangle is non-degenerate (has positive area); but if one of the inequalities holds with equality, so ''h'' = 0, the triangle is degenerate.&lt;br /&gt;
&lt;br /&gt;
===Generalization to higher dimensions===&lt;br /&gt;
&lt;br /&gt;
The area of a triangular face of a tetrahedron is less than or equal to the sum of the areas of the other three triangular faces.  More generally, in Euclidean space the hypervolume of an {{math|(''n'' − 1)}}-facet of an {{math|''n''}}-simplex is less than or equal to the sum of the hypervolumes of the other {{math|''n''}} facets.  &lt;br /&gt;
&lt;br /&gt;
Much as the triangle inequality generalizes to a polygon inequality, the inequality for a simplex of any dimension generalizes to a polytope of any dimension: the hypervolume of any facet of a polytope is less than or equal to the sum of the hypervolumes of the remaining facets.&lt;br /&gt;
&lt;br /&gt;
In some cases the tetrahedral inequality is stronger than several applications of the triangle inequality.  For example, the triangle inequality appears to allow the possibility of four points {{mvar|A}}, {{mvar|B}}, {{mvar|C}}, and {{mvar|Z}} in Euclidean space such that distances&lt;br /&gt;
:{{math|1=''AB'' = ''BC'' = ''CA'' = 7}}&lt;br /&gt;
and&lt;br /&gt;
:{{math|1=''AZ'' = ''BZ'' = ''CZ'' = 4}}.&lt;br /&gt;
However, points with such distances cannot exist: the area of the 7-7-7 equilateral triangle {{math|''ABC''}} would be approximately 21.22, which is larger than three times the area of a 7-4-4 isosceles triangle (approximately 6.78 each, by Heron's formula), and so the arrangement is forbidden by the tetrahedral inequality.&lt;br /&gt;
&lt;br /&gt;
==Normed vector space==&lt;br /&gt;
[[File:Vector-triangle-inequality.svg|thumb|300px|Triangle inequality for norms of vectors.]]&lt;br /&gt;
In a normed vector space {{math|''V''}}, one of the defining properties of the norm is the triangle inequality:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \|x + y\| \leq \|x\| + \|y\| \quad \forall \, x, y \in V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that is, the norm of the sum of two vectors is at most as large as the sum of the norms of the two vectors.  This is also referred to as subadditivity. For any proposed function to behave as a norm, it must satisfy this requirement.&lt;br /&gt;
If the normed space is euclidean, or, more generally, strictly convex, then &amp;lt;math&amp;gt;\|x+y\|=\|x\|+\|y\|&amp;lt;/math&amp;gt; if and&lt;br /&gt;
only if the triangle formed by {{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is degenerate, that is,&lt;br /&gt;
{{math|''x''}} and {{math|''y''}} are on the same ray, i.e., {{math|''x'' {{=}} 0}} or {{math|''y'' {{=}} 0}}, or&lt;br /&gt;
{{math|''x'' {{=}} ''α y''}} for some {{math|''α'' &amp;gt; 0}}. This property characterizes strictly convex normed spaces such as&lt;br /&gt;
the {{math|''ℓ&amp;lt;sub&amp;gt;p&amp;lt;/sub&amp;gt;''}} spaces with {{math|1 &amp;lt; ''p'' &amp;lt; ∞}}. However, there are normed spaces in which this is&lt;br /&gt;
not true. For instance, consider the plane with the {{math|''ℓ''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;}} norm (the Manhattan distance) and&lt;br /&gt;
denote {{math|''x'' {{=}} (1, 0)}} and {{math|''y'' {{=}} (0, 1)}}. Then the triangle formed by&lt;br /&gt;
{{math|''x''}}, {{math|''y''}}, and {{math|''x'' + ''y''}}, is non-degenerate but&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\|x+y\|=\|(1,1)\|=|1|+|1|=2=\|x\|+\|y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example norms===&lt;br /&gt;
*''Absolute value as norm for the real line.'' To be a norm, the triangle inequality requires that the absolute value satisfy for any real numbers {{math|''x''}} and {{math|''y''}}: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;|x + y| \leq |x|+|y|,&amp;lt;/math&amp;gt; which it does.&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert x \right\vert \leq x \leq \left\vert x \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;-\left\vert y \right\vert \leq y \leq \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
After adding, &lt;br /&gt;
:&amp;lt;math&amp;gt;-( \left\vert x \right\vert + \left\vert y \right\vert ) \leq x+y \leq \left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;&lt;br /&gt;
Use the fact that &amp;lt;math&amp;gt;\left\vert b \right\vert \leq a \Leftrightarrow -a \leq b \leq a&amp;lt;/math&amp;gt;&lt;br /&gt;
(with ''b'' replaced by ''x''+''y'' and ''a'' by &amp;lt;math&amp;gt;\left\vert x \right\vert + \left\vert y \right\vert&amp;lt;/math&amp;gt;), we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x + y| \leq |x|+|y|&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is useful in [[mathematical analysis]] for determining the best upper estimate on the size of the sum of two numbers, in terms of the sizes of the individual numbers.&lt;br /&gt;
&lt;br /&gt;
There is also a lower estimate, which can be found using the ''reverse triangle inequality'' which states that for any real numbers {{math|''x''}} and {{math|''y''}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|x-y| \geq \biggl||x|-|y|\biggr|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*''Inner product as norm in an inner product space.'' If the norm arises from an inner product (as is the case for Euclidean spaces), then the triangle inequality follows from the Cauchy–Schwarz inequality as follows: Given vectors &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;, and denoting the inner product as &amp;lt;math&amp;gt;\langle x , y\rangle &amp;lt;/math&amp;gt;:&lt;br /&gt;
:{|&lt;br /&gt;
|&amp;lt;math&amp;gt;\|x + y\|^2&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;= \langle x + y, x + y \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;= \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2|\langle x, y \rangle| + \|y\|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;\le \|x\|^2 + 2\|x\|\|y\| + \|y\|^2&amp;lt;/math&amp;gt; (by the Cauchy–Schwarz inequality)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;math&amp;gt;=  \left(\|x\| + \|y\|\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Cauchy–Schwarz inequality turns into an equality if and only if {{math|''x''}} and {{math|''y''}}&lt;br /&gt;
are linearly dependent. The inequality&lt;br /&gt;
&amp;lt;math&amp;gt;\langle x, y \rangle + \langle y, x \rangle \le 2\left|\left\langle x, y \right\rangle\right| &amp;lt;/math&amp;gt;&lt;br /&gt;
turns into an equality for linearly dependent &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;&lt;br /&gt;
if and only if one of the vectors {{math|''x''}} or {{math|''y''}} is a ''nonnegative'' scalar of the other.&lt;br /&gt;
&lt;br /&gt;
:Taking the square root of the final result gives the triangle inequality.&lt;br /&gt;
*{{math|''p''}}-norm: a commonly used norm is the ''p''-norm: &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_p = \left( \sum_{i=1}^n |x_i|^p \right) ^{1/p} \ , &amp;lt;/math&amp;gt; where the {{math|''x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;''}} are the components of vector {{math|''x''}}. For {{math|1=''p'' = 2}} the {{math|''p''}}-norm becomes the ''Euclidean norm'': &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x\|_2 = \left( \sum_{i=1}^n |x_i|^2 \right) ^{1/2} = \left( \sum_{i=1}^n x_{i}^2 \right) ^{1/2} \ , &amp;lt;/math&amp;gt; which is Pythagoras' theorem in {{math|''n''}}-dimensions, a very special case corresponding to an inner product norm. Except for the case {{math|1=''p'' = 2}}, the {{math|''p''}}-norm is ''not'' an inner product norm, because it does not satisfy the parallelogram law. The triangle inequality for general values of {{math|''p''}} is called Minkowski's inequality. It takes the form:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\|x+y\|_p \le \|x\|_p + \|y\|_p \ .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Metric space==&lt;br /&gt;
In a metric space {{math|''M''}} with metric {{math|''d''}}, the triangle inequality is a requirement upon distance:&lt;br /&gt;
:&amp;lt;math&amp;gt;d(x,\ z) \le d(x,\ y) + d(y,\ z) \ , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all {{math|''x''}}, {{math|''y''}}, {{math|''z''}} in {{math|''M''}}. That is, the distance from {{math|''x''}} to {{math|''z''}} is at most as large as the sum of the distance from {{math|''x''}} to {{math|''y''}} and the distance from {{math|''y''}} to {{math|''z''}}.&lt;br /&gt;
&lt;br /&gt;
The triangle inequality is responsible for most of the interesting structure on a metric space, namely, convergence.  This is because the remaining requirements for a metric are rather simplistic in comparison.  For example, the fact that any convergent sequence in a metric space is a Cauchy sequence is a direct consequence of the triangle inequality, because if we choose any {{math|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}} and {{math|''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;''}} such that {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}} and {{math|''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2}}, where {{math|''ε'' &amp;gt; 0}} is given and arbitrary (as in the definition of a limit in a metric space), then by the triangle inequality, {{math|''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'') ≤ ''d''(''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'', ''x'') + ''d''(''x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;'', ''x'') &amp;lt; ''ε''/2 + ''ε''/2 {{=}} ''ε''}}, so that the sequence {{math|{{mset|''x&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;''}}}} is a Cauchy sequence, by definition.&lt;br /&gt;
&lt;br /&gt;
This version of the triangle inequality reduces to the one stated above in case of normed vector spaces where a metric is induced via {{math|''d''(''x'', ''y'') ≔ ‖''x'' − ''y''‖}}, with {{math|''x'' − ''y''}} being the vector pointing from point {{math|''y''}} to {{math|''x''}}.&lt;br /&gt;
&lt;br /&gt;
==Reverse triangle inequality==&lt;br /&gt;
The '''reverse triangle inequality''' is an elementary consequence of the triangle inequality that gives lower bounds instead of upper bounds. For plane geometry, the statement is:&lt;br /&gt;
&lt;br /&gt;
:''Any side of a triangle is greater than or equal to the difference between the other two sides''.&lt;br /&gt;
&lt;br /&gt;
In the case of a normed vector space, the statement is:&lt;br /&gt;
: &amp;lt;math&amp;gt;\bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|,&amp;lt;/math&amp;gt;&lt;br /&gt;
or for metric spaces, {{math|{{!}}''d''(''y'', ''x'') − ''d''(''x'', ''z''){{!}} ≤ ''d''(''y'', ''z'')}}.&lt;br /&gt;
This implies that the norm &amp;lt;math&amp;gt;\|\cdot\|&amp;lt;/math&amp;gt; as well as the distance function &amp;lt;math&amp;gt;d(x,\cdot)&amp;lt;/math&amp;gt; are Lipschitz continuous with Lipschitz constant {{math|1}}, and therefore are in particular uniformly continuous.&lt;br /&gt;
&lt;br /&gt;
The proof for the reverse triangle uses the regular triangle inequality, and &amp;lt;math&amp;gt; \|y-x\| = \|{-}1(x-y)\| = |{-}1|\cdot\|x-y\| = \|x-y\| &amp;lt;/math&amp;gt;:&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x\| = \|(x-y) + y\| \leq \|x-y\| + \|y\| \Rightarrow \|x\| - \|y\| \leq \|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; \|y\| = \|(y-x) + x\| \leq \|y-x\| + \|x\| \Rightarrow \|x\| - \|y\| \geq -\|x-y\|, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these two statements gives:&lt;br /&gt;
: &amp;lt;math&amp;gt; -\|x-y\| \leq \|x\|-\|y\| \leq \|x-y\| \Rightarrow \bigg|\|x\|-\|y\|\bigg| \leq \|x-y\|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Triangle inequality for cosine similarity==&lt;br /&gt;
By applying the cosine function to the triangle inequality and reverse triangle inequality for arc lengths and employing the angle addition and subtraction formulas for cosines, it follows immediately that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \geq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) - \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{sim}(x,z) \leq \operatorname{sim}(x,y) \cdot \operatorname{sim}(y,z) + \sqrt{\left(1-\operatorname{sim}(x,y)^2\right)\cdot\left(1-\operatorname{sim}(y,z)^2\right)}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With these formulas, one needs to compute a square root for each triple of vectors {{math|{''x'', ''y'', ''z''}}} that is examined rather than {{math|arccos(sim(''x'',''y''))}} for each pair of vectors {{math|{''x'', ''y''}}} examined, and could be a performance improvement when the number of triples examined is less than the number of pairs examined.&lt;br /&gt;
&lt;br /&gt;
==Reversal in Minkowski space==&lt;br /&gt;
&lt;br /&gt;
The Minkowski space metric &amp;lt;math&amp;gt; \eta_{\mu \nu} &amp;lt;/math&amp;gt; is not positive-definite, which means that &amp;lt;math&amp;gt; \|x\|^2 = \eta_{\mu \nu} x^\mu x^\nu&amp;lt;/math&amp;gt; can have either sign or vanish, even if the vector ''x'' is non-zero. Moreover, if ''x'' and ''y'' are both timelike vectors lying in the future light cone, the triangle inequality is reversed:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \|x+y\| \geq \|x\| + \|y\|. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A physical example of this inequality is the twin paradox in special relativity. The same reversed form of the inequality holds if both vectors lie in the past light cone, and if one or both are null vectors. The result holds in ''n'' + 1 dimensions for any ''n'' ≥ 1.  If the plane defined by ''x'' and ''y'' is spacelike (and therefore a Euclidean subspace) then the usual triangle inequality holds.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle_inequality Triangle inequality, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_Polygons_-_Formulas&amp;diff=4672</id>
		<title>Area of Polygons - Formulas</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_Polygons_-_Formulas&amp;diff=4672"/>
		<updated>2022-02-07T00:00:42Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Area of Parallelogram ==&lt;br /&gt;
&lt;br /&gt;
[[File:ParallelogramArea.svg|thumb|180px|alt=A diagram showing how a parallelogram can be re-arranged into the shape of a rectangle|A parallelogram can be rearranged into a rectangle with the same area.]]&lt;br /&gt;
[[File:Parallelogram area animated.gif|thumb|180px|Animation for the area formula &amp;lt;math&amp;gt;K = bh&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
All of the area formulas for general convex quadrilaterals apply to parallelograms. Further formulas are specific to parallelograms:&lt;br /&gt;
&lt;br /&gt;
A parallelogram with base ''b'' and height ''h'' can be divided into a trapezoid and a right triangle, and rearranged into a rectangle, as shown in the figure to the left. This means that the area of a parallelogram is the same as that of a rectangle with the same base and height:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = bh.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Parallelogram area.svg|thumb|The area of the parallelogram is the area of the blue region, which is the interior of the parallelogram]]&lt;br /&gt;
The base × height area formula can also be derived using the figure to the right. The area ''K'' of the parallelogram to the right (the blue area) is the total area of the rectangle less the area of the two orange triangles. The area of the rectangle is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K_\text{rect} = (B+A) \times H\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the area of a single orange triangle is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K_\text{tri} = \frac{A}{2} \times H. \,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, the area of the parallelogram is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = K_\text{rect} - 2 \times K_\text{tri} = ( (B+A) \times H) - ( A \times H) = B \times H.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another area formula, for two sides ''B'' and ''C'' and angle θ, is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = B \cdot C \cdot \sin \theta.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The area of a parallelogram with sides ''B'' and ''C'' (''B'' ≠ ''C'') and angle &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; at the intersection of the diagonals is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{|\tan \gamma|}{2} \cdot \left| B^2 - C^2 \right|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the parallelogram is specified from the lengths ''B'' and ''C'' of two adjacent sides together with the length ''D''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; of either diagonal, then the area can be found from Heron's formula. Specifically it is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K=2\sqrt{S(S-B)(S-C)(S-D_1)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;S=(B+C+D_1)/2&amp;lt;/math&amp;gt; and the leading factor 2 comes from the fact that the chosen diagonal divides the parallelogram into ''two'' congruent triangles.&lt;br /&gt;
&lt;br /&gt;
== Area of Triangle ==&lt;br /&gt;
Calculating the area ''T'' of a triangle is an elementary problem encountered often in many different situations. The best known and simplest formula is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T=\frac {1}{2}bh &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where b is the length of the base of the triangle, and ''h'' is the height or altitude of the triangle. The term &amp;quot;base&amp;quot; denotes any side, and &amp;quot;height&amp;quot; denotes the length of a perpendicular from the vertex opposite the base onto the line containing the base. In 499 CE Aryabhata, used this illustrated method in the Aryabhatiya (section 2.6).&lt;br /&gt;
&lt;br /&gt;
Although simple, this formula is only useful if the height can be readily found, which is not always the case. For example, the surveyor of a triangular field might find it relatively easy to measure the length of each side, but relatively difficult to construct a 'height'. Various methods may be used in practice, depending on what is known about the triangle. The following is a selection of frequently used formulae for the area of a triangle.&lt;br /&gt;
&lt;br /&gt;
=== Using trigonometry ===&lt;br /&gt;
&lt;br /&gt;
Applying trigonometry to find the altitude h.&lt;br /&gt;
The height of a triangle can be found through the application of trigonometry.&lt;br /&gt;
&lt;br /&gt;
''Knowing SAS:'' Using the labels in the image on the right, the altitude is &amp;lt;math&amp;gt; h = a \sin {\gamma }&amp;lt;/math&amp;gt;. Substituting this in the formula &amp;lt;math&amp;gt; T=\frac {1}{2}bh &amp;lt;/math&amp;gt; derived above, the area of the triangle can be expressed as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T=\frac {1}{2} ab \sin {\gamma} =\frac {1}{2} bc \sin {\alpha} = \frac {1}{2} ca \sin {\beta} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where α is the interior angle at ''A'', β is the interior angle at ''B'', &amp;lt;math&amp;gt; \gamma &amp;lt;/math&amp;gt;  is the interior angle at ''C'' and ''c'' is the line '''AB''').&lt;br /&gt;
&lt;br /&gt;
Furthermore, since sin α = sin (π − α) = sin (β + &amp;lt;math&amp;gt; \gamma &amp;lt;/math&amp;gt;), and similarly for the other two angles:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T=\frac {1}{2} ab \sin(\alpha +\beta)= \frac {1}{2} bc \sin(\beta +\gamma)= \frac {1}{2} ca \sin(\gamma +\alpha)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
''Knowing AAS:''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \frac {b^{2}(\sin \alpha )(\sin(\alpha +\beta ))}{2\sin \beta} &amp;lt;/math&amp;gt;,&lt;br /&gt;
and analogously if the known side is ''a'' or ''c''.&lt;br /&gt;
&lt;br /&gt;
''Knowing ASA'':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \frac {a^2}{2(\cot \beta +\cot \gamma )}= \frac {a^2 (\sin \beta ) (\sin \gamma )}{2\sin(\beta + \gamma)} &amp;lt;/math&amp;gt;,&lt;br /&gt;
and analogously if the known side is ''b'' or ''c''.&lt;br /&gt;
&lt;br /&gt;
=== Using Heron's formula ===&lt;br /&gt;
The shape of the triangle is determined by the lengths of the sides. Therefore, the area can also be derived from the lengths of the sides. By Heron's formula:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \sqrt {s(s-a)(s-b)(s-c)} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; s= \tfrac {a+b+c}{2} &amp;lt;/math&amp;gt; is the semiperimeter, or half of the triangle's perimeter.&lt;br /&gt;
&lt;br /&gt;
Three other equivalent ways of writing Heron's formula are&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \frac {1}{4} \sqrt {(a^{2}+b^{2}+c^{2})^{2}-2(a^{4}+b^{4}+c^{4})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \frac {1}{4} \sqrt {2(a^{2}b^{2}+a^{2}c^{2}+b^{2}c^{2})-(a^{4}+b^{4}+c^{4})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; T= \frac {1}{4} \sqrt {(a+b-c)(a-b+c)(-a+b+c)(a+b+c)} &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Area of Trapezoid ==&lt;br /&gt;
&lt;br /&gt;
The area ''K'' of a trapezoid is given by&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{a + b}{2} \cdot h = mh&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ''a'' and ''b'' are the lengths of the parallel sides, ''h'' is the height (the perpendicular distance between these sides), and ''m'' is the arithmetic mean of the lengths of the two parallel sides. In 499 AD Aryabhata, a great mathematician-astronomer from the classical age of Indian mathematics and Indian astronomy, used this method in the ''Aryabhatiya'' (section 2.8). This yields as a special case the well-known formula for the area of a triangle, by considering a triangle as a degenerate trapezoid in which one of the parallel sides has shrunk to a point.&lt;br /&gt;
&lt;br /&gt;
The 7th-century Indian mathematician Bhāskara I derived the following formula for the area of a trapezoid with consecutive sides ''a'', ''c'', ''b'', ''d'':&lt;br /&gt;
:&amp;lt;math&amp;gt;K=\frac{1}{2}(a+b)\sqrt{c^2-\frac{1}{4}\left((b-a)+\frac{c^2-d^2}{b-a}\right)^2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ''a'' and ''b'' are parallel and ''b'' &amp;gt; ''a''. This formula can be factored into a more symmetric version&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{a+b}{4|b-a|}\sqrt{(-a+b+c+d)(a-b+c+d)(a-b+c-d)(a-b-c+d)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When one of the parallel sides has shrunk to a point (say ''a'' = 0), this formula reduces to Heron's formula for the area of a triangle.&lt;br /&gt;
&lt;br /&gt;
Another equivalent formula for the area, which more closely resembles Heron's formula, is&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{a+b}{|b-a|}\sqrt{(s-b)(s-a)(s-b-c)(s-b-d)},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;s = \tfrac{1}{2}(a + b + c + d)&amp;lt;/math&amp;gt; is the semiperimeter of the trapezoid. (This formula is similar to Brahmagupta's formula, but it differs from it, in that a trapezoid might not be cyclic (inscribed in a circle). The formula is also a special case of Bretschneider's formula for a general quadrilateral).&lt;br /&gt;
&lt;br /&gt;
From Bretschneider's formula, it follows that&lt;br /&gt;
:&amp;lt;math&amp;gt;K= \sqrt{\frac{(ab^2-a^2 b-ad^2+bc^2)(ab^2-a^2 b-ac^2+bd^2)}{(2(b-a))^2} - \left(\frac{b^2+d^2-a^2-c^2}{4}\right)^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The line that joins the midpoints of the parallel sides, bisects the area.&lt;br /&gt;
&lt;br /&gt;
== Licensing ==&lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Parallelogram Parallelogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Triangle Triangle, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Trapezoid Trapezoid, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Measurement_(AREA)&amp;diff=4671</id>
		<title>Measurement (AREA)</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Measurement_(AREA)&amp;diff=4671"/>
		<updated>2022-02-06T17:58:10Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Area.svg|right|thumb|alt=Three shapes on a square grid|The combined area of these three shapes is approximately 15.57 squares.]]&lt;br /&gt;
&lt;br /&gt;
'''Area''' is the quantity that expresses the extent of a two-dimensional region, shape, or planar lamina, in the plane. Surface area is its analog on the two-dimensional surface of a  three-dimensional object. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat. It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).&lt;br /&gt;
&lt;br /&gt;
The area of a shape can be measured by comparing the shape to squares of a fixed size. In the International System of Units (SI), the standard unit of area is the square metre (written as m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), which is the area of a square whose sides are one metre long.  A shape with an area of three square metres would have the same area as three such squares.  In mathematics, the unit square is defined to have area one, and the area of any other shape or surface is a dimensionless real number.&lt;br /&gt;
[[File:Squaring the circle.svg|right|thumb|This square and this disk both have the same area (see: squaring the circle).]]&lt;br /&gt;
&lt;br /&gt;
There are several well-known formulas for the areas of simple shapes such as triangles, rectangles, and circles.  Using these formulas, the area of any polygon can be found by dividing the polygon into triangles. For shapes with curved boundary, calculus is usually required to compute the area.  Indeed, the problem of determining the area of plane figures was a major motivation for the historical development of calculus.&lt;br /&gt;
&lt;br /&gt;
For a solid shape such as a sphere, cone, or cylinder, the area of its boundary surface is called the surface area. Formulas for the surface areas of simple shapes were computed by the ancient Greeks, but computing the surface area of a more complicated shape usually requires multivariable calculus.&lt;br /&gt;
&lt;br /&gt;
Area plays an important role in modern mathematics.  In addition to its obvious importance in geometry and calculus, area is related to the definition of determinants in linear algebra, and is a basic property of surfaces in differential geometry. In analysis, the area of a subset of the plane is defined using Lebesgue measure, though not every subset is measurable. In general, area in higher mathematics is seen as a special case of volume for two-dimensional regions.&lt;br /&gt;
&lt;br /&gt;
Area can be defined through the use of axioms, defining it as a function of a collection of certain plane figures to the set of real numbers. It can be proved that such a function exists.&lt;br /&gt;
&lt;br /&gt;
==Formal definition==&lt;br /&gt;
An approach to defining what is meant by &amp;quot;area&amp;quot; is through axioms. &amp;quot;Area&amp;quot; can be defined as a function from a collection M of a special kinds of plane figures (termed measurable sets) to the set of real numbers, which satisfies the following properties:&lt;br /&gt;
* For all ''S'' in ''M'', ''a''(''S'') ≥ 0.&lt;br /&gt;
* If ''S'' and ''T'' are in ''M'' then so are ''S'' ∪ ''T'' and ''S'' ∩ ''T'', and also ''a''(''S''∪''T'') = ''a''(''S'') + ''a''(''T'') − ''a''(''S''∩''T'').&lt;br /&gt;
* If ''S'' and ''T'' are in ''M'' with ''S'' ⊆ ''T'' then ''T'' − ''S'' is in ''M'' and ''a''(''T''−''S'') = ''a''(''T'') − ''a''(''S'').&lt;br /&gt;
* If a set ''S'' is in ''M'' and ''S'' is congruent to ''T'' then ''T'' is also in ''M'' and ''a''(''S'') = ''a''(''T'').&lt;br /&gt;
* Every rectangle ''R'' is in ''M''. If the rectangle has length ''h'' and breadth ''k'' then ''a''(''R'') = ''hk''.&lt;br /&gt;
* Let ''Q'' be a set enclosed between two step regions ''S'' and ''T''. A step region is formed from a finite union of adjacent rectangles resting on a common base, i.e. ''S'' ⊆ ''Q'' ⊆ ''T''. If there is a unique number ''c'' such that ''a''(''S'') ≤ c ≤ ''a''(''T'') for all such step regions ''S'' and ''T'', then ''a''(''Q'') = ''c''.&lt;br /&gt;
&lt;br /&gt;
It can be proved that such an area function actually exists.&lt;br /&gt;
&lt;br /&gt;
==Units==&lt;br /&gt;
[[File:SquareMeterQuadrat.JPG|thumb|right|alt=A square made of PVC pipe on grass|A square metre quadrat made of PVC pipe.]]&lt;br /&gt;
Every unit of length has a corresponding unit of area, namely the area of a square with the given side length.  Thus areas can be measured in square metres (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square centimetres (cm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square millimetres (mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square kilometres (km&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square feet (ft&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square yards (yd&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square miles (mi&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), and so forth. Algebraically, these units can be thought of as the squares of the corresponding length units.&lt;br /&gt;
&lt;br /&gt;
The SI unit of area is the square metre, which is considered an SI derived unit.&lt;br /&gt;
&lt;br /&gt;
===Conversions===&lt;br /&gt;
[[File:Area conversion - square mm in a square cm.png|thumb|right|alt=A diagram showing the conversion factor between different areas|Although there are 10 mm in 1 cm, there are 100 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; in 1 cm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.]]&lt;br /&gt;
Calculation of the area of a square whose length and width are 1 metre would be:&lt;br /&gt;
&lt;br /&gt;
1 metre × 1 metre = 1&amp;amp;nbsp;m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so, a rectangle with different sides (say length of 3 metres and width of 2 metres) would have an area in square units that can be calculated as:&lt;br /&gt;
&lt;br /&gt;
3 metres × 2 metres = 6&amp;amp;nbsp;m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. This is equivalent to 6 million square millimetres. Other useful conversions are:&lt;br /&gt;
* 1 square kilometre = 1,000,000 square metres&lt;br /&gt;
* 1 square metre = 10,000 square centimetres = 1,000,000 square millimetres&lt;br /&gt;
* 1 square centimetre = 100 square millimetres.&lt;br /&gt;
&lt;br /&gt;
==== Non-metric units ====&lt;br /&gt;
In non-metric units, the conversion between two square units is the square of the conversion between the corresponding length units.&lt;br /&gt;
:1 foot = 12 inches,&lt;br /&gt;
the relationship between square feet and square inches is&lt;br /&gt;
:1 square foot = 144 square inches,&lt;br /&gt;
where 144 = 12&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 12 × 12.  Similarly:&lt;br /&gt;
* 1 square yard = 9 square feet&lt;br /&gt;
* 1 square mile = 3,097,600 square yards = 27,878,400 square feet&lt;br /&gt;
In addition, conversion factors include:&lt;br /&gt;
* 1 square inch = 6.4516 square centimetres&lt;br /&gt;
* 1 square foot = 0.092 903 04 square metres&lt;br /&gt;
* 1 square yard = 0.836 127 36 square metres&lt;br /&gt;
* 1 square mile = 2.589 988 110 336 square kilometres&lt;br /&gt;
&lt;br /&gt;
===Other units including historical===&lt;br /&gt;
There are several other common units for area.  The are was the original unit of area in the metric system, with:&lt;br /&gt;
* 1 are = 100 square metres&lt;br /&gt;
Though the are has fallen out of use, the hectare is still commonly used to measure land:&lt;br /&gt;
* 1 hectare = 100 ares = 10,000 square metres = 0.01 square kilometres&lt;br /&gt;
Other uncommon metric units of area include the tetrad, the hectad, and the myriad.&lt;br /&gt;
&lt;br /&gt;
The acre is also commonly used to measure land areas, where&lt;br /&gt;
* 1 acre = 4,840 square yards = 43,560 square feet.&lt;br /&gt;
An acre is approximately 40% of a hectare.&lt;br /&gt;
&lt;br /&gt;
On the atomic scale, area is measured in units of barns, such that:&lt;br /&gt;
* 1 barn = 10&amp;lt;sup&amp;gt;−28&amp;lt;/sup&amp;gt; square meters.&lt;br /&gt;
The barn is commonly used in describing the cross-sectional area of interaction in nuclear physics.&lt;br /&gt;
&lt;br /&gt;
In India,&lt;br /&gt;
* 20 dhurki = 1 dhur&lt;br /&gt;
* 20 dhur = 1 khatha&lt;br /&gt;
* 20 khata = 1 bigha&lt;br /&gt;
* 32 khata = 1 acre&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [https://mathbitsnotebook.com/Geometry/CoordinateGeometry/CGArea.html Area and Perimeter on a Grid, MathBitsNotebook]&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Area Area, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Measurement_(AREA)&amp;diff=4670</id>
		<title>Measurement (AREA)</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Measurement_(AREA)&amp;diff=4670"/>
		<updated>2022-02-06T17:57:34Z</updated>

		<summary type="html">&lt;p&gt;Khanh: Created page with &amp;quot;The combined area of these three shapes is approximately 15.57 squares.  '''Area''' is the quantity that expres...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Area.svg|right|thumb|alt=Three shapes on a square grid|The combined area of these three shapes is approximately 15.57 squares.]]&lt;br /&gt;
&lt;br /&gt;
'''Area''' is the quantity that expresses the extent of a two-dimensional region, shape, or planar lamina, in the plane. Surface area is its analog on the two-dimensional surface of a  three-dimensional object. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat. It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).&lt;br /&gt;
&lt;br /&gt;
The area of a shape can be measured by comparing the shape to squares of a fixed size. In the International System of Units (SI), the standard unit of area is the square metre (written as m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), which is the area of a square whose sides are one metre long.  A shape with an area of three square metres would have the same area as three such squares.  In mathematics, the unit square is defined to have area one, and the area of any other shape or surface is a dimensionless real number.&lt;br /&gt;
[[File:Squaring the circle.svg|right|thumb|This square and this disk both have the same area (see: squaring the circle).]]&lt;br /&gt;
&lt;br /&gt;
There are several well-known formulas for the areas of simple shapes such as triangles, rectangles, and circles.  Using these formulas, the area of any polygon can be found by dividing the polygon into triangles. For shapes with curved boundary, calculus is usually required to compute the area.  Indeed, the problem of determining the area of plane figures was a major motivation for the historical development of calculus.&lt;br /&gt;
&lt;br /&gt;
For a solid shape such as a sphere, cone, or cylinder, the area of its boundary surface is called the surface area. Formulas for the surface areas of simple shapes were computed by the ancient Greeks, but computing the surface area of a more complicated shape usually requires multivariable calculus.&lt;br /&gt;
&lt;br /&gt;
Area plays an important role in modern mathematics.  In addition to its obvious importance in geometry and calculus, area is related to the definition of determinants in linear algebra, and is a basic property of surfaces in differential geometry. In analysis, the area of a subset of the plane is defined using Lebesgue measure, though not every subset is measurable. In general, area in higher mathematics is seen as a special case of volume for two-dimensional regions.&lt;br /&gt;
&lt;br /&gt;
Area can be defined through the use of axioms, defining it as a function of a collection of certain plane figures to the set of real numbers. It can be proved that such a function exists.&lt;br /&gt;
&lt;br /&gt;
==Formal definition==&lt;br /&gt;
An approach to defining what is meant by &amp;quot;area&amp;quot; is through axioms. &amp;quot;Area&amp;quot; can be defined as a function from a collection M of a special kinds of plane figures (termed measurable sets) to the set of real numbers, which satisfies the following properties:&lt;br /&gt;
* For all ''S'' in ''M'', ''a''(''S'') ≥ 0.&lt;br /&gt;
* If ''S'' and ''T'' are in ''M'' then so are ''S'' ∪ ''T'' and ''S'' ∩ ''T'', and also ''a''(''S''∪''T'') = ''a''(''S'') + ''a''(''T'') − ''a''(''S''∩''T'').&lt;br /&gt;
* If ''S'' and ''T'' are in ''M'' with ''S'' ⊆ ''T'' then ''T'' − ''S'' is in ''M'' and ''a''(''T''−''S'') = ''a''(''T'') − ''a''(''S'').&lt;br /&gt;
* If a set ''S'' is in ''M'' and ''S'' is congruent to ''T'' then ''T'' is also in ''M'' and ''a''(''S'') = ''a''(''T'').&lt;br /&gt;
* Every rectangle ''R'' is in ''M''. If the rectangle has length ''h'' and breadth ''k'' then ''a''(''R'') = ''hk''.&lt;br /&gt;
* Let ''Q'' be a set enclosed between two step regions ''S'' and ''T''. A step region is formed from a finite union of adjacent rectangles resting on a common base, i.e. ''S'' ⊆ ''Q'' ⊆ ''T''. If there is a unique number ''c'' such that ''a''(''S'') ≤ c ≤ ''a''(''T'') for all such step regions ''S'' and ''T'', then ''a''(''Q'') = ''c''.&lt;br /&gt;
&lt;br /&gt;
It can be proved that such an area function actually exists.&lt;br /&gt;
&lt;br /&gt;
==Units==&lt;br /&gt;
[[File:SquareMeterQuadrat.JPG|thumb|right|alt=A square made of PVC pipe on grass|A square metre quadrat made of PVC pipe.]]&lt;br /&gt;
Every unit of length has a corresponding unit of area, namely the area of a square with the given side length.  Thus areas can be measured in square metres (m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square centimetres (cm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square millimetres (mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square kilometres (km&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square feet (ft&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square yards (yd&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), square miles (mi&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), and so forth. Algebraically, these units can be thought of as the squares of the corresponding length units.&lt;br /&gt;
&lt;br /&gt;
The SI unit of area is the square metre, which is considered an SI derived unit.&lt;br /&gt;
&lt;br /&gt;
===Conversions===&lt;br /&gt;
[[File:Area conversion - square mm in a square cm.png|thumb|right|alt=A diagram showing the conversion factor between different areas|Although there are 10 mm in 1 cm, there are 100 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; in 1 cm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.]]&lt;br /&gt;
Calculation of the area of a square whose length and width are 1 metre would be:&lt;br /&gt;
&lt;br /&gt;
1 metre × 1 metre = 1&amp;amp;nbsp;m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so, a rectangle with different sides (say length of 3 metres and width of 2 metres) would have an area in square units that can be calculated as:&lt;br /&gt;
&lt;br /&gt;
3 metres × 2 metres = 6&amp;amp;nbsp;m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. This is equivalent to 6 million square millimetres. Other useful conversions are:&lt;br /&gt;
* 1 square kilometre = 1,000,000 square metres&lt;br /&gt;
* 1 square metre = 10,000 square centimetres = 1,000,000 square millimetres&lt;br /&gt;
* 1 square centimetre = 100 square millimetres.&lt;br /&gt;
&lt;br /&gt;
==== Non-metric units ====&lt;br /&gt;
In non-metric units, the conversion between two square units is the square of the conversion between the corresponding length units.&lt;br /&gt;
:1 foot = 12 inches,&lt;br /&gt;
the relationship between square feet and square inches is&lt;br /&gt;
:1 square foot = 144 square inches,&lt;br /&gt;
where 144 = 12&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 12 × 12.  Similarly:&lt;br /&gt;
* 1 square yard = 9 square feet&lt;br /&gt;
* 1 square mile = 3,097,600 square yards = 27,878,400 square feet&lt;br /&gt;
In addition, conversion factors include:&lt;br /&gt;
* 1 square inch = 6.4516 square centimetres&lt;br /&gt;
* 1 square foot = 0.092 903 04 square metres&lt;br /&gt;
* 1 square yard = 0.836 127 36 square metres&lt;br /&gt;
* 1 square mile = 2.589 988 110 336 square kilometres&lt;br /&gt;
&lt;br /&gt;
===Other units including historical===&lt;br /&gt;
There are several other common units for area.  The are was the original unit of area in the metric system, with:&lt;br /&gt;
* 1 are = 100 square metres&lt;br /&gt;
Though the are has fallen out of use, the hectare is still commonly used to measure land:&lt;br /&gt;
* 1 hectare = 100 ares = 10,000 square metres = 0.01 square kilometres&lt;br /&gt;
Other uncommon metric units of area include the tetrad, the hectad, and the myriad.&lt;br /&gt;
&lt;br /&gt;
The acre is also commonly used to measure land areas, where&lt;br /&gt;
* 1 acre = 4,840 square yards = 43,560 square feet.&lt;br /&gt;
An acre is approximately 40% of a hectare.&lt;br /&gt;
&lt;br /&gt;
On the atomic scale, area is measured in units of barns, such that:&lt;br /&gt;
* 1 barn = 10&amp;lt;sup&amp;gt;−28&amp;lt;/sup&amp;gt; square meters.&lt;br /&gt;
The barn is commonly used in describing the cross-sectional area of interaction in nuclear physics.&lt;br /&gt;
&lt;br /&gt;
In India,&lt;br /&gt;
* 20 dhurki = 1 dhur&lt;br /&gt;
* 20 dhur = 1 khatha&lt;br /&gt;
* 20 khata = 1 bigha&lt;br /&gt;
* 32 khata = 1 acre&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* [https://mathbitsnotebook.com/Geometry/CoordinateGeometry/CGArea.html Area and Perimeter on a Grid, MathBitsNotebook]&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Area Area, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Mathematical_%26_Statistical_Reasoning&amp;diff=4669</id>
		<title>Mathematical &amp; Statistical Reasoning</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Mathematical_%26_Statistical_Reasoning&amp;diff=4669"/>
		<updated>2022-02-06T03:53:40Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Models and assumptions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Statistical inference''' is the process of using data analysis to infer properties of an underlying distribution of probability. '''Inferential statistical analysis''' infers properties of a population, for example by '''testing hypotheses''' and deriving estimates.  It is assumed that the observed data set is sampled from a larger population.&lt;br /&gt;
&lt;br /&gt;
'''Inferential statistics''' can be contrasted with descriptive statistics. Descriptive statistics is solely concerned with properties of the observed data, and it does not rest on the assumption that the data come from a larger population. In machine learning, the term ''inference'' is sometimes used instead to mean &amp;quot;make a prediction, by evaluating an already trained model&amp;quot;; in this context inferring properties of the model is referred to as ''training'' or ''learning'' (rather than ''inference''), and using a model for prediction is referred to as ''inference'' (instead of ''prediction''); see also predictive inference.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Statistical inference makes propositions about a population, using data drawn from the population with some form of sampling. Given a hypothesis about a population, for which we wish to draw inferences, statistical inference consists of (first) selecting a statistical model of the process that generates the data and (second) deducing propositions from the model.&lt;br /&gt;
&lt;br /&gt;
Konishi &amp;amp; Kitagawa state, &amp;quot;The majority of the problems in statistical inference can be considered to be problems related to statistical modeling&amp;quot;. Relatedly, Sir David Cox has said, &amp;quot;How [the] translation from subject-matter problem to statistical model is done is often the most critical part of an analysis&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The conclusion of a statistical inference is a statistical proposition. Some common forms of statistical proposition are the following:&lt;br /&gt;
* a point estimate, i.e. a particular value that best approximates some parameter of interest; &lt;br /&gt;
* an interval estimate, e.g. a confidence interval (or set estimate), i.e. an interval constructed using a dataset drawn from a population so that, under repeated sampling of such datasets, such intervals would contain the true parameter value with the probability at the stated confidence level;&lt;br /&gt;
* a credible interval, i.e. a set of values containing, for example, 95% of posterior belief;&lt;br /&gt;
* rejection of a hypothesis;&lt;br /&gt;
* clustering or classification of data points into groups.&lt;br /&gt;
&lt;br /&gt;
== Models and assumptions ==&lt;br /&gt;
&lt;br /&gt;
Any statistical inference requires some assumptions. A '''statistical model''' is a set of assumptions concerning the generation of the observed data and similar data. Descriptions of statistical models usually emphasize the role of population quantities of interest, about which we wish to draw inference. Descriptive statistics are typically used as a preliminary step before more formal inferences are drawn.&lt;br /&gt;
&lt;br /&gt;
=== Degree of models/assumptions ===&lt;br /&gt;
Statisticians distinguish between three levels of modeling assumptions;&lt;br /&gt;
* '''Fully parametric''': The probability distributions describing the data-generation process are assumed to be fully described by a family of probability distributions involving only a finite number of unknown parameters. For example, one may assume that the distribution of population values is truly Normal, with unknown mean and variance, and that datasets are generated by 'simple' random sampling. The family of generalized linear models is a widely used and flexible class of parametric models.&lt;br /&gt;
* '''Non-parametric''': The assumptions made about the process generating the data are much less than in parametric statistics and may be minimal. For example, every continuous probability distribution has a median, which may be estimated using the sample median or the Hodges–Lehmann–Sen estimator, which has good properties when the data arise from simple random sampling.&lt;br /&gt;
* '''Semi-parametric''': This term typically implies assumptions 'in between' fully and non-parametric approaches. For example, one may assume that a population distribution has a finite mean. Furthermore, one may assume that the mean response level in the population depends in a truly linear manner on some covariate (a parametric assumption) but not make any parametric assumption describing the variance around that mean (i.e. about the presence or possible form of any heteroscedasticity). More generally, semi-parametric models can often be separated into 'structural' and 'random variation' components. One component is treated parametrically and the other non-parametrically. The well-known Cox model is a set of semi-parametric assumptions.&lt;br /&gt;
&lt;br /&gt;
=== Importance of valid models/assumptions ===&lt;br /&gt;
&lt;br /&gt;
Whatever level of assumption is made, correctly calibrated inference, in general, requires these assumptions to be correct; i.e. that the data-generating mechanisms really have been correctly specified.&lt;br /&gt;
&lt;br /&gt;
Incorrect assumptions of ' simple' random sampling can invalidate statistical inference. More complex semi- and fully parametric assumptions are also cause for concern. For example, incorrectly assuming the Cox model can in some cases lead to faulty conclusions. Incorrect assumptions of Normality in the population also invalidates some forms of regression-based inference. The use of '''any''' parametric model is viewed skeptically by most experts in sampling human populations:  &amp;quot;most sampling statisticians, when they deal with confidence intervals at all, limit themselves to statements about [estimators] based on very large samples, where the central limit theorem ensures that these [estimators] will have distributions that are nearly normal.&amp;quot; In particular, a normal distribution &amp;quot;would be a totally unrealistic and catastrophically unwise assumption to make if we were dealing with any kind of economic population.&amp;quot; Here, the central limit theorem states that the distribution of the sample mean &amp;quot;for very large samples&amp;quot; is approximately normally distributed, if the distribution is not heavy-tailed.&lt;br /&gt;
&lt;br /&gt;
====Approximate distributions====&lt;br /&gt;
&lt;br /&gt;
Given the difficulty in specifying exact distributions of sample statistics, many methods have been developed for approximating these.&lt;br /&gt;
&lt;br /&gt;
With finite samples, approximation results measure how close a limiting distribution approaches the statistic's sample distribution: For example, with 10,000 independent samples the normal distribution approximates (to two digits of accuracy) the distribution of the sample mean for many population distributions, by the Berry–Esseen theorem.&lt;br /&gt;
Yet for many practical purposes, the normal approximation provides a good approximation to the sample-mean's distribution when there are 10 (or more) independent samples, according to simulation studies and statisticians' experience. Following Kolmogorov's work in the 1950s, advanced statistics uses approximation theory and functional analysis to quantify the error of approximation. In this approach, the metric geometry of probability distributions is studied; this approach quantifies approximation error with, for example, the Kullback–Leibler divergence, Bregman divergence, and the Hellinger distance.&lt;br /&gt;
&lt;br /&gt;
With indefinitely large samples, limiting results like the central limit theorem describe the sample statistic's limiting distribution if one exists. Limiting results are not statements about finite samples, and indeed are irrelevant to finite samples. However, the asymptotic theory of limiting distributions is often invoked for work with finite samples. For example, limiting results are often invoked to justify the generalized method of moments and the use of generalized estimating equations, which are popular in econometrics and biostatistics. The magnitude of the difference between the limiting distribution and the true distribution (formally, the 'error' of the approximation) can be assessed using simulation. The heuristic application of limiting results to finite samples is common practice in many applications, especially with low-dimensional models with log-concave likelihoods (such as with one-parameter exponential families).&lt;br /&gt;
&lt;br /&gt;
===Randomization-based models===&lt;br /&gt;
&lt;br /&gt;
For a given dataset that was produced by a randomization design, the randomization distribution of a statistic (under the null-hypothesis) is defined by evaluating the test statistic for all of the plans that could have been generated by the randomization design. In frequentist inference, the randomization allows inferences to be based on the randomization distribution rather than a subjective model, and this is important especially in survey sampling and design of experiments. Statistical inference from randomized studies is also more straightforward than many other situations. In Bayesian inference, randomization is also of importance: in survey sampling, use of sampling without replacement ensures the exchangeability of the sample with the population; in randomized experiments, randomization warrants a missing at random assumption for covariate information.&lt;br /&gt;
&lt;br /&gt;
Objective randomization allows properly inductive procedures. Many statisticians prefer randomization-based analysis of data that was generated by well-defined randomization procedures. (However, it is true that in fields of science with developed theoretical knowledge and experimental control, randomized experiments may increase the costs of experimentation without improving the quality of inferences.)&lt;br /&gt;
Similarly, results from randomized experiments are recommended by leading statistical authorities as allowing inferences with greater reliability than do observational studies of the same phenomena. However, a good observational study may be better than a bad randomized experiment.&lt;br /&gt;
&lt;br /&gt;
The statistical analysis of a randomized experiment may be based on the randomization scheme stated in the experimental protocol and does not need a subjective model.&lt;br /&gt;
&lt;br /&gt;
However, at any time, some hypotheses cannot be tested using objective statistical models, which accurately describe randomized experiments or random samples. In some cases, such randomized studies are uneconomical or unethical.&lt;br /&gt;
&lt;br /&gt;
==== Model-based analysis of randomized experiments ====&lt;br /&gt;
It is standard practice to refer to a statistical model, e.g., a linear or logistic models, when analyzing data from randomized experiments. However, the randomization scheme guides the choice of a statistical model. It is not possible to choose an appropriate model without knowing the randomization scheme. Seriously misleading results can be obtained analyzing data from randomized experiments while ignoring the experimental protocol; common mistakes include forgetting the blocking used in an experiment and confusing repeated measurements on the same experimental unit with independent replicates of the treatment applied to different experimental units.&lt;br /&gt;
&lt;br /&gt;
==== Model-free randomization inference ====&lt;br /&gt;
Model-free techniques provide a complement to model-based methods, which employ reductionist strategies of reality-simplification. The former combine, evolve, ensemble and train algorithms dynamically adapting to the contextual affinities of a process and learning the intrinsic characteristics of the observations.&lt;br /&gt;
&lt;br /&gt;
For example, model-free simple linear regression is based either on &lt;br /&gt;
* a ''random design'', where the pairs of observations &amp;lt;math&amp;gt;(X_1,Y_1), (X_2,Y_2), \cdots , (X_n,Y_n)&amp;lt;/math&amp;gt; are independent and identically distributed (iid), or&lt;br /&gt;
* a ''deterministic design'', where the variables &amp;lt;math&amp;gt;X_1, X_2, \cdots, X_n&amp;lt;/math&amp;gt; are deterministic, but the corresponding response variables &amp;lt;math&amp;gt;Y_1,Y_2, \cdots, Y_n&amp;lt;/math&amp;gt; are random and independent with a common conditional distribution, i.e., &amp;lt;math&amp;gt;P\left (Y_j \leq y | X_j =x\right ) = D_x(y)&amp;lt;/math&amp;gt;, which is independent of the index &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In either case, the model-free randomization inference for features of the common conditional distribution &amp;lt;math&amp;gt;D_x(.)&amp;lt;/math&amp;gt; relies on some regularity conditions, e.g. functional smoothness. For instance, model-free randomization inference for the population feature ''conditional mean'', &amp;lt;math&amp;gt;\mu(x)=E(Y | X = x)&amp;lt;/math&amp;gt;, can be consistently estimated via local averaging or local polynomial fitting, under the assumption that &amp;lt;math&amp;gt;\mu(x)&amp;lt;/math&amp;gt; is smooth. Also, relying on asymptotic normality or resampling, we can construct confidence intervals for the population feature, in this case, the ''conditional mean'', &amp;lt;math&amp;gt;\mu(x)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Paradigms for inference ==&lt;br /&gt;
Different schools of statistical inference have become established. These schools&amp;amp;mdash;or &amp;quot;paradigms&amp;quot;&amp;amp;mdash;are not mutually exclusive, and methods that work well under one paradigm often have attractive interpretations under other paradigms.&lt;br /&gt;
&lt;br /&gt;
Bandyopadhyay &amp;amp; Forster  describe four paradigms: &amp;quot;(i) classical statistics or error statistics, (ii) Bayesian statistics, (iii) likelihood-based statistics, and (iv) the Akaikean-Information Criterion-based statistics&amp;quot;.  The classical (or frequentist) paradigm, the Bayesian paradigm, the likelihoodist paradigm, and the AIC-based paradigm are summarized below.&lt;br /&gt;
&lt;br /&gt;
=== Frequentist inference ===&lt;br /&gt;
&lt;br /&gt;
This paradigm calibrates the plausibility of propositions by considering (notional) repeated sampling of a population distribution to produce datasets similar to the one at hand. By considering the dataset's characteristics under repeated sampling, the frequentist properties of a statistical proposition can be quantified—although in practice this quantification may be challenging.&lt;br /&gt;
&lt;br /&gt;
==== Examples of frequentist inference ====&lt;br /&gt;
* ''p''-value&lt;br /&gt;
* Confidence interval&lt;br /&gt;
* Null hypothesis significance testing&lt;br /&gt;
&lt;br /&gt;
==== Frequentist inference, objectivity, and decision theory ====&lt;br /&gt;
One interpretation of frequentist inference (or classical inference) is that it is applicable only in terms of frequency probability; that is, in terms of repeated sampling from a population. However, the approach of Neyman develops these procedures in terms of pre-experiment probabilities. That is, before undertaking an experiment, one decides on a rule for coming to a conclusion such that the probability of being correct is controlled in a suitable way: such a probability need not have a frequentist or repeated sampling interpretation. In contrast, Bayesian inference works in terms of conditional probabilities (i.e. probabilities conditional on the observed data), compared to the marginal (but conditioned on unknown parameters) probabilities used in the frequentist approach.&lt;br /&gt;
&lt;br /&gt;
The frequentist procedures of significance testing and confidence intervals can be constructed without regard to utility functions. However, some elements of frequentist statistics, such as statistical decision theory, do incorporate utility functions. In particular, frequentist developments of optimal inference (such as minimum-variance unbiased estimators, or uniformly most powerful testing) make use of loss functions, which play the role of (negative) utility functions. Loss functions need not be explicitly stated for statistical theorists to prove that a statistical procedure has an optimality property. However, loss-functions are often useful for stating optimality properties: for example, median-unbiased estimators are optimal under absolute value loss functions, in that they minimize expected loss, and least squares estimators are optimal under squared error loss functions, in that they minimize expected loss.&lt;br /&gt;
&lt;br /&gt;
While statisticians using frequentist inference must choose for themselves the parameters of interest, and the estimators/test statistic to be used, the absence of obviously explicit utilities and prior distributions has helped frequentist procedures to become widely viewed as 'objective'.&lt;br /&gt;
&lt;br /&gt;
===Bayesian inference===&lt;br /&gt;
&lt;br /&gt;
The Bayesian calculus describes degrees of belief using the 'language' of probability; beliefs are positive, integrate into one, and obey probability axioms. Bayesian inference uses the available posterior beliefs as the basis for making statistical propositions. There are several different justifications for using the Bayesian approach.&lt;br /&gt;
&lt;br /&gt;
====Examples of Bayesian inference====&lt;br /&gt;
&lt;br /&gt;
* Credible interval for interval estimation&lt;br /&gt;
* Bayes factors for model comparison&lt;br /&gt;
&lt;br /&gt;
====Bayesian inference, subjectivity and decision theory====&lt;br /&gt;
&lt;br /&gt;
Many informal Bayesian inferences are based on &amp;quot;intuitively reasonable&amp;quot; summaries of the posterior. For example, the posterior mean, median and mode, highest posterior density intervals, and Bayes Factors can all be motivated in this way. While a user's utility function need not be stated for this sort of inference, these summaries do all depend (to some extent) on stated prior beliefs, and are generally viewed as subjective conclusions. (Methods of prior construction which do not require external input have been proposed but not yet fully developed.)&lt;br /&gt;
&lt;br /&gt;
Formally, Bayesian inference is calibrated with reference to an explicitly stated utility, or loss function; the 'Bayes rule' is the one which maximizes expected utility, averaged over the posterior uncertainty. Formal Bayesian inference therefore automatically provides optimal decisions in a decision theoretic sense. Given assumptions, data and utility, Bayesian inference can be made for essentially any problem, although not every statistical inference need have a Bayesian interpretation. Analyses which are not formally Bayesian can be (logically) incoherent; a feature of Bayesian procedures which use proper priors (i.e. those integrable to one) is that they are guaranteed to be coherent. Some advocates of Bayesian inference assert that inference ''must'' take place in this decision-theoretic framework, and that Bayesian inference should not conclude with the evaluation and summarization of posterior beliefs.&lt;br /&gt;
&lt;br /&gt;
===Likelihood-based inference===&lt;br /&gt;
&lt;br /&gt;
Likelihoodism approaches statistics by using the likelihood function. Some likelihoodists reject inference, considering statistics as only computing support from evidence. Others, however, propose inference based on the likelihood function, of which the best-known is maximum likelihood estimation.&lt;br /&gt;
&lt;br /&gt;
===AIC-based inference===&lt;br /&gt;
&lt;br /&gt;
The ''Akaike information criterion'' (AIC) is an estimator of the relative quality of statistical models for a given set of data. Given a collection of models for the data, AIC estimates the quality of each model, relative to each of the other models. Thus, AIC provides a means for model selection.&lt;br /&gt;
&lt;br /&gt;
AIC is founded on information theory: it offers an estimate of the relative information lost when a given model is used to represent the process that generated the data. (In doing so, it deals with the trade-off between the goodness of fit of the model and the simplicity of the model.)&lt;br /&gt;
&lt;br /&gt;
===Other paradigms for inference===&lt;br /&gt;
&lt;br /&gt;
====Minimum description length====&lt;br /&gt;
&lt;br /&gt;
The minimum description length (MDL) principle has been developed from ideas in information theory and the theory of Kolmogorov complexity. The (MDL) principle selects statistical models that maximally compress the data; inference proceeds without assuming counterfactual or non-falsifiable &amp;quot;data-generating mechanisms&amp;quot; or probability models for the data, as might be done in frequentist or Bayesian approaches.&lt;br /&gt;
&lt;br /&gt;
However, if a &amp;quot;data generating mechanism&amp;quot; does exist in reality, then according to Shannon's source coding theorem it provides the MDL description of the data, on average and asymptotically. In minimizing description length (or descriptive complexity), MDL estimation is similar to maximum likelihood estimation and maximum a posteriori estimation (using maximum-entropy Bayesian priors). However, MDL avoids assuming that the underlying probability model is known; the MDL principle can also be applied without assumptions that e.g. the data arose from independent sampling.&lt;br /&gt;
&lt;br /&gt;
The MDL principle has been applied in communication-coding theory in information theory, in linear regression, and in data mining.&lt;br /&gt;
&lt;br /&gt;
The evaluation of MDL-based inferential procedures often uses techniques or criteria from computational complexity theory.&lt;br /&gt;
&lt;br /&gt;
====Fiducial inference====&lt;br /&gt;
Fiducial inference was an approach to statistical inference based on fiducial probability, also known as a &amp;quot;fiducial distribution&amp;quot;. In subsequent work, this approach has been called ill-defined, extremely limited in applicability,  and even fallacious. However this argument is the same as that which shows that a so-called confidence distribution is not a valid probability distribution and, since this has not invalidated the application of confidence intervals, it does not necessarily invalidate conclusions drawn from fiducial arguments. An attempt was made to reinterpret the early work of Fisher's fiducial argument as a special case of an inference theory using Upper and lower probabilities.&lt;br /&gt;
&lt;br /&gt;
====Structural inference====&lt;br /&gt;
&lt;br /&gt;
Developing ideas of Fisher and of Pitman from 1938 to 1939, George A. Barnard developed &amp;quot;structural inference&amp;quot; or &amp;quot;pivotal inference&amp;quot;, an approach using invariant probabilities on group families. Barnard reformulated the arguments behind fiducial inference on a restricted class of models on which &amp;quot;fiducial&amp;quot; procedures would be well-defined and useful. Donald A. S. Fraser developed a general theory for structural inference based on group theory and applied this to linear models. The theory formulated by Fraser has close links to decision theory and Bayesian statistics and can provide optimal frequentist decision rules if they exist.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Statistical_inference Statistical inference, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Mathematical_%26_Statistical_Reasoning&amp;diff=4668</id>
		<title>Mathematical &amp; Statistical Reasoning</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Mathematical_%26_Statistical_Reasoning&amp;diff=4668"/>
		<updated>2022-02-06T03:48:44Z</updated>

		<summary type="html">&lt;p&gt;Khanh: Created page with &amp;quot;'''Statistical inference''' is the process of using data analysis to infer properties of an underlying distribution of probability. '''Inferential statistical analysis''' infe...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Statistical inference''' is the process of using data analysis to infer properties of an underlying distribution of probability. '''Inferential statistical analysis''' infers properties of a population, for example by '''testing hypotheses''' and deriving estimates.  It is assumed that the observed data set is sampled from a larger population.&lt;br /&gt;
&lt;br /&gt;
'''Inferential statistics''' can be contrasted with descriptive statistics. Descriptive statistics is solely concerned with properties of the observed data, and it does not rest on the assumption that the data come from a larger population. In machine learning, the term ''inference'' is sometimes used instead to mean &amp;quot;make a prediction, by evaluating an already trained model&amp;quot;; in this context inferring properties of the model is referred to as ''training'' or ''learning'' (rather than ''inference''), and using a model for prediction is referred to as ''inference'' (instead of ''prediction''); see also predictive inference.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Statistical inference makes propositions about a population, using data drawn from the population with some form of sampling. Given a hypothesis about a population, for which we wish to draw inferences, statistical inference consists of (first) selecting a statistical model of the process that generates the data and (second) deducing propositions from the model.&lt;br /&gt;
&lt;br /&gt;
Konishi &amp;amp; Kitagawa state, &amp;quot;The majority of the problems in statistical inference can be considered to be problems related to statistical modeling&amp;quot;. Relatedly, Sir David Cox has said, &amp;quot;How [the] translation from subject-matter problem to statistical model is done is often the most critical part of an analysis&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The conclusion of a statistical inference is a statistical proposition. Some common forms of statistical proposition are the following:&lt;br /&gt;
* a point estimate, i.e. a particular value that best approximates some parameter of interest; &lt;br /&gt;
* an interval estimate, e.g. a confidence interval (or set estimate), i.e. an interval constructed using a dataset drawn from a population so that, under repeated sampling of such datasets, such intervals would contain the true parameter value with the probability at the stated confidence level;&lt;br /&gt;
* a credible interval, i.e. a set of values containing, for example, 95% of posterior belief;&lt;br /&gt;
* rejection of a hypothesis;&lt;br /&gt;
* clustering or classification of data points into groups.&lt;br /&gt;
&lt;br /&gt;
== Models and assumptions ==&lt;br /&gt;
&lt;br /&gt;
Any statistical inference requires some assumptions. A '''statistical model''' is a set of assumptions concerning the generation of the observed data and similar data. Descriptions of statistical models usually emphasize the role of population quantities of interest, about which we wish to draw inference. Descriptive statistics are typically used as a preliminary step before more formal inferences are drawn.&lt;br /&gt;
&lt;br /&gt;
=== Degree of models/assumptions ===&lt;br /&gt;
Statisticians distinguish between three levels of modeling assumptions;&lt;br /&gt;
* '''Fully parametric''': The probability distributions describing the data-generation process are assumed to be fully described by a family of probability distributions involving only a finite number of unknown parameters. For example, one may assume that the distribution of population values is truly Normal, with unknown mean and variance, and that datasets are generated by 'simple' random sampling. The family of generalized linear models is a widely used and flexible class of parametric models.&lt;br /&gt;
* '''Non-parametric''': The assumptions made about the process generating the data are much less than in parametric statistics and may be minimal. For example, every continuous probability distribution has a median, which may be estimated using the sample median or the Hodges–Lehmann–Sen estimator, which has good properties when the data arise from simple random sampling.&lt;br /&gt;
* '''Semi-parametric''': This term typically implies assumptions 'in between' fully and non-parametric approaches. For example, one may assume that a population distribution has a finite mean. Furthermore, one may assume that the mean response level in the population depends in a truly linear manner on some covariate (a parametric assumption) but not make any parametric assumption describing the variance around that mean (i.e. about the presence or possible form of any heteroscedasticity). More generally, semi-parametric models can often be separated into 'structural' and 'random variation' components. One component is treated parametrically and the other non-parametrically. The well-known Cox model is a set of semi-parametric assumptions.&lt;br /&gt;
&lt;br /&gt;
=== Importance of valid models/assumptions ===&lt;br /&gt;
&lt;br /&gt;
Whatever level of assumption is made, correctly calibrated inference, in general, requires these assumptions to be correct; i.e. that the data-generating mechanisms really have been correctly specified.&lt;br /&gt;
&lt;br /&gt;
Incorrect assumptions of ' simple' random sampling can invalidate statistical inference. More complex semi- and fully parametric assumptions are also cause for concern. For example, incorrectly assuming the Cox model can in some cases lead to faulty conclusions. Incorrect assumptions of Normality in the population also invalidates some forms of regression-based inference. The use of '''any''' parametric model is viewed skeptically by most experts in sampling human populations:  &amp;quot;most sampling statisticians, when they deal with confidence intervals at all, limit themselves to statements about [estimators] based on very large samples, where the central limit theorem ensures that these [estimators] will have distributions that are nearly normal.&amp;quot; In particular, a normal distribution &amp;quot;would be a totally unrealistic and catastrophically unwise assumption to make if we were dealing with any kind of economic population.&amp;quot; Here, the central limit theorem states that the distribution of the sample mean &amp;quot;for very large samples&amp;quot; is approximately normally distributed, if the distribution is not heavy-tailed.&lt;br /&gt;
&lt;br /&gt;
====Approximate distributions====&lt;br /&gt;
&lt;br /&gt;
Given the difficulty in specifying exact distributions of sample statistics, many methods have been developed for approximating these.&lt;br /&gt;
&lt;br /&gt;
With finite samples, approximation results measure how close a limiting distribution approaches the statistic's sample distribution: For example, with 10,000 independent samples the [[normal distribution]] approximates (to two digits of accuracy) the distribution of the [[sample mean]] for many population distributions, by the Berry–Esseen theorem.&lt;br /&gt;
Yet for many practical purposes, the normal approximation provides a good approximation to the sample-mean's distribution when there are 10 (or more) independent samples, according to simulation studies and statisticians' experience. Following Kolmogorov's work in the 1950s, advanced statistics uses [[approximation theory]] and [[functional analysis]] to quantify the error of approximation. In this approach, the [[metric geometry]] of [[probability distribution]]s is studied; this approach quantifies approximation error with, for example, the [[Kullback–Leibler divergence]], [[Bregman divergence]], and the [[Hellinger distance]].&lt;br /&gt;
&lt;br /&gt;
With indefinitely large samples, [[asymptotic theory (statistics)|limiting results]] like the [[central limit theorem]] describe the sample statistic's limiting distribution if one exists. Limiting results are not statements about finite samples, and indeed are irrelevant to finite samples. However, the asymptotic theory of limiting distributions is often invoked for work with finite samples. For example, limiting results are often invoked to justify the [[generalized method of moments]] and the use of [[generalized estimating equation]]s, which are popular in [[econometrics]] and [[biostatistics]]. The magnitude of the difference between the limiting distribution and the true distribution (formally, the 'error' of the approximation) can be assessed using simulation. The heuristic application of limiting results to finite samples is common practice in many applications, especially with low-dimensional [[statistical model|models]] with [[logarithmically concave function|log-concave]] [[likelihood function|likelihood]]s (such as with one-parameter [[exponential families]]).&lt;br /&gt;
&lt;br /&gt;
===Randomization-based models===&lt;br /&gt;
&lt;br /&gt;
For a given dataset that was produced by a randomization design, the randomization distribution of a statistic (under the null-hypothesis) is defined by evaluating the test statistic for all of the plans that could have been generated by the randomization design. In frequentist inference, the randomization allows inferences to be based on the randomization distribution rather than a subjective model, and this is important especially in survey sampling and design of experiments.&amp;lt;ref&amp;gt;[[Jerzy Neyman|Neyman, J.]](1934) &amp;quot;On the two different aspects of the representative method: The method of stratified sampling and the method of purposive selection&amp;quot;, ''[[Journal of the Royal Statistical Society]]'', 97 (4), 557&amp;amp;ndash;625 {{jstor|2342192}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hinkelmann and Kempthorne&amp;quot;&amp;gt;Hinkelmann and Kempthorne(2008) {{page needed|date=June 2011}}&amp;lt;/ref&amp;gt; Statistical inference from randomized studies is also more straightforward than many other situations.&amp;lt;ref&amp;gt;ASA Guidelines for the first course in statistics for non-statisticians. (available at the ASA website)&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[David A. Freedman]] et alia's ''Statistics''.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Moore et al. (2015).&amp;lt;/ref&amp;gt; In [[Bayesian inference]], randomization is also of importance: in [[survey sampling]], use of [[sampling without replacement]] ensures the [[exchangeability]] of the sample with the population; in randomized experiments, randomization warrants a [[missing at random]] assumption for [[covariate]] information.&lt;br /&gt;
&lt;br /&gt;
Objective randomization allows properly inductive procedures. Many statisticians prefer randomization-based analysis of data that was generated by well-defined randomization procedures. (However, it is true that in fields of science with developed theoretical knowledge and experimental control, randomized experiments may increase the costs of experimentation without improving the quality of inferences.)&lt;br /&gt;
Similarly, results from randomized experiments are recommended by leading statistical authorities as allowing inferences with greater reliability than do observational studies of the same phenomena. However, a good observational study may be better than a bad randomized experiment.&lt;br /&gt;
&lt;br /&gt;
The statistical analysis of a randomized experiment may be based on the randomization scheme stated in the experimental protocol and does not need a subjective model.&lt;br /&gt;
&lt;br /&gt;
However, at any time, some hypotheses cannot be tested using objective statistical models, which accurately describe randomized experiments or random samples. In some cases, such randomized studies are uneconomical or unethical.&lt;br /&gt;
&lt;br /&gt;
==== Model-based analysis of randomized experiments ====&lt;br /&gt;
It is standard practice to refer to a statistical model, e.g., a linear or logistic models, when analyzing data from randomized experiments. However, the randomization scheme guides the choice of a statistical model. It is not possible to choose an appropriate model without knowing the randomization scheme. Seriously misleading results can be obtained analyzing data from randomized experiments while ignoring the experimental protocol; common mistakes include forgetting the blocking used in an experiment and confusing repeated measurements on the same experimental unit with independent replicates of the treatment applied to different experimental units.&lt;br /&gt;
&lt;br /&gt;
==== Model-free randomization inference ====&lt;br /&gt;
Model-free techniques provide a complement to model-based methods, which employ reductionist strategies of reality-simplification. The former combine, evolve, ensemble and train algorithms dynamically adapting to the contextual affinities of a process and learning the intrinsic characteristics of the observations.&lt;br /&gt;
&lt;br /&gt;
For example, model-free simple linear regression is based either on &lt;br /&gt;
* a ''random design'', where the pairs of observations &amp;lt;math&amp;gt;(X_1,Y_1), (X_2,Y_2), \cdots , (X_n,Y_n)&amp;lt;/math&amp;gt; are independent and identically distributed (iid), or&lt;br /&gt;
* a ''deterministic design'', where the variables &amp;lt;math&amp;gt;X_1, X_2, \cdots, X_n&amp;lt;/math&amp;gt; are deterministic, but the corresponding response variables &amp;lt;math&amp;gt;Y_1,Y_2, \cdots, Y_n&amp;lt;/math&amp;gt; are random and independent with a common conditional distribution, i.e., &amp;lt;math&amp;gt;P\left (Y_j \leq y | X_j =x\right ) = D_x(y)&amp;lt;/math&amp;gt;, which is independent of the index &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In either case, the model-free randomization inference for features of the common conditional distribution &amp;lt;math&amp;gt;D_x(.)&amp;lt;/math&amp;gt; relies on some regularity conditions, e.g. functional smoothness. For instance, model-free randomization inference for the population feature ''conditional mean'', &amp;lt;math&amp;gt;\mu(x)=E(Y | X = x)&amp;lt;/math&amp;gt;, can be consistently estimated via local averaging or local polynomial fitting, under the assumption that &amp;lt;math&amp;gt;\mu(x)&amp;lt;/math&amp;gt; is smooth. Also, relying on asymptotic normality or resampling, we can construct confidence intervals for the population feature, in this case, the ''conditional mean'', &amp;lt;math&amp;gt;\mu(x)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Paradigms for inference ==&lt;br /&gt;
Different schools of statistical inference have become established. These schools&amp;amp;mdash;or &amp;quot;paradigms&amp;quot;&amp;amp;mdash;are not mutually exclusive, and methods that work well under one paradigm often have attractive interpretations under other paradigms.&lt;br /&gt;
&lt;br /&gt;
Bandyopadhyay &amp;amp; Forster  describe four paradigms: &amp;quot;(i) classical statistics or error statistics, (ii) Bayesian statistics, (iii) likelihood-based statistics, and (iv) the Akaikean-Information Criterion-based statistics&amp;quot;.  The classical (or frequentist) paradigm, the Bayesian paradigm, the likelihoodist paradigm, and the AIC-based paradigm are summarized below.&lt;br /&gt;
&lt;br /&gt;
=== Frequentist inference ===&lt;br /&gt;
&lt;br /&gt;
This paradigm calibrates the plausibility of propositions by considering (notional) repeated sampling of a population distribution to produce datasets similar to the one at hand. By considering the dataset's characteristics under repeated sampling, the frequentist properties of a statistical proposition can be quantified—although in practice this quantification may be challenging.&lt;br /&gt;
&lt;br /&gt;
==== Examples of frequentist inference ====&lt;br /&gt;
* ''p''-value&lt;br /&gt;
* Confidence interval&lt;br /&gt;
* Null hypothesis significance testing&lt;br /&gt;
&lt;br /&gt;
==== Frequentist inference, objectivity, and decision theory ====&lt;br /&gt;
One interpretation of frequentist inference (or classical inference) is that it is applicable only in terms of frequency probability; that is, in terms of repeated sampling from a population. However, the approach of Neyman develops these procedures in terms of pre-experiment probabilities. That is, before undertaking an experiment, one decides on a rule for coming to a conclusion such that the probability of being correct is controlled in a suitable way: such a probability need not have a frequentist or repeated sampling interpretation. In contrast, Bayesian inference works in terms of conditional probabilities (i.e. probabilities conditional on the observed data), compared to the marginal (but conditioned on unknown parameters) probabilities used in the frequentist approach.&lt;br /&gt;
&lt;br /&gt;
The frequentist procedures of significance testing and confidence intervals can be constructed without regard to utility functions. However, some elements of frequentist statistics, such as statistical decision theory, do incorporate utility functions. In particular, frequentist developments of optimal inference (such as minimum-variance unbiased estimators, or uniformly most powerful testing) make use of loss functions, which play the role of (negative) utility functions. Loss functions need not be explicitly stated for statistical theorists to prove that a statistical procedure has an optimality property. However, loss-functions are often useful for stating optimality properties: for example, median-unbiased estimators are optimal under absolute value loss functions, in that they minimize expected loss, and least squares estimators are optimal under squared error loss functions, in that they minimize expected loss.&lt;br /&gt;
&lt;br /&gt;
While statisticians using frequentist inference must choose for themselves the parameters of interest, and the estimators/test statistic to be used, the absence of obviously explicit utilities and prior distributions has helped frequentist procedures to become widely viewed as 'objective'.&lt;br /&gt;
&lt;br /&gt;
===Bayesian inference===&lt;br /&gt;
&lt;br /&gt;
The Bayesian calculus describes degrees of belief using the 'language' of probability; beliefs are positive, integrate into one, and obey probability axioms. Bayesian inference uses the available posterior beliefs as the basis for making statistical propositions. There are several different justifications for using the Bayesian approach.&lt;br /&gt;
&lt;br /&gt;
====Examples of Bayesian inference====&lt;br /&gt;
&lt;br /&gt;
* Credible interval for interval estimation&lt;br /&gt;
* Bayes factors for model comparison&lt;br /&gt;
&lt;br /&gt;
====Bayesian inference, subjectivity and decision theory====&lt;br /&gt;
&lt;br /&gt;
Many informal Bayesian inferences are based on &amp;quot;intuitively reasonable&amp;quot; summaries of the posterior. For example, the posterior mean, median and mode, highest posterior density intervals, and Bayes Factors can all be motivated in this way. While a user's utility function need not be stated for this sort of inference, these summaries do all depend (to some extent) on stated prior beliefs, and are generally viewed as subjective conclusions. (Methods of prior construction which do not require external input have been proposed but not yet fully developed.)&lt;br /&gt;
&lt;br /&gt;
Formally, Bayesian inference is calibrated with reference to an explicitly stated utility, or loss function; the 'Bayes rule' is the one which maximizes expected utility, averaged over the posterior uncertainty. Formal Bayesian inference therefore automatically provides optimal decisions in a decision theoretic sense. Given assumptions, data and utility, Bayesian inference can be made for essentially any problem, although not every statistical inference need have a Bayesian interpretation. Analyses which are not formally Bayesian can be (logically) incoherent; a feature of Bayesian procedures which use proper priors (i.e. those integrable to one) is that they are guaranteed to be coherent. Some advocates of Bayesian inference assert that inference ''must'' take place in this decision-theoretic framework, and that Bayesian inference should not conclude with the evaluation and summarization of posterior beliefs.&lt;br /&gt;
&lt;br /&gt;
===Likelihood-based inference===&lt;br /&gt;
&lt;br /&gt;
Likelihoodism approaches statistics by using the likelihood function. Some likelihoodists reject inference, considering statistics as only computing support from evidence. Others, however, propose inference based on the likelihood function, of which the best-known is maximum likelihood estimation.&lt;br /&gt;
&lt;br /&gt;
===AIC-based inference===&lt;br /&gt;
&lt;br /&gt;
The ''Akaike information criterion'' (AIC) is an estimator of the relative quality of statistical models for a given set of data. Given a collection of models for the data, AIC estimates the quality of each model, relative to each of the other models. Thus, AIC provides a means for model selection.&lt;br /&gt;
&lt;br /&gt;
AIC is founded on information theory: it offers an estimate of the relative information lost when a given model is used to represent the process that generated the data. (In doing so, it deals with the trade-off between the goodness of fit of the model and the simplicity of the model.)&lt;br /&gt;
&lt;br /&gt;
===Other paradigms for inference===&lt;br /&gt;
&lt;br /&gt;
====Minimum description length====&lt;br /&gt;
&lt;br /&gt;
The minimum description length (MDL) principle has been developed from ideas in information theory and the theory of Kolmogorov complexity. The (MDL) principle selects statistical models that maximally compress the data; inference proceeds without assuming counterfactual or non-falsifiable &amp;quot;data-generating mechanisms&amp;quot; or probability models for the data, as might be done in frequentist or Bayesian approaches.&lt;br /&gt;
&lt;br /&gt;
However, if a &amp;quot;data generating mechanism&amp;quot; does exist in reality, then according to Shannon's source coding theorem it provides the MDL description of the data, on average and asymptotically. In minimizing description length (or descriptive complexity), MDL estimation is similar to maximum likelihood estimation and maximum a posteriori estimation (using maximum-entropy Bayesian priors). However, MDL avoids assuming that the underlying probability model is known; the MDL principle can also be applied without assumptions that e.g. the data arose from independent sampling.&lt;br /&gt;
&lt;br /&gt;
The MDL principle has been applied in communication-coding theory in information theory, in linear regression, and in data mining.&lt;br /&gt;
&lt;br /&gt;
The evaluation of MDL-based inferential procedures often uses techniques or criteria from computational complexity theory.&lt;br /&gt;
&lt;br /&gt;
====Fiducial inference====&lt;br /&gt;
Fiducial inference was an approach to statistical inference based on fiducial probability, also known as a &amp;quot;fiducial distribution&amp;quot;. In subsequent work, this approach has been called ill-defined, extremely limited in applicability,  and even fallacious. However this argument is the same as that which shows that a so-called confidence distribution is not a valid probability distribution and, since this has not invalidated the application of confidence intervals, it does not necessarily invalidate conclusions drawn from fiducial arguments. An attempt was made to reinterpret the early work of Fisher's fiducial argument as a special case of an inference theory using Upper and lower probabilities.&lt;br /&gt;
&lt;br /&gt;
====Structural inference====&lt;br /&gt;
&lt;br /&gt;
Developing ideas of Fisher and of Pitman from 1938 to 1939, George A. Barnard developed &amp;quot;structural inference&amp;quot; or &amp;quot;pivotal inference&amp;quot;, an approach using invariant probabilities on group families. Barnard reformulated the arguments behind fiducial inference on a restricted class of models on which &amp;quot;fiducial&amp;quot; procedures would be well-defined and useful. Donald A. S. Fraser developed a general theory for structural inference based on group theory and applied this to linear models. The theory formulated by Fraser has close links to decision theory and Bayesian statistics and can provide optimal frequentist decision rules if they exist.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Statistical_inference Statistical inference, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4667</id>
		<title>Number Systems, Base 10, 5 and 2</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4667"/>
		<updated>2022-02-06T03:15:23Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Main numeral systems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Numeral Systems of the World.svg|264px|thumb|right|Numbers written in different numeral systems.]]&lt;br /&gt;
&lt;br /&gt;
A '''numeral system''' (or '''system of numeration''') is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner.&lt;br /&gt;
&lt;br /&gt;
The same sequence of symbols may represent different numbers in different numeral systems. For example, &amp;quot;11&amp;quot; represents the number ''eleven'' in the decimal numeral system (used in common life), the number ''three'' in the binary numeral system (used in computers), and the number ''two'' in the unary numeral system (e.g. used in tallying scores).&lt;br /&gt;
&lt;br /&gt;
The number the numeral represents is called its value. Not all number systems can represent all numbers that are considered in the modern days; for example, Roman numerals have no zero.&lt;br /&gt;
&lt;br /&gt;
Ideally, a numeral system will:&lt;br /&gt;
*Represent a useful set of numbers (e.g. all integers, or rational numbers)&lt;br /&gt;
*Give every number represented a unique representation (or at least a standard representation)&lt;br /&gt;
*Reflect the algebraic and arithmetic structure of the numbers.&lt;br /&gt;
&lt;br /&gt;
For example, the usual decimal representation gives every nonzero natural number a unique representation as a finite sequence of digits, beginning with a non-zero digit.&lt;br /&gt;
&lt;br /&gt;
Numeral systems are sometimes called ''number systems'', but that name is ambiguous, as it could refer to different systems of numbers, such as the system of real numbers, the system of complex numbers, the system of ''p''-adic numbers, etc. Such systems are, however, not the topic of this article.&lt;br /&gt;
&lt;br /&gt;
==Main numeral systems==&lt;br /&gt;
The most commonly used system of numerals is decimal. Indian mathematicians are credited with developing the integer version, the Hindu–Arabic numeral system. Aryabhata of Kusumapura developed the place-value notation in the 5th&amp;amp;nbsp;century and a century later Brahmagupta introduced the symbol for zero. The system slowly spread to other surrounding regions like Arabia due to their commercial and military activities with India. Middle-Eastern mathematicians extended the system to include negative powers of 10 (fractions), as recorded in a treatise by Syrian mathematician Abu'l-Hasan al-Uqlidisi in 952–953, and the decimal point notation was introduced by Sind ibn Ali, who also wrote the earliest treatise on Arabic numerals. The Hindu-Arabic numeral system then spread to Europe due to merchants trading, and the digits used in Europe are called Arabic numerals, as they learned them from the Arabs.&lt;br /&gt;
&lt;br /&gt;
The simplest numeral system is the unary numeral system, in which every natural number is represented by a corresponding number of symbols. If the symbol  /  is chosen, for example, then the number seven would be represented by  / / / / / / / . Tally marks represent one such system still in common use. The unary system is only useful for small numbers, although it plays an important role in theoretical computer science. Elias gamma coding, which is commonly used in data compression, expresses arbitrary-sized numbers by using unary to indicate the length of a binary numeral.&lt;br /&gt;
&lt;br /&gt;
The unary notation can be abbreviated by introducing different symbols for certain new values. Very commonly, these values are powers of 10; so for instance, if  /  stands for one, − for ten and + for 100, then the number 304 can be compactly represented as +++  / / / /  and the number 123 as + − − / / /  without any need for zero. This is called sign-value notation. The ancient Egyptian numeral system was of this type, and the Roman numeral system was a modification of this idea.&lt;br /&gt;
&lt;br /&gt;
More useful still are systems which employ special abbreviations for repetitions of symbols; for example, using the first nine letters of the alphabet for these abbreviations, with A standing for &amp;quot;one occurrence&amp;quot;, B &amp;quot;two occurrences&amp;quot;, and so on, one could then write C+ D/ for the number 304. This system is used when writing Chinese numerals and other East Asian numerals based on Chinese. The number system of the English language is of this type (&amp;quot;three hundred [and] four&amp;quot;), as are those of other spoken languages, regardless of what written systems they have adopted. However, many languages use mixtures of bases, and other features, for instance 79 in French is ''soixante dix-neuf'' (60 + 10 + 9) and in Welsh is ''pedwar ar bymtheg a thrigain'' (4 + (5 + 10) + (3 × 20)) or (somewhat archaic) ''pedwar ugain namyn un'' (4 × 20 − 1). In English, one could say &amp;quot;four score less one&amp;quot;, as in the famous Gettysburg Address representing &amp;quot;87 years ago&amp;quot; as &amp;quot;four score and seven years ago&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
More elegant is a ''positional system'', also known as place-value notation. Again working in base&amp;amp;nbsp;10, ten different digits 0,&amp;amp;nbsp;..., 9 are used and the position of a digit is used to signify the power of ten that the digit is to be multiplied with, as in 304 = 3×100 + 0×10 + 4×1 or more precisely 3×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 0×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 4×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;. Zero, which is not needed in the other systems, is of crucial importance here, in order to be able to &amp;quot;skip&amp;quot; a power. The Hindu–Arabic numeral system, which originated in India and is now used throughout the world, is a positional base&amp;amp;nbsp;10 system.&lt;br /&gt;
&lt;br /&gt;
Arithmetic is much easier in positional systems than in the earlier additive ones; furthermore, additive systems need a large number of different symbols for the different powers of 10; a positional system needs only ten different symbols (assuming that it uses base&amp;amp;nbsp;10).&lt;br /&gt;
&lt;br /&gt;
The positional decimal system is presently universally used in human writing. The base&amp;amp;nbsp;1000 is also used (albeit not universally), by grouping the digits and considering a sequence of three decimal digits as a single digit. This is the meaning of the common notation 1,000,234,567 used for very large numbers.&lt;br /&gt;
&lt;br /&gt;
In computers, the main numeral systems are based on the positional system in base&amp;amp;nbsp;2 (binary numeral system), with two binary digits, 0 and 1. Positional systems obtained by grouping binary digits by three (octal numeral system) or four (hexadecimal numeral system) are commonly used. For very large integers, bases&amp;amp;nbsp;2&amp;lt;sup&amp;gt;32&amp;lt;/sup&amp;gt; or 2&amp;lt;sup&amp;gt;64&amp;lt;/sup&amp;gt; (grouping binary digits by 32 or 64, the length of the machine word) are used, as, for example, in GMP.&lt;br /&gt;
&lt;br /&gt;
In certain biological systems, the unary coding system is employed. Unary numerals used in the neural circuits responsible for birdsong production. The nucleus in the brain of the songbirds that plays a part in both the learning and the production of bird song is the HVC (high vocal center). The command signals for different notes in the birdsong emanate from different points in the HVC. This coding works as space coding which is an efficient strategy for biological circuits due to its inherent simplicity and robustness.&lt;br /&gt;
&lt;br /&gt;
The numerals used when writing numbers with digits or symbols can be divided into two types that might be called the arithmetic numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the geometric numerals (1, 10, 100, 1000, 10000 ...), respectively. The sign-value systems use only the geometric numerals and the positional systems use only the arithmetic numerals. A sign-value system does not need arithmetic numerals because they are made by repetition (except for the Ionic system), and a positional system does not need geometric numerals because they are made by position. However, the spoken language uses ''both'' arithmetic and geometric numerals.&lt;br /&gt;
&lt;br /&gt;
In certain areas of computer science, a modified base ''k'' positional system is used, called bijective numeration, with digits 1, 2,&amp;amp;nbsp;..., ''k'' (''k'' ≥ 1), and zero being represented by an empty string. This establishes a bijection between the set of all such digit-strings and the set of non-negative integers, avoiding the non-uniqueness caused by leading zeros. Bijective base-''k'' numeration is also called ''k''-adic notation, not to be confused with ''p''-adic numbers. Bijective base&amp;amp;nbsp;1 is the same as unary.&lt;br /&gt;
&lt;br /&gt;
==Positional systems in detail==&lt;br /&gt;
In a positional base ''b'' numeral system (with ''b'' a natural number greater than 1 known as the radix), ''b'' basic symbols (or digits) corresponding to the first ''b'' natural numbers including zero are used. To generate the rest of the numerals, the position of the symbol in the figure is used. The symbol in the last position has its own value, and as it moves to the left its value is multiplied by ''b''.&lt;br /&gt;
&lt;br /&gt;
For example, in the decimal system (base 10), the numeral 4327 means {{math|('''4'''×10&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + ('''3'''×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + ('''2'''×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + ('''7'''×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;)}}, noting that 10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = 1.&lt;br /&gt;
&lt;br /&gt;
In general, if ''b'' is the base, one writes a number in the numeral system of base ''b'' by expressing it in the form {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 1&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 2&amp;lt;/sup&amp;gt; + ... + ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;}} and writing the enumerated digits {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt; ... ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in descending order. The digits are natural numbers between 0 and {{math|''b'' − 1}}, inclusive.&lt;br /&gt;
&lt;br /&gt;
If a text (such as this one) discusses multiple bases, and if ambiguity exists, the base (itself represented in base&amp;amp;nbsp;10) is added in subscript to the right of the number, like this: number&amp;lt;sub&amp;gt;base&amp;lt;/sub&amp;gt;. Unless specified by context, numbers without subscript are considered to be decimal.&lt;br /&gt;
&lt;br /&gt;
By using a dot to divide the digits into two groups, one can also write fractions in the positional system. For example, the base&amp;amp;nbsp;2 numeral 10.11 denotes 1×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 0×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; = 2.75.&lt;br /&gt;
&lt;br /&gt;
In general, numbers in the base ''b'' system are of the form:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
(a_na_{n-1}\cdots a_1a_0.c_1 c_2 c_3\cdots)_b =&lt;br /&gt;
\sum_{k=0}^n a_kb^k + \sum_{k=1}^\infty c_kb^{-k}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The numbers ''b''&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and ''b''&amp;lt;sup&amp;gt;−''k''&amp;lt;/sup&amp;gt; are the weights of the corresponding digits. The position ''k'' is the logarithm of the corresponding weight ''w'', that is &amp;lt;math&amp;gt;k = \log_{b} w = \log_{b} b^k&amp;lt;/math&amp;gt;. The highest used position is close to the order of magnitude of the number.&lt;br /&gt;
&lt;br /&gt;
The number of tally marks required in the unary numeral system for ''describing the weight'' would have been '''w'''. In the positional system, the number of digits required to describe it is only &amp;lt;math&amp;gt;k + 1 = \log_{b} w + 1&amp;lt;/math&amp;gt;, for ''k'' ≥ 0. For example, to describe the weight 1000 then four digits are needed because &amp;lt;math&amp;gt;\log_{10} 1000 + 1 = 3 + 1&amp;lt;/math&amp;gt;. The number of digits required to ''describe the position'' is &amp;lt;math&amp;gt;\log_b k + 1 = \log_b \log_b w + 1&amp;lt;/math&amp;gt; (in positions 1, 10, 100,... only for simplicity in the decimal example).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{array}{l|rrrrrrr}&lt;br /&gt;
\text{Position}&lt;br /&gt;
&amp;amp; 3&lt;br /&gt;
&amp;amp; 2&lt;br /&gt;
&amp;amp; 1&lt;br /&gt;
&amp;amp; 0&lt;br /&gt;
&amp;amp; -1&lt;br /&gt;
&amp;amp; -2&lt;br /&gt;
&amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Weight}&lt;br /&gt;
&amp;amp; b^3 &amp;amp; b^2 &amp;amp; b^1 &amp;amp; b^0 &amp;amp; b^{-1} &amp;amp; b^{-2} &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Digit}&lt;br /&gt;
&amp;amp; a_3 &amp;amp; a_2 &amp;amp; a_1 &amp;amp; a_0 &amp;amp; c_1 &amp;amp; c_2 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Decimal example weight}&lt;br /&gt;
&amp;amp; 1000 &amp;amp; 100 &amp;amp; 10 &amp;amp; 1 &amp;amp; 0.1 &amp;amp; 0.01 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Decimal example digit}&lt;br /&gt;
&amp;amp; 4 &amp;amp; 3 &amp;amp; 2 &amp;amp; 7 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdots&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A number has a terminating or repeating expansion if and only if it is rational; this does not depend on the base. A number that terminates in one base may repeat in another (thus 0.3&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; = 0.0100110011001...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;). An irrational number stays aperiodic (with an infinite number of non-repeating digits) in all integral bases. Thus, for example in base&amp;amp;nbsp;2, π = 3.1415926...&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; can be written as the aperiodic 11.001001000011111...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Putting overscores, &amp;lt;math&amp;gt; \overline{n}&amp;lt;/math&amp;gt;, or dots, ''ṅ'', above the common digits is a convention used to represent repeating rational expansions. Thus:&lt;br /&gt;
:14/11 = 1.272727272727... = &amp;lt;math&amp;gt; 1. \overline{27}&amp;lt;/math&amp;gt; &amp;amp;nbsp; or &amp;amp;nbsp; 321.3217878787878... = &amp;lt;math&amp;gt; 321.321 \overline{78}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If ''b'' = ''p'' is a prime number, one can define base-''p'' numerals whose expansion to the left never stops; these are called the ''p''-adic numbers.&lt;br /&gt;
&lt;br /&gt;
==Generalized variable-length integers==&lt;br /&gt;
More general is using a mixed radix notation (here written little-endian) like &amp;lt;math&amp;gt;a_0 a_1 a_2&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;a_0 + a_1 b_1 + a_2 b_1 b_2&amp;lt;/math&amp;gt;, etc.&lt;br /&gt;
&lt;br /&gt;
This is used in Punycode, one aspect of which is the representation of a sequence of non-negative integers of arbitrary size in the form of a sequence without delimiters, of &amp;quot;digits&amp;quot; from a collection of 36: a–z and 0–9, representing 0–25 and 26–35 respectively. There are also so-called threshold values (&amp;lt;math&amp;gt;t_0, t_1, ...&amp;lt;/math&amp;gt;) which are fixed for every position in the number. A digit &amp;lt;math&amp;gt;a_i&amp;lt;/math&amp;gt; (in a given position in the number) that is lower than its corresponding threshold value &amp;lt;math&amp;gt;t_i&amp;lt;/math&amp;gt; means that it is the most-significant digit, hence in the string this is the end of the number, and the next symbol (if present) is the least-significant digit of the next number.&lt;br /&gt;
&lt;br /&gt;
For example, if the threshold value for the first digit is ''b'' (i.e. 1) then ''a'' (i.e. 0) marks the end of the number (it has just one digit), so in numbers of more than one digit, first-digit range is only b–9 (i.e. 1–35), therefore the weight ''b''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; is 35 instead of 36. More generally, if ''t&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' is the threshold for the ''n''-th digit, it is easy to show that &amp;lt;math&amp;gt;b_{n+1}=36-t_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
Suppose the threshold values for the second and third digits are ''c'' (i.e. 2), then the second-digit range is a–b (i.e. 0–1) with the second digit being most significant, while the range is c–9 (i.e. 2–35) in the presence of a third digit. Generally, for any ''n'', the weight of the (''n''+1)-th digit is the weight of the previous one times (36 − threshold of the ''n''-th digit). So the weight of the second symbol is &amp;lt;math&amp;gt;36 - t_0 = 35&amp;lt;/math&amp;gt;. And the weight of the third symbol is &amp;lt;math&amp;gt;35 * (36 - t_1) = 35*34 = 1190&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So we have the following sequence of the numbers with at most 3 digits:&lt;br /&gt;
&lt;br /&gt;
''a'' (0), ''ba'' (1), ''ca'' (2), ..., ''9a'' (35), ''bb'' (36), ''cb'' (37), ..., ''9b'' (70), ''bca'' (71), ..., ''99a'' (1260), ''bcb'' (1261), ..., ''99b'' (2450).&lt;br /&gt;
&lt;br /&gt;
Unlike a regular n-based numeral system, there are numbers like ''9b'' where ''9'' and ''b'' each represent 35; yet the representation is unique because ''ac'' and ''aca'' are not allowed – the first ''a'' would terminate each of the se numbers.&lt;br /&gt;
&lt;br /&gt;
The flexibility in choosing threshold values allows optimization for number of digits depending on the frequency of occurrence of numbers of various sizes.&lt;br /&gt;
&lt;br /&gt;
The case with all threshold values equal to 1 corresponds to bijective numeration, where the zeros correspond to separators of numbers with digits which are non-zero.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Numeral_system Numeral system, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4666</id>
		<title>Number Systems, Base 10, 5 and 2</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4666"/>
		<updated>2022-02-06T02:48:05Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Numeral Systems of the World.svg|264px|thumb|right|Numbers written in different numeral systems.]]&lt;br /&gt;
&lt;br /&gt;
A '''numeral system''' (or '''system of numeration''') is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner.&lt;br /&gt;
&lt;br /&gt;
The same sequence of symbols may represent different numbers in different numeral systems. For example, &amp;quot;11&amp;quot; represents the number ''eleven'' in the decimal numeral system (used in common life), the number ''three'' in the binary numeral system (used in computers), and the number ''two'' in the unary numeral system (e.g. used in tallying scores).&lt;br /&gt;
&lt;br /&gt;
The number the numeral represents is called its value. Not all number systems can represent all numbers that are considered in the modern days; for example, Roman numerals have no zero.&lt;br /&gt;
&lt;br /&gt;
Ideally, a numeral system will:&lt;br /&gt;
*Represent a useful set of numbers (e.g. all integers, or rational numbers)&lt;br /&gt;
*Give every number represented a unique representation (or at least a standard representation)&lt;br /&gt;
*Reflect the algebraic and arithmetic structure of the numbers.&lt;br /&gt;
&lt;br /&gt;
For example, the usual decimal representation gives every nonzero natural number a unique representation as a finite sequence of digits, beginning with a non-zero digit.&lt;br /&gt;
&lt;br /&gt;
Numeral systems are sometimes called ''number systems'', but that name is ambiguous, as it could refer to different systems of numbers, such as the system of real numbers, the system of complex numbers, the system of ''p''-adic numbers, etc. Such systems are, however, not the topic of this article.&lt;br /&gt;
&lt;br /&gt;
==Main numeral systems==&lt;br /&gt;
The most commonly used system of numerals is decimal. Indian mathematicians are credited with developing the integer version, the Hindu–Arabic numeral system. Aryabhata of Kusumapura developed the place-value notation in the 5th&amp;amp;nbsp;century and a century later Brahmagupta introduced the symbol for zero. The system slowly spread to other surrounding regions like Arabia due to their commercial and military activities with India. Middle-Eastern mathematicians extended the system to include negative powers of 10 (fractions), as recorded in a treatise by Syrian mathematician Abu'l-Hasan al-Uqlidisi in 952–953, and the decimal point notation was introduced by Sind ibn Ali, who also wrote the earliest treatise on Arabic numerals. The Hindu-Arabic numeral system then spread to Europe due to merchants trading, and the digits used in Europe are called Arabic numerals, as they learned them from the Arabs.&lt;br /&gt;
&lt;br /&gt;
The simplest numeral system is the unary numeral system, in which every natural number is represented by a corresponding number of symbols. If the symbol / is chosen, for example, then the number seven would be represented by ///////. Tally marks represent one such system still in common use. The unary system is only useful for small numbers, although it plays an important role in theoretical computer science. Elias gamma coding, which is commonly used in data compression, expresses arbitrary-sized numbers by using unary to indicate the length of a binary numeral.&lt;br /&gt;
&lt;br /&gt;
The unary notation can be abbreviated by introducing different symbols for certain new values. Very commonly, these values are powers of 10; so for instance, if / stands for one, − for ten and + for 100, then the number 304 can be compactly represented as +++ //// and the number 123 as + − − /// without any need for zero. This is called sign-value notation. The ancient Egyptian numeral system was of this type, and the Roman numeral system was a modification of this idea.&lt;br /&gt;
&lt;br /&gt;
More useful still are systems which employ special abbreviations for repetitions of symbols; for example, using the first nine letters of the alphabet for these abbreviations, with A standing for &amp;quot;one occurrence&amp;quot;, B &amp;quot;two occurrences&amp;quot;, and so on, one could then write C+ D/ for the number 304. This system is used when writing Chinese numerals and other East Asian numerals based on Chinese. The number system of the English language is of this type (&amp;quot;three hundred [and] four&amp;quot;), as are those of other spoken languages, regardless of what written systems they have adopted. However, many languages use mixtures of bases, and other features, for instance 79 in French is ''soixante dix-neuf'' (60 + 10 + 9) and in Welsh is ''pedwar ar bymtheg a thrigain'' (4 + (5 + 10) + (3 × 20)) or (somewhat archaic) ''pedwar ugain namyn un'' (4 × 20 − 1). In English, one could say &amp;quot;four score less one&amp;quot;, as in the famous Gettysburg Address representing &amp;quot;87 years ago&amp;quot; as &amp;quot;four score and seven years ago&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
More elegant is a ''positional system'', also known as place-value notation. Again working in base&amp;amp;nbsp;10, ten different digits 0,&amp;amp;nbsp;..., 9 are used and the position of a digit is used to signify the power of ten that the digit is to be multiplied with, as in 304 = 3×100 + 0×10 + 4×1 or more precisely 3×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 0×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 4×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;. Zero, which is not needed in the other systems, is of crucial importance here, in order to be able to &amp;quot;skip&amp;quot; a power. The Hindu–Arabic numeral system, which originated in India and is now used throughout the world, is a positional base&amp;amp;nbsp;10 system.&lt;br /&gt;
&lt;br /&gt;
Arithmetic is much easier in positional systems than in the earlier additive ones; furthermore, additive systems need a large number of different symbols for the different powers of 10; a positional system needs only ten different symbols (assuming that it uses base&amp;amp;nbsp;10).&lt;br /&gt;
&lt;br /&gt;
The positional decimal system is presently universally used in human writing. The base&amp;amp;nbsp;1000 is also used (albeit not universally), by grouping the digits and considering a sequence of three decimal digits as a single digit. This is the meaning of the common notation 1,000,234,567 used for very large numbers.&lt;br /&gt;
&lt;br /&gt;
In computers, the main numeral systems are based on the positional system in base&amp;amp;nbsp;2 (binary numeral system), with two binary digits, 0 and 1. Positional systems obtained by grouping binary digits by three (octal numeral system) or four (hexadecimal numeral system) are commonly used. For very large integers, bases&amp;amp;nbsp;2&amp;lt;sup&amp;gt;32&amp;lt;/sup&amp;gt; or 2&amp;lt;sup&amp;gt;64&amp;lt;/sup&amp;gt; (grouping binary digits by 32 or 64, the length of the machine word) are used, as, for example, in GMP.&lt;br /&gt;
&lt;br /&gt;
In certain biological systems, the unary coding system is employed. Unary numerals used in the neural circuits responsible for birdsong production. The nucleus in the brain of the songbirds that plays a part in both the learning and the production of bird song is the HVC (high vocal center). The command signals for different notes in the birdsong emanate from different points in the HVC. This coding works as space coding which is an efficient strategy for biological circuits due to its inherent simplicity and robustness.&lt;br /&gt;
&lt;br /&gt;
The numerals used when writing numbers with digits or symbols can be divided into two types that might be called the arithmetic numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the geometric numerals (1, 10, 100, 1000, 10000 ...), respectively. The sign-value systems use only the geometric numerals and the positional systems use only the arithmetic numerals. A sign-value system does not need arithmetic numerals because they are made by repetition (except for the Ionic system), and a positional system does not need geometric numerals because they are made by position. However, the spoken language uses ''both'' arithmetic and geometric numerals.&lt;br /&gt;
&lt;br /&gt;
In certain areas of computer science, a modified base ''k'' positional system is used, called bijective numeration, with digits 1, 2,&amp;amp;nbsp;..., ''k'' (''k'' ≥ 1), and zero being represented by an empty string. This establishes a bijection between the set of all such digit-strings and the set of non-negative integers, avoiding the non-uniqueness caused by leading zeros. Bijective base-''k'' numeration is also called ''k''-adic notation, not to be confused with ''p''-adic numbers. Bijective base&amp;amp;nbsp;1 is the same as unary.&lt;br /&gt;
&lt;br /&gt;
==Positional systems in detail==&lt;br /&gt;
In a positional base ''b'' numeral system (with ''b'' a natural number greater than 1 known as the radix), ''b'' basic symbols (or digits) corresponding to the first ''b'' natural numbers including zero are used. To generate the rest of the numerals, the position of the symbol in the figure is used. The symbol in the last position has its own value, and as it moves to the left its value is multiplied by ''b''.&lt;br /&gt;
&lt;br /&gt;
For example, in the decimal system (base 10), the numeral 4327 means {{math|('''4'''×10&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + ('''3'''×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + ('''2'''×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + ('''7'''×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;)}}, noting that 10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = 1.&lt;br /&gt;
&lt;br /&gt;
In general, if ''b'' is the base, one writes a number in the numeral system of base ''b'' by expressing it in the form {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 1&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 2&amp;lt;/sup&amp;gt; + ... + ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;}} and writing the enumerated digits {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt; ... ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in descending order. The digits are natural numbers between 0 and {{math|''b'' − 1}}, inclusive.&lt;br /&gt;
&lt;br /&gt;
If a text (such as this one) discusses multiple bases, and if ambiguity exists, the base (itself represented in base&amp;amp;nbsp;10) is added in subscript to the right of the number, like this: number&amp;lt;sub&amp;gt;base&amp;lt;/sub&amp;gt;. Unless specified by context, numbers without subscript are considered to be decimal.&lt;br /&gt;
&lt;br /&gt;
By using a dot to divide the digits into two groups, one can also write fractions in the positional system. For example, the base&amp;amp;nbsp;2 numeral 10.11 denotes 1×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 0×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; = 2.75.&lt;br /&gt;
&lt;br /&gt;
In general, numbers in the base ''b'' system are of the form:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
(a_na_{n-1}\cdots a_1a_0.c_1 c_2 c_3\cdots)_b =&lt;br /&gt;
\sum_{k=0}^n a_kb^k + \sum_{k=1}^\infty c_kb^{-k}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The numbers ''b''&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and ''b''&amp;lt;sup&amp;gt;−''k''&amp;lt;/sup&amp;gt; are the weights of the corresponding digits. The position ''k'' is the logarithm of the corresponding weight ''w'', that is &amp;lt;math&amp;gt;k = \log_{b} w = \log_{b} b^k&amp;lt;/math&amp;gt;. The highest used position is close to the order of magnitude of the number.&lt;br /&gt;
&lt;br /&gt;
The number of tally marks required in the unary numeral system for ''describing the weight'' would have been '''w'''. In the positional system, the number of digits required to describe it is only &amp;lt;math&amp;gt;k + 1 = \log_{b} w + 1&amp;lt;/math&amp;gt;, for ''k'' ≥ 0. For example, to describe the weight 1000 then four digits are needed because &amp;lt;math&amp;gt;\log_{10} 1000 + 1 = 3 + 1&amp;lt;/math&amp;gt;. The number of digits required to ''describe the position'' is &amp;lt;math&amp;gt;\log_b k + 1 = \log_b \log_b w + 1&amp;lt;/math&amp;gt; (in positions 1, 10, 100,... only for simplicity in the decimal example).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{array}{l|rrrrrrr}&lt;br /&gt;
\text{Position}&lt;br /&gt;
&amp;amp; 3&lt;br /&gt;
&amp;amp; 2&lt;br /&gt;
&amp;amp; 1&lt;br /&gt;
&amp;amp; 0&lt;br /&gt;
&amp;amp; -1&lt;br /&gt;
&amp;amp; -2&lt;br /&gt;
&amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Weight}&lt;br /&gt;
&amp;amp; b^3 &amp;amp; b^2 &amp;amp; b^1 &amp;amp; b^0 &amp;amp; b^{-1} &amp;amp; b^{-2} &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Digit}&lt;br /&gt;
&amp;amp; a_3 &amp;amp; a_2 &amp;amp; a_1 &amp;amp; a_0 &amp;amp; c_1 &amp;amp; c_2 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Decimal example weight}&lt;br /&gt;
&amp;amp; 1000 &amp;amp; 100 &amp;amp; 10 &amp;amp; 1 &amp;amp; 0.1 &amp;amp; 0.01 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Decimal example digit}&lt;br /&gt;
&amp;amp; 4 &amp;amp; 3 &amp;amp; 2 &amp;amp; 7 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdots&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A number has a terminating or repeating expansion if and only if it is rational; this does not depend on the base. A number that terminates in one base may repeat in another (thus 0.3&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; = 0.0100110011001...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;). An irrational number stays aperiodic (with an infinite number of non-repeating digits) in all integral bases. Thus, for example in base&amp;amp;nbsp;2, π = 3.1415926...&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; can be written as the aperiodic 11.001001000011111...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Putting overscores, &amp;lt;math&amp;gt; \overline{n}&amp;lt;/math&amp;gt;, or dots, ''ṅ'', above the common digits is a convention used to represent repeating rational expansions. Thus:&lt;br /&gt;
:14/11 = 1.272727272727... = &amp;lt;math&amp;gt; 1. \overline{27}&amp;lt;/math&amp;gt; &amp;amp;nbsp; or &amp;amp;nbsp; 321.3217878787878... = &amp;lt;math&amp;gt; 321.321 \overline{78}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If ''b'' = ''p'' is a prime number, one can define base-''p'' numerals whose expansion to the left never stops; these are called the ''p''-adic numbers.&lt;br /&gt;
&lt;br /&gt;
==Generalized variable-length integers==&lt;br /&gt;
More general is using a mixed radix notation (here written little-endian) like &amp;lt;math&amp;gt;a_0 a_1 a_2&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;a_0 + a_1 b_1 + a_2 b_1 b_2&amp;lt;/math&amp;gt;, etc.&lt;br /&gt;
&lt;br /&gt;
This is used in Punycode, one aspect of which is the representation of a sequence of non-negative integers of arbitrary size in the form of a sequence without delimiters, of &amp;quot;digits&amp;quot; from a collection of 36: a–z and 0–9, representing 0–25 and 26–35 respectively. There are also so-called threshold values (&amp;lt;math&amp;gt;t_0, t_1, ...&amp;lt;/math&amp;gt;) which are fixed for every position in the number. A digit &amp;lt;math&amp;gt;a_i&amp;lt;/math&amp;gt; (in a given position in the number) that is lower than its corresponding threshold value &amp;lt;math&amp;gt;t_i&amp;lt;/math&amp;gt; means that it is the most-significant digit, hence in the string this is the end of the number, and the next symbol (if present) is the least-significant digit of the next number.&lt;br /&gt;
&lt;br /&gt;
For example, if the threshold value for the first digit is ''b'' (i.e. 1) then ''a'' (i.e. 0) marks the end of the number (it has just one digit), so in numbers of more than one digit, first-digit range is only b–9 (i.e. 1–35), therefore the weight ''b''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; is 35 instead of 36. More generally, if ''t&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' is the threshold for the ''n''-th digit, it is easy to show that &amp;lt;math&amp;gt;b_{n+1}=36-t_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
Suppose the threshold values for the second and third digits are ''c'' (i.e. 2), then the second-digit range is a–b (i.e. 0–1) with the second digit being most significant, while the range is c–9 (i.e. 2–35) in the presence of a third digit. Generally, for any ''n'', the weight of the (''n''+1)-th digit is the weight of the previous one times (36 − threshold of the ''n''-th digit). So the weight of the second symbol is &amp;lt;math&amp;gt;36 - t_0 = 35&amp;lt;/math&amp;gt;. And the weight of the third symbol is &amp;lt;math&amp;gt;35 * (36 - t_1) = 35*34 = 1190&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So we have the following sequence of the numbers with at most 3 digits:&lt;br /&gt;
&lt;br /&gt;
''a'' (0), ''ba'' (1), ''ca'' (2), ..., ''9a'' (35), ''bb'' (36), ''cb'' (37), ..., ''9b'' (70), ''bca'' (71), ..., ''99a'' (1260), ''bcb'' (1261), ..., ''99b'' (2450).&lt;br /&gt;
&lt;br /&gt;
Unlike a regular n-based numeral system, there are numbers like ''9b'' where ''9'' and ''b'' each represent 35; yet the representation is unique because ''ac'' and ''aca'' are not allowed – the first ''a'' would terminate each of the se numbers.&lt;br /&gt;
&lt;br /&gt;
The flexibility in choosing threshold values allows optimization for number of digits depending on the frequency of occurrence of numbers of various sizes.&lt;br /&gt;
&lt;br /&gt;
The case with all threshold values equal to 1 corresponds to bijective numeration, where the zeros correspond to separators of numbers with digits which are non-zero.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Numeral_system Numeral system, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4665</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4665"/>
		<updated>2022-02-05T19:28:59Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Licensing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
==== Pictogram ====&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
Pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
==== Tally marks ====&lt;br /&gt;
[[File:Strike symbol (49778996432).jpg |thumb|Tally marks on a chalkboard]]&lt;br /&gt;
'''Tally marks''', also called '''hash marks''', are a unary numeral system. They are a form of numeral used for counting. They are most useful in counting or tallying ongoing results, such as the score in a game or sport, as no intermediate results need to be erased or discarded.&lt;br /&gt;
&lt;br /&gt;
However, because of the length of large numbers, tallies are not commonly used for static text. Notched sticks, known as tally sticks, were also historically used for this purpose.&lt;br /&gt;
&lt;br /&gt;
;Clustering&lt;br /&gt;
Tally marks are typically clustered in groups of five for legibility. The cluster size 5 has the advantages of (a) easy conversion into decimal for higher arithmetic operations and (b) avoiding error, as humans can far more easily correctly identify a cluster of 5 than one of 10.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Tally marks.svg|Tally marks high in most of Europe, Zimbabwe and Southern Africa, Australia, New Zealand and North America.&amp;lt;br&amp;gt;In some variants, the diagonal/horizontal slash is used on its own when five or more units are added at once.&lt;br /&gt;
File:Tally marks 3.svg|Cultures using Chinese characters tally by forming the character 正, which consists of five strokes.&lt;br /&gt;
File:Tally marks 2.svg|Tally marks used in France, their former colonies, Argentina and Brazil. 1 to 5 and so on. These are most commonly used for registering scores in card games, like Truco&lt;br /&gt;
File:Dot and line tally marks.jpg|In the dot and line (or dot-dash) tally, dots represent counts from 1 to 4, lines 5 to 8, and diagonal lines 9 and 10. This method is commonly used in forestry and related fields.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Table ===&lt;br /&gt;
[[File:Table-sample-appearance-default-params-values-01.gif|thumb|300px|An example table rendered in a web browser using HTML.]]&lt;br /&gt;
A '''table''' is an arrangement of information or data, typically in rows and columns, or possibly in a more complex structure. Tables are widely used in communication, research, and data analysis. Tables appear in print media, handwritten notes, computer software, architectural ornamentation, traffic signs, and many other places. The precise conventions and terminology for describing tables vary depending on the context. Further, tables differ significantly in variety, structure, flexibility, notation, representation and use. Information or data conveyed in table form is said to be in '''tabular''' format (adjective). In books and technical articles, tables are typically presented apart from the main text in numbered and captioned floating blocks.&lt;br /&gt;
&lt;br /&gt;
==== Basic description ====&lt;br /&gt;
A table consists of an ordered arrangement of '''rows''' and '''columns'''. This is a simplified description of the most basic kind of table. Certain considerations follow from this simplified description:&lt;br /&gt;
&lt;br /&gt;
* the term '''row''' has several common synonyms (e.g., record, k-tuple, n-tuple, vector);&lt;br /&gt;
* the term '''column''' has several common synonyms (e.g., field, parameter, property, attribute, stanchion);&lt;br /&gt;
* a column is usually identified by a name;&lt;br /&gt;
* a column name can consist of a word, phrase or a numerical index;&lt;br /&gt;
* the intersection of a row and a column is called a cell.&lt;br /&gt;
&lt;br /&gt;
The elements of a table may be grouped, segmented, or arranged in many different ways, and even nested recursively. Additionally, a table may include metadata, annotations, a header, a footer or other ancillary features.&lt;br /&gt;
&lt;br /&gt;
; Simple table&lt;br /&gt;
The following illustrates a simple table with three columns and nine rows. The first row is not counted, because it is only used to display the column names. This is called a &amp;quot;header row&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+Age table&lt;br /&gt;
|-&lt;br /&gt;
! First name !! Last name !! Age&lt;br /&gt;
|-&lt;br /&gt;
| Tinu || Elejogun|| 14&lt;br /&gt;
|-&lt;br /&gt;
| Javier || Zapata || 28&lt;br /&gt;
|-&lt;br /&gt;
| Lily || McGarrett || 18&lt;br /&gt;
|-&lt;br /&gt;
| Olatunkbo || Chijiaku || 22&lt;br /&gt;
|-&lt;br /&gt;
| Adrienne || Anthoula || 22&lt;br /&gt;
|-&lt;br /&gt;
| Axelia|| Athanasios || 22&lt;br /&gt;
|-&lt;br /&gt;
| Jon-Kabat || Zinn || 22&lt;br /&gt;
|-&lt;br /&gt;
| Thabang|| Mosoa||15&lt;br /&gt;
|-&lt;br /&gt;
| Kgaogelo|| Mosoa||11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
; Multi-dimensional table &lt;br /&gt;
[[File:Rollup table.png|thumb|An example of a table containing rows with summary information. The summary information consists of subtotals that are combined from previous rows within the same column.]]&lt;br /&gt;
&lt;br /&gt;
The concept of '''dimension''' is also a part of basic terminology. Any &amp;quot;simple&amp;quot; table can be represented as a &amp;quot;multi-dimensional&amp;quot;&lt;br /&gt;
table by normalizing the data values into ordered hierarchies. A common example of such a table is a multiplication table.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;white-space:nowrap&amp;quot; |Multiplication table&lt;br /&gt;
|-&lt;br /&gt;
!×!! 1 !! 2 !! 3&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| 2 || 4 || 6&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| 3 || 6 || 9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In multi-dimensional tables, each cell in the body of the table (and the value of that cell) relates to the values at the beginnings of the column (i.e. the header), the row, and other structures in more complex tables. This is an injective relation: each combination of the values of the headers row (row 0, for lack of a better term) and the headers column (column 0 for lack of a better term) is related to a unique cell in&lt;br /&gt;
the table:&lt;br /&gt;
&lt;br /&gt;
* Column 1 and row 1 will only correspond to cell (1,1);&lt;br /&gt;
* Column 1 and row 2 will only correspond to cell (2,1) etc.&lt;br /&gt;
&lt;br /&gt;
The first column often presents information dimension description by which the rest of the table is navigated. This column is called &amp;quot;stub column&amp;quot;. Tables may contain three or multiple dimensions and can be classified by the number of dimensions. Multi-dimensional tables may have super-rows - rows that describe additional dimensions for the rows that are presented below that row and are usually grouped in a tree-like structure.  This structure is typically visually presented with an appropriate number of white spaces in front of each stub's label.&lt;br /&gt;
&lt;br /&gt;
In literature tables often present numerical values, cumulative statistics, categorical values, and at times parallel descriptions in form of text. They can condense large amount of information to a limited space and therefore they are popular in scientific literature in many fields of study.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Pictogram Pictogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Tally_marks Tally marks, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Table_(information) Table (information), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4664</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4664"/>
		<updated>2022-02-05T19:25:17Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Tally marks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
==== Pictogram ====&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
Pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
==== Tally marks ====&lt;br /&gt;
[[File:Strike symbol (49778996432).jpg |thumb|Tally marks on a chalkboard]]&lt;br /&gt;
'''Tally marks''', also called '''hash marks''', are a unary numeral system. They are a form of numeral used for counting. They are most useful in counting or tallying ongoing results, such as the score in a game or sport, as no intermediate results need to be erased or discarded.&lt;br /&gt;
&lt;br /&gt;
However, because of the length of large numbers, tallies are not commonly used for static text. Notched sticks, known as tally sticks, were also historically used for this purpose.&lt;br /&gt;
&lt;br /&gt;
;Clustering&lt;br /&gt;
Tally marks are typically clustered in groups of five for legibility. The cluster size 5 has the advantages of (a) easy conversion into decimal for higher arithmetic operations and (b) avoiding error, as humans can far more easily correctly identify a cluster of 5 than one of 10.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Tally marks.svg|Tally marks high in most of Europe, Zimbabwe and Southern Africa, Australia, New Zealand and North America.&amp;lt;br&amp;gt;In some variants, the diagonal/horizontal slash is used on its own when five or more units are added at once.&lt;br /&gt;
File:Tally marks 3.svg|Cultures using Chinese characters tally by forming the character 正, which consists of five strokes.&lt;br /&gt;
File:Tally marks 2.svg|Tally marks used in France, their former colonies, Argentina and Brazil. 1 to 5 and so on. These are most commonly used for registering scores in card games, like Truco&lt;br /&gt;
File:Dot and line tally marks.jpg|In the dot and line (or dot-dash) tally, dots represent counts from 1 to 4, lines 5 to 8, and diagonal lines 9 and 10. This method is commonly used in forestry and related fields.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Table ===&lt;br /&gt;
[[File:Table-sample-appearance-default-params-values-01.gif|thumb|300px|An example table rendered in a web browser using HTML.]]&lt;br /&gt;
A '''table''' is an arrangement of information or data, typically in rows and columns, or possibly in a more complex structure. Tables are widely used in communication, research, and data analysis. Tables appear in print media, handwritten notes, computer software, architectural ornamentation, traffic signs, and many other places. The precise conventions and terminology for describing tables vary depending on the context. Further, tables differ significantly in variety, structure, flexibility, notation, representation and use. Information or data conveyed in table form is said to be in '''tabular''' format (adjective). In books and technical articles, tables are typically presented apart from the main text in numbered and captioned floating blocks.&lt;br /&gt;
&lt;br /&gt;
==== Basic description ====&lt;br /&gt;
A table consists of an ordered arrangement of '''rows''' and '''columns'''. This is a simplified description of the most basic kind of table. Certain considerations follow from this simplified description:&lt;br /&gt;
&lt;br /&gt;
* the term '''row''' has several common synonyms (e.g., record, k-tuple, n-tuple, vector);&lt;br /&gt;
* the term '''column''' has several common synonyms (e.g., field, parameter, property, attribute, stanchion);&lt;br /&gt;
* a column is usually identified by a name;&lt;br /&gt;
* a column name can consist of a word, phrase or a numerical index;&lt;br /&gt;
* the intersection of a row and a column is called a cell.&lt;br /&gt;
&lt;br /&gt;
The elements of a table may be grouped, segmented, or arranged in many different ways, and even nested recursively. Additionally, a table may include metadata, annotations, a header, a footer or other ancillary features.&lt;br /&gt;
&lt;br /&gt;
; Simple table&lt;br /&gt;
The following illustrates a simple table with three columns and nine rows. The first row is not counted, because it is only used to display the column names. This is called a &amp;quot;header row&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+Age table&lt;br /&gt;
|-&lt;br /&gt;
! First name !! Last name !! Age&lt;br /&gt;
|-&lt;br /&gt;
| Tinu || Elejogun|| 14&lt;br /&gt;
|-&lt;br /&gt;
| Javier || Zapata || 28&lt;br /&gt;
|-&lt;br /&gt;
| Lily || McGarrett || 18&lt;br /&gt;
|-&lt;br /&gt;
| Olatunkbo || Chijiaku || 22&lt;br /&gt;
|-&lt;br /&gt;
| Adrienne || Anthoula || 22&lt;br /&gt;
|-&lt;br /&gt;
| Axelia|| Athanasios || 22&lt;br /&gt;
|-&lt;br /&gt;
| Jon-Kabat || Zinn || 22&lt;br /&gt;
|-&lt;br /&gt;
| Thabang|| Mosoa||15&lt;br /&gt;
|-&lt;br /&gt;
| Kgaogelo|| Mosoa||11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
; Multi-dimensional table &lt;br /&gt;
[[File:Rollup table.png|thumb|An example of a table containing rows with summary information. The summary information consists of subtotals that are combined from previous rows within the same column.]]&lt;br /&gt;
&lt;br /&gt;
The concept of '''dimension''' is also a part of basic terminology. Any &amp;quot;simple&amp;quot; table can be represented as a &amp;quot;multi-dimensional&amp;quot;&lt;br /&gt;
table by normalizing the data values into ordered hierarchies. A common example of such a table is a multiplication table.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;white-space:nowrap&amp;quot; |Multiplication table&lt;br /&gt;
|-&lt;br /&gt;
!×!! 1 !! 2 !! 3&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| 2 || 4 || 6&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| 3 || 6 || 9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In multi-dimensional tables, each cell in the body of the table (and the value of that cell) relates to the values at the beginnings of the column (i.e. the header), the row, and other structures in more complex tables. This is an injective relation: each combination of the values of the headers row (row 0, for lack of a better term) and the headers column (column 0 for lack of a better term) is related to a unique cell in&lt;br /&gt;
the table:&lt;br /&gt;
&lt;br /&gt;
* Column 1 and row 1 will only correspond to cell (1,1);&lt;br /&gt;
* Column 1 and row 2 will only correspond to cell (2,1) etc.&lt;br /&gt;
&lt;br /&gt;
The first column often presents information dimension description by which the rest of the table is navigated. This column is called &amp;quot;stub column&amp;quot;. Tables may contain three or multiple dimensions and can be classified by the number of dimensions. Multi-dimensional tables may have super-rows - rows that describe additional dimensions for the rows that are presented below that row and are usually grouped in a tree-like structure.  This structure is typically visually presented with an appropriate number of white spaces in front of each stub's label.&lt;br /&gt;
&lt;br /&gt;
In literature tables often present numerical values, cumulative statistics, categorical values, and at times parallel descriptions in form of text. They can condense large amount of information to a limited space and therefore they are popular in scientific literature in many fields of study.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Pictogram Pictogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Table_(information) Table (information), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4663</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4663"/>
		<updated>2022-02-05T19:23:37Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Pictures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
==== Pictogram ====&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
Pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
==== Tally marks ====&lt;br /&gt;
[[File:Strike symbol (49778996432).jpg |thumb|Tally marks on a chalkboard]]&lt;br /&gt;
[[File:Hanakapiai Beach Warning Sign Only.jpg|upright|thumb|Counting using tally marks at Hanakapiai Beach. The number shown is 82.]]&lt;br /&gt;
&lt;br /&gt;
'''Tally marks''', also called '''hash marks''', are a unary numeral system. They are a form of numeral used for counting. They are most useful in counting or tallying ongoing results, such as the score in a game or sport, as no intermediate results need to be erased or discarded.&lt;br /&gt;
&lt;br /&gt;
However, because of the length of large numbers, tallies are not commonly used for static text. Notched sticks, known as tally sticks, were also historically used for this purpose.&lt;br /&gt;
&lt;br /&gt;
;Clustering&lt;br /&gt;
[[File:Unary8.svg|thumb|upright|150px|Various ways to cluster the number 8. The first or fifth mark in each group may be written at an angle to the others for easier distinction. In the fourth example, the fifth stroke &amp;quot;closes out&amp;quot; a group of five, forming a &amp;quot;herringbone&amp;quot;. In the fifth row the fifth mark crosses diagonally, forming a &amp;quot;five-bar gate&amp;quot;.]]&lt;br /&gt;
&lt;br /&gt;
Tally marks are typically clustered in groups of five for legibility. The cluster size 5 has the advantages of (a) easy conversion into decimal for higher arithmetic operations and (b) avoiding error, as humans can far more easily correctly identify a cluster of 5 than one of 10.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Tally marks.svg|Tally marks high in most of Europe, Zimbabwe and Southern Africa, Australia, New Zealand and North America.&amp;lt;br&amp;gt;In some variants, the diagonal/horizontal slash is used on its own when five or more units are added at once.&lt;br /&gt;
File:Tally marks 3.svg|Cultures using Chinese characters tally by forming the character 正, which consists of five strokes.&lt;br /&gt;
File:Tally marks 2.svg|Tally marks used in France, their former colonies, Argentina and Brazil. 1 to 5 and so on. These are most commonly used for registering scores in card games, like Truco&lt;br /&gt;
File:Dot and line tally marks.jpg|In the dot and line (or dot-dash) tally, dots represent counts from 1 to 4, lines 5 to 8, and diagonal lines 9 and 10. This method is commonly used in forestry and related fields.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Table ===&lt;br /&gt;
[[File:Table-sample-appearance-default-params-values-01.gif|thumb|300px|An example table rendered in a web browser using HTML.]]&lt;br /&gt;
A '''table''' is an arrangement of information or data, typically in rows and columns, or possibly in a more complex structure. Tables are widely used in communication, research, and data analysis. Tables appear in print media, handwritten notes, computer software, architectural ornamentation, traffic signs, and many other places. The precise conventions and terminology for describing tables vary depending on the context. Further, tables differ significantly in variety, structure, flexibility, notation, representation and use. Information or data conveyed in table form is said to be in '''tabular''' format (adjective). In books and technical articles, tables are typically presented apart from the main text in numbered and captioned floating blocks.&lt;br /&gt;
&lt;br /&gt;
==== Basic description ====&lt;br /&gt;
A table consists of an ordered arrangement of '''rows''' and '''columns'''. This is a simplified description of the most basic kind of table. Certain considerations follow from this simplified description:&lt;br /&gt;
&lt;br /&gt;
* the term '''row''' has several common synonyms (e.g., record, k-tuple, n-tuple, vector);&lt;br /&gt;
* the term '''column''' has several common synonyms (e.g., field, parameter, property, attribute, stanchion);&lt;br /&gt;
* a column is usually identified by a name;&lt;br /&gt;
* a column name can consist of a word, phrase or a numerical index;&lt;br /&gt;
* the intersection of a row and a column is called a cell.&lt;br /&gt;
&lt;br /&gt;
The elements of a table may be grouped, segmented, or arranged in many different ways, and even nested recursively. Additionally, a table may include metadata, annotations, a header, a footer or other ancillary features.&lt;br /&gt;
&lt;br /&gt;
; Simple table&lt;br /&gt;
The following illustrates a simple table with three columns and nine rows. The first row is not counted, because it is only used to display the column names. This is called a &amp;quot;header row&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+Age table&lt;br /&gt;
|-&lt;br /&gt;
! First name !! Last name !! Age&lt;br /&gt;
|-&lt;br /&gt;
| Tinu || Elejogun|| 14&lt;br /&gt;
|-&lt;br /&gt;
| Javier || Zapata || 28&lt;br /&gt;
|-&lt;br /&gt;
| Lily || McGarrett || 18&lt;br /&gt;
|-&lt;br /&gt;
| Olatunkbo || Chijiaku || 22&lt;br /&gt;
|-&lt;br /&gt;
| Adrienne || Anthoula || 22&lt;br /&gt;
|-&lt;br /&gt;
| Axelia|| Athanasios || 22&lt;br /&gt;
|-&lt;br /&gt;
| Jon-Kabat || Zinn || 22&lt;br /&gt;
|-&lt;br /&gt;
| Thabang|| Mosoa||15&lt;br /&gt;
|-&lt;br /&gt;
| Kgaogelo|| Mosoa||11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
; Multi-dimensional table &lt;br /&gt;
[[File:Rollup table.png|thumb|An example of a table containing rows with summary information. The summary information consists of subtotals that are combined from previous rows within the same column.]]&lt;br /&gt;
&lt;br /&gt;
The concept of '''dimension''' is also a part of basic terminology. Any &amp;quot;simple&amp;quot; table can be represented as a &amp;quot;multi-dimensional&amp;quot;&lt;br /&gt;
table by normalizing the data values into ordered hierarchies. A common example of such a table is a multiplication table.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;white-space:nowrap&amp;quot; |Multiplication table&lt;br /&gt;
|-&lt;br /&gt;
!×!! 1 !! 2 !! 3&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| 2 || 4 || 6&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| 3 || 6 || 9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In multi-dimensional tables, each cell in the body of the table (and the value of that cell) relates to the values at the beginnings of the column (i.e. the header), the row, and other structures in more complex tables. This is an injective relation: each combination of the values of the headers row (row 0, for lack of a better term) and the headers column (column 0 for lack of a better term) is related to a unique cell in&lt;br /&gt;
the table:&lt;br /&gt;
&lt;br /&gt;
* Column 1 and row 1 will only correspond to cell (1,1);&lt;br /&gt;
* Column 1 and row 2 will only correspond to cell (2,1) etc.&lt;br /&gt;
&lt;br /&gt;
The first column often presents information dimension description by which the rest of the table is navigated. This column is called &amp;quot;stub column&amp;quot;. Tables may contain three or multiple dimensions and can be classified by the number of dimensions. Multi-dimensional tables may have super-rows - rows that describe additional dimensions for the rows that are presented below that row and are usually grouped in a tree-like structure.  This structure is typically visually presented with an appropriate number of white spaces in front of each stub's label.&lt;br /&gt;
&lt;br /&gt;
In literature tables often present numerical values, cumulative statistics, categorical values, and at times parallel descriptions in form of text. They can condense large amount of information to a limited space and therefore they are popular in scientific literature in many fields of study.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Pictogram Pictogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Table_(information) Table (information), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4662</id>
		<title>Number Systems, Base 10, 5 and 2</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Number_Systems,_Base_10,_5_and_2&amp;diff=4662"/>
		<updated>2022-02-05T19:17:20Z</updated>

		<summary type="html">&lt;p&gt;Khanh: Created page with &amp;quot;Numbers written in different numeral systems.  A '''numeral system''' (or '''system of numeration''') is a writin...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Numeral Systems of the World.svg|264px|thumb|right|Numbers written in different numeral systems.]]&lt;br /&gt;
&lt;br /&gt;
A '''numeral system''' (or '''system of numeration''') is a [[writing system]] for expressing numbers; that is, a [[mathematical notation]] for representing [[number]]s of a given set, using [[Numerical digit|digits]] or other symbols in a consistent manner.&lt;br /&gt;
&lt;br /&gt;
The same sequence of symbols may represent different numbers in different numeral systems. For example, &amp;quot;11&amp;quot; represents the number ''eleven'' in the [[decimal numeral system]] (used in common life), the number ''three'' in the [[binary numeral system]] (used in [[computer]]s), and the number ''two'' in the [[unary numeral system]] (e.g. used in [[Tally marks|tallying]] scores).&lt;br /&gt;
&lt;br /&gt;
The number the numeral represents is called its value. Not all number systems can represent all numbers that are considered in the modern days; for example, Roman numerals have no zero.&lt;br /&gt;
&lt;br /&gt;
Ideally, a numeral system will:&lt;br /&gt;
*Represent a useful set of numbers (e.g. all [[integer]]s, or [[rational number]]s)&lt;br /&gt;
*Give every number represented a unique representation (or at least a standard representation)&lt;br /&gt;
*Reflect the [[algebra|algebraic]] and [[arithmetic]] structure of the numbers.&lt;br /&gt;
&lt;br /&gt;
For example, the usual [[decimal representation]] gives every nonzero [[natural number]] a unique representation as a [[finite set|finite]] [[sequence]] of [[numerical digit|digits]], beginning with a non-zero digit.&lt;br /&gt;
&lt;br /&gt;
Numeral systems are sometimes called ''[[number system]]s'', but that name is ambiguous, as it could refer to different systems of numbers, such as the system of [[real number]]s, the system of [[complex number]]s, the system of [[p-adic number|''p''-adic numbers]], etc. Such systems are, however, not the topic of this article.&lt;br /&gt;
&lt;br /&gt;
==Main numeral systems==&lt;br /&gt;
The most commonly used system of numerals is [[decimal]]. [[Indian mathematicians]] are credited with developing the integer version, the [[Hindu–Arabic numeral system]]. [[Aryabhata]] of [[Patna|Kusumapura]] developed the [[place-value notation]] in the 5th&amp;amp;nbsp;century and a century later [[Brahmagupta]] introduced the symbol for [[zero]]. The system slowly spread to other surrounding regions like Arabia due to their commercial and military activities with India. [[Middle-East|Middle-Eastern]] mathematicians extended the system to include negative powers of 10 ([[fractions]]), as recorded in a treatise by [[Syrian]] mathematician [[Abu'l-Hasan al-Uqlidisi]] in 952–953, and the [[decimal point]] notation was introduced{{when|date=February 2021}} by [[Sind ibn Ali]], who also wrote the earliest treatise on Arabic numerals. The Hindu-Arabic numeral system then spread to Europe due to merchants trading, and the digits used in Europe are called [[Arabic numerals]], as they learned them from the Arabs.&lt;br /&gt;
&lt;br /&gt;
The simplest numeral system is the [[unary numeral system]], in which every [[natural number]] is represented by a corresponding number of symbols. If the symbol {{mono|/}} is chosen, for example, then the number seven would be represented by {{mono|///////}}. [[Tally marks]] represent one such system still in common use. The unary system is only useful for small numbers, although it plays an important role in [[theoretical computer science]]. [[Elias gamma coding]], which is commonly used in [[data compression]], expresses arbitrary-sized numbers by using unary to indicate the length of a binary numeral.&lt;br /&gt;
&lt;br /&gt;
The unary notation can be abbreviated by introducing different symbols for certain new values. Very commonly, these values are powers of 10; so for instance, if / stands for one, − for ten and + for 100, then the number 304 can be compactly represented as {{mono|+++ ////}} and the number 123 as {{mono|+ − − ///}} without any need for zero. This is called [[sign-value notation]]. The ancient [[Egyptian numeral system]] was of this type, and the [[Roman numeral system]] was a modification of this idea.&lt;br /&gt;
&lt;br /&gt;
More useful still are systems which employ special abbreviations for repetitions of symbols; for example, using the first nine letters of the alphabet for these abbreviations, with A standing for &amp;quot;one occurrence&amp;quot;, B &amp;quot;two occurrences&amp;quot;, and so on, one could then write C+ D/ for the number 304. This system is used when writing [[Chinese numerals]] and other East Asian numerals based on Chinese. The number system of the [[English language]] is of this type (&amp;quot;three hundred [and] four&amp;quot;), as are those of other spoken [[language]]s, regardless of what written systems they have adopted. However, many languages use mixtures of bases, and other features, for instance 79 in French is ''soixante dix-neuf'' ({{nowrap|60 + 10 + 9}}) and in Welsh is ''pedwar ar bymtheg a thrigain'' ({{nowrap|4 + (5 + 10) + (3 × 20)}}) or (somewhat archaic) ''pedwar ugain namyn un'' ({{nowrap|4 × 20 − 1}}). In English, one could say &amp;quot;four score less one&amp;quot;, as in the famous [[Gettysburg Address]] representing &amp;quot;87 years ago&amp;quot; as &amp;quot;four score and seven years ago&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
More elegant is a ''[[positional notation|positional system]]'', also known as place-value notation. Again working in base&amp;amp;nbsp;10, ten different digits 0,&amp;amp;nbsp;..., 9 are used and the position of a digit is used to signify the power of ten that the digit is to be multiplied with, as in {{nowrap|304 {{=}} 3×100 + 0×10 + 4×1}} or more precisely {{nowrap|3×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 0×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 4×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;}}. Zero, which is not needed in the other systems, is of crucial importance here, in order to be able to &amp;quot;skip&amp;quot; a power. The Hindu–Arabic numeral system, which originated in India and is now used throughout the world, is a positional base&amp;amp;nbsp;10 system.&lt;br /&gt;
&lt;br /&gt;
Arithmetic is much easier in positional systems than in the earlier additive ones; furthermore, additive systems need a large number of different symbols for the different powers of 10; a positional system needs only ten different symbols (assuming that it uses base&amp;amp;nbsp;10).&amp;lt;ref&amp;gt;{{Cite book|last=Chowdhury|first=Arnab|url=https://books.google.com/books?id=WXn-mT3K6dgC&amp;amp;q=Arithmetic+is+much+easier+in+positional+systems+than+in+the+earlier+additive+ones;+furthermore,+additive+systems+need+a+large+number+of+different+symbols+for+the+different+powers+of+10;+a+positional+system+needs+only+ten+different+symbols+(assuming+that+it+uses+base+10).&amp;amp;pg=PA2|title=Design of an Efficient Multiplier using DBNS|publisher=GIAP Journals|isbn=978-93-83006-18-2|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positional decimal system is presently universally used in human writing. The base&amp;amp;nbsp;1000 is also used (albeit not universally), by grouping the digits and considering a sequence of three decimal digits as a single digit. This is the meaning of the common notation 1,000,234,567 used for very large numbers.&lt;br /&gt;
&lt;br /&gt;
In [[computers]], the main numeral systems are based on the positional system in base&amp;amp;nbsp;2 ([[binary numeral system]]), with two [[binary digit]]s, 0 and 1. Positional systems obtained by grouping binary digits by three ([[octal numeral system]]) or four ([[hexadecimal numeral system]]) are commonly used. For very large integers, bases&amp;amp;nbsp;2&amp;lt;sup&amp;gt;32&amp;lt;/sup&amp;gt; or 2&amp;lt;sup&amp;gt;64&amp;lt;/sup&amp;gt; (grouping binary digits by 32 or 64, the length of the [[machine word]]) are used, as, for example, in [[GNU Multiple Precision Arithmetic Library|GMP]].&lt;br /&gt;
&lt;br /&gt;
In certain biological systems, the [[unary coding]] system is employed. Unary numerals used in the [[neural circuit]]s responsible for [[birdsong]] production.&amp;lt;ref&amp;gt; Fiete, I. R.; Seung, H. S. (2007). &amp;quot;Neural network models of birdsong production, learning, and coding&amp;quot;. In Squire, L.; Albright, T.; Bloom, F.; Gage, F.; Spitzer, N. New Encyclopedia of Neuroscience.&amp;lt;/ref&amp;gt; The nucleus in the brain of the songbirds that plays a part in both the learning and the production of bird song is the HVC ([[high vocal center]]). The command signals for different notes in the birdsong emanate from different points in the HVC. This coding works as space coding which is an efficient strategy for biological circuits due to its inherent simplicity and robustness.&lt;br /&gt;
&lt;br /&gt;
The numerals used when writing numbers with digits or symbols can be divided into two types that might be called the [[Arithmetic sequence|arithmetic]] numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the [[Geometric sequence|geometric]] numerals (1, 10, 100, 1000, 10000 ...), respectively. The sign-value systems use only the geometric numerals and the positional systems use only the arithmetic numerals. A sign-value system does not need arithmetic numerals because they are made by repetition (except for the [[Greek numerals|Ionic system]]), and a positional system does not need geometric numerals because they are made by position. However, the spoken language uses ''both'' arithmetic and geometric numerals.&lt;br /&gt;
&lt;br /&gt;
In certain areas of computer science, a modified base ''k'' positional system is used, called [[bijective numeration]], with digits 1, 2,&amp;amp;nbsp;..., ''k'' ({{nowrap|''k'' ≥ 1}}), and zero being represented by an empty string. This establishes a [[bijection]] between the set of all such digit-strings and the set of non-negative integers, avoiding the non-uniqueness caused by leading zeros. Bijective base-''k'' numeration is also called ''k''-adic notation, not to be confused with [[p-adic number|''p''-adic numbers]]. Bijective base&amp;amp;nbsp;1 is the same as unary.&lt;br /&gt;
&lt;br /&gt;
==Positional systems in detail==&lt;br /&gt;
In a positional base ''b'' numeral system (with ''b'' a [[natural number]] greater than 1 known as the [[radix]]), ''b'' basic symbols (or digits) corresponding to the first ''b'' natural numbers including zero are used. To generate the rest of the numerals, the position of the symbol in the figure is used. The symbol in the last position has its own value, and as it moves to the left its value is multiplied by ''b''.&lt;br /&gt;
&lt;br /&gt;
For example, in the [[decimal]] system (base 10), the numeral 4327 means {{math|('''4'''×10&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + ('''3'''×10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + ('''2'''×10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + ('''7'''×10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;)}}, noting that {{math|10&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; {{=}} 1}}.&lt;br /&gt;
&lt;br /&gt;
In general, if ''b'' is the base, one writes a number in the numeral system of base ''b'' by expressing it in the form {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 1&amp;lt;/sup&amp;gt; + ''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n'' − 2&amp;lt;/sup&amp;gt; + ... + ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;}} and writing the enumerated digits {{math|''a''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 1&amp;lt;/sub&amp;gt;''a''&amp;lt;sub&amp;gt;''n'' − 2&amp;lt;/sub&amp;gt; ... ''a''&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} in descending order. The digits are natural numbers between 0 and {{math|''b'' − 1}}, inclusive.&lt;br /&gt;
&lt;br /&gt;
If a text (such as this one) discusses multiple bases, and if ambiguity exists, the base (itself represented in base&amp;amp;nbsp;10) is added in subscript to the right of the number, like this: number&amp;lt;sub&amp;gt;base&amp;lt;/sub&amp;gt;. Unless specified by context, numbers without subscript are considered to be decimal.&lt;br /&gt;
&lt;br /&gt;
By using a dot to divide the digits into two groups, one can also write fractions in the positional system. For example, the base&amp;amp;nbsp;2 numeral 10.11 denotes {{math|1×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 0×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 1×2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; {{=}} 2.75}}.&lt;br /&gt;
&lt;br /&gt;
In general, numbers in the base ''b'' system are of the form:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
(a_na_{n-1}\cdots a_1a_0.c_1 c_2 c_3\cdots)_b =&lt;br /&gt;
\sum_{k=0}^n a_kb^k + \sum_{k=1}^\infty c_kb^{-k}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The numbers ''b''&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and ''b''&amp;lt;sup&amp;gt;−''k''&amp;lt;/sup&amp;gt; are the [[weight function|weights]] of the corresponding digits. The position ''k'' is the [[logarithm]] of the corresponding weight ''w'', that is &amp;lt;math&amp;gt;k = \log_{b} w = \log_{b} b^k&amp;lt;/math&amp;gt;. The highest used position is close to the [[order of magnitude]] of the number.&lt;br /&gt;
&lt;br /&gt;
The number of [[tally marks]] required in the [[unary numeral system]] for ''describing the weight'' would have been '''w'''. In the positional system, the number of digits required to describe it is only &amp;lt;math&amp;gt;k + 1 = \log_{b} w + 1&amp;lt;/math&amp;gt;, for ''k'' ≥ 0. For example, to describe the weight 1000 then four digits are needed because &amp;lt;math&amp;gt;\log_{10} 1000 + 1 = 3 + 1&amp;lt;/math&amp;gt;. The number of digits required to ''describe the position'' is &amp;lt;math&amp;gt;\log_b k + 1 = \log_b \log_b w + 1&amp;lt;/math&amp;gt; (in positions 1, 10, 100,... only for simplicity in the decimal example).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{array}{l|rrrrrrr}&lt;br /&gt;
\text{Position}&lt;br /&gt;
&amp;amp; 3&lt;br /&gt;
&amp;amp; 2&lt;br /&gt;
&amp;amp; 1&lt;br /&gt;
&amp;amp; 0&lt;br /&gt;
&amp;amp; -1&lt;br /&gt;
&amp;amp; -2&lt;br /&gt;
&amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Weight}&lt;br /&gt;
&amp;amp; b^3 &amp;amp; b^2 &amp;amp; b^1 &amp;amp; b^0 &amp;amp; b^{-1} &amp;amp; b^{-2} &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Digit}&lt;br /&gt;
&amp;amp; a_3 &amp;amp; a_2 &amp;amp; a_1 &amp;amp; a_0 &amp;amp; c_1 &amp;amp; c_2 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\hline&lt;br /&gt;
\text{Decimal example weight}&lt;br /&gt;
&amp;amp; 1000 &amp;amp; 100 &amp;amp; 10 &amp;amp; 1 &amp;amp; 0.1 &amp;amp; 0.01 &amp;amp; \cdots&lt;br /&gt;
\\&lt;br /&gt;
\text{Decimal example digit}&lt;br /&gt;
&amp;amp; 4 &amp;amp; 3 &amp;amp; 2 &amp;amp; 7 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdots&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A number has a terminating or repeating expansion [[if and only if]] it is [[rational number|rational]]; this does not depend on the base. A number that terminates in one base may repeat in another (thus {{math|0.3&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; {{=}} 0.0100110011001...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;}}). An irrational number stays aperiodic (with an infinite number of non-repeating digits) in all integral bases. Thus, for example in base&amp;amp;nbsp;2, {{math|[[pi|π]] {{=}} 3.1415926...&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;}} can be written as the aperiodic 11.001001000011111...&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Putting [[overline|overscores]], {{overline|''n''}}, or dots, ''ṅ'', above the common digits is a convention used to represent repeating rational expansions. Thus:&lt;br /&gt;
:14/11 = 1.272727272727... = 1.{{overline|27}} &amp;amp;nbsp; or &amp;amp;nbsp; 321.3217878787878... = 321.321{{Overline|78}}.&lt;br /&gt;
&lt;br /&gt;
If ''b'' = ''p'' is a prime number, one can define base-''p'' numerals whose expansion to the left never stops; these are called the ''p''-adic numbers.&lt;br /&gt;
&lt;br /&gt;
==Generalized variable-length integers==&lt;br /&gt;
More general is using a mixed radix notation (here written little-endian) like &amp;lt;math&amp;gt;a_0 a_1 a_2&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;a_0 + a_1 b_1 + a_2 b_1 b_2&amp;lt;/math&amp;gt;, etc.&lt;br /&gt;
&lt;br /&gt;
This is used in Punycode, one aspect of which is the representation of a sequence of non-negative integers of arbitrary size in the form of a sequence without delimiters, of &amp;quot;digits&amp;quot; from a collection of 36: a–z and 0–9, representing 0–25 and 26–35 respectively. There are also so-called threshold values (&amp;lt;math&amp;gt;t_0, t_1, ...&amp;lt;/math&amp;gt;) which are fixed for every position in the number. A digit &amp;lt;math&amp;gt;a_i&amp;lt;/math&amp;gt; (in a given position in the number) that is lower than its corresponding threshold value &amp;lt;math&amp;gt;t_i&amp;lt;/math&amp;gt; means that it is the most-significant digit, hence in the string this is the end of the number, and the next symbol (if present) is the least-significant digit of the next number.&lt;br /&gt;
&lt;br /&gt;
For example, if the threshold value for the first digit is ''b'' (i.e. 1) then ''a'' (i.e. 0) marks the end of the number (it has just one digit), so in numbers of more than one digit, first-digit range is only b–9 (i.e. 1–35), therefore the weight ''b''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; is 35 instead of 36. More generally, if ''t&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' is the threshold for the ''n''-th digit, it is easy to show that &amp;lt;math&amp;gt;b_{n+1}=36-t_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
Suppose the threshold values for the second and third digits are ''c'' (i.e. 2), then the second-digit range is a–b (i.e. 0–1) with the second digit being most significant, while the range is c–9 (i.e. 2–35) in the presence of a third digit. Generally, for any ''n'', the weight of the (''n''+1)-th digit is the weight of the previous one times (36 − threshold of the ''n''-th digit). So the weight of the second symbol is &amp;lt;math&amp;gt;36 - t_0 = 35&amp;lt;/math&amp;gt;. And the weight of the third symbol is &amp;lt;math&amp;gt;35 * (36 - t_1) = 35*34 = 1190&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So we have the following sequence of the numbers with at most 3 digits:&lt;br /&gt;
&lt;br /&gt;
''a'' (0), ''ba'' (1), ''ca'' (2), ..., ''9a'' (35), ''bb'' (36), ''cb'' (37), ..., ''9b'' (70), ''bca'' (71), ..., ''99a'' (1260), ''bcb'' (1261), ..., ''99b'' (2450).&lt;br /&gt;
&lt;br /&gt;
Unlike a regular n-based numeral system, there are numbers like ''9b'' where ''9'' and ''b'' each represent 35; yet the representation is unique because ''ac'' and ''aca'' are not allowed – the first ''a'' would terminate each of the se numbers.&lt;br /&gt;
&lt;br /&gt;
The flexibility in choosing threshold values allows optimization for number of digits depending on the frequency of occurrence of numbers of various sizes.&lt;br /&gt;
&lt;br /&gt;
The case with all threshold values equal to 1 corresponds to bijective numeration, where the zeros correspond to separators of numbers with digits which are non-zero.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Numeral_system Numeral system, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4661</id>
		<title>Base 10, Base 2 &amp; Base 5</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4661"/>
		<updated>2022-02-05T19:13:12Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Fractions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a positional numeral system, the '''radix''' or '''base''' is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is ten, because it uses the ten digits from 0 through 9.&lt;br /&gt;
&lt;br /&gt;
In any standard positional numeral system, a number is conventionally written as (''x'')&amp;lt;sub&amp;gt;''y''&amp;lt;/sub&amp;gt; with ''x'' as the string of digits and ''y'' as its base, although for base ten the subscript is usually assumed (and omitted, together with the pair of parentheses), as it is the most common way to express value. For example, (100)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is equivalent to  100&amp;lt;/span&amp;gt; (the decimal system is implied in the latter) and represents the number one hundred, while (100)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (in the binary system with base 2) represents the number four.&lt;br /&gt;
&lt;br /&gt;
= In numeral systems =&lt;br /&gt;
In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 3 × 13&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 9 × 13&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 8 × 13&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = 632. &lt;br /&gt;
&lt;br /&gt;
More generally, in a system with radix ''b'' (''b'' &amp;gt; 1), a string of digits ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; … ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' denotes the number ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−1&amp;lt;/sup&amp;gt; + ''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−2&amp;lt;/sup&amp;gt; + … + ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, where 0 ≤ ''d&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;'' &amp;lt; ''b''. In contrast to decimal, or radix 10, which has a ones' place, tens' place, hundreds' place, and so on, radix ''b'' would have a ones' place, then a ''b''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;s' place, a ''b''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;s' place, etc.&lt;br /&gt;
&lt;br /&gt;
Commonly used numeral systems include:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Base/radix&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Binary numeral system&lt;br /&gt;
| Used internally by nearly all computers, is base 2. The two digits are &amp;quot;0&amp;quot; and &amp;quot;1&amp;quot;, expressed from switches displaying OFF and ON, respectively. Used in most electric counters.&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| Octal system&lt;br /&gt;
| Used occasionally in computing. The eight digits are &amp;quot;0&amp;quot;–&amp;quot;7&amp;quot; and represent 3 bits (2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| 10 &lt;br /&gt;
| Decimal system&lt;br /&gt;
| Used by humans in the vast majority of cultures. Its ten digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot;. Used in most mechanical counters.&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| Duodecimal (dozenal) system&lt;br /&gt;
| Sometimes advocated due to divisibility by 2, 3, 4, and 6. It was traditionally used as part of quantities expressed in dozens and grosses.&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| Hexadecimal system&lt;br /&gt;
| Often used in computing as a more compact representation of binary (1 hex digit per 4 bits). The sixteen digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot; followed by &amp;quot;A&amp;quot;–&amp;quot;F&amp;quot; or &amp;quot;a&amp;quot;–&amp;quot;f&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| Vigesimal system&lt;br /&gt;
| Traditional numeral system in several cultures, still used by some for counting. Historically also known as the ''score system'' in English, now most famous in the phrase &amp;quot;four score and seven years ago&amp;quot; in the Gettysburg Address.&lt;br /&gt;
|-&lt;br /&gt;
| 60&lt;br /&gt;
| Sexagesimal system&lt;br /&gt;
| Originated in ancient Sumer and passed to the Babylonians. Used today as the basis of modern circular coordinate system (degrees, minutes, and seconds) and time measuring (minutes, and seconds) by analogy to the rotation of the Earth.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Base 2 =&lt;br /&gt;
A '''binary number''' is a number expressed in the '''base-2 numeral system''' or '''binary numeral system''', a method of mathematical expression which uses only two symbols: typically &amp;quot;0&amp;quot; (zero) and &amp;quot;1&amp;quot; (one).&lt;br /&gt;
&lt;br /&gt;
The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices, as a preferred system of use, over various other human techniques of communication, because of the simplicity of the language.&lt;br /&gt;
&lt;br /&gt;
==Representation==&lt;br /&gt;
Any number can be represented by a sequence of bits (binary digits), which in turn may be represented by any mechanism capable of being in two mutually exclusive states. Any of the following rows of symbols can be interpreted as the binary numeric value of 667:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
| 1 || 0 || 1 || 0 || 0 || 1 || 1 || 0 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ☒ || ☐ || ☒ || ☐ || ☐ || ☒ || ☒ || ☐ || ☒ || ☒&lt;br /&gt;
|-&lt;br /&gt;
| y || n || y || n || n || y || y || n || y || y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:Binary clock.svg|250px|thumbnail|right|A binary clock might use LEDs to express binary values. In this clock, each column of LEDs shows a binary-coded decimal numeral of the traditional sexagesimal time.]]&lt;br /&gt;
&lt;br /&gt;
The numeric value represented in each case is dependent upon the value assigned to each symbol. In the earlier days of computing, switches, punched holes and punched paper tapes were used to represent binary values. In a modern computer, the numeric values may be represented by two different voltages; on a magnetic disk, magnetic polarities may be used. A &amp;quot;positive&amp;quot;, &amp;quot;yes&amp;quot;, or &amp;quot;on&amp;quot; state is not necessarily equivalent to the numerical value of one; it depends on the architecture in use.&lt;br /&gt;
&lt;br /&gt;
In keeping with customary representation of numerals using Arabic numerals, binary numbers are commonly written using the symbols '''0''' and '''1'''. When written, binary numerals are often subscripted, prefixed or suffixed in order to indicate their base, or radix. The following notations are equivalent:&lt;br /&gt;
* 100101 binary (explicit statement of format)&lt;br /&gt;
* 100101b (a suffix indicating binary format; also known as Intel convention)&lt;br /&gt;
* 100101B (a suffix indicating binary format)&lt;br /&gt;
* bin 100101 (a prefix indicating binary format)&lt;br /&gt;
* 100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (a subscript indicating base-2 (binary) notation)&lt;br /&gt;
* %100101 (a prefix indicating binary format; also known as Motorola convention)&lt;br /&gt;
* 0b100101 (a prefix indicating binary format, common in programming languages)&lt;br /&gt;
* 6b100101 (a prefix indicating number of bits in binary format, common in programming languages)&lt;br /&gt;
* #b100101 (a prefix indicating binary format, common in Lisp programming languages)&lt;br /&gt;
&lt;br /&gt;
When spoken, binary numerals are usually read digit-by-digit, in order to distinguish them from decimal numerals. For example, the binary numeral 100 is pronounced ''one zero zero'', rather than ''one hundred'', to make its binary nature explicit, and for purposes of correctness. Since the binary numeral 100 represents the value four, it would be confusing to refer to the numeral as ''one hundred'' (a word that represents a completely different value, or amount). Alternatively, the binary numeral 100 can be read out as &amp;quot;four&amp;quot; (the correct ''value''), but this does not make its binary nature explicit.&lt;br /&gt;
&lt;br /&gt;
==Counting in binary==&lt;br /&gt;
Counting in binary is similar to counting in any other number system. Beginning with a single digit, counting proceeds through each symbol, in increasing order. Before examining binary counting, it is useful to briefly discuss the more familiar decimal counting system as a frame of reference.&lt;br /&gt;
&lt;br /&gt;
===Decimal counting===&lt;br /&gt;
Decimal counting uses the ten symbols ''0'' through ''9''.  Counting begins with the incremental substitution of the least significant digit (rightmost digit) which is often called the ''first digit''. When the available symbols for this position are exhausted, the least significant digit is reset to ''0'', and the next digit of higher significance (one position to the left) is incremented (''overflow''), and incremental substitution of the low-order digit resumes. This method of reset and overflow is repeated for each digit of significance. Counting progresses as follows:&lt;br /&gt;
&lt;br /&gt;
:000, 001, 002, ... 007, 008, 009, (rightmost digit is reset to zero, and the digit to its left is incremented)&lt;br /&gt;
:0'''1'''0, 011, 012, ...&lt;br /&gt;
:&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;...&lt;br /&gt;
:090, 091, 092, ... 097, 098, 099, (rightmost two digits are reset to zeroes, and next digit is incremented)&lt;br /&gt;
:'''1'''00, 101, 102, ...&lt;br /&gt;
&lt;br /&gt;
===Binary counting===&lt;br /&gt;
[[File:Binary counter.gif|thumb|This counter shows how to count in binary from numbers zero through thirty-one.]]&lt;br /&gt;
[[File:Binary_guess_number_trick_SMIL.svg|thumb|upright|link={{filepath:binary_guess_number_trick_SMIL.svg}}|A party trick to guess a number from which cards it is printed on uses the bits of the binary representation of the number. In the SVG file, click a card to toggle it]]&lt;br /&gt;
Binary counting follows the same procedure, except that only the two symbols ''0'' and ''1'' are available. Thus, after a digit reaches 1 in binary, an increment resets it to 0 but also causes an increment of the next digit to the left:&lt;br /&gt;
&lt;br /&gt;
:0000,&lt;br /&gt;
:000'''1''', (rightmost digit starts over, and next digit is incremented)&lt;br /&gt;
:00'''1'''0, 0011, (rightmost two digits start over, and next digit is incremented)&lt;br /&gt;
:0'''1'''00, 0101, 0110, 0111, (rightmost three digits start over, and the next digit is incremented)&lt;br /&gt;
:'''1'''000, 1001, 1010, 1011, 1100, 1101, 1110, 1111 ...&lt;br /&gt;
&lt;br /&gt;
In the binary system, each digit represents an increasing power of 2, with the rightmost digit representing 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, the next representing 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, then 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, and so on. The value of a binary number is the sum of the powers of 2 represented by each &amp;quot;1&amp;quot; digit. For example, the binary number 100101 is converted to decimal form as follows:&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; ]&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ '''1''' × 32 ] + [ '''0''' × 16 ] + [ '''0''' × 8 ] + [ '''1''' × 4 ] + [ '''0''' × 2 ] + [ '''1''' × 1 ]&lt;br /&gt;
&lt;br /&gt;
:'''100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 37&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
==Fractions==&lt;br /&gt;
&lt;br /&gt;
Fractions in binary arithmetic terminate only if 2 is the only prime factor in the denominator. As a result, 1/10 does not have a finite binary representation ('''10''' has prime factors '''2''' and '''5'''). This causes 10 × 0.1 not to precisely equal 1 in floating-point arithmetic. As an example, to interpret the binary expression for 1/3 = .010101..., this means: 1/3 = 0 × '''2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;''' + 1 × '''2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;''' + 0 × '''2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt;''' +  1 × '''2&amp;lt;sup&amp;gt;−4&amp;lt;/sup&amp;gt;''' + ... = 0.3125 + ... An exact value cannot be found with a sum of a finite number of inverse powers of two, the zeros and ones in the binary representation of 1/3 alternate forever.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Fraction&lt;br /&gt;
! Decimal&lt;br /&gt;
! Binary&lt;br /&gt;
! Fractional approximation&lt;br /&gt;
|-&lt;br /&gt;
| 1/1&lt;br /&gt;
| 1 or 0.999...&lt;br /&gt;
| 1 or 0.111...&lt;br /&gt;
| 1/2 + 1/4 + 1/8...&lt;br /&gt;
|-&lt;br /&gt;
| 1/2&lt;br /&gt;
| 0.5 or 0.4999...&lt;br /&gt;
| 0.1 or 0.0111...&lt;br /&gt;
| 1/4 + 1/8 + 1/16 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/3&lt;br /&gt;
| 0.333...&lt;br /&gt;
| 0.010101...&lt;br /&gt;
| 1/4 + 1/16 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/4&lt;br /&gt;
| 0.25 or 0.24999...&lt;br /&gt;
| 0.01 or 0.00111...&lt;br /&gt;
| 1/8 + 1/16 + 1/32 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/5&lt;br /&gt;
| 0.2 or 0.1999...&lt;br /&gt;
| 0.00110011...&lt;br /&gt;
| 1/8 + 1/16 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/6&lt;br /&gt;
| 0.1666...&lt;br /&gt;
| 0.0010101...&lt;br /&gt;
| 1/8 + 1/32 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/7&lt;br /&gt;
| 0.142857142857...&lt;br /&gt;
| 0.001001...&lt;br /&gt;
| 1/8 + 1/64 + 1/512 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/8&lt;br /&gt;
| 0.125 or 0.124999...&lt;br /&gt;
| 0.001 or 0.000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/9&lt;br /&gt;
| 0.111...&lt;br /&gt;
| 0.000111000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/10&lt;br /&gt;
| 0.1 or 0.0999...&lt;br /&gt;
| 0.000110011...&lt;br /&gt;
| 1/16 + 1/32 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/11&lt;br /&gt;
| 0.090909...&lt;br /&gt;
| 0.00010111010001011101...&lt;br /&gt;
| 1/16 + 1/64 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/12&lt;br /&gt;
| 0.08333...&lt;br /&gt;
| 0.00010101...&lt;br /&gt;
| 1/16 + 1/64 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/13&lt;br /&gt;
| 0.076923076923...&lt;br /&gt;
| 0.000100111011000100111011...&lt;br /&gt;
| 1/16 + 1/128 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/14&lt;br /&gt;
| 0.0714285714285...&lt;br /&gt;
| 0.0001001001...&lt;br /&gt;
| 1/16 + 1/128 + 1/1024 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/15&lt;br /&gt;
| 0.0666...&lt;br /&gt;
| 0.00010001...&lt;br /&gt;
| 1/16 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/16&lt;br /&gt;
| 0.0625 or 0.0624999...&lt;br /&gt;
| 0.0001 or 0.0000111...&lt;br /&gt;
| 1/32 + 1/64 + 1/128 . . .&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Binary arithmetic==&lt;br /&gt;
Arithmetic in binary is much like arithmetic in other numeral systems. Addition, subtraction, multiplication, and division can be performed on binary numerals.&lt;br /&gt;
&lt;br /&gt;
===Addition===&lt;br /&gt;
[[Image:Half Adder.svg|thumbnail|200px|right|The circuit diagram for a binary half adder, which adds two bits together, producing sum and carry bits]]&lt;br /&gt;
&lt;br /&gt;
The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:&lt;br /&gt;
&lt;br /&gt;
:0 + 0 → 0&lt;br /&gt;
:0 + 1 → 1&lt;br /&gt;
:1 + 0 → 1&lt;br /&gt;
:1 + 1 → 0, carry 1 (since 1 + 1 = 2 = 0 + (1 × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
Adding two &amp;quot;1&amp;quot; digits produces a digit &amp;quot;0&amp;quot;, while 1 will have to be added to the next column. This is similar to what happens in decimal when certain single-digit numbers are added together; if the result equals or exceeds the value of the radix (10), the digit to the left is incremented:&lt;br /&gt;
&lt;br /&gt;
:5 + 5 → 0, carry 1 (since 5 + 5 = 10 = 0 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
:7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
&lt;br /&gt;
This is known as ''carrying''. When the result of an addition exceeds the value of a digit, the procedure is to &amp;quot;carry&amp;quot; the excess amount divided by the radix (that is, 10/10) to the left, adding it to the next positional value. This is correct since the next position has a weight that is higher by a factor equal to the radix. Carrying works the same way in binary:&lt;br /&gt;
&lt;br /&gt;
   1 1 1 1 1    (carried digits)&lt;br /&gt;
     0 1 1 0 1&lt;br /&gt;
 +   1 0 1 1 1&lt;br /&gt;
 -------------&lt;br /&gt;
 = 1 0 0 1 0 0 = 36&lt;br /&gt;
&lt;br /&gt;
In this example, two numerals are being added together: 01101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (13&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 10111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (23&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;). The top row shows the carry bits used. Starting in the rightmost column, 1 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. The 1 is carried to the left, and the 0 is written at the bottom of the rightmost column. The second column from the right is added: 1 + 0 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; again; the 1 is carried, and 0 is written at the bottom. The third column: 1 + 1 + 1 = 11&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 100100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (36&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
When computers must add two numbers, the rule that:&lt;br /&gt;
x xor y = (x + y) mod 2&lt;br /&gt;
for any two bits x and y allows for very fast calculation, as well.&lt;br /&gt;
&lt;br /&gt;
====Long carry method====&lt;br /&gt;
A simplification for many binary addition problems is the Long Carry Method or Brookhouse Method of Binary Addition. This method is generally useful in any binary addition in which one of the numbers contains a long &amp;quot;string&amp;quot; of ones. It is based on the simple premise that under the binary system, when given a &amp;quot;string&amp;quot; of digits composed entirely of ''n'' ones (where ''n'' is any integer length), adding 1 will result in the number 1 followed by a string of ''n'' zeros. That concept follows, logically, just as in the decimal system, where adding 1 to a string of ''n'' 9s will result in the number 1 followed by a string of ''n'' 0s:&lt;br /&gt;
&lt;br /&gt;
      Binary                        Decimal&lt;br /&gt;
     1 1 1 1 1     likewise        9 9 9 9 9&lt;br /&gt;
  +          1                  +          1&lt;br /&gt;
   ———————————                   ———————————&lt;br /&gt;
   1 0 0 0 0 0                   1 0 0 0 0 0&lt;br /&gt;
&lt;br /&gt;
Such long strings are quite common in the binary system.  From that one finds that large binary numbers can be added using two simple steps, without excessive carry operations. In the following example, two numerals are being added together: 1 1 1 0 1 1 1 1 1 0&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (958&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 1 0 1 0 1 1 0 0 1 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (691&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;), using the traditional carry method on the left, and the long carry method on the right:&lt;br /&gt;
&lt;br /&gt;
 Traditional Carry Method                       Long Carry Method&lt;br /&gt;
                                 vs.&lt;br /&gt;
   1 1 1   1 1 1 1 1      (carried digits)   1 ←     1 ←            carry the 1 until it is one digit past the &amp;quot;string&amp;quot; below&lt;br /&gt;
     1 1 1 0 1 1 1 1 1 0                       &amp;lt;s&amp;gt;1 1 1&amp;lt;/s&amp;gt; 0 &amp;lt;s&amp;gt;1 1 1 1 1&amp;lt;/s&amp;gt; 0  cross out the &amp;quot;string&amp;quot;,&lt;br /&gt;
 +   1 0 1 0 1 1 0 0 1 1                   +   1 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 0 1 1 0 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 1  and cross out the digit that was added to it&lt;br /&gt;
 ———————————————————————                    ——————————————————————&lt;br /&gt;
 = 1 1 0 0 1 1 1 0 0 0 1                     1 1 0 0 1 1 1 0 0 0 1&lt;br /&gt;
&lt;br /&gt;
The top row shows the carry bits used. Instead of the standard carry from one column to the next, the lowest-ordered &amp;quot;1&amp;quot; with a &amp;quot;1&amp;quot; in the corresponding place value beneath it may be added and a &amp;quot;1&amp;quot; may be carried to one digit past the end of the series.  The &amp;quot;used&amp;quot; numbers must be crossed off, since they are already added. Other long strings may likewise be cancelled using the same technique. Then, simply add together any remaining digits normally. Proceeding in this manner gives the final answer of 1 1 0 0 1 1 1 0 0 0 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (1649&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).  In our simple example using small numbers, the traditional carry method required eight carry operations, yet the long carry method required only two, representing a substantial reduction of effort.&lt;br /&gt;
&lt;br /&gt;
====Addition table====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1&lt;br /&gt;
| 10&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary addition table is similar, but not the same, as the truth table of the logical disjunction operation &amp;lt;math&amp;gt;\lor&amp;lt;/math&amp;gt;. The difference is that &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\lor &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;1=1&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;1+1=10&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Subtraction ===&lt;br /&gt;
&lt;br /&gt;
Subtraction works in much the same way:&lt;br /&gt;
&lt;br /&gt;
:0 − 0 → 0&lt;br /&gt;
:0 − 1 → 1, borrow 1&lt;br /&gt;
:1 − 0 → 1&lt;br /&gt;
:1 − 1 → 0&lt;br /&gt;
Subtracting a &amp;quot;1&amp;quot; digit from a &amp;quot;0&amp;quot; digit produces the digit &amp;quot;1&amp;quot;, while 1 will have to be subtracted from the next column. This is known as ''borrowing''. The principle is the same as for carrying. When the result of a subtraction is less than 0, the least possible value of a digit, the procedure is to &amp;quot;borrow&amp;quot; the deficit divided by the radix (that is, 10/10) from the left, subtracting it from the next positional value.&lt;br /&gt;
&lt;br /&gt;
     *   * * *   (starred columns are borrowed from)&lt;br /&gt;
   1 1 0 1 1 1 0&lt;br /&gt;
 −     1 0 1 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 1 0 1 0 1 1 1&lt;br /&gt;
&lt;br /&gt;
   *             (starred columns are borrowed from)&lt;br /&gt;
   1 0 1 1 1 1 1&lt;br /&gt;
 -   1 0 1 0 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 0 1 1 0 1 0 0&lt;br /&gt;
&lt;br /&gt;
Subtracting a positive number is equivalent to ''adding'' a negative number of equal absolute value. Computers use signed number representations to handle negative numbers—most commonly the two's complement notation. Such representations eliminate the need for a separate &amp;quot;subtract&amp;quot; operation. Using two's complement notation subtraction can be summarized by the following formula:&lt;br /&gt;
&lt;br /&gt;
: {{math|1=A − B = A + not B + 1}}&lt;br /&gt;
&lt;br /&gt;
===Multiplication===&lt;br /&gt;
Multiplication in binary is similar to its decimal counterpart. Two numbers ''A'' and ''B'' can be multiplied by partial products: for each digit in ''B'', the product of that digit in ''A'' is calculated and written on a new line, shifted leftward so that its rightmost digit lines up with the digit in ''B'' that was used. The sum of all these partial products gives the final result.&lt;br /&gt;
&lt;br /&gt;
Since there are only two digits in binary, there are only two possible outcomes of each partial multiplication:&lt;br /&gt;
* If the digit in ''B'' is 0, the partial product is also 0&lt;br /&gt;
* If the digit in ''B'' is 1, the partial product is equal to ''A''&lt;br /&gt;
&lt;br /&gt;
For example, the binary numbers 1011 and 1010 are multiplied as follows:&lt;br /&gt;
&lt;br /&gt;
            1 0 1 1   (''A'')&lt;br /&gt;
          × 1 0 1 0   (''B'')&lt;br /&gt;
          ---------&lt;br /&gt;
            0 0 0 0   ← Corresponds to the rightmost 'zero' in ''B''&lt;br /&gt;
    +     1 0 1 1     ← Corresponds to the next 'one' in ''B''&lt;br /&gt;
    +   0 0 0 0&lt;br /&gt;
    + 1 0 1 1&lt;br /&gt;
    ---------------&lt;br /&gt;
    = 1 1 0 1 1 1 0&lt;br /&gt;
&lt;br /&gt;
Binary numbers can also be multiplied with bits after a binary point:&lt;br /&gt;
&lt;br /&gt;
                1 0 1 . 1 0 1     ''A'' (5.625 in decimal)&lt;br /&gt;
              × 1 1 0 . 0 1       ''B'' (6.25 in decimal)&lt;br /&gt;
              -------------------&lt;br /&gt;
                    1 . 0 1 1 0 1   ← Corresponds to a 'one' in ''B''&lt;br /&gt;
      +           0 0 . 0 0 0 0     ← Corresponds to a 'zero' in ''B''&lt;br /&gt;
      +         0 0 0 . 0 0 0&lt;br /&gt;
      +       1 0 1 1 . 0 1&lt;br /&gt;
      +     1 0 1 1 0 . 1&lt;br /&gt;
      ---------------------------&lt;br /&gt;
      =   1 0 0 0 1 1 . 0 0 1 0 1 (35.15625 in decimal)&lt;br /&gt;
&lt;br /&gt;
See also Booth's multiplication algorithm.&lt;br /&gt;
&lt;br /&gt;
====Multiplication table====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary multiplication table is the same as the truth table of the logical conjunction operation &amp;lt;math&amp;gt;\land&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Division===&lt;br /&gt;
&lt;br /&gt;
Long division in binary is again similar to its decimal counterpart.&lt;br /&gt;
&lt;br /&gt;
In the example below, the divisor is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 5 in decimal, while the dividend is 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 27 in decimal. The procedure is the same as that of decimal long division; here, the divisor 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; goes into the first three digits 110&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; of the dividend one time, so a &amp;quot;1&amp;quot; is written on the top line. This result is multiplied by the divisor, and subtracted from the first three digits of the dividend; the next digit (a &amp;quot;1&amp;quot;) is included to obtain a new three-digit sequence:&lt;br /&gt;
&lt;br /&gt;
               1&lt;br /&gt;
         ___________&lt;br /&gt;
 1 0 1   ) 1 1 0 1 1&lt;br /&gt;
         − 1 0 1&lt;br /&gt;
           -----&lt;br /&gt;
           0 0 1&lt;br /&gt;
&lt;br /&gt;
The procedure is then repeated with the new sequence, continuing until the digits in the dividend have been exhausted:&lt;br /&gt;
&lt;br /&gt;
              1 0 1&lt;br /&gt;
        ___________&lt;br /&gt;
 1 0 1  ) 1 1 0 1 1&lt;br /&gt;
        − 1 0 1&lt;br /&gt;
          -----&lt;br /&gt;
              1 1 1&lt;br /&gt;
          −   1 0 1&lt;br /&gt;
              -----&lt;br /&gt;
              0 1 0&lt;br /&gt;
&lt;br /&gt;
Thus, the quotient of 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; divided by 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, as shown on the top line, while the remainder, shown on the bottom line, is 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. In decimal, this corresponds to the fact that 27 divided by 5 is 5, with a remainder of 2.&lt;br /&gt;
&lt;br /&gt;
Aside from long division, one can also devise the procedure so as to allow for over-subtracting from the partial remainder at each iteration, thereby leading to alternative methods which are less systematic, but more flexible as a result.&lt;br /&gt;
&lt;br /&gt;
===Square root===&lt;br /&gt;
The process of taking a binary square root digit by digit is the same as for a decimal square root and is explained here. An example is:&lt;br /&gt;
&lt;br /&gt;
              1 0 0 1&lt;br /&gt;
             ---------&lt;br /&gt;
            √ 1010001&lt;br /&gt;
              1&lt;br /&gt;
             ---------&lt;br /&gt;
       101     01 &lt;br /&gt;
                0&lt;br /&gt;
              --------&lt;br /&gt;
       1001     100&lt;br /&gt;
                  0&lt;br /&gt;
              --------&lt;br /&gt;
       10001    10001&lt;br /&gt;
                10001&lt;br /&gt;
               -------&lt;br /&gt;
                    0&lt;br /&gt;
&lt;br /&gt;
==Conversion to and from other numeral systems==&lt;br /&gt;
&lt;br /&gt;
===Decimal to Binary===&lt;br /&gt;
[[File:Decimal to Binary Conversion.gif|alt=|frame|Conversion of (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; to binary notation results in (101100101)]]&lt;br /&gt;
To convert from a base-10 integer to its base-2 (binary) equivalent, the number is divided by two. The remainder is the least-significant bit. The quotient is again divided by two; its remainder becomes the next least significant bit. This process repeats until a quotient of one is reached. The sequence of remainders (including the final quotient of one) forms the binary value, as each remainder must be either zero or one when dividing by two. For example, (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is expressed as (101100101)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Binary to Decimal ===&lt;br /&gt;
Conversion from base-2 to base-10 simply inverts the preceding algorithm. The bits of the binary number are used one by one, starting with the most significant (leftmost) bit. Beginning with the value 0, the prior value is doubled, and the next bit is then added to produce the next value. This can be organized in a multi-column table. For example, to convert 10010101101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; to decimal:&lt;br /&gt;
&lt;br /&gt;
{| style= &amp;quot;border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; line-height: 1.5em; width:22em&amp;quot;&lt;br /&gt;
!Prior value&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | × 2 +&lt;br /&gt;
!Next bit&lt;br /&gt;
!Next value&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|0 ||× 2 +|| '''1''' || = 1&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|1 ||× 2 +|| '''0''' || = 2&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|2 ||× 2 +|| '''0''' || = 4&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|4 ||× 2 +|| '''1''' || = 9&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|9 ||× 2 +|| '''0''' || = 18&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|18 ||× 2 +|| '''1''' || = 37&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|37 ||× 2 +|| '''0''' || = 74&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|74 ||× 2 +|| '''1''' || = 149&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|149 ||× 2 +|| '''1''' || = 299&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|299 ||× 2 +|| '''0''' || = 598&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|598 ||× 2 +|| '''1''' || = '''1197'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The result is 1197&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;. The first Prior Value of 0 is simply an initial decimal value. This method is an application of the Horner scheme.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Binary&amp;amp;nbsp;&lt;br /&gt;
| 1 || 0 || 0 || 1 || 0 || 1 || 0 || 1 || 1 || 0 || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
! Decimal&amp;amp;nbsp;&lt;br /&gt;
| 1×2&amp;lt;sup&amp;gt;10&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = || 1197&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The fractional parts of a number are converted with similar methods. They are again based on the equivalence of shifting with doubling or halving.&lt;br /&gt;
&lt;br /&gt;
In a fractional binary number such as 0.11010110101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, the first digit is &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, the second &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{2})^2 = \frac{1}{4} \end{matrix}&amp;lt;/math&amp;gt;, etc. So if there is a 1 in the first place after the decimal, then the number is at least &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, and vice versa. Double that number is at least 1. This suggests the algorithm: Repeatedly double the number to be converted, record if the result is at least 1, and then throw away the integer part.&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{3}) \end{matrix}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Converting!!Result&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \end{matrix}&amp;lt;/math&amp;gt; || 0.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.01&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.010&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0101&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Thus the repeating decimal fraction &amp;lt;math&amp;gt;0. \overline{3}&amp;lt;/math&amp;gt;... is equivalent to the repeating binary fraction &amp;lt;math&amp;gt;0. \overline{01}&amp;lt;/math&amp;gt;... .&lt;br /&gt;
&lt;br /&gt;
Or for example, 0.1&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Converting                !! Result&lt;br /&gt;
|-&lt;br /&gt;
|          '''0.1'''        || 0.&lt;br /&gt;
|-&lt;br /&gt;
|0.1 × 2 = '''0.2''' &amp;lt; 1    || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.00&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.000&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.00011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.000110&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.0001100&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.00011001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.000110011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.0001100110&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is also a repeating binary fraction &amp;lt;math&amp;gt; 0.0 \overline{0011}&amp;lt;/math&amp;gt;... .  It may come as a surprise that terminating decimal fractions can have repeating expansions in binary. It is for this reason that many are surprised to discover that 0.1 + ... + 0.1, (10 additions) differs from 1 in floating point arithmetic. In fact, the only binary fractions with terminating expansions are of the form of an integer divided by a power of 2, which 1/10 is not.&lt;br /&gt;
&lt;br /&gt;
The final conversion is from binary to decimal fractions. The only difficulty arises with repeating fractions, but otherwise the method is to shift the fraction to an integer, convert it as above, and then divide by the appropriate power of two in the decimal base. For example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100&amp;amp;.1\overline{01110}\ldots \\&lt;br /&gt;
x\times 2^6 &amp;amp; = &amp;amp; 1100101110&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times 2 &amp;amp; = &amp;amp; 11001&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times(2^6-2) &amp;amp; = &amp;amp; 1100010101 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100010101/111110 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; (789/62)_{10}&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way of converting from binary to decimal, often quicker for a person familiar with hexadecimal, is to do so indirectly—first converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in binary) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) and then converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in decimal).&lt;br /&gt;
&lt;br /&gt;
For very large numbers, these simple methods are inefficient because they perform a large number of multiplications or divisions where one operand is very large. A simple divide-and-conquer algorithm is more effective asymptotically: given a binary number, it is divided by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt;, where ''k'' is chosen so that the quotient roughly equals the remainder; then each of these pieces is converted to decimal and the two are concatenated. Given a decimal number, it can be split into two pieces of about the same size, each of which is converted to binary, whereupon the first converted piece is multiplied by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and added to the second converted piece, where ''k'' is the number of decimal digits in the second, least-significant piece before conversion.&lt;br /&gt;
&lt;br /&gt;
===Hexadecimal===&lt;br /&gt;
Binary may be converted to and from hexadecimal more easily. This is because the radix of the hexadecimal system (16) is a power of the radix of the binary system (2). More specifically, 16 = 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, so it takes four digits of binary to represent one digit of hexadecimal, as shown in the adjacent table.&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its binary equivalent, simply substitute the corresponding binary digits:&lt;br /&gt;
&lt;br /&gt;
:3A&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 0011 1010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 1110 0111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a binary number into its hexadecimal equivalent, divide it into groups of four bits. If the number of bits isn't a multiple of four, simply insert extra '''0''' bits at the left (called padding). For example:&lt;br /&gt;
&lt;br /&gt;
:1010010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 0101 0010 grouped with padding = 52&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
:11011101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 1101 1101 grouped = DD&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its decimal equivalent, multiply the decimal equivalent of each hexadecimal digit by the corresponding power of 16 and add the resulting values:&lt;br /&gt;
&lt;br /&gt;
:C0E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = (12 × 16&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + (0 × 16&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (14 × 16&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 16&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (12 × 4096) + (0 × 256) + (14 × 16) + (7 × 1) = 49,383&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Octal===&lt;br /&gt;
Binary is also easily converted to the octal numeral system, since octal uses a radix of 8, which is a power of two (namely, 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of hexadecimal in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so forth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
!Octal!!Binary&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 000&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 001&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 010&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 011&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 101&lt;br /&gt;
|-&lt;br /&gt;
| 6 || 110&lt;br /&gt;
|-&lt;br /&gt;
| 7 || 111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Converting from octal to binary proceeds in the same fashion as it does for hexadecimal:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 110 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:17&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 001 111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from binary to octal:&lt;br /&gt;
&lt;br /&gt;
:101100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 101 100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped = 54&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
:10011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 010 011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped with padding = 23&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from octal to decimal:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (6 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (5 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (6 × 8) + (5 × 1) = 53&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
:127&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (1 × 8&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (2 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (1 × 64) + (2 × 8) + (7 × 1) = 87&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Representing real numbers==&lt;br /&gt;
&lt;br /&gt;
Non-integers can be represented by using negative powers, which are set off from the other digits by means of a radix point (called a decimal point in the decimal system). For example, the binary number 11.01&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; means:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;  || (1 × 2 = '''2''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;  || (1 × 1 = '''1''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''0''' × 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; || (0 × &amp;lt;math&amp;gt; \tfrac{1}{2} &amp;lt;/math&amp;gt; = '''0''')    || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; || (1 × &amp;lt;math&amp;gt; \tfrac{1}{4} &amp;lt;/math&amp;gt; = '''0.25''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a total of 3.25 decimal.&lt;br /&gt;
&lt;br /&gt;
All dyadic rational numbers &amp;lt;math&amp;gt;\frac{p}{2^a}&amp;lt;/math&amp;gt; have a ''terminating'' binary numeral—the binary representation has a finite number of terms after the radix point.  Other rational numbers have binary representation, but instead of terminating, they ''recur'', with a finite sequence of digits repeating indefinitely. For instance&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1_{10}}{3_{10}} = \frac{1_2}{11_2} = 0.01010101\overline{01}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{12_{10}}{17_{10}} = \frac{1100_2}{10001_2} = 0.10110100 10110100\overline{10110100}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The phenomenon that the binary representation of any rational is either terminating or recurring also occurs in other radix-based numeral systems.  See, for instance, the explanation in decimal.  Another similarity is the existence of alternative representations for any terminating representation, relying on the fact that 0.111111... is the sum of the geometric series 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt; + ... which is 1.&lt;br /&gt;
&lt;br /&gt;
Binary numerals which neither terminate nor recur represent irrational numbers.  For instance,&lt;br /&gt;
* 0.10100100010000100000100... does have a pattern, but it is not a fixed-length recurring pattern, so the number is irrational&lt;br /&gt;
* 1.0110101000001001111001100110011111110... is the binary representation of &amp;lt;math&amp;gt;\sqrt{2}&amp;lt;/math&amp;gt;, the square root of 2, another irrational. It has no discernible pattern.&lt;br /&gt;
&lt;br /&gt;
= Base 5 =&lt;br /&gt;
'''Quinary''' /ˈkwaɪnəri/ ('''base-5''' or '''pental''') is a numeral system with five as the base. A possible origination of a quinary system is that there are five digits on either hand.&lt;br /&gt;
&lt;br /&gt;
In the quinary place system, five numerals, from 0 to 4, are used to represent any real number. According to this method, five is written as 10, twenty-five is written as 100 and sixty is written as 220.&lt;br /&gt;
&lt;br /&gt;
As five is a prime number, only the reciprocals of the powers of five terminate, although its location between two highly composite numbers (4 and 6) guarantees that many recurring fractions have relatively short periods.&lt;br /&gt;
&lt;br /&gt;
Today, the main usage of base 5 is as a biquinary system, which is decimal using five as a sub-base. Another example of a sub-base system, is sexagesimal, base 60, which used 10 as a sub-base.&lt;br /&gt;
&lt;br /&gt;
Each quinary digit can hold log&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;5 (approx. 2.32) bits of information.&lt;br /&gt;
&lt;br /&gt;
==Comparison to other radices==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;float:right; text-align:center&amp;quot;&lt;br /&gt;
|+ A quinary multiplication table&lt;br /&gt;
|-&lt;br /&gt;
| × || '''1''' || '''2''' || '''3''' || '''4''' || '''10''' || '''11''' || '''12''' || '''13''' || '''14''' || '''20''' &lt;br /&gt;
|-&lt;br /&gt;
| '''1''' || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20&lt;br /&gt;
|-&lt;br /&gt;
| '''2''' || 2 || 4 || 11 || 13 || 20 || 22 || 24 || 31 || 33 || 40&lt;br /&gt;
|-&lt;br /&gt;
| '''3''' || 3 || 11 || 14 || 22 || 30 || 33 || 41 || 44 || 102 || 110&lt;br /&gt;
|-&lt;br /&gt;
| '''4''' || 4 || 13 || 22 || 31 || 40 || 44 || 103 || 112 || 121 || 130&lt;br /&gt;
|-&lt;br /&gt;
| '''10''' || 10 || 20 || 30 || 40 || 100 || 110 || 120 || 130 || 140 || 200&lt;br /&gt;
|-&lt;br /&gt;
| '''11''' || 11 || 22 || 33 || 44 || 110 || 121 || 132 || 143 || 204 || 220&lt;br /&gt;
|-&lt;br /&gt;
| '''12''' || 12 || 24 || 41 || 103 || 120 || 132 || 144 || 211 || 223 || 240&lt;br /&gt;
|-&lt;br /&gt;
| '''13''' || 13 || 31 || 44 || 112 || 130 || 143 || 211 || 224 || 242 || 310&lt;br /&gt;
|-&lt;br /&gt;
| '''14''' || 14 || 33 || 102 || 121 || 140 || 204 || 223 || 242 || 311 || 330&lt;br /&gt;
|-&lt;br /&gt;
| '''20''' || 20 || 40 || 110 || 130 || 200 || 220 || 240 || 310 || 330 || 400&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Numbers zero to twenty-five in standard quinary'''&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 0 || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20 || 21 || 22 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 0 || 1 || 10 || 11 || 100 || 101 || 110 || 111 || 1000 || 1001 || 1010 || 1011 || 1100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 23 || 24 || 30 || 31 || 32 || 33 || 34 || 40 || 41 || 42 || 43 || 44 || 100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 1101 || 1110 || 1111 || 10000 || 10001 || 10010 || 10011 || 10100 || 10101 || 10110 || 10111 || 11000 || 11001&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 13 !! 14 !! 15 !! 16 !! 17 !! 18 !! 19 !! 20 !! 21 !! 22 !! 23 !! 24 !! 25 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Fractions in quinary'''&lt;br /&gt;
|'''Decimal''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;) ||'''Quinary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|'''Binary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|1/2 = 0.5 &lt;br /&gt;
|'''1/2''' = 0.&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|-&lt;br /&gt;
|1/3 = 0.&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/3''' = 0.&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/4 = 0.25&lt;br /&gt;
|'''1/4''' = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/100 = 0.01&lt;br /&gt;
|-&lt;br /&gt;
|1/5 = 0.2&lt;br /&gt;
|'''1/10''' = 0.1&lt;br /&gt;
|1/101 = 0.&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/6 = 0.1&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/11''' = 0.&amp;lt;u&amp;gt;04&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/110 = 0.0&amp;lt;u&amp;gt;10&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/7 = 0.&amp;lt;u&amp;gt;142857&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/12''' = 0.&amp;lt;u&amp;gt;032412&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/111 = 0.&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/8 = 0.125&lt;br /&gt;
|'''1/13''' = 0.&amp;lt;u&amp;gt;03&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1000 = 0.001&lt;br /&gt;
|-&lt;br /&gt;
|1/9 = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/14''' = 0.&amp;lt;u&amp;gt;023421&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1001 = 0.&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|'''1/20''' = 0.0&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1010 = 0.0&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;09&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/21''' = 0.&amp;lt;u&amp;gt;02114&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1011 = 0.&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/12 = 0.08&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/22''' = 0.&amp;lt;u&amp;gt;02&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1100 = 0.00&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/13 = 0.&amp;lt;u&amp;gt;076923&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/23''' = 0.&amp;lt;u&amp;gt;0143&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1101 = 0.&amp;lt;u&amp;gt;000100111011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/14 = 0.0&amp;lt;u&amp;gt;714285&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/24''' = 0.&amp;lt;u&amp;gt;013431&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1110 = 0.0&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/15 = 0.0&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/30''' = 0.0&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1111 = 0.&amp;lt;u&amp;gt;0001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/16 = 0.0625&lt;br /&gt;
|'''1/31''' = 0.&amp;lt;u&amp;gt;0124&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10000 = 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|1/17 = 0.&amp;lt;u&amp;gt;0588235294117647&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/32''' = 0.&amp;lt;u&amp;gt;0121340243231042&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10001 = 0.&amp;lt;u&amp;gt;00001111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/18 = 0.0&amp;lt;u&amp;gt;5&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/33''' = 0.&amp;lt;u&amp;gt;011433&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10010 = 0.0&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/19 = 0.&amp;lt;u&amp;gt;052631578947368421&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/34''' = 0.&amp;lt;u&amp;gt;011242141&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10011 = 0.&amp;lt;u&amp;gt;000011010111100101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/20 = 0.05&lt;br /&gt;
|'''1/40''' = 0.0&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10100 = 0.00&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/21 = 0.&amp;lt;u&amp;gt;047619&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/41''' = 0.&amp;lt;u&amp;gt;010434&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10101 = 0.&amp;lt;u&amp;gt;000011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/22 = 0.0&amp;lt;u&amp;gt;45&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/42''' = 0.&amp;lt;u&amp;gt;01032&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10110 = 0.0&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/23 = 0.&amp;lt;u&amp;gt;0434782608695652173913&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/43''' = 0.&amp;lt;u&amp;gt;0102041332143424031123&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10111 = 0.&amp;lt;u&amp;gt;00001011001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/24 = 0.041&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/44''' = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11000 = 0.000&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/25 = 0.04&lt;br /&gt;
|'''1/100''' = 0.01&lt;br /&gt;
|1/11001 = 0.&amp;lt;u&amp;gt;00001010001111010111&amp;lt;/u&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Many languages use quinary number systems, including Gumatj, Nunggubuyu, Kuurn Kopan Noot, Luiseño and Saraveca.  Gumatj is a true &amp;quot;5–25&amp;quot; language, in which 25 is the higher group of 5. The Gumatj numerals are shown below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
! Number !! Base 5 !! Numeral&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 1 &lt;br /&gt;
| 1&lt;br /&gt;
| wanggany&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 2&lt;br /&gt;
| 2&lt;br /&gt;
| marrma&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 3&lt;br /&gt;
| 3&lt;br /&gt;
| lurrkun&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 4&lt;br /&gt;
| 4&lt;br /&gt;
| dambumiriw&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 5&lt;br /&gt;
| 10&lt;br /&gt;
| wanggany rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 10&lt;br /&gt;
| 20&lt;br /&gt;
| marrma rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 15&lt;br /&gt;
| 30&lt;br /&gt;
| lurrkun rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 20&lt;br /&gt;
| 40&lt;br /&gt;
| dambumiriw rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 25&lt;br /&gt;
| 100&lt;br /&gt;
| dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 50&lt;br /&gt;
| 200&lt;br /&gt;
| marrma dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 75&lt;br /&gt;
| 300&lt;br /&gt;
| lurrkun dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 100&lt;br /&gt;
| 400&lt;br /&gt;
| dambumiriw dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 125&lt;br /&gt;
| 1000&lt;br /&gt;
| dambumirri dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 625&lt;br /&gt;
| 10000&lt;br /&gt;
&lt;br /&gt;
| dambumirri dambumirri dambumirri rulu&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Biquinary==&lt;br /&gt;
[[File:Chinese-abacus.jpg|thumb|right|Chinese Abacus or suanpan]]&lt;br /&gt;
A decimal system with 2 and 5 as a sub-bases is called biquinary, and is found in Wolof and Khmer. Roman numerals are an early biquinary system. The numbers 1, 5, 10, and 50 are written as '''I''', '''V''', '''X''', and '''L''' respectively. Seven is '''VII''' and seventy is '''LXX'''. The full list is:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
| '''I''' || '''V''' || '''X''' || '''L''' || '''C''' || '''D''' || '''M'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5 || 10 || 50 || 100 || 500 || 1000&lt;br /&gt;
|}&lt;br /&gt;
Note that these are not positional number systems. In theory a number such as 73 could be written as IIIXXL without ambiguity as well as LXXIII and it is still not possible to extend it beyond thousands. There is also no sign for zero. But with the introduction of inversions such as IV and IX, it was necessary to keep the order from most to least significant.&lt;br /&gt;
&lt;br /&gt;
Many versions of the abacus, such as the suanpan and soroban, use a biquinary system to simulate a decimal system for ease of calculation. Urnfield culture numerals and some tally mark systems are also biquinary. Units of currencies are commonly partially or wholly biquinary.&lt;br /&gt;
&lt;br /&gt;
Bi-quinary coded decimal is a variant of biquinary that was used on a number of early computers including Colossus and the IBM 650 to represent decimal numbers.&lt;br /&gt;
&lt;br /&gt;
= Base 10 =&lt;br /&gt;
&lt;br /&gt;
The '''decimal''' numeral system (also called the '''base-ten''' positional numeral system, and occasionally called '''denary''' /ˈdiːnəri/ or '''decanary''') is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system. The way of denoting numbers in the decimal system is often referred to as ''decimal notation''.&lt;br /&gt;
&lt;br /&gt;
A ''decimal numeral'' (also often just ''decimal'' or, less correctly, ''decimal number''), refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified by a decimal separator (usually &amp;quot;.&amp;quot; or &amp;quot;,&amp;quot; as in 25.9703 or 3,1415). ''Decimal'' may also refer specifically to the digits after the decimal separator, such as in &amp;quot;3.14 is the approximation of &amp;lt;math&amp;gt; \pi &amp;lt;/math&amp;gt; to ''two decimals''&amp;quot;. Zero-digits after a decimal separator serve the purpose of signifying the precision of a value.&lt;br /&gt;
&lt;br /&gt;
The numbers that may be represented in the decimal system are the decimal fractions. That is, fractions of the form {{math|''a''/10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, where {{math|''a''}} is an integer, and {{math|''n''}} is a non-negative integer.&lt;br /&gt;
&lt;br /&gt;
The decimal system has been extended to ''infinite decimals'' for representing any real number, by using an infinite sequence of digits after the decimal separator (see decimal representation). In this context, the decimal numerals with a finite number of non-zero digits after the decimal separator are sometimes called ''terminating decimals''. A ''repeating decimal'' is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., 5.123144144144144... = &amp;lt;math&amp;gt; 5.123 \overline{144}&amp;lt;/math&amp;gt;). An infinite decimal represents a rational number, the quotient of two integers, if and only if it is a repeating decimal or has a finite number of non-zero digits.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
[[File:Two hand, ten fingers.jpg|thumb|right|Ten fingers on two hands, the possible origin of decimal counting]]&lt;br /&gt;
Many numeral systems of ancient civilizations use ten and its powers for representing numbers, possibly because there are ten fingers on two hands and people started counting by using their fingers. Examples are firstly the Egyptian numerals, then the Brahmi numerals, Greek numerals, Hebrew numerals, Roman numerals, and Chinese numerals. Very large numbers were difficult to represent in these old numeral systems, and only the best mathematicians were able to multiply or divide large numbers. These difficulties were completely solved with the introduction of the Hindu–Arabic numeral system for representing integers. This system has been extended to represent some non-integer numbers, called ''decimal fractions'' or ''decimal numbers'', for forming the ''decimal numeral system''.&lt;br /&gt;
&lt;br /&gt;
== Decimal notation ==&lt;br /&gt;
For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign &amp;quot;−&amp;quot;. The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; and a comma &amp;quot;{{math|,}}&amp;quot; in other countries.&lt;br /&gt;
&lt;br /&gt;
For representing a non-negative number, a decimal numeral consists of&lt;br /&gt;
* either a (finite) sequence of digits (such as &amp;quot;2017&amp;quot;), where the entire sequence represents an integer,&lt;br /&gt;
*:&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0&amp;lt;/math&amp;gt;&lt;br /&gt;
*or a decimal mark separating two sequences of digits (such as &amp;quot;20.70828&amp;quot;)&lt;br /&gt;
::&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
If {{math|''m'' &amp;gt; 0}}, that is, if the first sequence contains at least two digits, it is generally assumed that the first digit {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}} is not zero. In some circumstances it may be useful to have one or more 0's on the left; this does not change the value represented by the decimal: for example, {{math|1=3.14 = 03.14 = 003.14}}. Similarly, if the final digit on the right of the decimal mark is zero—that is, if {{math|1=''b''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}—it may be removed; conversely, trailing zeros may be added after the decimal mark without changing the represented number;  for example, {{math|1=15 = 15.0 = 15.00}} and {{math|1=5.2 = 5.20 = 5.200}}.&lt;br /&gt;
&lt;br /&gt;
For representing a negative number, a minus sign is placed before {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
The numeral &amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt; represents the number&lt;br /&gt;
:&amp;lt;math&amp;gt;a_m10^m+a_{m-1}10^{m-1}+\cdots+a_{0}10^0+\frac{b_1}{10^1}+\frac{b_2}{10^2}+\cdots+\frac{b_n}{10^n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The ''integer part'' or ''integral part'' of a decimal numeral is the integer written to the left of the decimal separator (see also truncation). For a non-negative decimal numeral, it is the largest integer that is not greater than the decimal. The part from the decimal separator to the right is the ''fractional part'', which equals the difference between the numeral and its integer part.&lt;br /&gt;
&lt;br /&gt;
When the integral part of a numeral is zero, it may occur, typically in computing, that the integer part is not written (for example {{math|.1234}}, instead of {{math|0.1234}}). In normal writing, this is generally avoided, because of the risk of confusion between the decimal mark and other punctuation.&lt;br /&gt;
&lt;br /&gt;
In brief, the contribution of each digit to the value of a number depends on its position in the numeral. That is, the decimal system is a positional numeral system.&lt;br /&gt;
&lt;br /&gt;
== Decimal fractions ==&lt;br /&gt;
'''Decimal fractions''' (sometimes called '''decimal numbers''', especially in contexts involving explicit fractions) are the  rational numbers that may be expressed as a fraction whose denominator is a power of ten. For example, the decimals &amp;lt;math&amp;gt;0.8, 14.89, 0.00024, 1.618, 3.14159&amp;lt;/math&amp;gt; represent the fractions &amp;lt;math&amp;gt; \tfrac{8}{10}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{1489}{100}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{24}{100000}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\tfrac {1618}{1000}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{314159}{100000}&amp;lt;/math&amp;gt;, and are therefore decimal numbers.&lt;br /&gt;
&lt;br /&gt;
More generally, a decimal with {{math|''n''}} digits after the separator represents the fraction with denominator {{math|10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, whose numerator is the integer obtained by removing the separator.&lt;br /&gt;
&lt;br /&gt;
It follows that a number is a decimal fraction if and only if it has a finite decimal representation.&lt;br /&gt;
&lt;br /&gt;
Expressed as a fully reduced fraction, the decimal numbers are those whose denominator is a product of a power of 2 and a power of 5. Thus the smallest denominators of decimal numbers are&lt;br /&gt;
:&amp;lt;math&amp;gt;1=2^0\cdot 5^0, 2=2^1\cdot 5^0, 4=2^2\cdot 5^0, 5=2^0\cdot 5^1, 8=2^3\cdot 5^0, 10=2^1\cdot 5^1, 16=2^4\cdot 5^0, 25=2^0\cdot 5^2, \ldots&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Real number approximation==&lt;br /&gt;
&lt;br /&gt;
Decimal numerals do not allow an exact representation for all real numbers, e.g. for the real number &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;. Nevertheless, they allow approximating every real number with any desired accuracy, e.g., the decimal 3.14159 approximates the real &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;, being less than 10&amp;lt;sup&amp;gt;−5&amp;lt;/sup&amp;gt; off; so decimals are widely used in science, engineering and everyday life.&lt;br /&gt;
&lt;br /&gt;
More precisely, for every real number {{Mvar|x}} and every positive integer {{Mvar|n}}, there are two decimals {{Mvar|''L''}} and {{Mvar|''u''}} with at most ''{{Mvar|n}}'' digits after the decimal mark such that {{Math|''L'' ≤ ''x'' ≤ ''u''}} and {{Math|1=(''u'' − ''L'') = 10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Numbers are very often obtained as the result of measurement. As measurements are subject to measurement uncertainty with a known upper bound, the result of a measurement is well-represented by a decimal with {{math|''n''}} digits after the decimal mark, as soon as the absolute measurement error is bounded from above by {{Math|10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}. In practice, measurement results are often given with a certain number of digits after the decimal point, which indicate the error bounds. For example, although 0.080 and 0.08 denote the same number, the decimal numeral 0.080 suggests a measurement with an error less than 0.001, while the numeral 0.08 indicates an absolute error bounded by 0.01. In both cases, the true value of the measured quantity could be, for example, 0.0803 or 0.0796 (see also significant figures).&lt;br /&gt;
&lt;br /&gt;
==Infinite decimal expansion==&lt;br /&gt;
&lt;br /&gt;
For a real number {{Mvar|x}} and an integer {{Math|''n'' ≥ 0}}, let {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} denote the (finite) decimal expansion of the greatest number that is not greater than ''{{Mvar|x}}'' that has exactly {{Mvar|n}} digits after the decimal mark. Let {{Math|''d''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}} denote the last digit of {{Math|[''x'']&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}}. It is straightforward to see that {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} may be obtained by appending {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} to the right of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}}. This way one has&lt;br /&gt;
:{{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}},&lt;br /&gt;
&lt;br /&gt;
and the difference of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}} and {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} amounts to&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\vert \left [ x \right ]_n-\left [ x \right ]_{n-1} \right\vert=d_n\cdot10^{-n}&amp;lt;10^{-n+1}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
which is either 0, if {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}, or gets arbitrarily small as ''{{Mvar|n}}'' tends to infinity. According to the definition of a limit, ''{{Mvar|x}}'' is the limit of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} when ''{{Mvar|n}}'' tends to infinity. This is written as&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\; x = \lim_{n\rightarrow\infty} [x]_n \;&amp;lt;/math&amp;gt;or&lt;br /&gt;
: {{Math|1=''x'' = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}},&lt;br /&gt;
which is called an '''infinite decimal expansion''' of ''{{Mvar|x}}''.&lt;br /&gt;
&lt;br /&gt;
Conversely, for any integer {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} and any sequence of digits&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;(d_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; the (infinite) expression {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}} is an ''infinite decimal expansion'' of a real number ''{{Mvar|x}}''. This expansion is unique if neither all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 9 nor all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 0 for ''{{Mvar|n}}'' large enough (for all ''{{Mvar|n}}'' greater than some natural number {{Mvar|N}}).&lt;br /&gt;
&lt;br /&gt;
If all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} for {{Math|''n'' &amp;gt; ''N''}} equal to 9 and {{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, the limit of the sequence&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;([x]_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; is the decimal fraction obtained by replacing the last digit that is not a 9, i.e.: {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}}, by {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; + 1}}, and replacing all subsequent 9s by 0s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
Any such decimal fraction, i.e.: {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}} for {{Math|''n'' &amp;gt; ''N''}}, may be converted to its equivalent infinite decimal expansion by replacing {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}} by  {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; − 1}} and replacing all subsequent 0s by 9s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
In summary, every real number that is not a decimal fraction has a unique infinite decimal expansion. Each decimal fraction has exactly two infinite decimal expansions, one containing only 0s after some place, which is obtained by the above definition of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, and the other containing only 9s after some place, which is obtained by defining {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} as the greatest number that is ''less'' than {{Mvar|x}}, having exactly ''{{Mvar|n}}'' digits after the decimal mark.&lt;br /&gt;
&lt;br /&gt;
=== Rational numbers ===&lt;br /&gt;
&lt;br /&gt;
Long division allows computing the infinite decimal expansion of a rational number. If the rational number is a decimal fraction, the division stops eventually, producing a decimal numeral, which may be prolongated into an infinite expansion by adding infinitely many zeros. If the rational number is not a decimal fraction, the division may continue indefinitely. However, as all successive remainders are less than the divisor, there are only a finite number of possible remainders, and after some place, the same sequence of digits must be repeated indefinitely in the quotient. That is, one has a ''repeating decimal''. For example,&lt;br /&gt;
:&amp;lt;math&amp;gt; \tfrac{1}{81}&amp;lt;/math&amp;gt; = 0. 012345679 012... (with the group 012345679 indefinitely repeating).&lt;br /&gt;
&lt;br /&gt;
The converse is also true: if, at some point in the decimal representation of a number, the same string of digits starts repeating indefinitely, the number is rational.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|For example, if ''x'' is ||  0.4156156156...&lt;br /&gt;
|-&lt;br /&gt;
|then 10,000''x'' is || 4156.156156156... &lt;br /&gt;
|-&lt;br /&gt;
|and 10''x'' is|| 4.156156156...&lt;br /&gt;
|-&lt;br /&gt;
|so 10,000''x'' − 10''x'', i.e. 9,990''x'', is|| 4152.000000000...&lt;br /&gt;
|-&lt;br /&gt;
|and ''x'' is|| &amp;lt;math&amp;gt; \tfrac{4152}{9990}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
or, dividing both numerator and denominator by 6, &amp;lt;math&amp;gt; \tfrac{692}{1665}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Decimal computation ==&lt;br /&gt;
&lt;br /&gt;
[[File:Decimal multiplication table.JPG|thumb|right|300px|Diagram of the world's earliest known multiplica&amp;amp;shy;tion table (c. 305 BCE) from the Warring States period]]&lt;br /&gt;
&lt;br /&gt;
Most modern computer hardware and software systems commonly use a binary representation internally (although many early computers, such as the ENIAC or the IBM 650, used decimal representation internally).&lt;br /&gt;
For external use by computer specialists, this binary representation is sometimes presented in the related octal or hexadecimal systems.&lt;br /&gt;
&lt;br /&gt;
For most purposes, however, binary values are converted to or from the equivalent decimal values for presentation to or input from humans; computer programs express literals in decimal by default. (123.1, for example, is written as such in a computer program, even though many computer languages are unable to encode that number precisely.)&lt;br /&gt;
&lt;br /&gt;
Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using some variant of binary-coded decimal, especially in database implementations, but there are other decimal representations in use (including decimal floating point such as in newer revisions of the IEEE 754|IEEE 754 Standard for Floating-Point Arithmetic).&lt;br /&gt;
&lt;br /&gt;
Decimal arithmetic is used in computers so that decimal fractional results of adding (or subtracting) values with a fixed length of their fractional part always are computed to this same length of precision. This is especially important for financial calculations, e.g., requiring in their results integer multiples of the smallest currency unit for book keeping purposes. This is not possible in binary, because the negative powers of &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt; have no finite binary fractional representation; and is generally impossible for multiplication (or division). See Arbitrary-precision arithmetic for exact calculations.&lt;br /&gt;
&lt;br /&gt;
= Licensing = &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Radix Radix, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Binary_number Binary number, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Quinary Quinary, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Decimal Decimal, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4660</id>
		<title>Base 10, Base 2 &amp; Base 5</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4660"/>
		<updated>2022-02-05T19:08:40Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Conversion to and from other numeral systems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a positional numeral system, the '''radix''' or '''base''' is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is ten, because it uses the ten digits from 0 through 9.&lt;br /&gt;
&lt;br /&gt;
In any standard positional numeral system, a number is conventionally written as (''x'')&amp;lt;sub&amp;gt;''y''&amp;lt;/sub&amp;gt; with ''x'' as the string of digits and ''y'' as its base, although for base ten the subscript is usually assumed (and omitted, together with the pair of parentheses), as it is the most common way to express value. For example, (100)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is equivalent to  100&amp;lt;/span&amp;gt; (the decimal system is implied in the latter) and represents the number one hundred, while (100)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (in the binary system with base 2) represents the number four.&lt;br /&gt;
&lt;br /&gt;
= In numeral systems =&lt;br /&gt;
In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 3 × 13&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 9 × 13&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 8 × 13&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = 632. &lt;br /&gt;
&lt;br /&gt;
More generally, in a system with radix ''b'' (''b'' &amp;gt; 1), a string of digits ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; … ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' denotes the number ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−1&amp;lt;/sup&amp;gt; + ''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−2&amp;lt;/sup&amp;gt; + … + ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, where 0 ≤ ''d&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;'' &amp;lt; ''b''. In contrast to decimal, or radix 10, which has a ones' place, tens' place, hundreds' place, and so on, radix ''b'' would have a ones' place, then a ''b''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;s' place, a ''b''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;s' place, etc.&lt;br /&gt;
&lt;br /&gt;
Commonly used numeral systems include:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Base/radix&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Binary numeral system&lt;br /&gt;
| Used internally by nearly all computers, is base 2. The two digits are &amp;quot;0&amp;quot; and &amp;quot;1&amp;quot;, expressed from switches displaying OFF and ON, respectively. Used in most electric counters.&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| Octal system&lt;br /&gt;
| Used occasionally in computing. The eight digits are &amp;quot;0&amp;quot;–&amp;quot;7&amp;quot; and represent 3 bits (2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| 10 &lt;br /&gt;
| Decimal system&lt;br /&gt;
| Used by humans in the vast majority of cultures. Its ten digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot;. Used in most mechanical counters.&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| Duodecimal (dozenal) system&lt;br /&gt;
| Sometimes advocated due to divisibility by 2, 3, 4, and 6. It was traditionally used as part of quantities expressed in dozens and grosses.&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| Hexadecimal system&lt;br /&gt;
| Often used in computing as a more compact representation of binary (1 hex digit per 4 bits). The sixteen digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot; followed by &amp;quot;A&amp;quot;–&amp;quot;F&amp;quot; or &amp;quot;a&amp;quot;–&amp;quot;f&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| Vigesimal system&lt;br /&gt;
| Traditional numeral system in several cultures, still used by some for counting. Historically also known as the ''score system'' in English, now most famous in the phrase &amp;quot;four score and seven years ago&amp;quot; in the Gettysburg Address.&lt;br /&gt;
|-&lt;br /&gt;
| 60&lt;br /&gt;
| Sexagesimal system&lt;br /&gt;
| Originated in ancient Sumer and passed to the Babylonians. Used today as the basis of modern circular coordinate system (degrees, minutes, and seconds) and time measuring (minutes, and seconds) by analogy to the rotation of the Earth.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Base 2 =&lt;br /&gt;
A '''binary number''' is a number expressed in the '''base-2 numeral system''' or '''binary numeral system''', a method of mathematical expression which uses only two symbols: typically &amp;quot;0&amp;quot; (zero) and &amp;quot;1&amp;quot; (one).&lt;br /&gt;
&lt;br /&gt;
The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices, as a preferred system of use, over various other human techniques of communication, because of the simplicity of the language.&lt;br /&gt;
&lt;br /&gt;
==Representation==&lt;br /&gt;
Any number can be represented by a sequence of bits (binary digits), which in turn may be represented by any mechanism capable of being in two mutually exclusive states. Any of the following rows of symbols can be interpreted as the binary numeric value of 667:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
| 1 || 0 || 1 || 0 || 0 || 1 || 1 || 0 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ☒ || ☐ || ☒ || ☐ || ☐ || ☒ || ☒ || ☐ || ☒ || ☒&lt;br /&gt;
|-&lt;br /&gt;
| y || n || y || n || n || y || y || n || y || y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:Binary clock.svg|250px|thumbnail|right|A binary clock might use LEDs to express binary values. In this clock, each column of LEDs shows a binary-coded decimal numeral of the traditional sexagesimal time.]]&lt;br /&gt;
&lt;br /&gt;
The numeric value represented in each case is dependent upon the value assigned to each symbol. In the earlier days of computing, switches, punched holes and punched paper tapes were used to represent binary values. In a modern computer, the numeric values may be represented by two different voltages; on a magnetic disk, magnetic polarities may be used. A &amp;quot;positive&amp;quot;, &amp;quot;yes&amp;quot;, or &amp;quot;on&amp;quot; state is not necessarily equivalent to the numerical value of one; it depends on the architecture in use.&lt;br /&gt;
&lt;br /&gt;
In keeping with customary representation of numerals using Arabic numerals, binary numbers are commonly written using the symbols '''0''' and '''1'''. When written, binary numerals are often subscripted, prefixed or suffixed in order to indicate their base, or radix. The following notations are equivalent:&lt;br /&gt;
* 100101 binary (explicit statement of format)&lt;br /&gt;
* 100101b (a suffix indicating binary format; also known as Intel convention)&lt;br /&gt;
* 100101B (a suffix indicating binary format)&lt;br /&gt;
* bin 100101 (a prefix indicating binary format)&lt;br /&gt;
* 100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (a subscript indicating base-2 (binary) notation)&lt;br /&gt;
* %100101 (a prefix indicating binary format; also known as Motorola convention)&lt;br /&gt;
* 0b100101 (a prefix indicating binary format, common in programming languages)&lt;br /&gt;
* 6b100101 (a prefix indicating number of bits in binary format, common in programming languages)&lt;br /&gt;
* #b100101 (a prefix indicating binary format, common in Lisp programming languages)&lt;br /&gt;
&lt;br /&gt;
When spoken, binary numerals are usually read digit-by-digit, in order to distinguish them from decimal numerals. For example, the binary numeral 100 is pronounced ''one zero zero'', rather than ''one hundred'', to make its binary nature explicit, and for purposes of correctness. Since the binary numeral 100 represents the value four, it would be confusing to refer to the numeral as ''one hundred'' (a word that represents a completely different value, or amount). Alternatively, the binary numeral 100 can be read out as &amp;quot;four&amp;quot; (the correct ''value''), but this does not make its binary nature explicit.&lt;br /&gt;
&lt;br /&gt;
==Counting in binary==&lt;br /&gt;
Counting in binary is similar to counting in any other number system. Beginning with a single digit, counting proceeds through each symbol, in increasing order. Before examining binary counting, it is useful to briefly discuss the more familiar decimal counting system as a frame of reference.&lt;br /&gt;
&lt;br /&gt;
===Decimal counting===&lt;br /&gt;
Decimal counting uses the ten symbols ''0'' through ''9''.  Counting begins with the incremental substitution of the least significant digit (rightmost digit) which is often called the ''first digit''. When the available symbols for this position are exhausted, the least significant digit is reset to ''0'', and the next digit of higher significance (one position to the left) is incremented (''overflow''), and incremental substitution of the low-order digit resumes. This method of reset and overflow is repeated for each digit of significance. Counting progresses as follows:&lt;br /&gt;
&lt;br /&gt;
:000, 001, 002, ... 007, 008, 009, (rightmost digit is reset to zero, and the digit to its left is incremented)&lt;br /&gt;
:0'''1'''0, 011, 012, ...&lt;br /&gt;
:&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;...&lt;br /&gt;
:090, 091, 092, ... 097, 098, 099, (rightmost two digits are reset to zeroes, and next digit is incremented)&lt;br /&gt;
:'''1'''00, 101, 102, ...&lt;br /&gt;
&lt;br /&gt;
===Binary counting===&lt;br /&gt;
[[File:Binary counter.gif|thumb|This counter shows how to count in binary from numbers zero through thirty-one.]]&lt;br /&gt;
[[File:Binary_guess_number_trick_SMIL.svg|thumb|upright|link={{filepath:binary_guess_number_trick_SMIL.svg}}|A party trick to guess a number from which cards it is printed on uses the bits of the binary representation of the number. In the SVG file, click a card to toggle it]]&lt;br /&gt;
Binary counting follows the same procedure, except that only the two symbols ''0'' and ''1'' are available. Thus, after a digit reaches 1 in binary, an increment resets it to 0 but also causes an increment of the next digit to the left:&lt;br /&gt;
&lt;br /&gt;
:0000,&lt;br /&gt;
:000'''1''', (rightmost digit starts over, and next digit is incremented)&lt;br /&gt;
:00'''1'''0, 0011, (rightmost two digits start over, and next digit is incremented)&lt;br /&gt;
:0'''1'''00, 0101, 0110, 0111, (rightmost three digits start over, and the next digit is incremented)&lt;br /&gt;
:'''1'''000, 1001, 1010, 1011, 1100, 1101, 1110, 1111 ...&lt;br /&gt;
&lt;br /&gt;
In the binary system, each digit represents an increasing power of 2, with the rightmost digit representing 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, the next representing 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, then 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, and so on. The value of a binary number is the sum of the powers of 2 represented by each &amp;quot;1&amp;quot; digit. For example, the binary number 100101 is converted to decimal form as follows:&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; ]&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ '''1''' × 32 ] + [ '''0''' × 16 ] + [ '''0''' × 8 ] + [ '''1''' × 4 ] + [ '''0''' × 2 ] + [ '''1''' × 1 ]&lt;br /&gt;
&lt;br /&gt;
:'''100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 37&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
==Fractions==&lt;br /&gt;
&lt;br /&gt;
Fractions in binary arithmetic terminate only if 2 is the only prime factor in the denominator. As a result, 1/10 does not have a finite binary representation ('''10''' has prime factors '''2''' and '''5'''). This causes 10 × 0.1 not to precisely equal 1 in floating-point arithmetic. As an example, to interpret the binary expression for 1/3 = .010101..., this means: 1/3 = 0 × '''2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;''' + 1 × '''2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;''' + 0 × '''2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt;''' +  1 × '''2&amp;lt;sup&amp;gt;−4&amp;lt;/sup&amp;gt;''' + ... = 0.3125 + ... An exact value cannot be found with a sum of a finite number of inverse powers of two, the zeros and ones in the binary representation of 1/3 alternate forever.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Fraction&lt;br /&gt;
! [[Base 10|Decimal]]&lt;br /&gt;
! Binary&lt;br /&gt;
! Fractional approximation&lt;br /&gt;
|-&lt;br /&gt;
| 1/1&lt;br /&gt;
| 1{{pad|0.25em}}or{{pad|0.25em}}0.999...&lt;br /&gt;
| 1{{pad|0.25em}}or{{pad|0.25em}}0.111...&lt;br /&gt;
| 1/2 + 1/4 + 1/8...&lt;br /&gt;
|-&lt;br /&gt;
| 1/2&lt;br /&gt;
| 0.5{{pad|0.25em}}or{{pad|0.25em}}0.4999...&lt;br /&gt;
| 0.1{{pad|0.25em}}or{{pad|0.25em}}0.0111...&lt;br /&gt;
| 1/4 + 1/8 + 1/16 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/3&lt;br /&gt;
| 0.333...&lt;br /&gt;
| 0.010101...&lt;br /&gt;
| 1/4 + 1/16 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/4&lt;br /&gt;
| 0.25{{pad|0.25em}}or{{pad|0.25em}}0.24999...&lt;br /&gt;
| 0.01{{pad|0.25em}}or{{pad|0.25em}}0.00111...&lt;br /&gt;
| 1/8 + 1/16 + 1/32 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/5&lt;br /&gt;
| 0.2{{pad|0.25em}}or{{pad|0.25em}}0.1999...&lt;br /&gt;
| 0.00110011...&lt;br /&gt;
| 1/8 + 1/16 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/6&lt;br /&gt;
| 0.1666...&lt;br /&gt;
| 0.0010101...&lt;br /&gt;
| 1/8 + 1/32 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/7&lt;br /&gt;
| 0.142857142857...&lt;br /&gt;
| 0.001001...&lt;br /&gt;
| 1/8 + 1/64 + 1/512 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/8&lt;br /&gt;
| 0.125{{pad|0.25em}}or{{pad|0.25em}}0.124999...&lt;br /&gt;
| 0.001{{pad|0.25em}}or{{pad|0.25em}}0.000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/9&lt;br /&gt;
| 0.111...&lt;br /&gt;
| 0.000111000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/10&lt;br /&gt;
| 0.1{{pad|0.25em}}or{{pad|0.25em}}0.0999...&lt;br /&gt;
| 0.000110011...&lt;br /&gt;
| 1/16 + 1/32 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/11&lt;br /&gt;
| 0.090909...&lt;br /&gt;
| 0.00010111010001011101...&lt;br /&gt;
| 1/16 + 1/64 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/12&lt;br /&gt;
| 0.08333...&lt;br /&gt;
| 0.00010101...&lt;br /&gt;
| 1/16 + 1/64 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/13&lt;br /&gt;
| 0.076923076923...&lt;br /&gt;
| 0.000100111011000100111011...&lt;br /&gt;
| 1/16 + 1/128 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/14&lt;br /&gt;
| 0.0714285714285...&lt;br /&gt;
| 0.0001001001...&lt;br /&gt;
| 1/16 + 1/128 + 1/1024 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/15&lt;br /&gt;
| 0.0666...&lt;br /&gt;
| 0.00010001...&lt;br /&gt;
| 1/16 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/16&lt;br /&gt;
| 0.0625{{pad|0.25em}}or{{pad|0.25em}}0.0624999...&lt;br /&gt;
| 0.0001{{pad|0.25em}}or{{pad|0.25em}}0.0000111...&lt;br /&gt;
| 1/32 + 1/64 + 1/128 . . .&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Binary arithmetic==&lt;br /&gt;
Arithmetic in binary is much like arithmetic in other numeral systems. Addition, subtraction, multiplication, and division can be performed on binary numerals.&lt;br /&gt;
&lt;br /&gt;
===Addition===&lt;br /&gt;
[[Image:Half Adder.svg|thumbnail|200px|right|The circuit diagram for a binary half adder, which adds two bits together, producing sum and carry bits]]&lt;br /&gt;
&lt;br /&gt;
The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:&lt;br /&gt;
&lt;br /&gt;
:0 + 0 → 0&lt;br /&gt;
:0 + 1 → 1&lt;br /&gt;
:1 + 0 → 1&lt;br /&gt;
:1 + 1 → 0, carry 1 (since 1 + 1 = 2 = 0 + (1 × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
Adding two &amp;quot;1&amp;quot; digits produces a digit &amp;quot;0&amp;quot;, while 1 will have to be added to the next column. This is similar to what happens in decimal when certain single-digit numbers are added together; if the result equals or exceeds the value of the radix (10), the digit to the left is incremented:&lt;br /&gt;
&lt;br /&gt;
:5 + 5 → 0, carry 1 (since 5 + 5 = 10 = 0 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
:7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
&lt;br /&gt;
This is known as ''carrying''. When the result of an addition exceeds the value of a digit, the procedure is to &amp;quot;carry&amp;quot; the excess amount divided by the radix (that is, 10/10) to the left, adding it to the next positional value. This is correct since the next position has a weight that is higher by a factor equal to the radix. Carrying works the same way in binary:&lt;br /&gt;
&lt;br /&gt;
   1 1 1 1 1    (carried digits)&lt;br /&gt;
     0 1 1 0 1&lt;br /&gt;
 +   1 0 1 1 1&lt;br /&gt;
 -------------&lt;br /&gt;
 = 1 0 0 1 0 0 = 36&lt;br /&gt;
&lt;br /&gt;
In this example, two numerals are being added together: 01101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (13&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 10111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (23&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;). The top row shows the carry bits used. Starting in the rightmost column, 1 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. The 1 is carried to the left, and the 0 is written at the bottom of the rightmost column. The second column from the right is added: 1 + 0 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; again; the 1 is carried, and 0 is written at the bottom. The third column: 1 + 1 + 1 = 11&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 100100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (36&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
When computers must add two numbers, the rule that:&lt;br /&gt;
x xor y = (x + y) mod 2&lt;br /&gt;
for any two bits x and y allows for very fast calculation, as well.&lt;br /&gt;
&lt;br /&gt;
====Long carry method====&lt;br /&gt;
A simplification for many binary addition problems is the Long Carry Method or Brookhouse Method of Binary Addition. This method is generally useful in any binary addition in which one of the numbers contains a long &amp;quot;string&amp;quot; of ones. It is based on the simple premise that under the binary system, when given a &amp;quot;string&amp;quot; of digits composed entirely of ''n'' ones (where ''n'' is any integer length), adding 1 will result in the number 1 followed by a string of ''n'' zeros. That concept follows, logically, just as in the decimal system, where adding 1 to a string of ''n'' 9s will result in the number 1 followed by a string of ''n'' 0s:&lt;br /&gt;
&lt;br /&gt;
      Binary                        Decimal&lt;br /&gt;
     1 1 1 1 1     likewise        9 9 9 9 9&lt;br /&gt;
  +          1                  +          1&lt;br /&gt;
   ———————————                   ———————————&lt;br /&gt;
   1 0 0 0 0 0                   1 0 0 0 0 0&lt;br /&gt;
&lt;br /&gt;
Such long strings are quite common in the binary system.  From that one finds that large binary numbers can be added using two simple steps, without excessive carry operations. In the following example, two numerals are being added together: 1 1 1 0 1 1 1 1 1 0&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (958&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 1 0 1 0 1 1 0 0 1 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (691&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;), using the traditional carry method on the left, and the long carry method on the right:&lt;br /&gt;
&lt;br /&gt;
 Traditional Carry Method                       Long Carry Method&lt;br /&gt;
                                 vs.&lt;br /&gt;
   1 1 1   1 1 1 1 1      (carried digits)   1 ←     1 ←            carry the 1 until it is one digit past the &amp;quot;string&amp;quot; below&lt;br /&gt;
     1 1 1 0 1 1 1 1 1 0                       &amp;lt;s&amp;gt;1 1 1&amp;lt;/s&amp;gt; 0 &amp;lt;s&amp;gt;1 1 1 1 1&amp;lt;/s&amp;gt; 0  cross out the &amp;quot;string&amp;quot;,&lt;br /&gt;
 +   1 0 1 0 1 1 0 0 1 1                   +   1 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 0 1 1 0 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 1  and cross out the digit that was added to it&lt;br /&gt;
 ———————————————————————                    ——————————————————————&lt;br /&gt;
 = 1 1 0 0 1 1 1 0 0 0 1                     1 1 0 0 1 1 1 0 0 0 1&lt;br /&gt;
&lt;br /&gt;
The top row shows the carry bits used. Instead of the standard carry from one column to the next, the lowest-ordered &amp;quot;1&amp;quot; with a &amp;quot;1&amp;quot; in the corresponding place value beneath it may be added and a &amp;quot;1&amp;quot; may be carried to one digit past the end of the series.  The &amp;quot;used&amp;quot; numbers must be crossed off, since they are already added. Other long strings may likewise be cancelled using the same technique. Then, simply add together any remaining digits normally. Proceeding in this manner gives the final answer of 1 1 0 0 1 1 1 0 0 0 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (1649&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).  In our simple example using small numbers, the traditional carry method required eight carry operations, yet the long carry method required only two, representing a substantial reduction of effort.&lt;br /&gt;
&lt;br /&gt;
====Addition table====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1&lt;br /&gt;
| 10&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary addition table is similar, but not the same, as the truth table of the logical disjunction operation &amp;lt;math&amp;gt;\lor&amp;lt;/math&amp;gt;. The difference is that &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\lor &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;1=1&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;1+1=10&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Subtraction ===&lt;br /&gt;
&lt;br /&gt;
Subtraction works in much the same way:&lt;br /&gt;
&lt;br /&gt;
:0 − 0 → 0&lt;br /&gt;
:0 − 1 → 1, borrow 1&lt;br /&gt;
:1 − 0 → 1&lt;br /&gt;
:1 − 1 → 0&lt;br /&gt;
Subtracting a &amp;quot;1&amp;quot; digit from a &amp;quot;0&amp;quot; digit produces the digit &amp;quot;1&amp;quot;, while 1 will have to be subtracted from the next column. This is known as ''borrowing''. The principle is the same as for carrying. When the result of a subtraction is less than 0, the least possible value of a digit, the procedure is to &amp;quot;borrow&amp;quot; the deficit divided by the radix (that is, 10/10) from the left, subtracting it from the next positional value.&lt;br /&gt;
&lt;br /&gt;
     *   * * *   (starred columns are borrowed from)&lt;br /&gt;
   1 1 0 1 1 1 0&lt;br /&gt;
 −     1 0 1 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 1 0 1 0 1 1 1&lt;br /&gt;
&lt;br /&gt;
   *             (starred columns are borrowed from)&lt;br /&gt;
   1 0 1 1 1 1 1&lt;br /&gt;
 -   1 0 1 0 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 0 1 1 0 1 0 0&lt;br /&gt;
&lt;br /&gt;
Subtracting a positive number is equivalent to ''adding'' a negative number of equal absolute value. Computers use signed number representations to handle negative numbers—most commonly the two's complement notation. Such representations eliminate the need for a separate &amp;quot;subtract&amp;quot; operation. Using two's complement notation subtraction can be summarized by the following formula:&lt;br /&gt;
&lt;br /&gt;
: {{math|1=A − B = A + not B + 1}}&lt;br /&gt;
&lt;br /&gt;
===Multiplication===&lt;br /&gt;
Multiplication in binary is similar to its decimal counterpart. Two numbers ''A'' and ''B'' can be multiplied by partial products: for each digit in ''B'', the product of that digit in ''A'' is calculated and written on a new line, shifted leftward so that its rightmost digit lines up with the digit in ''B'' that was used. The sum of all these partial products gives the final result.&lt;br /&gt;
&lt;br /&gt;
Since there are only two digits in binary, there are only two possible outcomes of each partial multiplication:&lt;br /&gt;
* If the digit in ''B'' is 0, the partial product is also 0&lt;br /&gt;
* If the digit in ''B'' is 1, the partial product is equal to ''A''&lt;br /&gt;
&lt;br /&gt;
For example, the binary numbers 1011 and 1010 are multiplied as follows:&lt;br /&gt;
&lt;br /&gt;
            1 0 1 1   (''A'')&lt;br /&gt;
          × 1 0 1 0   (''B'')&lt;br /&gt;
          ---------&lt;br /&gt;
            0 0 0 0   ← Corresponds to the rightmost 'zero' in ''B''&lt;br /&gt;
    +     1 0 1 1     ← Corresponds to the next 'one' in ''B''&lt;br /&gt;
    +   0 0 0 0&lt;br /&gt;
    + 1 0 1 1&lt;br /&gt;
    ---------------&lt;br /&gt;
    = 1 1 0 1 1 1 0&lt;br /&gt;
&lt;br /&gt;
Binary numbers can also be multiplied with bits after a binary point:&lt;br /&gt;
&lt;br /&gt;
                1 0 1 . 1 0 1     ''A'' (5.625 in decimal)&lt;br /&gt;
              × 1 1 0 . 0 1       ''B'' (6.25 in decimal)&lt;br /&gt;
              -------------------&lt;br /&gt;
                    1 . 0 1 1 0 1   ← Corresponds to a 'one' in ''B''&lt;br /&gt;
      +           0 0 . 0 0 0 0     ← Corresponds to a 'zero' in ''B''&lt;br /&gt;
      +         0 0 0 . 0 0 0&lt;br /&gt;
      +       1 0 1 1 . 0 1&lt;br /&gt;
      +     1 0 1 1 0 . 1&lt;br /&gt;
      ---------------------------&lt;br /&gt;
      =   1 0 0 0 1 1 . 0 0 1 0 1 (35.15625 in decimal)&lt;br /&gt;
&lt;br /&gt;
See also Booth's multiplication algorithm.&lt;br /&gt;
&lt;br /&gt;
====Multiplication table====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary multiplication table is the same as the truth table of the logical conjunction operation &amp;lt;math&amp;gt;\land&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Division===&lt;br /&gt;
&lt;br /&gt;
Long division in binary is again similar to its decimal counterpart.&lt;br /&gt;
&lt;br /&gt;
In the example below, the divisor is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 5 in decimal, while the dividend is 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 27 in decimal. The procedure is the same as that of decimal long division; here, the divisor 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; goes into the first three digits 110&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; of the dividend one time, so a &amp;quot;1&amp;quot; is written on the top line. This result is multiplied by the divisor, and subtracted from the first three digits of the dividend; the next digit (a &amp;quot;1&amp;quot;) is included to obtain a new three-digit sequence:&lt;br /&gt;
&lt;br /&gt;
               1&lt;br /&gt;
         ___________&lt;br /&gt;
 1 0 1   ) 1 1 0 1 1&lt;br /&gt;
         − 1 0 1&lt;br /&gt;
           -----&lt;br /&gt;
           0 0 1&lt;br /&gt;
&lt;br /&gt;
The procedure is then repeated with the new sequence, continuing until the digits in the dividend have been exhausted:&lt;br /&gt;
&lt;br /&gt;
              1 0 1&lt;br /&gt;
        ___________&lt;br /&gt;
 1 0 1  ) 1 1 0 1 1&lt;br /&gt;
        − 1 0 1&lt;br /&gt;
          -----&lt;br /&gt;
              1 1 1&lt;br /&gt;
          −   1 0 1&lt;br /&gt;
              -----&lt;br /&gt;
              0 1 0&lt;br /&gt;
&lt;br /&gt;
Thus, the quotient of 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; divided by 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, as shown on the top line, while the remainder, shown on the bottom line, is 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. In decimal, this corresponds to the fact that 27 divided by 5 is 5, with a remainder of 2.&lt;br /&gt;
&lt;br /&gt;
Aside from long division, one can also devise the procedure so as to allow for over-subtracting from the partial remainder at each iteration, thereby leading to alternative methods which are less systematic, but more flexible as a result.&lt;br /&gt;
&lt;br /&gt;
===Square root===&lt;br /&gt;
The process of taking a binary square root digit by digit is the same as for a decimal square root and is explained here. An example is:&lt;br /&gt;
&lt;br /&gt;
              1 0 0 1&lt;br /&gt;
             ---------&lt;br /&gt;
            √ 1010001&lt;br /&gt;
              1&lt;br /&gt;
             ---------&lt;br /&gt;
       101     01 &lt;br /&gt;
                0&lt;br /&gt;
              --------&lt;br /&gt;
       1001     100&lt;br /&gt;
                  0&lt;br /&gt;
              --------&lt;br /&gt;
       10001    10001&lt;br /&gt;
                10001&lt;br /&gt;
               -------&lt;br /&gt;
                    0&lt;br /&gt;
&lt;br /&gt;
==Conversion to and from other numeral systems==&lt;br /&gt;
&lt;br /&gt;
===Decimal to Binary===&lt;br /&gt;
[[File:Decimal to Binary Conversion.gif|alt=|frame|Conversion of (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; to binary notation results in (101100101)]]&lt;br /&gt;
To convert from a base-10 integer to its base-2 (binary) equivalent, the number is divided by two. The remainder is the least-significant bit. The quotient is again divided by two; its remainder becomes the next least significant bit. This process repeats until a quotient of one is reached. The sequence of remainders (including the final quotient of one) forms the binary value, as each remainder must be either zero or one when dividing by two. For example, (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is expressed as (101100101)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Binary to Decimal ===&lt;br /&gt;
Conversion from base-2 to base-10 simply inverts the preceding algorithm. The bits of the binary number are used one by one, starting with the most significant (leftmost) bit. Beginning with the value 0, the prior value is doubled, and the next bit is then added to produce the next value. This can be organized in a multi-column table. For example, to convert 10010101101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; to decimal:&lt;br /&gt;
&lt;br /&gt;
{| style= &amp;quot;border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; line-height: 1.5em; width:22em&amp;quot;&lt;br /&gt;
!Prior value&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | × 2 +&lt;br /&gt;
!Next bit&lt;br /&gt;
!Next value&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|0 ||× 2 +|| '''1''' || = 1&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|1 ||× 2 +|| '''0''' || = 2&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|2 ||× 2 +|| '''0''' || = 4&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|4 ||× 2 +|| '''1''' || = 9&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|9 ||× 2 +|| '''0''' || = 18&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|18 ||× 2 +|| '''1''' || = 37&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|37 ||× 2 +|| '''0''' || = 74&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|74 ||× 2 +|| '''1''' || = 149&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|149 ||× 2 +|| '''1''' || = 299&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|299 ||× 2 +|| '''0''' || = 598&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|598 ||× 2 +|| '''1''' || = '''1197'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The result is 1197&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;. The first Prior Value of 0 is simply an initial decimal value. This method is an application of the Horner scheme.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Binary&amp;amp;nbsp;&lt;br /&gt;
| 1 || 0 || 0 || 1 || 0 || 1 || 0 || 1 || 1 || 0 || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
! Decimal&amp;amp;nbsp;&lt;br /&gt;
| 1×2&amp;lt;sup&amp;gt;10&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = || 1197&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The fractional parts of a number are converted with similar methods. They are again based on the equivalence of shifting with doubling or halving.&lt;br /&gt;
&lt;br /&gt;
In a fractional binary number such as 0.11010110101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, the first digit is &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, the second &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{2})^2 = \frac{1}{4} \end{matrix}&amp;lt;/math&amp;gt;, etc. So if there is a 1 in the first place after the decimal, then the number is at least &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, and vice versa. Double that number is at least 1. This suggests the algorithm: Repeatedly double the number to be converted, record if the result is at least 1, and then throw away the integer part.&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{3}) \end{matrix}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Converting!!Result&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \end{matrix}&amp;lt;/math&amp;gt; || 0.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.01&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.010&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0101&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Thus the repeating decimal fraction &amp;lt;math&amp;gt;0. \overline{3}&amp;lt;/math&amp;gt;... is equivalent to the repeating binary fraction &amp;lt;math&amp;gt;0. \overline{01}&amp;lt;/math&amp;gt;... .&lt;br /&gt;
&lt;br /&gt;
Or for example, 0.1&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Converting                !! Result&lt;br /&gt;
|-&lt;br /&gt;
|          '''0.1'''        || 0.&lt;br /&gt;
|-&lt;br /&gt;
|0.1 × 2 = '''0.2''' &amp;lt; 1    || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.00&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.000&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.00011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.000110&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.0001100&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.00011001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.000110011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.0001100110&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is also a repeating binary fraction &amp;lt;math&amp;gt; 0.0 \overline{0011}&amp;lt;/math&amp;gt;... .  It may come as a surprise that terminating decimal fractions can have repeating expansions in binary. It is for this reason that many are surprised to discover that 0.1 + ... + 0.1, (10 additions) differs from 1 in floating point arithmetic. In fact, the only binary fractions with terminating expansions are of the form of an integer divided by a power of 2, which 1/10 is not.&lt;br /&gt;
&lt;br /&gt;
The final conversion is from binary to decimal fractions. The only difficulty arises with repeating fractions, but otherwise the method is to shift the fraction to an integer, convert it as above, and then divide by the appropriate power of two in the decimal base. For example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100&amp;amp;.1\overline{01110}\ldots \\&lt;br /&gt;
x\times 2^6 &amp;amp; = &amp;amp; 1100101110&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times 2 &amp;amp; = &amp;amp; 11001&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times(2^6-2) &amp;amp; = &amp;amp; 1100010101 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100010101/111110 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; (789/62)_{10}&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way of converting from binary to decimal, often quicker for a person familiar with hexadecimal, is to do so indirectly—first converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in binary) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) and then converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in decimal).&lt;br /&gt;
&lt;br /&gt;
For very large numbers, these simple methods are inefficient because they perform a large number of multiplications or divisions where one operand is very large. A simple divide-and-conquer algorithm is more effective asymptotically: given a binary number, it is divided by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt;, where ''k'' is chosen so that the quotient roughly equals the remainder; then each of these pieces is converted to decimal and the two are concatenated. Given a decimal number, it can be split into two pieces of about the same size, each of which is converted to binary, whereupon the first converted piece is multiplied by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and added to the second converted piece, where ''k'' is the number of decimal digits in the second, least-significant piece before conversion.&lt;br /&gt;
&lt;br /&gt;
===Hexadecimal===&lt;br /&gt;
Binary may be converted to and from hexadecimal more easily. This is because the radix of the hexadecimal system (16) is a power of the radix of the binary system (2). More specifically, 16 = 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, so it takes four digits of binary to represent one digit of hexadecimal, as shown in the adjacent table.&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its binary equivalent, simply substitute the corresponding binary digits:&lt;br /&gt;
&lt;br /&gt;
:3A&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 0011 1010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 1110 0111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a binary number into its hexadecimal equivalent, divide it into groups of four bits. If the number of bits isn't a multiple of four, simply insert extra '''0''' bits at the left (called padding). For example:&lt;br /&gt;
&lt;br /&gt;
:1010010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 0101 0010 grouped with padding = 52&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
:11011101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 1101 1101 grouped = DD&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its decimal equivalent, multiply the decimal equivalent of each hexadecimal digit by the corresponding power of 16 and add the resulting values:&lt;br /&gt;
&lt;br /&gt;
:C0E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = (12 × 16&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + (0 × 16&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (14 × 16&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 16&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (12 × 4096) + (0 × 256) + (14 × 16) + (7 × 1) = 49,383&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Octal===&lt;br /&gt;
Binary is also easily converted to the octal numeral system, since octal uses a radix of 8, which is a power of two (namely, 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of hexadecimal in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so forth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
!Octal!!Binary&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 000&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 001&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 010&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 011&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 101&lt;br /&gt;
|-&lt;br /&gt;
| 6 || 110&lt;br /&gt;
|-&lt;br /&gt;
| 7 || 111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Converting from octal to binary proceeds in the same fashion as it does for hexadecimal:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 110 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:17&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 001 111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from binary to octal:&lt;br /&gt;
&lt;br /&gt;
:101100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 101 100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped = 54&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
:10011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 010 011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped with padding = 23&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from octal to decimal:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (6 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (5 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (6 × 8) + (5 × 1) = 53&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
:127&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (1 × 8&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (2 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (1 × 64) + (2 × 8) + (7 × 1) = 87&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Representing real numbers==&lt;br /&gt;
&lt;br /&gt;
Non-integers can be represented by using negative powers, which are set off from the other digits by means of a radix point (called a decimal point in the decimal system). For example, the binary number 11.01&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; means:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;  || (1 × 2 = '''2''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;  || (1 × 1 = '''1''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''0''' × 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; || (0 × &amp;lt;math&amp;gt; \tfrac{1}{2} &amp;lt;/math&amp;gt; = '''0''')    || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; || (1 × &amp;lt;math&amp;gt; \tfrac{1}{4} &amp;lt;/math&amp;gt; = '''0.25''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a total of 3.25 decimal.&lt;br /&gt;
&lt;br /&gt;
All dyadic rational numbers &amp;lt;math&amp;gt;\frac{p}{2^a}&amp;lt;/math&amp;gt; have a ''terminating'' binary numeral—the binary representation has a finite number of terms after the radix point.  Other rational numbers have binary representation, but instead of terminating, they ''recur'', with a finite sequence of digits repeating indefinitely. For instance&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1_{10}}{3_{10}} = \frac{1_2}{11_2} = 0.01010101\overline{01}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{12_{10}}{17_{10}} = \frac{1100_2}{10001_2} = 0.10110100 10110100\overline{10110100}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The phenomenon that the binary representation of any rational is either terminating or recurring also occurs in other radix-based numeral systems.  See, for instance, the explanation in decimal.  Another similarity is the existence of alternative representations for any terminating representation, relying on the fact that 0.111111... is the sum of the geometric series 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt; + ... which is 1.&lt;br /&gt;
&lt;br /&gt;
Binary numerals which neither terminate nor recur represent irrational numbers.  For instance,&lt;br /&gt;
* 0.10100100010000100000100... does have a pattern, but it is not a fixed-length recurring pattern, so the number is irrational&lt;br /&gt;
* 1.0110101000001001111001100110011111110... is the binary representation of &amp;lt;math&amp;gt;\sqrt{2}&amp;lt;/math&amp;gt;, the square root of 2, another irrational. It has no discernible pattern.&lt;br /&gt;
&lt;br /&gt;
= Base 5 =&lt;br /&gt;
'''Quinary''' /ˈkwaɪnəri/ ('''base-5''' or '''pental''') is a numeral system with five as the base. A possible origination of a quinary system is that there are five digits on either hand.&lt;br /&gt;
&lt;br /&gt;
In the quinary place system, five numerals, from 0 to 4, are used to represent any real number. According to this method, five is written as 10, twenty-five is written as 100 and sixty is written as 220.&lt;br /&gt;
&lt;br /&gt;
As five is a prime number, only the reciprocals of the powers of five terminate, although its location between two highly composite numbers (4 and 6) guarantees that many recurring fractions have relatively short periods.&lt;br /&gt;
&lt;br /&gt;
Today, the main usage of base 5 is as a biquinary system, which is decimal using five as a sub-base. Another example of a sub-base system, is sexagesimal, base 60, which used 10 as a sub-base.&lt;br /&gt;
&lt;br /&gt;
Each quinary digit can hold log&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;5 (approx. 2.32) bits of information.&lt;br /&gt;
&lt;br /&gt;
==Comparison to other radices==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;float:right; text-align:center&amp;quot;&lt;br /&gt;
|+ A quinary multiplication table&lt;br /&gt;
|-&lt;br /&gt;
| × || '''1''' || '''2''' || '''3''' || '''4''' || '''10''' || '''11''' || '''12''' || '''13''' || '''14''' || '''20''' &lt;br /&gt;
|-&lt;br /&gt;
| '''1''' || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20&lt;br /&gt;
|-&lt;br /&gt;
| '''2''' || 2 || 4 || 11 || 13 || 20 || 22 || 24 || 31 || 33 || 40&lt;br /&gt;
|-&lt;br /&gt;
| '''3''' || 3 || 11 || 14 || 22 || 30 || 33 || 41 || 44 || 102 || 110&lt;br /&gt;
|-&lt;br /&gt;
| '''4''' || 4 || 13 || 22 || 31 || 40 || 44 || 103 || 112 || 121 || 130&lt;br /&gt;
|-&lt;br /&gt;
| '''10''' || 10 || 20 || 30 || 40 || 100 || 110 || 120 || 130 || 140 || 200&lt;br /&gt;
|-&lt;br /&gt;
| '''11''' || 11 || 22 || 33 || 44 || 110 || 121 || 132 || 143 || 204 || 220&lt;br /&gt;
|-&lt;br /&gt;
| '''12''' || 12 || 24 || 41 || 103 || 120 || 132 || 144 || 211 || 223 || 240&lt;br /&gt;
|-&lt;br /&gt;
| '''13''' || 13 || 31 || 44 || 112 || 130 || 143 || 211 || 224 || 242 || 310&lt;br /&gt;
|-&lt;br /&gt;
| '''14''' || 14 || 33 || 102 || 121 || 140 || 204 || 223 || 242 || 311 || 330&lt;br /&gt;
|-&lt;br /&gt;
| '''20''' || 20 || 40 || 110 || 130 || 200 || 220 || 240 || 310 || 330 || 400&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Numbers zero to twenty-five in standard quinary'''&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 0 || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20 || 21 || 22 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 0 || 1 || 10 || 11 || 100 || 101 || 110 || 111 || 1000 || 1001 || 1010 || 1011 || 1100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 23 || 24 || 30 || 31 || 32 || 33 || 34 || 40 || 41 || 42 || 43 || 44 || 100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 1101 || 1110 || 1111 || 10000 || 10001 || 10010 || 10011 || 10100 || 10101 || 10110 || 10111 || 11000 || 11001&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 13 !! 14 !! 15 !! 16 !! 17 !! 18 !! 19 !! 20 !! 21 !! 22 !! 23 !! 24 !! 25 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Fractions in quinary'''&lt;br /&gt;
|'''Decimal''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;) ||'''Quinary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|'''Binary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|1/2 = 0.5 &lt;br /&gt;
|'''1/2''' = 0.&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|-&lt;br /&gt;
|1/3 = 0.&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/3''' = 0.&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/4 = 0.25&lt;br /&gt;
|'''1/4''' = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/100 = 0.01&lt;br /&gt;
|-&lt;br /&gt;
|1/5 = 0.2&lt;br /&gt;
|'''1/10''' = 0.1&lt;br /&gt;
|1/101 = 0.&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/6 = 0.1&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/11''' = 0.&amp;lt;u&amp;gt;04&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/110 = 0.0&amp;lt;u&amp;gt;10&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/7 = 0.&amp;lt;u&amp;gt;142857&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/12''' = 0.&amp;lt;u&amp;gt;032412&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/111 = 0.&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/8 = 0.125&lt;br /&gt;
|'''1/13''' = 0.&amp;lt;u&amp;gt;03&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1000 = 0.001&lt;br /&gt;
|-&lt;br /&gt;
|1/9 = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/14''' = 0.&amp;lt;u&amp;gt;023421&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1001 = 0.&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|'''1/20''' = 0.0&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1010 = 0.0&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;09&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/21''' = 0.&amp;lt;u&amp;gt;02114&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1011 = 0.&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/12 = 0.08&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/22''' = 0.&amp;lt;u&amp;gt;02&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1100 = 0.00&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/13 = 0.&amp;lt;u&amp;gt;076923&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/23''' = 0.&amp;lt;u&amp;gt;0143&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1101 = 0.&amp;lt;u&amp;gt;000100111011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/14 = 0.0&amp;lt;u&amp;gt;714285&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/24''' = 0.&amp;lt;u&amp;gt;013431&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1110 = 0.0&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/15 = 0.0&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/30''' = 0.0&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1111 = 0.&amp;lt;u&amp;gt;0001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/16 = 0.0625&lt;br /&gt;
|'''1/31''' = 0.&amp;lt;u&amp;gt;0124&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10000 = 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|1/17 = 0.&amp;lt;u&amp;gt;0588235294117647&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/32''' = 0.&amp;lt;u&amp;gt;0121340243231042&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10001 = 0.&amp;lt;u&amp;gt;00001111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/18 = 0.0&amp;lt;u&amp;gt;5&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/33''' = 0.&amp;lt;u&amp;gt;011433&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10010 = 0.0&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/19 = 0.&amp;lt;u&amp;gt;052631578947368421&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/34''' = 0.&amp;lt;u&amp;gt;011242141&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10011 = 0.&amp;lt;u&amp;gt;000011010111100101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/20 = 0.05&lt;br /&gt;
|'''1/40''' = 0.0&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10100 = 0.00&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/21 = 0.&amp;lt;u&amp;gt;047619&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/41''' = 0.&amp;lt;u&amp;gt;010434&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10101 = 0.&amp;lt;u&amp;gt;000011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/22 = 0.0&amp;lt;u&amp;gt;45&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/42''' = 0.&amp;lt;u&amp;gt;01032&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10110 = 0.0&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/23 = 0.&amp;lt;u&amp;gt;0434782608695652173913&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/43''' = 0.&amp;lt;u&amp;gt;0102041332143424031123&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10111 = 0.&amp;lt;u&amp;gt;00001011001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/24 = 0.041&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/44''' = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11000 = 0.000&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/25 = 0.04&lt;br /&gt;
|'''1/100''' = 0.01&lt;br /&gt;
|1/11001 = 0.&amp;lt;u&amp;gt;00001010001111010111&amp;lt;/u&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Many languages use quinary number systems, including Gumatj, Nunggubuyu, Kuurn Kopan Noot, Luiseño and Saraveca.  Gumatj is a true &amp;quot;5–25&amp;quot; language, in which 25 is the higher group of 5. The Gumatj numerals are shown below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
! Number !! Base 5 !! Numeral&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 1 &lt;br /&gt;
| 1&lt;br /&gt;
| wanggany&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 2&lt;br /&gt;
| 2&lt;br /&gt;
| marrma&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 3&lt;br /&gt;
| 3&lt;br /&gt;
| lurrkun&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 4&lt;br /&gt;
| 4&lt;br /&gt;
| dambumiriw&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 5&lt;br /&gt;
| 10&lt;br /&gt;
| wanggany rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 10&lt;br /&gt;
| 20&lt;br /&gt;
| marrma rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 15&lt;br /&gt;
| 30&lt;br /&gt;
| lurrkun rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 20&lt;br /&gt;
| 40&lt;br /&gt;
| dambumiriw rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 25&lt;br /&gt;
| 100&lt;br /&gt;
| dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 50&lt;br /&gt;
| 200&lt;br /&gt;
| marrma dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 75&lt;br /&gt;
| 300&lt;br /&gt;
| lurrkun dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 100&lt;br /&gt;
| 400&lt;br /&gt;
| dambumiriw dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 125&lt;br /&gt;
| 1000&lt;br /&gt;
| dambumirri dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 625&lt;br /&gt;
| 10000&lt;br /&gt;
&lt;br /&gt;
| dambumirri dambumirri dambumirri rulu&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Biquinary==&lt;br /&gt;
[[File:Chinese-abacus.jpg|thumb|right|Chinese Abacus or suanpan]]&lt;br /&gt;
A decimal system with 2 and 5 as a sub-bases is called biquinary, and is found in Wolof and Khmer. Roman numerals are an early biquinary system. The numbers 1, 5, 10, and 50 are written as '''I''', '''V''', '''X''', and '''L''' respectively. Seven is '''VII''' and seventy is '''LXX'''. The full list is:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
| '''I''' || '''V''' || '''X''' || '''L''' || '''C''' || '''D''' || '''M'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5 || 10 || 50 || 100 || 500 || 1000&lt;br /&gt;
|}&lt;br /&gt;
Note that these are not positional number systems. In theory a number such as 73 could be written as IIIXXL without ambiguity as well as LXXIII and it is still not possible to extend it beyond thousands. There is also no sign for zero. But with the introduction of inversions such as IV and IX, it was necessary to keep the order from most to least significant.&lt;br /&gt;
&lt;br /&gt;
Many versions of the abacus, such as the suanpan and soroban, use a biquinary system to simulate a decimal system for ease of calculation. Urnfield culture numerals and some tally mark systems are also biquinary. Units of currencies are commonly partially or wholly biquinary.&lt;br /&gt;
&lt;br /&gt;
Bi-quinary coded decimal is a variant of biquinary that was used on a number of early computers including Colossus and the IBM 650 to represent decimal numbers.&lt;br /&gt;
&lt;br /&gt;
= Base 10 =&lt;br /&gt;
&lt;br /&gt;
The '''decimal''' numeral system (also called the '''base-ten''' positional numeral system, and occasionally called '''denary''' /ˈdiːnəri/ or '''decanary''') is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system. The way of denoting numbers in the decimal system is often referred to as ''decimal notation''.&lt;br /&gt;
&lt;br /&gt;
A ''decimal numeral'' (also often just ''decimal'' or, less correctly, ''decimal number''), refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified by a decimal separator (usually &amp;quot;.&amp;quot; or &amp;quot;,&amp;quot; as in 25.9703 or 3,1415). ''Decimal'' may also refer specifically to the digits after the decimal separator, such as in &amp;quot;3.14 is the approximation of &amp;lt;math&amp;gt; \pi &amp;lt;/math&amp;gt; to ''two decimals''&amp;quot;. Zero-digits after a decimal separator serve the purpose of signifying the precision of a value.&lt;br /&gt;
&lt;br /&gt;
The numbers that may be represented in the decimal system are the decimal fractions. That is, fractions of the form {{math|''a''/10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, where {{math|''a''}} is an integer, and {{math|''n''}} is a non-negative integer.&lt;br /&gt;
&lt;br /&gt;
The decimal system has been extended to ''infinite decimals'' for representing any real number, by using an infinite sequence of digits after the decimal separator (see decimal representation). In this context, the decimal numerals with a finite number of non-zero digits after the decimal separator are sometimes called ''terminating decimals''. A ''repeating decimal'' is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., 5.123144144144144... = &amp;lt;math&amp;gt; 5.123 \overline{144}&amp;lt;/math&amp;gt;). An infinite decimal represents a rational number, the quotient of two integers, if and only if it is a repeating decimal or has a finite number of non-zero digits.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
[[File:Two hand, ten fingers.jpg|thumb|right|Ten fingers on two hands, the possible origin of decimal counting]]&lt;br /&gt;
Many numeral systems of ancient civilizations use ten and its powers for representing numbers, possibly because there are ten fingers on two hands and people started counting by using their fingers. Examples are firstly the Egyptian numerals, then the Brahmi numerals, Greek numerals, Hebrew numerals, Roman numerals, and Chinese numerals. Very large numbers were difficult to represent in these old numeral systems, and only the best mathematicians were able to multiply or divide large numbers. These difficulties were completely solved with the introduction of the Hindu–Arabic numeral system for representing integers. This system has been extended to represent some non-integer numbers, called ''decimal fractions'' or ''decimal numbers'', for forming the ''decimal numeral system''.&lt;br /&gt;
&lt;br /&gt;
== Decimal notation ==&lt;br /&gt;
For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign &amp;quot;−&amp;quot;. The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; and a comma &amp;quot;{{math|,}}&amp;quot; in other countries.&lt;br /&gt;
&lt;br /&gt;
For representing a non-negative number, a decimal numeral consists of&lt;br /&gt;
* either a (finite) sequence of digits (such as &amp;quot;2017&amp;quot;), where the entire sequence represents an integer,&lt;br /&gt;
*:&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0&amp;lt;/math&amp;gt;&lt;br /&gt;
*or a decimal mark separating two sequences of digits (such as &amp;quot;20.70828&amp;quot;)&lt;br /&gt;
::&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
If {{math|''m'' &amp;gt; 0}}, that is, if the first sequence contains at least two digits, it is generally assumed that the first digit {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}} is not zero. In some circumstances it may be useful to have one or more 0's on the left; this does not change the value represented by the decimal: for example, {{math|1=3.14 = 03.14 = 003.14}}. Similarly, if the final digit on the right of the decimal mark is zero—that is, if {{math|1=''b''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}—it may be removed; conversely, trailing zeros may be added after the decimal mark without changing the represented number;  for example, {{math|1=15 = 15.0 = 15.00}} and {{math|1=5.2 = 5.20 = 5.200}}.&lt;br /&gt;
&lt;br /&gt;
For representing a negative number, a minus sign is placed before {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
The numeral &amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt; represents the number&lt;br /&gt;
:&amp;lt;math&amp;gt;a_m10^m+a_{m-1}10^{m-1}+\cdots+a_{0}10^0+\frac{b_1}{10^1}+\frac{b_2}{10^2}+\cdots+\frac{b_n}{10^n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The ''integer part'' or ''integral part'' of a decimal numeral is the integer written to the left of the decimal separator (see also truncation). For a non-negative decimal numeral, it is the largest integer that is not greater than the decimal. The part from the decimal separator to the right is the ''fractional part'', which equals the difference between the numeral and its integer part.&lt;br /&gt;
&lt;br /&gt;
When the integral part of a numeral is zero, it may occur, typically in computing, that the integer part is not written (for example {{math|.1234}}, instead of {{math|0.1234}}). In normal writing, this is generally avoided, because of the risk of confusion between the decimal mark and other punctuation.&lt;br /&gt;
&lt;br /&gt;
In brief, the contribution of each digit to the value of a number depends on its position in the numeral. That is, the decimal system is a positional numeral system.&lt;br /&gt;
&lt;br /&gt;
== Decimal fractions ==&lt;br /&gt;
'''Decimal fractions''' (sometimes called '''decimal numbers''', especially in contexts involving explicit fractions) are the  rational numbers that may be expressed as a fraction whose denominator is a power of ten. For example, the decimals &amp;lt;math&amp;gt;0.8, 14.89, 0.00024, 1.618, 3.14159&amp;lt;/math&amp;gt; represent the fractions &amp;lt;math&amp;gt; \tfrac{8}{10}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{1489}{100}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{24}{100000}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\tfrac {1618}{1000}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{314159}{100000}&amp;lt;/math&amp;gt;, and are therefore decimal numbers.&lt;br /&gt;
&lt;br /&gt;
More generally, a decimal with {{math|''n''}} digits after the separator represents the fraction with denominator {{math|10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, whose numerator is the integer obtained by removing the separator.&lt;br /&gt;
&lt;br /&gt;
It follows that a number is a decimal fraction if and only if it has a finite decimal representation.&lt;br /&gt;
&lt;br /&gt;
Expressed as a fully reduced fraction, the decimal numbers are those whose denominator is a product of a power of 2 and a power of 5. Thus the smallest denominators of decimal numbers are&lt;br /&gt;
:&amp;lt;math&amp;gt;1=2^0\cdot 5^0, 2=2^1\cdot 5^0, 4=2^2\cdot 5^0, 5=2^0\cdot 5^1, 8=2^3\cdot 5^0, 10=2^1\cdot 5^1, 16=2^4\cdot 5^0, 25=2^0\cdot 5^2, \ldots&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Real number approximation==&lt;br /&gt;
&lt;br /&gt;
Decimal numerals do not allow an exact representation for all real numbers, e.g. for the real number &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;. Nevertheless, they allow approximating every real number with any desired accuracy, e.g., the decimal 3.14159 approximates the real &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;, being less than 10&amp;lt;sup&amp;gt;−5&amp;lt;/sup&amp;gt; off; so decimals are widely used in science, engineering and everyday life.&lt;br /&gt;
&lt;br /&gt;
More precisely, for every real number {{Mvar|x}} and every positive integer {{Mvar|n}}, there are two decimals {{Mvar|''L''}} and {{Mvar|''u''}} with at most ''{{Mvar|n}}'' digits after the decimal mark such that {{Math|''L'' ≤ ''x'' ≤ ''u''}} and {{Math|1=(''u'' − ''L'') = 10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Numbers are very often obtained as the result of measurement. As measurements are subject to measurement uncertainty with a known upper bound, the result of a measurement is well-represented by a decimal with {{math|''n''}} digits after the decimal mark, as soon as the absolute measurement error is bounded from above by {{Math|10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}. In practice, measurement results are often given with a certain number of digits after the decimal point, which indicate the error bounds. For example, although 0.080 and 0.08 denote the same number, the decimal numeral 0.080 suggests a measurement with an error less than 0.001, while the numeral 0.08 indicates an absolute error bounded by 0.01. In both cases, the true value of the measured quantity could be, for example, 0.0803 or 0.0796 (see also significant figures).&lt;br /&gt;
&lt;br /&gt;
==Infinite decimal expansion==&lt;br /&gt;
&lt;br /&gt;
For a real number {{Mvar|x}} and an integer {{Math|''n'' ≥ 0}}, let {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} denote the (finite) decimal expansion of the greatest number that is not greater than ''{{Mvar|x}}'' that has exactly {{Mvar|n}} digits after the decimal mark. Let {{Math|''d''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}} denote the last digit of {{Math|[''x'']&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}}. It is straightforward to see that {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} may be obtained by appending {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} to the right of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}}. This way one has&lt;br /&gt;
:{{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}},&lt;br /&gt;
&lt;br /&gt;
and the difference of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}} and {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} amounts to&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\vert \left [ x \right ]_n-\left [ x \right ]_{n-1} \right\vert=d_n\cdot10^{-n}&amp;lt;10^{-n+1}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
which is either 0, if {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}, or gets arbitrarily small as ''{{Mvar|n}}'' tends to infinity. According to the definition of a limit, ''{{Mvar|x}}'' is the limit of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} when ''{{Mvar|n}}'' tends to infinity. This is written as&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\; x = \lim_{n\rightarrow\infty} [x]_n \;&amp;lt;/math&amp;gt;or&lt;br /&gt;
: {{Math|1=''x'' = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}},&lt;br /&gt;
which is called an '''infinite decimal expansion''' of ''{{Mvar|x}}''.&lt;br /&gt;
&lt;br /&gt;
Conversely, for any integer {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} and any sequence of digits&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;(d_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; the (infinite) expression {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}} is an ''infinite decimal expansion'' of a real number ''{{Mvar|x}}''. This expansion is unique if neither all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 9 nor all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 0 for ''{{Mvar|n}}'' large enough (for all ''{{Mvar|n}}'' greater than some natural number {{Mvar|N}}).&lt;br /&gt;
&lt;br /&gt;
If all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} for {{Math|''n'' &amp;gt; ''N''}} equal to 9 and {{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, the limit of the sequence&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;([x]_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; is the decimal fraction obtained by replacing the last digit that is not a 9, i.e.: {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}}, by {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; + 1}}, and replacing all subsequent 9s by 0s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
Any such decimal fraction, i.e.: {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}} for {{Math|''n'' &amp;gt; ''N''}}, may be converted to its equivalent infinite decimal expansion by replacing {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}} by  {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; − 1}} and replacing all subsequent 0s by 9s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
In summary, every real number that is not a decimal fraction has a unique infinite decimal expansion. Each decimal fraction has exactly two infinite decimal expansions, one containing only 0s after some place, which is obtained by the above definition of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, and the other containing only 9s after some place, which is obtained by defining {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} as the greatest number that is ''less'' than {{Mvar|x}}, having exactly ''{{Mvar|n}}'' digits after the decimal mark.&lt;br /&gt;
&lt;br /&gt;
=== Rational numbers ===&lt;br /&gt;
&lt;br /&gt;
Long division allows computing the infinite decimal expansion of a rational number. If the rational number is a decimal fraction, the division stops eventually, producing a decimal numeral, which may be prolongated into an infinite expansion by adding infinitely many zeros. If the rational number is not a decimal fraction, the division may continue indefinitely. However, as all successive remainders are less than the divisor, there are only a finite number of possible remainders, and after some place, the same sequence of digits must be repeated indefinitely in the quotient. That is, one has a ''repeating decimal''. For example,&lt;br /&gt;
:&amp;lt;math&amp;gt; \tfrac{1}{81}&amp;lt;/math&amp;gt; = 0. 012345679 012... (with the group 012345679 indefinitely repeating).&lt;br /&gt;
&lt;br /&gt;
The converse is also true: if, at some point in the decimal representation of a number, the same string of digits starts repeating indefinitely, the number is rational.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|For example, if ''x'' is ||  0.4156156156...&lt;br /&gt;
|-&lt;br /&gt;
|then 10,000''x'' is || 4156.156156156... &lt;br /&gt;
|-&lt;br /&gt;
|and 10''x'' is|| 4.156156156...&lt;br /&gt;
|-&lt;br /&gt;
|so 10,000''x'' − 10''x'', i.e. 9,990''x'', is|| 4152.000000000...&lt;br /&gt;
|-&lt;br /&gt;
|and ''x'' is|| &amp;lt;math&amp;gt; \tfrac{4152}{9990}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
or, dividing both numerator and denominator by 6, &amp;lt;math&amp;gt; \tfrac{692}{1665}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Decimal computation ==&lt;br /&gt;
&lt;br /&gt;
[[File:Decimal multiplication table.JPG|thumb|right|300px|Diagram of the world's earliest known multiplica&amp;amp;shy;tion table (c. 305 BCE) from the Warring States period]]&lt;br /&gt;
&lt;br /&gt;
Most modern computer hardware and software systems commonly use a binary representation internally (although many early computers, such as the ENIAC or the IBM 650, used decimal representation internally).&lt;br /&gt;
For external use by computer specialists, this binary representation is sometimes presented in the related octal or hexadecimal systems.&lt;br /&gt;
&lt;br /&gt;
For most purposes, however, binary values are converted to or from the equivalent decimal values for presentation to or input from humans; computer programs express literals in decimal by default. (123.1, for example, is written as such in a computer program, even though many computer languages are unable to encode that number precisely.)&lt;br /&gt;
&lt;br /&gt;
Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using some variant of binary-coded decimal, especially in database implementations, but there are other decimal representations in use (including decimal floating point such as in newer revisions of the IEEE 754|IEEE 754 Standard for Floating-Point Arithmetic).&lt;br /&gt;
&lt;br /&gt;
Decimal arithmetic is used in computers so that decimal fractional results of adding (or subtracting) values with a fixed length of their fractional part always are computed to this same length of precision. This is especially important for financial calculations, e.g., requiring in their results integer multiples of the smallest currency unit for book keeping purposes. This is not possible in binary, because the negative powers of &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt; have no finite binary fractional representation; and is generally impossible for multiplication (or division). See Arbitrary-precision arithmetic for exact calculations.&lt;br /&gt;
&lt;br /&gt;
= Licensing = &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Radix Radix, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Binary_number Binary number, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Quinary Quinary, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Decimal Decimal, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4659</id>
		<title>Base 10, Base 2 &amp; Base 5</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Base_10,_Base_2_%26_Base_5&amp;diff=4659"/>
		<updated>2022-02-05T19:03:04Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Base 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In a positional numeral system, the '''radix''' or '''base''' is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is ten, because it uses the ten digits from 0 through 9.&lt;br /&gt;
&lt;br /&gt;
In any standard positional numeral system, a number is conventionally written as (''x'')&amp;lt;sub&amp;gt;''y''&amp;lt;/sub&amp;gt; with ''x'' as the string of digits and ''y'' as its base, although for base ten the subscript is usually assumed (and omitted, together with the pair of parentheses), as it is the most common way to express value. For example, (100)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is equivalent to  100&amp;lt;/span&amp;gt; (the decimal system is implied in the latter) and represents the number one hundred, while (100)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (in the binary system with base 2) represents the number four.&lt;br /&gt;
&lt;br /&gt;
= In numeral systems =&lt;br /&gt;
In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 3 × 13&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + 9 × 13&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + 8 × 13&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = 632. &lt;br /&gt;
&lt;br /&gt;
More generally, in a system with radix ''b'' (''b'' &amp;gt; 1), a string of digits ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; … ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;'' denotes the number ''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−1&amp;lt;/sup&amp;gt; + ''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;''b''&amp;lt;sup&amp;gt;''n''−2&amp;lt;/sup&amp;gt; + … + ''d&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;b''&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, where 0 ≤ ''d&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;'' &amp;lt; ''b''. In contrast to decimal, or radix 10, which has a ones' place, tens' place, hundreds' place, and so on, radix ''b'' would have a ones' place, then a ''b''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;s' place, a ''b''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;s' place, etc.&lt;br /&gt;
&lt;br /&gt;
Commonly used numeral systems include:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Base/radix&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| Binary numeral system&lt;br /&gt;
| Used internally by nearly all computers, is base 2. The two digits are &amp;quot;0&amp;quot; and &amp;quot;1&amp;quot;, expressed from switches displaying OFF and ON, respectively. Used in most electric counters.&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| Octal system&lt;br /&gt;
| Used occasionally in computing. The eight digits are &amp;quot;0&amp;quot;–&amp;quot;7&amp;quot; and represent 3 bits (2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| 10 &lt;br /&gt;
| Decimal system&lt;br /&gt;
| Used by humans in the vast majority of cultures. Its ten digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot;. Used in most mechanical counters.&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| Duodecimal (dozenal) system&lt;br /&gt;
| Sometimes advocated due to divisibility by 2, 3, 4, and 6. It was traditionally used as part of quantities expressed in dozens and grosses.&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| Hexadecimal system&lt;br /&gt;
| Often used in computing as a more compact representation of binary (1 hex digit per 4 bits). The sixteen digits are &amp;quot;0&amp;quot;–&amp;quot;9&amp;quot; followed by &amp;quot;A&amp;quot;–&amp;quot;F&amp;quot; or &amp;quot;a&amp;quot;–&amp;quot;f&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| 20&lt;br /&gt;
| Vigesimal system&lt;br /&gt;
| Traditional numeral system in several cultures, still used by some for counting. Historically also known as the ''score system'' in English, now most famous in the phrase &amp;quot;four score and seven years ago&amp;quot; in the Gettysburg Address.&lt;br /&gt;
|-&lt;br /&gt;
| 60&lt;br /&gt;
| Sexagesimal system&lt;br /&gt;
| Originated in ancient Sumer and passed to the Babylonians. Used today as the basis of modern circular coordinate system (degrees, minutes, and seconds) and time measuring (minutes, and seconds) by analogy to the rotation of the Earth.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Base 2 =&lt;br /&gt;
A '''binary number''' is a number expressed in the '''base-2 numeral system''' or '''binary numeral system''', a method of mathematical expression which uses only two symbols: typically &amp;quot;0&amp;quot; (zero) and &amp;quot;1&amp;quot; (one).&lt;br /&gt;
&lt;br /&gt;
The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices, as a preferred system of use, over various other human techniques of communication, because of the simplicity of the language.&lt;br /&gt;
&lt;br /&gt;
==Representation==&lt;br /&gt;
Any number can be represented by a sequence of bits (binary digits), which in turn may be represented by any mechanism capable of being in two mutually exclusive states. Any of the following rows of symbols can be interpreted as the binary numeric value of 667:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
| 1 || 0 || 1 || 0 || 0 || 1 || 1 || 0 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || ― || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ☒ || ☐ || ☒ || ☐ || ☐ || ☒ || ☒ || ☐ || ☒ || ☒&lt;br /&gt;
|-&lt;br /&gt;
| y || n || y || n || n || y || y || n || y || y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:Binary clock.svg|250px|thumbnail|right|A binary clock might use LEDs to express binary values. In this clock, each column of LEDs shows a binary-coded decimal numeral of the traditional sexagesimal time.]]&lt;br /&gt;
&lt;br /&gt;
The numeric value represented in each case is dependent upon the value assigned to each symbol. In the earlier days of computing, switches, punched holes and punched paper tapes were used to represent binary values. In a modern computer, the numeric values may be represented by two different voltages; on a magnetic disk, magnetic polarities may be used. A &amp;quot;positive&amp;quot;, &amp;quot;yes&amp;quot;, or &amp;quot;on&amp;quot; state is not necessarily equivalent to the numerical value of one; it depends on the architecture in use.&lt;br /&gt;
&lt;br /&gt;
In keeping with customary representation of numerals using Arabic numerals, binary numbers are commonly written using the symbols '''0''' and '''1'''. When written, binary numerals are often subscripted, prefixed or suffixed in order to indicate their base, or radix. The following notations are equivalent:&lt;br /&gt;
* 100101 binary (explicit statement of format)&lt;br /&gt;
* 100101b (a suffix indicating binary format; also known as Intel convention)&lt;br /&gt;
* 100101B (a suffix indicating binary format)&lt;br /&gt;
* bin 100101 (a prefix indicating binary format)&lt;br /&gt;
* 100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (a subscript indicating base-2 (binary) notation)&lt;br /&gt;
* %100101 (a prefix indicating binary format; also known as Motorola convention)&lt;br /&gt;
* 0b100101 (a prefix indicating binary format, common in programming languages)&lt;br /&gt;
* 6b100101 (a prefix indicating number of bits in binary format, common in programming languages)&lt;br /&gt;
* #b100101 (a prefix indicating binary format, common in Lisp programming languages)&lt;br /&gt;
&lt;br /&gt;
When spoken, binary numerals are usually read digit-by-digit, in order to distinguish them from decimal numerals. For example, the binary numeral 100 is pronounced ''one zero zero'', rather than ''one hundred'', to make its binary nature explicit, and for purposes of correctness. Since the binary numeral 100 represents the value four, it would be confusing to refer to the numeral as ''one hundred'' (a word that represents a completely different value, or amount). Alternatively, the binary numeral 100 can be read out as &amp;quot;four&amp;quot; (the correct ''value''), but this does not make its binary nature explicit.&lt;br /&gt;
&lt;br /&gt;
==Counting in binary==&lt;br /&gt;
Counting in binary is similar to counting in any other number system. Beginning with a single digit, counting proceeds through each symbol, in increasing order. Before examining binary counting, it is useful to briefly discuss the more familiar decimal counting system as a frame of reference.&lt;br /&gt;
&lt;br /&gt;
===Decimal counting===&lt;br /&gt;
Decimal counting uses the ten symbols ''0'' through ''9''.  Counting begins with the incremental substitution of the least significant digit (rightmost digit) which is often called the ''first digit''. When the available symbols for this position are exhausted, the least significant digit is reset to ''0'', and the next digit of higher significance (one position to the left) is incremented (''overflow''), and incremental substitution of the low-order digit resumes. This method of reset and overflow is repeated for each digit of significance. Counting progresses as follows:&lt;br /&gt;
&lt;br /&gt;
:000, 001, 002, ... 007, 008, 009, (rightmost digit is reset to zero, and the digit to its left is incremented)&lt;br /&gt;
:0'''1'''0, 011, 012, ...&lt;br /&gt;
:&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;...&lt;br /&gt;
:090, 091, 092, ... 097, 098, 099, (rightmost two digits are reset to zeroes, and next digit is incremented)&lt;br /&gt;
:'''1'''00, 101, 102, ...&lt;br /&gt;
&lt;br /&gt;
===Binary counting===&lt;br /&gt;
[[File:Binary counter.gif|thumb|This counter shows how to count in binary from numbers zero through thirty-one.]]&lt;br /&gt;
[[File:Binary_guess_number_trick_SMIL.svg|thumb|upright|link={{filepath:binary_guess_number_trick_SMIL.svg}}|A party trick to guess a number from which cards it is printed on uses the bits of the binary representation of the number. In the SVG file, click a card to toggle it]]&lt;br /&gt;
Binary counting follows the same procedure, except that only the two symbols ''0'' and ''1'' are available. Thus, after a digit reaches 1 in binary, an increment resets it to 0 but also causes an increment of the next digit to the left:&lt;br /&gt;
&lt;br /&gt;
:0000,&lt;br /&gt;
:000'''1''', (rightmost digit starts over, and next digit is incremented)&lt;br /&gt;
:00'''1'''0, 0011, (rightmost two digits start over, and next digit is incremented)&lt;br /&gt;
:0'''1'''00, 0101, 0110, 0111, (rightmost three digits start over, and the next digit is incremented)&lt;br /&gt;
:'''1'''000, 1001, 1010, 1011, 1100, 1101, 1110, 1111 ...&lt;br /&gt;
&lt;br /&gt;
In the binary system, each digit represents an increasing power of 2, with the rightmost digit representing 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;, the next representing 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;, then 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, and so on. The value of a binary number is the sum of the powers of 2 represented by each &amp;quot;1&amp;quot; digit. For example, the binary number 100101 is converted to decimal form as follows:&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; ] + [ ( '''0''' ) × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; ] + [ ( '''1''' ) × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; ]&lt;br /&gt;
&lt;br /&gt;
:100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = [ '''1''' × 32 ] + [ '''0''' × 16 ] + [ '''0''' × 8 ] + [ '''1''' × 4 ] + [ '''0''' × 2 ] + [ '''1''' × 1 ]&lt;br /&gt;
&lt;br /&gt;
:'''100101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 37&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
==Fractions==&lt;br /&gt;
&lt;br /&gt;
Fractions in binary arithmetic terminate only if 2 is the only prime factor in the denominator. As a result, 1/10 does not have a finite binary representation ('''10''' has prime factors '''2''' and '''5'''). This causes 10 × 0.1 not to precisely equal 1 in floating-point arithmetic. As an example, to interpret the binary expression for 1/3 = .010101..., this means: 1/3 = 0 × '''2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;''' + 1 × '''2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;''' + 0 × '''2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt;''' +  1 × '''2&amp;lt;sup&amp;gt;−4&amp;lt;/sup&amp;gt;''' + ... = 0.3125 + ... An exact value cannot be found with a sum of a finite number of inverse powers of two, the zeros and ones in the binary representation of 1/3 alternate forever.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Fraction&lt;br /&gt;
! [[Base 10|Decimal]]&lt;br /&gt;
! Binary&lt;br /&gt;
! Fractional approximation&lt;br /&gt;
|-&lt;br /&gt;
| 1/1&lt;br /&gt;
| 1{{pad|0.25em}}or{{pad|0.25em}}0.999...&lt;br /&gt;
| 1{{pad|0.25em}}or{{pad|0.25em}}0.111...&lt;br /&gt;
| 1/2 + 1/4 + 1/8...&lt;br /&gt;
|-&lt;br /&gt;
| 1/2&lt;br /&gt;
| 0.5{{pad|0.25em}}or{{pad|0.25em}}0.4999...&lt;br /&gt;
| 0.1{{pad|0.25em}}or{{pad|0.25em}}0.0111...&lt;br /&gt;
| 1/4 + 1/8 + 1/16 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/3&lt;br /&gt;
| 0.333...&lt;br /&gt;
| 0.010101...&lt;br /&gt;
| 1/4 + 1/16 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/4&lt;br /&gt;
| 0.25{{pad|0.25em}}or{{pad|0.25em}}0.24999...&lt;br /&gt;
| 0.01{{pad|0.25em}}or{{pad|0.25em}}0.00111...&lt;br /&gt;
| 1/8 + 1/16 + 1/32 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/5&lt;br /&gt;
| 0.2{{pad|0.25em}}or{{pad|0.25em}}0.1999...&lt;br /&gt;
| 0.00110011...&lt;br /&gt;
| 1/8 + 1/16 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/6&lt;br /&gt;
| 0.1666...&lt;br /&gt;
| 0.0010101...&lt;br /&gt;
| 1/8 + 1/32 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/7&lt;br /&gt;
| 0.142857142857...&lt;br /&gt;
| 0.001001...&lt;br /&gt;
| 1/8 + 1/64 + 1/512 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/8&lt;br /&gt;
| 0.125{{pad|0.25em}}or{{pad|0.25em}}0.124999...&lt;br /&gt;
| 0.001{{pad|0.25em}}or{{pad|0.25em}}0.000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/9&lt;br /&gt;
| 0.111...&lt;br /&gt;
| 0.000111000111...&lt;br /&gt;
| 1/16 + 1/32 + 1/64 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/10&lt;br /&gt;
| 0.1{{pad|0.25em}}or{{pad|0.25em}}0.0999...&lt;br /&gt;
| 0.000110011...&lt;br /&gt;
| 1/16 + 1/32 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/11&lt;br /&gt;
| 0.090909...&lt;br /&gt;
| 0.00010111010001011101...&lt;br /&gt;
| 1/16 + 1/64 + 1/128 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/12&lt;br /&gt;
| 0.08333...&lt;br /&gt;
| 0.00010101...&lt;br /&gt;
| 1/16 + 1/64 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/13&lt;br /&gt;
| 0.076923076923...&lt;br /&gt;
| 0.000100111011000100111011...&lt;br /&gt;
| 1/16 + 1/128 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/14&lt;br /&gt;
| 0.0714285714285...&lt;br /&gt;
| 0.0001001001...&lt;br /&gt;
| 1/16 + 1/128 + 1/1024 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/15&lt;br /&gt;
| 0.0666...&lt;br /&gt;
| 0.00010001...&lt;br /&gt;
| 1/16 + 1/256 . . .&lt;br /&gt;
|-&lt;br /&gt;
| 1/16&lt;br /&gt;
| 0.0625{{pad|0.25em}}or{{pad|0.25em}}0.0624999...&lt;br /&gt;
| 0.0001{{pad|0.25em}}or{{pad|0.25em}}0.0000111...&lt;br /&gt;
| 1/32 + 1/64 + 1/128 . . .&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Binary arithmetic==&lt;br /&gt;
Arithmetic in binary is much like arithmetic in other numeral systems. Addition, subtraction, multiplication, and division can be performed on binary numerals.&lt;br /&gt;
&lt;br /&gt;
===Addition===&lt;br /&gt;
[[Image:Half Adder.svg|thumbnail|200px|right|The circuit diagram for a binary half adder, which adds two bits together, producing sum and carry bits]]&lt;br /&gt;
&lt;br /&gt;
The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:&lt;br /&gt;
&lt;br /&gt;
:0 + 0 → 0&lt;br /&gt;
:0 + 1 → 1&lt;br /&gt;
:1 + 0 → 1&lt;br /&gt;
:1 + 1 → 0, carry 1 (since 1 + 1 = 2 = 0 + (1 × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
Adding two &amp;quot;1&amp;quot; digits produces a digit &amp;quot;0&amp;quot;, while 1 will have to be added to the next column. This is similar to what happens in decimal when certain single-digit numbers are added together; if the result equals or exceeds the value of the radix (10), the digit to the left is incremented:&lt;br /&gt;
&lt;br /&gt;
:5 + 5 → 0, carry 1 (since 5 + 5 = 10 = 0 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
:7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 10&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;)  )&lt;br /&gt;
&lt;br /&gt;
This is known as ''carrying''. When the result of an addition exceeds the value of a digit, the procedure is to &amp;quot;carry&amp;quot; the excess amount divided by the radix (that is, 10/10) to the left, adding it to the next positional value. This is correct since the next position has a weight that is higher by a factor equal to the radix. Carrying works the same way in binary:&lt;br /&gt;
&lt;br /&gt;
   1 1 1 1 1    (carried digits)&lt;br /&gt;
     0 1 1 0 1&lt;br /&gt;
 +   1 0 1 1 1&lt;br /&gt;
 -------------&lt;br /&gt;
 = 1 0 0 1 0 0 = 36&lt;br /&gt;
&lt;br /&gt;
In this example, two numerals are being added together: 01101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (13&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 10111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (23&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;). The top row shows the carry bits used. Starting in the rightmost column, 1 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. The 1 is carried to the left, and the 0 is written at the bottom of the rightmost column. The second column from the right is added: 1 + 0 + 1 = 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; again; the 1 is carried, and 0 is written at the bottom. The third column: 1 + 1 + 1 = 11&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 100100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (36&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
When computers must add two numbers, the rule that:&lt;br /&gt;
x xor y = (x + y) mod 2&lt;br /&gt;
for any two bits x and y allows for very fast calculation, as well.&lt;br /&gt;
&lt;br /&gt;
====Long carry method====&lt;br /&gt;
A simplification for many binary addition problems is the Long Carry Method or Brookhouse Method of Binary Addition. This method is generally useful in any binary addition in which one of the numbers contains a long &amp;quot;string&amp;quot; of ones. It is based on the simple premise that under the binary system, when given a &amp;quot;string&amp;quot; of digits composed entirely of ''n'' ones (where ''n'' is any integer length), adding 1 will result in the number 1 followed by a string of ''n'' zeros. That concept follows, logically, just as in the decimal system, where adding 1 to a string of ''n'' 9s will result in the number 1 followed by a string of ''n'' 0s:&lt;br /&gt;
&lt;br /&gt;
      Binary                        Decimal&lt;br /&gt;
     1 1 1 1 1     likewise        9 9 9 9 9&lt;br /&gt;
  +          1                  +          1&lt;br /&gt;
   ———————————                   ———————————&lt;br /&gt;
   1 0 0 0 0 0                   1 0 0 0 0 0&lt;br /&gt;
&lt;br /&gt;
Such long strings are quite common in the binary system.  From that one finds that large binary numbers can be added using two simple steps, without excessive carry operations. In the following example, two numerals are being added together: 1 1 1 0 1 1 1 1 1 0&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (958&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;) and 1 0 1 0 1 1 0 0 1 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (691&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;), using the traditional carry method on the left, and the long carry method on the right:&lt;br /&gt;
&lt;br /&gt;
 Traditional Carry Method                       Long Carry Method&lt;br /&gt;
                                 vs.&lt;br /&gt;
   1 1 1   1 1 1 1 1      (carried digits)   1 ←     1 ←            carry the 1 until it is one digit past the &amp;quot;string&amp;quot; below&lt;br /&gt;
     1 1 1 0 1 1 1 1 1 0                       &amp;lt;s&amp;gt;1 1 1&amp;lt;/s&amp;gt; 0 &amp;lt;s&amp;gt;1 1 1 1 1&amp;lt;/s&amp;gt; 0  cross out the &amp;quot;string&amp;quot;,&lt;br /&gt;
 +   1 0 1 0 1 1 0 0 1 1                   +   1 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 0 1 1 0 0 &amp;lt;s&amp;gt;1&amp;lt;/s&amp;gt; 1  and cross out the digit that was added to it&lt;br /&gt;
 ———————————————————————                    ——————————————————————&lt;br /&gt;
 = 1 1 0 0 1 1 1 0 0 0 1                     1 1 0 0 1 1 1 0 0 0 1&lt;br /&gt;
&lt;br /&gt;
The top row shows the carry bits used. Instead of the standard carry from one column to the next, the lowest-ordered &amp;quot;1&amp;quot; with a &amp;quot;1&amp;quot; in the corresponding place value beneath it may be added and a &amp;quot;1&amp;quot; may be carried to one digit past the end of the series.  The &amp;quot;used&amp;quot; numbers must be crossed off, since they are already added. Other long strings may likewise be cancelled using the same technique. Then, simply add together any remaining digits normally. Proceeding in this manner gives the final answer of 1 1 0 0 1 1 1 0 0 0 1&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; (1649&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;).  In our simple example using small numbers, the traditional carry method required eight carry operations, yet the long carry method required only two, representing a substantial reduction of effort.&lt;br /&gt;
&lt;br /&gt;
====Addition table====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1&lt;br /&gt;
| 10&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary addition table is similar, but not the same, as the truth table of the logical disjunction operation &amp;lt;math&amp;gt;\lor&amp;lt;/math&amp;gt;. The difference is that &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\lor &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;1=1&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;1+1=10&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Subtraction ===&lt;br /&gt;
&lt;br /&gt;
Subtraction works in much the same way:&lt;br /&gt;
&lt;br /&gt;
:0 − 0 → 0&lt;br /&gt;
:0 − 1 → 1, borrow 1&lt;br /&gt;
:1 − 0 → 1&lt;br /&gt;
:1 − 1 → 0&lt;br /&gt;
Subtracting a &amp;quot;1&amp;quot; digit from a &amp;quot;0&amp;quot; digit produces the digit &amp;quot;1&amp;quot;, while 1 will have to be subtracted from the next column. This is known as ''borrowing''. The principle is the same as for carrying. When the result of a subtraction is less than 0, the least possible value of a digit, the procedure is to &amp;quot;borrow&amp;quot; the deficit divided by the radix (that is, 10/10) from the left, subtracting it from the next positional value.&lt;br /&gt;
&lt;br /&gt;
     *   * * *   (starred columns are borrowed from)&lt;br /&gt;
   1 1 0 1 1 1 0&lt;br /&gt;
 −     1 0 1 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 1 0 1 0 1 1 1&lt;br /&gt;
&lt;br /&gt;
   *             (starred columns are borrowed from)&lt;br /&gt;
   1 0 1 1 1 1 1&lt;br /&gt;
 -   1 0 1 0 1 1&lt;br /&gt;
 ----------------&lt;br /&gt;
 = 0 1 1 0 1 0 0&lt;br /&gt;
&lt;br /&gt;
Subtracting a positive number is equivalent to ''adding'' a negative number of equal absolute value. Computers use signed number representations to handle negative numbers—most commonly the two's complement notation. Such representations eliminate the need for a separate &amp;quot;subtract&amp;quot; operation. Using two's complement notation subtraction can be summarized by the following formula:&lt;br /&gt;
&lt;br /&gt;
: {{math|1=A − B = A + not B + 1}}&lt;br /&gt;
&lt;br /&gt;
===Multiplication===&lt;br /&gt;
Multiplication in binary is similar to its decimal counterpart. Two numbers ''A'' and ''B'' can be multiplied by partial products: for each digit in ''B'', the product of that digit in ''A'' is calculated and written on a new line, shifted leftward so that its rightmost digit lines up with the digit in ''B'' that was used. The sum of all these partial products gives the final result.&lt;br /&gt;
&lt;br /&gt;
Since there are only two digits in binary, there are only two possible outcomes of each partial multiplication:&lt;br /&gt;
* If the digit in ''B'' is 0, the partial product is also 0&lt;br /&gt;
* If the digit in ''B'' is 1, the partial product is equal to ''A''&lt;br /&gt;
&lt;br /&gt;
For example, the binary numbers 1011 and 1010 are multiplied as follows:&lt;br /&gt;
&lt;br /&gt;
            1 0 1 1   (''A'')&lt;br /&gt;
          × 1 0 1 0   (''B'')&lt;br /&gt;
          ---------&lt;br /&gt;
            0 0 0 0   ← Corresponds to the rightmost 'zero' in ''B''&lt;br /&gt;
    +     1 0 1 1     ← Corresponds to the next 'one' in ''B''&lt;br /&gt;
    +   0 0 0 0&lt;br /&gt;
    + 1 0 1 1&lt;br /&gt;
    ---------------&lt;br /&gt;
    = 1 1 0 1 1 1 0&lt;br /&gt;
&lt;br /&gt;
Binary numbers can also be multiplied with bits after a binary point:&lt;br /&gt;
&lt;br /&gt;
                1 0 1 . 1 0 1     ''A'' (5.625 in decimal)&lt;br /&gt;
              × 1 1 0 . 0 1       ''B'' (6.25 in decimal)&lt;br /&gt;
              -------------------&lt;br /&gt;
                    1 . 0 1 1 0 1   ← Corresponds to a 'one' in ''B''&lt;br /&gt;
      +           0 0 . 0 0 0 0     ← Corresponds to a 'zero' in ''B''&lt;br /&gt;
      +         0 0 0 . 0 0 0&lt;br /&gt;
      +       1 0 1 1 . 0 1&lt;br /&gt;
      +     1 0 1 1 0 . 1&lt;br /&gt;
      ---------------------------&lt;br /&gt;
      =   1 0 0 0 1 1 . 0 0 1 0 1 (35.15625 in decimal)&lt;br /&gt;
&lt;br /&gt;
See also Booth's multiplication algorithm.&lt;br /&gt;
&lt;br /&gt;
====Multiplication table====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; |&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 0&lt;br /&gt;
! style=&amp;quot;width:1.5em&amp;quot; | 1&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 0&lt;br /&gt;
| 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The binary multiplication table is the same as the truth table of the logical conjunction operation &amp;lt;math&amp;gt;\land&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Division===&lt;br /&gt;
&lt;br /&gt;
Long division in binary is again similar to its decimal counterpart.&lt;br /&gt;
&lt;br /&gt;
In the example below, the divisor is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 5 in decimal, while the dividend is 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, or 27 in decimal. The procedure is the same as that of decimal long division; here, the divisor 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; goes into the first three digits 110&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; of the dividend one time, so a &amp;quot;1&amp;quot; is written on the top line. This result is multiplied by the divisor, and subtracted from the first three digits of the dividend; the next digit (a &amp;quot;1&amp;quot;) is included to obtain a new three-digit sequence:&lt;br /&gt;
&lt;br /&gt;
               1&lt;br /&gt;
         ___________&lt;br /&gt;
 1 0 1   ) 1 1 0 1 1&lt;br /&gt;
         − 1 0 1&lt;br /&gt;
           -----&lt;br /&gt;
           0 0 1&lt;br /&gt;
&lt;br /&gt;
The procedure is then repeated with the new sequence, continuing until the digits in the dividend have been exhausted:&lt;br /&gt;
&lt;br /&gt;
              1 0 1&lt;br /&gt;
        ___________&lt;br /&gt;
 1 0 1  ) 1 1 0 1 1&lt;br /&gt;
        − 1 0 1&lt;br /&gt;
          -----&lt;br /&gt;
              1 1 1&lt;br /&gt;
          −   1 0 1&lt;br /&gt;
              -----&lt;br /&gt;
              0 1 0&lt;br /&gt;
&lt;br /&gt;
Thus, the quotient of 11011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; divided by 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; is 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, as shown on the top line, while the remainder, shown on the bottom line, is 10&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;. In decimal, this corresponds to the fact that 27 divided by 5 is 5, with a remainder of 2.&lt;br /&gt;
&lt;br /&gt;
Aside from long division, one can also devise the procedure so as to allow for over-subtracting from the partial remainder at each iteration, thereby leading to alternative methods which are less systematic, but more flexible as a result.&lt;br /&gt;
&lt;br /&gt;
===Square root===&lt;br /&gt;
The process of taking a binary square root digit by digit is the same as for a decimal square root and is explained here. An example is:&lt;br /&gt;
&lt;br /&gt;
              1 0 0 1&lt;br /&gt;
             ---------&lt;br /&gt;
            √ 1010001&lt;br /&gt;
              1&lt;br /&gt;
             ---------&lt;br /&gt;
       101     01 &lt;br /&gt;
                0&lt;br /&gt;
              --------&lt;br /&gt;
       1001     100&lt;br /&gt;
                  0&lt;br /&gt;
              --------&lt;br /&gt;
       10001    10001&lt;br /&gt;
                10001&lt;br /&gt;
               -------&lt;br /&gt;
                    0&lt;br /&gt;
&lt;br /&gt;
==Conversion to and from other numeral systems==&lt;br /&gt;
&lt;br /&gt;
===Decimal to Binary===&lt;br /&gt;
[[File:Decimal to Binary Conversion.gif|alt=|frame|Conversion of (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; to binary notation results in (101100101)]]&lt;br /&gt;
To convert from a base-10 [[Integer (computer science)|integer]] to its base-2 (binary) equivalent, the number is [[division by two|divided by two]]. The remainder is the [[least-significant bit]]. The quotient is again divided by two; its remainder becomes the next least significant bit. This process repeats until a quotient of one is reached. The sequence of remainders (including the final quotient of one) forms the binary value, as each remainder must be either zero or one when dividing by two. For example, (357)&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; is expressed as (101100101)&amp;lt;sub&amp;gt;2.&amp;lt;/sub&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.chalkstreet.com/aptipedia/knowledgebase/base-system/|title=Base System|access-date=31 August 2016}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Binary to Decimal ===&lt;br /&gt;
Conversion from base-2 to base-10 simply inverts the preceding algorithm. The bits of the binary number are used one by one, starting with the most significant (leftmost) bit. Beginning with the value 0, the prior value is doubled, and the next bit is then added to produce the next value. This can be organized in a multi-column table. For example, to convert 10010101101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; to decimal:&lt;br /&gt;
&lt;br /&gt;
{| style= &amp;quot;border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; line-height: 1.5em; width:22em&amp;quot;&lt;br /&gt;
!Prior value&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | × 2 +&lt;br /&gt;
!Next bit&lt;br /&gt;
!Next value&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|0 ||× 2 +|| '''1''' || = 1&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|1 ||× 2 +|| '''0''' || = 2&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|2 ||× 2 +|| '''0''' || = 4&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|4 ||× 2 +|| '''1''' || = 9&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|9 ||× 2 +|| '''0''' || = 18&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|18 ||× 2 +|| '''1''' || = 37&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|37 ||× 2 +|| '''0''' || = 74&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|74 ||× 2 +|| '''1''' || = 149&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|149 ||× 2 +|| '''1''' || = 299&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|299 ||× 2 +|| '''0''' || = 598&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|598 ||× 2 +|| '''1''' || = '''1197'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The result is 1197&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;. The first Prior Value of 0 is simply an initial decimal value. This method is an application of the [[Horner scheme]].&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Binary&amp;amp;nbsp;&lt;br /&gt;
| 1 || 0 || 0 || 1 || 0 || 1 || 0 || 1 || 1 || 0 || 1 ||&lt;br /&gt;
|-&lt;br /&gt;
! Decimal&amp;amp;nbsp;&lt;br /&gt;
| 1×2&amp;lt;sup&amp;gt;10&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;8&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;7&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + || 0×2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; + || 1×2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt; = || 1197&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The fractional parts of a number are converted with similar methods. They are again based on the equivalence of shifting with doubling or halving.&lt;br /&gt;
&lt;br /&gt;
In a fractional binary number such as 0.11010110101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, the first digit is &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, the second &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{2})^2 = \frac{1}{4} \end{matrix}&amp;lt;/math&amp;gt;, etc. So if there is a 1 in the first place after the decimal, then the number is at least &amp;lt;math&amp;gt;\begin{matrix} \frac{1}{2} \end{matrix}&amp;lt;/math&amp;gt;, and vice versa. Double that number is at least 1. This suggests the algorithm: Repeatedly double the number to be converted, record if the result is at least 1, and then throw away the integer part.&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;math&amp;gt;\begin{matrix} (\frac{1}{3}) \end{matrix}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Converting!!Result&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \end{matrix}&amp;lt;/math&amp;gt; || 0.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.01&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{1}{3} \times 2 = \frac{2}{3} &amp;lt; 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.010&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;\begin{matrix} \frac{2}{3} \times 2 = 1\frac{1}{3} \ge 1 \end{matrix}&amp;lt;/math&amp;gt; || 0.0101&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Thus the repeating decimal fraction 0.{{overline|3}}... is equivalent to the repeating binary fraction 0.{{overline|01}}... .&lt;br /&gt;
&lt;br /&gt;
Or for example, 0.1&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;, in binary, is:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Converting                !! Result&lt;br /&gt;
|-&lt;br /&gt;
|          '''0.1'''        || 0.&lt;br /&gt;
|-&lt;br /&gt;
|0.1 × 2 = '''0.2''' &amp;lt; 1    || 0.0&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.00&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.000&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.00011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.000110&lt;br /&gt;
|-&lt;br /&gt;
|0.4 × 2 = '''0.8''' &amp;lt; 1    || 0.0001100&lt;br /&gt;
|-&lt;br /&gt;
|0.8 × 2 = '''1.6''' ≥ 1 || 0.00011001&lt;br /&gt;
|-&lt;br /&gt;
|0.6 × 2 = '''1.2''' ≥ 1 || 0.000110011&lt;br /&gt;
|-&lt;br /&gt;
|0.2 × 2 = '''0.4''' &amp;lt; 1    || 0.0001100110&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is also a repeating binary fraction 0.0{{overline|0011}}... .  It may come as a surprise that terminating decimal fractions can have repeating expansions in binary. It is for this reason that many are surprised to discover that 0.1 + ... + 0.1, (10 additions) differs from 1 in [[floating point arithmetic]]. In fact, the only binary fractions with terminating expansions are of the form of an integer divided by a power of 2, which 1/10 is not.&lt;br /&gt;
&lt;br /&gt;
The final conversion is from binary to decimal fractions. The only difficulty arises with repeating fractions, but otherwise the method is to shift the fraction to an integer, convert it as above, and then divide by the appropriate power of two in the decimal base. For example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100&amp;amp;.1\overline{01110}\ldots \\&lt;br /&gt;
x\times 2^6 &amp;amp; = &amp;amp; 1100101110&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times 2 &amp;amp; = &amp;amp; 11001&amp;amp;.\overline{01110}\ldots \\&lt;br /&gt;
x\times(2^6-2) &amp;amp; = &amp;amp; 1100010101 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; 1100010101/111110 \\&lt;br /&gt;
x &amp;amp; = &amp;amp; (789/62)_{10}&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way of converting from binary to decimal, often quicker for a person familiar with [[hexadecimal]], is to do so indirectly—first converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in binary) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) and then converting (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in hexadecimal) into (&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; in decimal).&lt;br /&gt;
&lt;br /&gt;
For very large numbers, these simple methods are inefficient because they perform a large number of multiplications or divisions where one operand is very large. A simple divide-and-conquer algorithm is more effective asymptotically: given a binary number, it is divided by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt;, where ''k'' is chosen so that the quotient roughly equals the remainder; then each of these pieces is converted to decimal and the two are [[Concatenation|concatenated]]. Given a decimal number, it can be split into two pieces of about the same size, each of which is converted to binary, whereupon the first converted piece is multiplied by 10&amp;lt;sup&amp;gt;''k''&amp;lt;/sup&amp;gt; and added to the second converted piece, where ''k'' is the number of decimal digits in the second, least-significant piece before conversion.&lt;br /&gt;
&lt;br /&gt;
===Hexadecimal===&lt;br /&gt;
{{Main|Hexadecimal}}&lt;br /&gt;
{{Hexadecimal table}}&lt;br /&gt;
Binary may be converted to and from hexadecimal more easily. This is because the [[radix]] of the hexadecimal system (16) is a power of the radix of the binary system (2). More specifically, 16 = 2&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, so it takes four digits of binary to represent one digit of hexadecimal, as shown in the adjacent table.&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its binary equivalent, simply substitute the corresponding binary digits:&lt;br /&gt;
&lt;br /&gt;
:3A&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 0011 1010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = 1110 0111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a binary number into its hexadecimal equivalent, divide it into groups of four bits. If the number of bits isn't a multiple of four, simply insert extra '''0''' bits at the left (called [[Padding (cryptography)#Bit padding|padding]]). For example:&lt;br /&gt;
&lt;br /&gt;
:1010010&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 0101 0010 grouped with padding = 52&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
:11011101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 1101 1101 grouped = DD&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To convert a hexadecimal number into its decimal equivalent, multiply the decimal equivalent of each hexadecimal digit by the corresponding power of 16 and add the resulting values:&lt;br /&gt;
&lt;br /&gt;
:C0E7&amp;lt;sub&amp;gt;16&amp;lt;/sub&amp;gt; = (12 × 16&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) + (0 × 16&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (14 × 16&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 16&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (12 × 4096) + (0 × 256) + (14 × 16) + (7 × 1) = 49,383&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Octal===&lt;br /&gt;
{{Main|Octal}}&lt;br /&gt;
Binary is also easily converted to the [[octal]] numeral system, since octal uses a radix of 8, which is a [[power of two]] (namely, 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;, so it takes exactly three binary digits to represent an octal digit). The correspondence between octal and binary numerals is the same as for the first eight digits of [[hexadecimal]] in the table above. Binary 000 is equivalent to the octal digit 0, binary 111 is equivalent to octal 7, and so forth.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
!Octal!!Binary&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 000&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 001&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 010&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 011&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 100&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 101&lt;br /&gt;
|-&lt;br /&gt;
| 6 || 110&lt;br /&gt;
|-&lt;br /&gt;
| 7 || 111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Converting from octal to binary proceeds in the same fashion as it does for [[hexadecimal]]:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 110 101&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
:17&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = 001 111&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from binary to octal:&lt;br /&gt;
&lt;br /&gt;
:101100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 101 100&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped = 54&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
:10011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = 010 011&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; grouped with padding = 23&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And from octal to decimal:&lt;br /&gt;
&lt;br /&gt;
:65&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (6 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (5 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (6 × 8) + (5 × 1) = 53&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
:127&amp;lt;sub&amp;gt;8&amp;lt;/sub&amp;gt; = (1 × 8&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;) + (2 × 8&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;) + (7 × 8&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;) = (1 × 64) + (2 × 8) + (7 × 1) = 87&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Representing real numbers==&lt;br /&gt;
&lt;br /&gt;
Non-integers can be represented by using negative powers, which are set off from the other digits by means of a radix point (called a decimal point in the decimal system). For example, the binary number 11.01&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; means:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;  || (1 × 2 = '''2''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;0&amp;lt;/sup&amp;gt;  || (1 × 1 = '''1''')           || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''0''' × 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; || (0 × &amp;lt;math&amp;gt; \tfrac{1}{2} &amp;lt;/math&amp;gt; = '''0''')    || plus&lt;br /&gt;
|-&lt;br /&gt;
|'''1''' × 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; || (1 × &amp;lt;math&amp;gt; \tfrac{1}{4} &amp;lt;/math&amp;gt; = '''0.25''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a total of 3.25 decimal.&lt;br /&gt;
&lt;br /&gt;
All dyadic rational numbers &amp;lt;math&amp;gt;\frac{p}{2^a}&amp;lt;/math&amp;gt; have a ''terminating'' binary numeral—the binary representation has a finite number of terms after the radix point.  Other rational numbers have binary representation, but instead of terminating, they ''recur'', with a finite sequence of digits repeating indefinitely. For instance&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1_{10}}{3_{10}} = \frac{1_2}{11_2} = 0.01010101\overline{01}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{12_{10}}{17_{10}} = \frac{1100_2}{10001_2} = 0.10110100 10110100\overline{10110100}\ldots\,_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The phenomenon that the binary representation of any rational is either terminating or recurring also occurs in other radix-based numeral systems.  See, for instance, the explanation in decimal.  Another similarity is the existence of alternative representations for any terminating representation, relying on the fact that 0.111111... is the sum of the geometric series 2&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; + 2&amp;lt;sup&amp;gt;−3&amp;lt;/sup&amp;gt; + ... which is 1.&lt;br /&gt;
&lt;br /&gt;
Binary numerals which neither terminate nor recur represent irrational numbers.  For instance,&lt;br /&gt;
* 0.10100100010000100000100... does have a pattern, but it is not a fixed-length recurring pattern, so the number is irrational&lt;br /&gt;
* 1.0110101000001001111001100110011111110... is the binary representation of &amp;lt;math&amp;gt;\sqrt{2}&amp;lt;/math&amp;gt;, the square root of 2, another irrational. It has no discernible pattern.&lt;br /&gt;
&lt;br /&gt;
= Base 5 =&lt;br /&gt;
'''Quinary''' /ˈkwaɪnəri/ ('''base-5''' or '''pental''') is a numeral system with five as the base. A possible origination of a quinary system is that there are five digits on either hand.&lt;br /&gt;
&lt;br /&gt;
In the quinary place system, five numerals, from 0 to 4, are used to represent any real number. According to this method, five is written as 10, twenty-five is written as 100 and sixty is written as 220.&lt;br /&gt;
&lt;br /&gt;
As five is a prime number, only the reciprocals of the powers of five terminate, although its location between two highly composite numbers (4 and 6) guarantees that many recurring fractions have relatively short periods.&lt;br /&gt;
&lt;br /&gt;
Today, the main usage of base 5 is as a biquinary system, which is decimal using five as a sub-base. Another example of a sub-base system, is sexagesimal, base 60, which used 10 as a sub-base.&lt;br /&gt;
&lt;br /&gt;
Each quinary digit can hold log&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;5 (approx. 2.32) bits of information.&lt;br /&gt;
&lt;br /&gt;
==Comparison to other radices==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;float:right; text-align:center&amp;quot;&lt;br /&gt;
|+ A quinary multiplication table&lt;br /&gt;
|-&lt;br /&gt;
| × || '''1''' || '''2''' || '''3''' || '''4''' || '''10''' || '''11''' || '''12''' || '''13''' || '''14''' || '''20''' &lt;br /&gt;
|-&lt;br /&gt;
| '''1''' || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20&lt;br /&gt;
|-&lt;br /&gt;
| '''2''' || 2 || 4 || 11 || 13 || 20 || 22 || 24 || 31 || 33 || 40&lt;br /&gt;
|-&lt;br /&gt;
| '''3''' || 3 || 11 || 14 || 22 || 30 || 33 || 41 || 44 || 102 || 110&lt;br /&gt;
|-&lt;br /&gt;
| '''4''' || 4 || 13 || 22 || 31 || 40 || 44 || 103 || 112 || 121 || 130&lt;br /&gt;
|-&lt;br /&gt;
| '''10''' || 10 || 20 || 30 || 40 || 100 || 110 || 120 || 130 || 140 || 200&lt;br /&gt;
|-&lt;br /&gt;
| '''11''' || 11 || 22 || 33 || 44 || 110 || 121 || 132 || 143 || 204 || 220&lt;br /&gt;
|-&lt;br /&gt;
| '''12''' || 12 || 24 || 41 || 103 || 120 || 132 || 144 || 211 || 223 || 240&lt;br /&gt;
|-&lt;br /&gt;
| '''13''' || 13 || 31 || 44 || 112 || 130 || 143 || 211 || 224 || 242 || 310&lt;br /&gt;
|-&lt;br /&gt;
| '''14''' || 14 || 33 || 102 || 121 || 140 || 204 || 223 || 242 || 311 || 330&lt;br /&gt;
|-&lt;br /&gt;
| '''20''' || 20 || 40 || 110 || 130 || 200 || 220 || 240 || 310 || 330 || 400&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Numbers zero to twenty-five in standard quinary'''&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 0 || 1 || 2 || 3 || 4 || 10 || 11 || 12 || 13 || 14 || 20 || 21 || 22 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 0 || 1 || 10 || 11 || 100 || 101 || 110 || 111 || 1000 || 1001 || 1010 || 1011 || 1100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Quinary&lt;br /&gt;
| 23 || 24 || 30 || 31 || 32 || 33 || 34 || 40 || 41 || 42 || 43 || 44 || 100 &lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Binary&lt;br /&gt;
| 1101 || 1110 || 1111 || 10000 || 10001 || 10010 || 10011 || 10100 || 10101 || 10110 || 10111 || 11000 || 11001&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Decimal&lt;br /&gt;
! 13 !! 14 !! 15 !! 16 !! 17 !! 18 !! 19 !! 20 !! 21 !! 22 !! 23 !! 24 !! 25 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ '''Fractions in quinary'''&lt;br /&gt;
|'''Decimal''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;) ||'''Quinary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|'''Binary''' (&amp;lt;u&amp;gt;periodic part&amp;lt;/u&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|1/2 = 0.5 &lt;br /&gt;
|'''1/2''' = 0.&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|-&lt;br /&gt;
|1/3 = 0.&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/3''' = 0.&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/4 = 0.25&lt;br /&gt;
|'''1/4''' = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/100 = 0.01&lt;br /&gt;
|-&lt;br /&gt;
|1/5 = 0.2&lt;br /&gt;
|'''1/10''' = 0.1&lt;br /&gt;
|1/101 = 0.&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/6 = 0.1&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/11''' = 0.&amp;lt;u&amp;gt;04&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/110 = 0.0&amp;lt;u&amp;gt;10&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/7 = 0.&amp;lt;u&amp;gt;142857&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/12''' = 0.&amp;lt;u&amp;gt;032412&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/111 = 0.&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/8 = 0.125&lt;br /&gt;
|'''1/13''' = 0.&amp;lt;u&amp;gt;03&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1000 = 0.001&lt;br /&gt;
|-&lt;br /&gt;
|1/9 = 0.&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/14''' = 0.&amp;lt;u&amp;gt;023421&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1001 = 0.&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/10 = 0.1&lt;br /&gt;
|'''1/20''' = 0.0&amp;lt;u&amp;gt;2&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1010 = 0.0&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/11 = 0.&amp;lt;u&amp;gt;09&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/21''' = 0.&amp;lt;u&amp;gt;02114&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1011 = 0.&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/12 = 0.08&amp;lt;u&amp;gt;3&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/22''' = 0.&amp;lt;u&amp;gt;02&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1100 = 0.00&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/13 = 0.&amp;lt;u&amp;gt;076923&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/23''' = 0.&amp;lt;u&amp;gt;0143&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1101 = 0.&amp;lt;u&amp;gt;000100111011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/14 = 0.0&amp;lt;u&amp;gt;714285&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/24''' = 0.&amp;lt;u&amp;gt;013431&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1110 = 0.0&amp;lt;u&amp;gt;001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/15 = 0.0&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/30''' = 0.0&amp;lt;u&amp;gt;13&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/1111 = 0.&amp;lt;u&amp;gt;0001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/16 = 0.0625&lt;br /&gt;
|'''1/31''' = 0.&amp;lt;u&amp;gt;0124&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10000 = 0.0001&lt;br /&gt;
|-&lt;br /&gt;
|1/17 = 0.&amp;lt;u&amp;gt;0588235294117647&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/32''' = 0.&amp;lt;u&amp;gt;0121340243231042&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10001 = 0.&amp;lt;u&amp;gt;00001111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/18 = 0.0&amp;lt;u&amp;gt;5&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/33''' = 0.&amp;lt;u&amp;gt;011433&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10010 = 0.0&amp;lt;u&amp;gt;000111&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/19 = 0.&amp;lt;u&amp;gt;052631578947368421&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/34''' = 0.&amp;lt;u&amp;gt;011242141&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10011 = 0.&amp;lt;u&amp;gt;000011010111100101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/20 = 0.05&lt;br /&gt;
|'''1/40''' = 0.0&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10100 = 0.00&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/21 = 0.&amp;lt;u&amp;gt;047619&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/41''' = 0.&amp;lt;u&amp;gt;010434&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10101 = 0.&amp;lt;u&amp;gt;000011&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/22 = 0.0&amp;lt;u&amp;gt;45&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/42''' = 0.&amp;lt;u&amp;gt;01032&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10110 = 0.0&amp;lt;u&amp;gt;0001011101&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/23 = 0.&amp;lt;u&amp;gt;0434782608695652173913&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/43''' = 0.&amp;lt;u&amp;gt;0102041332143424031123&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/10111 = 0.&amp;lt;u&amp;gt;00001011001&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/24 = 0.041&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt;&lt;br /&gt;
|'''1/44''' = 0.&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|1/11000 = 0.000&amp;lt;u&amp;gt;01&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1/25 = 0.04&lt;br /&gt;
|'''1/100''' = 0.01&lt;br /&gt;
|1/11001 = 0.&amp;lt;u&amp;gt;00001010001111010111&amp;lt;/u&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Many languages use quinary number systems, including Gumatj, Nunggubuyu, Kuurn Kopan Noot, Luiseño and Saraveca.  Gumatj is a true &amp;quot;5–25&amp;quot; language, in which 25 is the higher group of 5. The Gumatj numerals are shown below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
! Number !! Base 5 !! Numeral&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 1 &lt;br /&gt;
| 1&lt;br /&gt;
| wanggany&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 2&lt;br /&gt;
| 2&lt;br /&gt;
| marrma&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 3&lt;br /&gt;
| 3&lt;br /&gt;
| lurrkun&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 4&lt;br /&gt;
| 4&lt;br /&gt;
| dambumiriw&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 5&lt;br /&gt;
| 10&lt;br /&gt;
| wanggany rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 10&lt;br /&gt;
| 20&lt;br /&gt;
| marrma rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 15&lt;br /&gt;
| 30&lt;br /&gt;
| lurrkun rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 20&lt;br /&gt;
| 40&lt;br /&gt;
| dambumiriw rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 25&lt;br /&gt;
| 100&lt;br /&gt;
| dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 50&lt;br /&gt;
| 200&lt;br /&gt;
| marrma dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 75&lt;br /&gt;
| 300&lt;br /&gt;
| lurrkun dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 100&lt;br /&gt;
| 400&lt;br /&gt;
| dambumiriw dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 125&lt;br /&gt;
| 1000&lt;br /&gt;
| dambumirri dambumirri rulu&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:right&amp;quot; | 625&lt;br /&gt;
| 10000&lt;br /&gt;
&lt;br /&gt;
| dambumirri dambumirri dambumirri rulu&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Biquinary==&lt;br /&gt;
[[File:Chinese-abacus.jpg|thumb|right|Chinese Abacus or suanpan]]&lt;br /&gt;
A decimal system with 2 and 5 as a sub-bases is called biquinary, and is found in Wolof and Khmer. Roman numerals are an early biquinary system. The numbers 1, 5, 10, and 50 are written as '''I''', '''V''', '''X''', and '''L''' respectively. Seven is '''VII''' and seventy is '''LXX'''. The full list is:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
| '''I''' || '''V''' || '''X''' || '''L''' || '''C''' || '''D''' || '''M'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 5 || 10 || 50 || 100 || 500 || 1000&lt;br /&gt;
|}&lt;br /&gt;
Note that these are not positional number systems. In theory a number such as 73 could be written as IIIXXL without ambiguity as well as LXXIII and it is still not possible to extend it beyond thousands. There is also no sign for zero. But with the introduction of inversions such as IV and IX, it was necessary to keep the order from most to least significant.&lt;br /&gt;
&lt;br /&gt;
Many versions of the abacus, such as the suanpan and soroban, use a biquinary system to simulate a decimal system for ease of calculation. Urnfield culture numerals and some tally mark systems are also biquinary. Units of currencies are commonly partially or wholly biquinary.&lt;br /&gt;
&lt;br /&gt;
Bi-quinary coded decimal is a variant of biquinary that was used on a number of early computers including Colossus and the IBM 650 to represent decimal numbers.&lt;br /&gt;
&lt;br /&gt;
= Base 10 =&lt;br /&gt;
&lt;br /&gt;
The '''decimal''' numeral system (also called the '''base-ten''' positional numeral system, and occasionally called '''denary''' /ˈdiːnəri/ or '''decanary''') is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral system. The way of denoting numbers in the decimal system is often referred to as ''decimal notation''.&lt;br /&gt;
&lt;br /&gt;
A ''decimal numeral'' (also often just ''decimal'' or, less correctly, ''decimal number''), refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified by a decimal separator (usually &amp;quot;.&amp;quot; or &amp;quot;,&amp;quot; as in 25.9703 or 3,1415). ''Decimal'' may also refer specifically to the digits after the decimal separator, such as in &amp;quot;3.14 is the approximation of &amp;lt;math&amp;gt; \pi &amp;lt;/math&amp;gt; to ''two decimals''&amp;quot;. Zero-digits after a decimal separator serve the purpose of signifying the precision of a value.&lt;br /&gt;
&lt;br /&gt;
The numbers that may be represented in the decimal system are the decimal fractions. That is, fractions of the form {{math|''a''/10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, where {{math|''a''}} is an integer, and {{math|''n''}} is a non-negative integer.&lt;br /&gt;
&lt;br /&gt;
The decimal system has been extended to ''infinite decimals'' for representing any real number, by using an infinite sequence of digits after the decimal separator (see decimal representation). In this context, the decimal numerals with a finite number of non-zero digits after the decimal separator are sometimes called ''terminating decimals''. A ''repeating decimal'' is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., 5.123144144144144... = &amp;lt;math&amp;gt; 5.123 \overline{144}&amp;lt;/math&amp;gt;). An infinite decimal represents a rational number, the quotient of two integers, if and only if it is a repeating decimal or has a finite number of non-zero digits.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
[[File:Two hand, ten fingers.jpg|thumb|right|Ten fingers on two hands, the possible origin of decimal counting]]&lt;br /&gt;
Many numeral systems of ancient civilizations use ten and its powers for representing numbers, possibly because there are ten fingers on two hands and people started counting by using their fingers. Examples are firstly the Egyptian numerals, then the Brahmi numerals, Greek numerals, Hebrew numerals, Roman numerals, and Chinese numerals. Very large numbers were difficult to represent in these old numeral systems, and only the best mathematicians were able to multiply or divide large numbers. These difficulties were completely solved with the introduction of the Hindu–Arabic numeral system for representing integers. This system has been extended to represent some non-integer numbers, called ''decimal fractions'' or ''decimal numbers'', for forming the ''decimal numeral system''.&lt;br /&gt;
&lt;br /&gt;
== Decimal notation ==&lt;br /&gt;
For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign &amp;quot;−&amp;quot;. The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; and a comma &amp;quot;{{math|,}}&amp;quot; in other countries.&lt;br /&gt;
&lt;br /&gt;
For representing a non-negative number, a decimal numeral consists of&lt;br /&gt;
* either a (finite) sequence of digits (such as &amp;quot;2017&amp;quot;), where the entire sequence represents an integer,&lt;br /&gt;
*:&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0&amp;lt;/math&amp;gt;&lt;br /&gt;
*or a decimal mark separating two sequences of digits (such as &amp;quot;20.70828&amp;quot;)&lt;br /&gt;
::&amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
If {{math|''m'' &amp;gt; 0}}, that is, if the first sequence contains at least two digits, it is generally assumed that the first digit {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}} is not zero. In some circumstances it may be useful to have one or more 0's on the left; this does not change the value represented by the decimal: for example, {{math|1=3.14 = 03.14 = 003.14}}. Similarly, if the final digit on the right of the decimal mark is zero—that is, if {{math|1=''b''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}—it may be removed; conversely, trailing zeros may be added after the decimal mark without changing the represented number;  for example, {{math|1=15 = 15.0 = 15.00}} and {{math|1=5.2 = 5.20 = 5.200}}.&lt;br /&gt;
&lt;br /&gt;
For representing a negative number, a minus sign is placed before {{math|''a''&amp;lt;sub&amp;gt;''m''&amp;lt;/sub&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
The numeral &amp;lt;math&amp;gt;a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n&amp;lt;/math&amp;gt; represents the number&lt;br /&gt;
:&amp;lt;math&amp;gt;a_m10^m+a_{m-1}10^{m-1}+\cdots+a_{0}10^0+\frac{b_1}{10^1}+\frac{b_2}{10^2}+\cdots+\frac{b_n}{10^n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The ''integer part'' or ''integral part'' of a decimal numeral is the integer written to the left of the decimal separator (see also truncation). For a non-negative decimal numeral, it is the largest integer that is not greater than the decimal. The part from the decimal separator to the right is the ''fractional part'', which equals the difference between the numeral and its integer part.&lt;br /&gt;
&lt;br /&gt;
When the integral part of a numeral is zero, it may occur, typically in computing, that the integer part is not written (for example {{math|.1234}}, instead of {{math|0.1234}}). In normal writing, this is generally avoided, because of the risk of confusion between the decimal mark and other punctuation.&lt;br /&gt;
&lt;br /&gt;
In brief, the contribution of each digit to the value of a number depends on its position in the numeral. That is, the decimal system is a positional numeral system.&lt;br /&gt;
&lt;br /&gt;
== Decimal fractions ==&lt;br /&gt;
'''Decimal fractions''' (sometimes called '''decimal numbers''', especially in contexts involving explicit fractions) are the  rational numbers that may be expressed as a fraction whose denominator is a power of ten. For example, the decimals &amp;lt;math&amp;gt;0.8, 14.89, 0.00024, 1.618, 3.14159&amp;lt;/math&amp;gt; represent the fractions &amp;lt;math&amp;gt; \tfrac{8}{10}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{1489}{100}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \tfrac{24}{100000}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\tfrac {1618}{1000}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{314159}{100000}&amp;lt;/math&amp;gt;, and are therefore decimal numbers.&lt;br /&gt;
&lt;br /&gt;
More generally, a decimal with {{math|''n''}} digits after the separator represents the fraction with denominator {{math|10&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt;}}, whose numerator is the integer obtained by removing the separator.&lt;br /&gt;
&lt;br /&gt;
It follows that a number is a decimal fraction if and only if it has a finite decimal representation.&lt;br /&gt;
&lt;br /&gt;
Expressed as a fully reduced fraction, the decimal numbers are those whose denominator is a product of a power of 2 and a power of 5. Thus the smallest denominators of decimal numbers are&lt;br /&gt;
:&amp;lt;math&amp;gt;1=2^0\cdot 5^0, 2=2^1\cdot 5^0, 4=2^2\cdot 5^0, 5=2^0\cdot 5^1, 8=2^3\cdot 5^0, 10=2^1\cdot 5^1, 16=2^4\cdot 5^0, 25=2^0\cdot 5^2, \ldots&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Real number approximation==&lt;br /&gt;
&lt;br /&gt;
Decimal numerals do not allow an exact representation for all real numbers, e.g. for the real number &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;. Nevertheless, they allow approximating every real number with any desired accuracy, e.g., the decimal 3.14159 approximates the real &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;, being less than 10&amp;lt;sup&amp;gt;−5&amp;lt;/sup&amp;gt; off; so decimals are widely used in science, engineering and everyday life.&lt;br /&gt;
&lt;br /&gt;
More precisely, for every real number {{Mvar|x}} and every positive integer {{Mvar|n}}, there are two decimals {{Mvar|''L''}} and {{Mvar|''u''}} with at most ''{{Mvar|n}}'' digits after the decimal mark such that {{Math|''L'' ≤ ''x'' ≤ ''u''}} and {{Math|1=(''u'' − ''L'') = 10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Numbers are very often obtained as the result of measurement. As measurements are subject to measurement uncertainty with a known upper bound, the result of a measurement is well-represented by a decimal with {{math|''n''}} digits after the decimal mark, as soon as the absolute measurement error is bounded from above by {{Math|10&amp;lt;sup&amp;gt;−''n''&amp;lt;/sup&amp;gt;}}. In practice, measurement results are often given with a certain number of digits after the decimal point, which indicate the error bounds. For example, although 0.080 and 0.08 denote the same number, the decimal numeral 0.080 suggests a measurement with an error less than 0.001, while the numeral 0.08 indicates an absolute error bounded by 0.01. In both cases, the true value of the measured quantity could be, for example, 0.0803 or 0.0796 (see also significant figures).&lt;br /&gt;
&lt;br /&gt;
==Infinite decimal expansion==&lt;br /&gt;
&lt;br /&gt;
For a real number {{Mvar|x}} and an integer {{Math|''n'' ≥ 0}}, let {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} denote the (finite) decimal expansion of the greatest number that is not greater than ''{{Mvar|x}}'' that has exactly {{Mvar|n}} digits after the decimal mark. Let {{Math|''d''&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}} denote the last digit of {{Math|[''x'']&amp;lt;sub&amp;gt;''i''&amp;lt;/sub&amp;gt;}}. It is straightforward to see that {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} may be obtained by appending {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} to the right of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}}. This way one has&lt;br /&gt;
:{{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}},&lt;br /&gt;
&lt;br /&gt;
and the difference of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''−1&amp;lt;/sub&amp;gt;}} and {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} amounts to&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\vert \left [ x \right ]_n-\left [ x \right ]_{n-1} \right\vert=d_n\cdot10^{-n}&amp;lt;10^{-n+1}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
which is either 0, if {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}}, or gets arbitrarily small as ''{{Mvar|n}}'' tends to infinity. According to the definition of a limit, ''{{Mvar|x}}'' is the limit of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} when ''{{Mvar|n}}'' tends to infinity. This is written as&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\; x = \lim_{n\rightarrow\infty} [x]_n \;&amp;lt;/math&amp;gt;or&lt;br /&gt;
: {{Math|1=''x'' = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}},&lt;br /&gt;
which is called an '''infinite decimal expansion''' of ''{{Mvar|x}}''.&lt;br /&gt;
&lt;br /&gt;
Conversely, for any integer {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;}} and any sequence of digits&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;(d_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; the (infinite) expression {{Math|[''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;...}} is an ''infinite decimal expansion'' of a real number ''{{Mvar|x}}''. This expansion is unique if neither all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 9 nor all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} are equal to 0 for ''{{Mvar|n}}'' large enough (for all ''{{Mvar|n}}'' greater than some natural number {{Mvar|N}}).&lt;br /&gt;
&lt;br /&gt;
If all {{Math|''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} for {{Math|''n'' &amp;gt; ''N''}} equal to 9 and {{Math|1=[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = [''x'']&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;.''d''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;''d''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;...''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, the limit of the sequence&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\;([x]_n)_{n=1}^{\infty}&amp;lt;/math&amp;gt; is the decimal fraction obtained by replacing the last digit that is not a 9, i.e.: {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}}, by {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; + 1}}, and replacing all subsequent 9s by 0s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
Any such decimal fraction, i.e.: {{Math|1=''d''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; = 0}} for {{Math|''n'' &amp;gt; ''N''}}, may be converted to its equivalent infinite decimal expansion by replacing {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt;}} by  {{Math|''d''&amp;lt;sub&amp;gt;''N''&amp;lt;/sub&amp;gt; − 1}} and replacing all subsequent 0s by 9s (see 0.999...).&lt;br /&gt;
&lt;br /&gt;
In summary, every real number that is not a decimal fraction has a unique infinite decimal expansion. Each decimal fraction has exactly two infinite decimal expansions, one containing only 0s after some place, which is obtained by the above definition of {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}}, and the other containing only 9s after some place, which is obtained by defining {{Math|[''x'']&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt;}} as the greatest number that is ''less'' than {{Mvar|x}}, having exactly ''{{Mvar|n}}'' digits after the decimal mark.&lt;br /&gt;
&lt;br /&gt;
=== Rational numbers ===&lt;br /&gt;
&lt;br /&gt;
Long division allows computing the infinite decimal expansion of a rational number. If the rational number is a decimal fraction, the division stops eventually, producing a decimal numeral, which may be prolongated into an infinite expansion by adding infinitely many zeros. If the rational number is not a decimal fraction, the division may continue indefinitely. However, as all successive remainders are less than the divisor, there are only a finite number of possible remainders, and after some place, the same sequence of digits must be repeated indefinitely in the quotient. That is, one has a ''repeating decimal''. For example,&lt;br /&gt;
:&amp;lt;math&amp;gt; \tfrac{1}{81}&amp;lt;/math&amp;gt; = 0. 012345679 012... (with the group 012345679 indefinitely repeating).&lt;br /&gt;
&lt;br /&gt;
The converse is also true: if, at some point in the decimal representation of a number, the same string of digits starts repeating indefinitely, the number is rational.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|For example, if ''x'' is ||  0.4156156156...&lt;br /&gt;
|-&lt;br /&gt;
|then 10,000''x'' is || 4156.156156156... &lt;br /&gt;
|-&lt;br /&gt;
|and 10''x'' is|| 4.156156156...&lt;br /&gt;
|-&lt;br /&gt;
|so 10,000''x'' − 10''x'', i.e. 9,990''x'', is|| 4152.000000000...&lt;br /&gt;
|-&lt;br /&gt;
|and ''x'' is|| &amp;lt;math&amp;gt; \tfrac{4152}{9990}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
or, dividing both numerator and denominator by 6, &amp;lt;math&amp;gt; \tfrac{692}{1665}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Decimal computation ==&lt;br /&gt;
&lt;br /&gt;
[[File:Decimal multiplication table.JPG|thumb|right|300px|Diagram of the world's earliest known multiplica&amp;amp;shy;tion table (c. 305 BCE) from the Warring States period]]&lt;br /&gt;
&lt;br /&gt;
Most modern computer hardware and software systems commonly use a binary representation internally (although many early computers, such as the ENIAC or the IBM 650, used decimal representation internally).&lt;br /&gt;
For external use by computer specialists, this binary representation is sometimes presented in the related octal or hexadecimal systems.&lt;br /&gt;
&lt;br /&gt;
For most purposes, however, binary values are converted to or from the equivalent decimal values for presentation to or input from humans; computer programs express literals in decimal by default. (123.1, for example, is written as such in a computer program, even though many computer languages are unable to encode that number precisely.)&lt;br /&gt;
&lt;br /&gt;
Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using some variant of binary-coded decimal, especially in database implementations, but there are other decimal representations in use (including decimal floating point such as in newer revisions of the IEEE 754|IEEE 754 Standard for Floating-Point Arithmetic).&lt;br /&gt;
&lt;br /&gt;
Decimal arithmetic is used in computers so that decimal fractional results of adding (or subtracting) values with a fixed length of their fractional part always are computed to this same length of precision. This is especially important for financial calculations, e.g., requiring in their results integer multiples of the smallest currency unit for book keeping purposes. This is not possible in binary, because the negative powers of &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt; have no finite binary fractional representation; and is generally impossible for multiplication (or division). See Arbitrary-precision arithmetic for exact calculations.&lt;br /&gt;
&lt;br /&gt;
= Licensing = &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Radix Radix, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Binary_number Binary number, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Quinary Quinary, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Decimal Decimal, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4658</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4658"/>
		<updated>2022-02-05T18:29:03Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
Pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Table ===&lt;br /&gt;
[[File:Table-sample-appearance-default-params-values-01.gif|thumb|300px|An example table rendered in a web browser using HTML.]]&lt;br /&gt;
A '''table''' is an arrangement of information or data, typically in rows and columns, or possibly in a more complex structure. Tables are widely used in communication, research, and data analysis. Tables appear in print media, handwritten notes, computer software, architectural ornamentation, traffic signs, and many other places. The precise conventions and terminology for describing tables vary depending on the context. Further, tables differ significantly in variety, structure, flexibility, notation, representation and use. Information or data conveyed in table form is said to be in '''tabular''' format (adjective). In books and technical articles, tables are typically presented apart from the main text in numbered and captioned floating blocks.&lt;br /&gt;
&lt;br /&gt;
==== Basic description ====&lt;br /&gt;
A table consists of an ordered arrangement of '''rows''' and '''columns'''. This is a simplified description of the most basic kind of table. Certain considerations follow from this simplified description:&lt;br /&gt;
&lt;br /&gt;
* the term '''row''' has several common synonyms (e.g., record, k-tuple, n-tuple, vector);&lt;br /&gt;
* the term '''column''' has several common synonyms (e.g., field, parameter, property, attribute, stanchion);&lt;br /&gt;
* a column is usually identified by a name;&lt;br /&gt;
* a column name can consist of a word, phrase or a numerical index;&lt;br /&gt;
* the intersection of a row and a column is called a cell.&lt;br /&gt;
&lt;br /&gt;
The elements of a table may be grouped, segmented, or arranged in many different ways, and even nested recursively. Additionally, a table may include metadata, annotations, a header, a footer or other ancillary features.&lt;br /&gt;
&lt;br /&gt;
; Simple table&lt;br /&gt;
The following illustrates a simple table with three columns and nine rows. The first row is not counted, because it is only used to display the column names. This is called a &amp;quot;header row&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+Age table&lt;br /&gt;
|-&lt;br /&gt;
! First name !! Last name !! Age&lt;br /&gt;
|-&lt;br /&gt;
| Tinu || Elejogun|| 14&lt;br /&gt;
|-&lt;br /&gt;
| Javier || Zapata || 28&lt;br /&gt;
|-&lt;br /&gt;
| Lily || McGarrett || 18&lt;br /&gt;
|-&lt;br /&gt;
| Olatunkbo || Chijiaku || 22&lt;br /&gt;
|-&lt;br /&gt;
| Adrienne || Anthoula || 22&lt;br /&gt;
|-&lt;br /&gt;
| Axelia|| Athanasios || 22&lt;br /&gt;
|-&lt;br /&gt;
| Jon-Kabat || Zinn || 22&lt;br /&gt;
|-&lt;br /&gt;
| Thabang|| Mosoa||15&lt;br /&gt;
|-&lt;br /&gt;
| Kgaogelo|| Mosoa||11&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
; Multi-dimensional table &lt;br /&gt;
[[File:Rollup table.png|thumb|An example of a table containing rows with summary information. The summary information consists of subtotals that are combined from previous rows within the same column.]]&lt;br /&gt;
&lt;br /&gt;
The concept of '''dimension''' is also a part of basic terminology. Any &amp;quot;simple&amp;quot; table can be represented as a &amp;quot;multi-dimensional&amp;quot;&lt;br /&gt;
table by normalizing the data values into ordered hierarchies. A common example of such a table is a multiplication table.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;white-space:nowrap&amp;quot; |Multiplication table&lt;br /&gt;
|-&lt;br /&gt;
!×!! 1 !! 2 !! 3&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
| 1 || 2 || 3&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| 2 || 4 || 6&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| 3 || 6 || 9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In multi-dimensional tables, each cell in the body of the table (and the value of that cell) relates to the values at the beginnings of the column (i.e. the header), the row, and other structures in more complex tables. This is an injective relation: each combination of the values of the headers row (row 0, for lack of a better term) and the headers column (column 0 for lack of a better term) is related to a unique cell in&lt;br /&gt;
the table:&lt;br /&gt;
&lt;br /&gt;
* Column 1 and row 1 will only correspond to cell (1,1);&lt;br /&gt;
* Column 1 and row 2 will only correspond to cell (2,1) etc.&lt;br /&gt;
&lt;br /&gt;
The first column often presents information dimension description by which the rest of the table is navigated. This column is called &amp;quot;stub column&amp;quot;. Tables may contain three or multiple dimensions and can be classified by the number of dimensions. Multi-dimensional tables may have super-rows - rows that describe additional dimensions for the rows that are presented below that row and are usually grouped in a tree-like structure.  This structure is typically visually presented with an appropriate number of white spaces in front of each stub's label.&lt;br /&gt;
&lt;br /&gt;
In literature tables often present numerical values, cumulative statistics, categorical values, and at times parallel descriptions in form of text. They can condense large amount of information to a limited space and therefore they are popular in scientific literature in many fields of study.&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Pictogram Pictogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Table_(information) Table (information), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4657</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4657"/>
		<updated>2022-02-05T18:19:42Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
Pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Pictogram Pictogram, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4656</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4656"/>
		<updated>2022-02-05T18:15:52Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Pictures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
[[File:Titanic casualties.svg|thumb|300px|alt=table with boxes instead of numbers, the amounts and sizes of boxes represent amounts of people|A compound pictogram showing the breakdown of the survivors and deaths of the maiden voyage of the RMS Titanic by class and age/gender.]]&lt;br /&gt;
&lt;br /&gt;
In statistics, pictograms are charts in which icons represent numbers to make it more interesting and easier to understand. A key is often included to indicate what each icon represents. All icons must be of the same size, but a fraction of an icon can be used to show the respective fraction of that amount.&lt;br /&gt;
&lt;br /&gt;
For example, the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || 10&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || 17&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || 29&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || 41&lt;br /&gt;
|-&lt;br /&gt;
| Friday || 18&lt;br /&gt;
|}&lt;br /&gt;
can be graphed as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible mw-collapsed&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Day !! Letters sent&lt;br /&gt;
|-&lt;br /&gt;
| Monday || [[File:Email Silk.svg|alt=one envelope]]&lt;br /&gt;
|-&lt;br /&gt;
| Tuesday || [[File:Email Silk.svg|alt=one envelope]]&amp;amp;nbsp;[[File:Image from the Silk icon theme by Mark James half left.svg|alt=and a half]]&lt;br /&gt;
|-&lt;br /&gt;
| Wednesday || [[File:Email Silk.svg|alt=three envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Thursday || [[File:Email Silk.svg|alt=four envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|-&lt;br /&gt;
| Friday || [[File:Email Silk.svg|alt=two envelopes]]&amp;amp;nbsp;[[File:Email Silk.svg|alt=]]&lt;br /&gt;
|}&lt;br /&gt;
Key: [[File:Email Silk.svg|alt=one envelope]] = 10 letters&lt;br /&gt;
&lt;br /&gt;
As the values are rounded to the nearest 5 letters, the second icon on Tuesday is the left half of the original.&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4655</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4655"/>
		<updated>2022-02-05T18:05:25Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
====Gallery of diagram types==== &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4654</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4654"/>
		<updated>2022-02-05T18:03:51Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
;Gallery of diagram types &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* Logical or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|Tree diagram&lt;br /&gt;
File:Neural network.svg|Network diagram&lt;br /&gt;
File:LampFlowchart.svg|Flowchart&lt;br /&gt;
File:Set intersection.svg|Venn diagram&lt;br /&gt;
File:Alphagraphen.png|Existential graph&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either discrete or a continuous range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|Histogram&lt;br /&gt;
File:Graphtestone.svg|Bar graph&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|Pie chart&lt;br /&gt;
File:Hyperbolic Cosine.svg|Function graph&lt;br /&gt;
File:R-car stopping distances 1920.svg|Scatter plot&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Schematics and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|Time–distance diagram&lt;br /&gt;
File:Gear pump exploded.png|Exploded view&lt;br /&gt;
File:US 2000 census population density map by state.svg|Population density map&lt;br /&gt;
File:Pioneer plaque.svg|Pioneer plaque&lt;br /&gt;
File:Automotive diagrams 01 En.png|Three-dimensional diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4653</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4653"/>
		<updated>2022-02-05T17:51:41Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal logical systems ==&lt;br /&gt;
At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. These systems, though they differ in many details, share the common property of considering only expressions in a fixed formal language.  The systems of propositional logic and first-order logic are the most widely studied today, because of their applicability to foundations of mathematics and because of their desirable proof-theoretic properties.  Stronger classical logics such as second-order logic or infinitary logic are also studied, along with Non-classical logics such as intuitionistic logic.&lt;br /&gt;
&lt;br /&gt;
=== First-order logic ===&lt;br /&gt;
'''First-order logic''' is a particular formal system of logic. Its syntax involves only finite expressions as well-formed formulas, while its semantics are characterized by the limitation of all quantifiers to a fixed domain of discourse.&lt;br /&gt;
&lt;br /&gt;
Early results from formal logic established limitations of first-order logic. The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality. This shows that it is impossible for a set of first-order axioms to characterize the natural numbers, the real numbers, or any other infinite structure up to isomorphism. As the goal of early foundational studies was to produce axiomatic theories for all parts of mathematics, this limitation was particularly stark.&lt;br /&gt;
&lt;br /&gt;
Gödel's completeness theorem established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic. It shows that if a particular sentence is true in every model that satisfies a particular set of axioms, then there must be a finite deduction of the sentence from the axioms. The compactness theorem first appeared as a lemma in Gödel's proof of the completeness theorem, and it took many years before logicians grasped its significance and began to apply it routinely. It says that a set of sentences has a model if and only if every finite subset has a model, or in other words that an inconsistent set of formulas must have a finite inconsistent subset. The completeness and compactness theorems allow for sophisticated analysis of logical consequence in first-order logic and the development of model theory, and they are a key reason for the prominence of first-order logic in mathematics.&lt;br /&gt;
&lt;br /&gt;
Gödel's incompleteness theorems establish additional limits on first-order axiomatizations. The '''first incompleteness theorem''' states that for any consistent, effectively given (defined below) logical system that is capable of interpreting arithmetic, there exists a statement that is true (in the sense that it holds for the natural numbers) but not provable within that logical system (and which indeed may fail in some non-standard models of arithmetic which may be consistent with the logical system). For example, in every logical system capable of expressing the Peano axioms, the Gödel sentence holds for the natural numbers but cannot be proved.&lt;br /&gt;
&lt;br /&gt;
Here a logical system is said to be effectively given if it is possible to decide, given any formula in the language of the system, whether the formula is an axiom, and one which can express the Peano axioms is called &amp;quot;sufficiently strong.&amp;quot; When applied to first-order logic, the first incompleteness theorem implies that any sufficiently strong, consistent, effective first-order theory has models that are not elementarily equivalent, a stronger limitation than the one established by the Löwenheim–Skolem theorem. The '''second incompleteness theorem''' states that no sufficiently strong, consistent, effective axiom system for arithmetic can prove its own consistency, which has been interpreted to show that Hilbert's program cannot be reached.&lt;br /&gt;
&lt;br /&gt;
=== Other classical logics ===&lt;br /&gt;
Many logics besides first-order logic are studied.  These include infinitary logics, which allow for formulas to provide an infinite amount of information, and higher-order logics, which include a portion of set theory directly in their semantics.&lt;br /&gt;
&lt;br /&gt;
The most well studied infinitary logic is &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt;. In this logic, quantifiers may only be nested to finite depths, as in first-order logic, but formulas may have finite or countably infinite conjunctions and disjunctions within them. Thus, for example, it is possible to say that an object is a whole number using a formula of &amp;lt;math&amp;gt;L_{\omega_1,\omega}&amp;lt;/math&amp;gt; such as&lt;br /&gt;
:&amp;lt;math&amp;gt;(x = 0) \lor (x = 1) \lor (x = 2) \lor \cdots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher-order logics allow for quantification not only of elements of the domain of discourse, but subsets of the domain of discourse, sets of such subsets, and other objects of higher type. The semantics are defined so that, rather than having a separate domain for each higher-type quantifier to range over, the quantifiers instead range over all objects of the appropriate type.  The logics studied before the development of first-order logic, for example Frege's logic, had similar set-theoretic aspects. Although higher-order logics are more expressive, allowing complete axiomatizations of structures such as the natural numbers, they do not satisfy analogues of the completeness and compactness theorems from first-order logic, and are thus less amenable to proof-theoretic analysis.&lt;br /&gt;
&lt;br /&gt;
Another type of logics are '''fixed-point logics''' that allow inductive definitions, like one writes for primitive recursive functions.&lt;br /&gt;
&lt;br /&gt;
One can formally define an extension of first-order logic &amp;amp;mdash; a notion which encompasses all logics in this section because they behave like first-order logic in certain fundamental ways, but does not encompass all logics in general, e.g. it does not encompass intuitionistic, modal or fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
Lindström's theorem implies that the only extension of first-order logic satisfying both the compactness theorem and the downward Löwenheim–Skolem theorem is first-order logic.&lt;br /&gt;
&lt;br /&gt;
=== Nonclassical and modal logic ===&lt;br /&gt;
Modal logics include additional modal operators, such as an operator which states that a particular formula is not only true, but necessarily true. Although modal logic is not often used to axiomatize mathematics, it has been used to study the properties of first-order provability and set-theoretic forcing.&lt;br /&gt;
&lt;br /&gt;
Intuitionistic logic was developed by Heyting to study Brouwer's program of intuitionism, in which Brouwer himself avoided formalization. Intuitionistic logic specifically does not include the law of the excluded middle, which states that each sentence is either true or its negation is true.  Kleene's work with the proof theory of intuitionistic logic showed that constructive information can be recovered from intuitionistic proofs. For example, any provably total function in intuitionistic arithmetic is computable; this is not true in classical theories of arithmetic such as Peano arithmetic.&lt;br /&gt;
&lt;br /&gt;
=== Algebraic logic ===&lt;br /&gt;
Algebraic logic uses the methods of abstract algebra to study the semantics of formal logics. A fundamental example is the use of Boolean algebras to represent truth values in classical propositional logic, and the use of Heyting algebras to represent truth values in intuitionistic propositional logic. Stronger logics, such as first-order logic and higher-order logic, are studied using more complicated algebraic structures such as cylindric algebras.&lt;br /&gt;
&lt;br /&gt;
== Problem-solving strategies ==&lt;br /&gt;
Problem-solving strategies are the steps that one would use to find the problems that are in the way to getting to one's own goal. Some refer to this as the &amp;quot;problem-solving cycle&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this cycle one will acknowledge, recognize the problem, define the problem, develop a strategy to fix the problem, organize the knowledge of the problem cycle, figure out the resources at the user's disposal, monitor one's progress, and evaluate the solution for accuracy. The reason it is called a cycle is that once one is completed with a problem another will usually pop up.&lt;br /&gt;
&lt;br /&gt;
'''Insight''' is the sudden solution to a long-vexing '''problem''', a sudden recognition of a new idea, or a sudden understanding of a complex situation, an ''Aha!'' moment. Solutions found through '''insight''' are often more accurate than those found through step-by-step analysis. To solve more problems at a faster rate, insight is necessary for selecting productive moves at different stages of the problem-solving cycle. This problem-solving strategy pertains specifically to problems referred to as insight problem. Unlike Newell and Simon's formal definition of move problems, there has not been a generally agreed upon definition of an insight problem (Ash, Jee, and Wiley, 2012; Chronicle, MacGregor, and Ormerod, 2004; Chu and MacGregor, 2011).&lt;br /&gt;
&lt;br /&gt;
Blanchard-Fields looks at problem solving from one of two facets. The first looking at those problems that only have one solution (like mathematical problems, or fact-based questions) which are grounded in psychometric intelligence. The other is socioemotional in nature and have answers that change constantly (like what's your favorite color or what you should get someone for Christmas).&lt;br /&gt;
&lt;br /&gt;
The following techniques are usually called ''problem-solving strategies''&lt;br /&gt;
* Abstraction: solving the problem in a model of the system before applying it to the real system&lt;br /&gt;
* Analogy: using a solution that solves an analogous problem&lt;br /&gt;
* Brainstorming: (especially among groups of people) suggesting a large number of solutions or ideas and combining and developing them until an optimum solution is found&lt;br /&gt;
* Critical thinking&lt;br /&gt;
* Divide and conquer: breaking down a large, complex problem into smaller, solvable problems&lt;br /&gt;
* Hypothesis testing: assuming a possible explanation to the problem and trying to prove (or, in some contexts, disprove) the assumption&lt;br /&gt;
* Lateral thinking: approaching solutions indirectly and creatively&lt;br /&gt;
* Means-ends analysis: choosing an action at each step to move closer to the goal&lt;br /&gt;
* Method of focal objects: synthesizing seemingly non-matching characteristics of different objects into something new&lt;br /&gt;
* Morphological analysis: assessing the output and interactions of an entire system&lt;br /&gt;
* Proof: try to prove that the problem cannot be solved. The point where the proof fails will be the starting point for solving it&lt;br /&gt;
* Reduction: transforming the problem into another problem for which solutions exist&lt;br /&gt;
* Research: employing existing ideas or adapting existing solutions to similar problems&lt;br /&gt;
* Root cause analysis: identifying the cause of a problem&lt;br /&gt;
* Trial-and-error: testing possible solutions until the right one is found&lt;br /&gt;
&lt;br /&gt;
== Multiple forms of representation ==&lt;br /&gt;
=== Concrete models===&lt;br /&gt;
====Base ten blocks====&lt;br /&gt;
Base Ten Blocks are a great way for students to learn about place value in a spatial way. The units represent ones, rods represent tens, flats represent hundreds, and the cube represents thousands. Their relationship in size makes them a valuable part of the exploration in number concepts. Students are able to physically represent place value in the operations of addition, subtraction, multiplication, and division.&lt;br /&gt;
&lt;br /&gt;
====Pattern blocks====&lt;br /&gt;
[[File:Wooden pattern blocks dodecagon.JPG|thumb|One of the ways of making a dodecagon with pattern blocks]]&lt;br /&gt;
Pattern blocks consist of various wooden shapes (green triangles, red trapezoids, yellow hexagons, orange squares, tan (long) rhombi, and blue (wide) rhombi)  that are sized in such a way that students will be able to see relationships among shapes.  For example, three green triangles make a red trapezoid; two red trapezoids make up a yellow hexagon; a blue rhombus is made up of two green triangles; three blue rhombi make a yellow hexagon, etc.  Playing with the shapes in these ways help children develop a spatial understanding of how shapes are composed and decomposed, an essential understanding in early geometry.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks are also used by teachers as a means for students to identify, extend, and create patterns.  A teacher may ask students to identify the following pattern (by either color or shape): hexagon, triangle, triangle, hexagon, triangle, triangle, hexagon.  Students can then discuss “what comes next” and continue the pattern by physically moving pattern blocks to extend it.  It is important for young children to create patterns using concrete materials like the pattern blocks.&lt;br /&gt;
&lt;br /&gt;
Pattern blocks can also serve to provide students with an understanding of fractions.  Because pattern blocks are sized to fit to each other (for instance, six triangles make up a hexagon), they provide a concrete experiences with halves, thirds, and sixths.&lt;br /&gt;
&lt;br /&gt;
Adults tend to use pattern blocks to create geometric works of art such as mosaics. There are over 100 different pictures that can be made from pattern blocks. These include cars, trains, boats, rockets, flowers, animals, insects, birds, people, household objects, etc. The advantage of pattern block art is that it can be changed around, added, or turned into something else. All six of the shapes (green triangles, blue (thick) rhombi, red trapezoids, yellow hexagons, orange squares, and tan (thin) rhombi) are applied to make mosaics.&lt;br /&gt;
&lt;br /&gt;
====Unifix® Cubes====&lt;br /&gt;
[[File:Linking cm cubes 2.JPG|thumb|Interlocking centimeter cubes]]&lt;br /&gt;
Unifix® Cubes are interlocking cubes that are just under 2 centimeters on each side. The cubes connect with each other from one side. Once connected, Unifix® Cubes can be turned to form a vertical Unifix® &amp;quot;tower,&amp;quot; or horizontally to form a Unifix® &amp;quot;train&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Other interlocking cubes are also available in 1 centimeter size and also in one inch size to facilitate measurement activities.&lt;br /&gt;
&lt;br /&gt;
Like pattern blocks, interlocking cubes can also be used for teaching patterns.  Students use the cubes to make long trains of patterns.  Like the pattern blocks, the interlocking cubes provide a concrete experience for students to identify, extend, and create patterns.  The difference is that a student can also physically decompose a pattern by the unit.  For example, if a student made a pattern train that followed this sequence,&lt;br /&gt;
	Red, blue, blue, blue, red, blue, blue, blue, red, blue, blue, blue, red, blue, blue..&lt;br /&gt;
the child could then be asked to identify the unit that is repeating (red, blue, blue, blue) and take apart the pattern by each unit.&lt;br /&gt;
&lt;br /&gt;
Also, one can learn addition, subtraction, multiplication and  division, guesstimation, measuring and  graphing, perimeter, area   and volume.&lt;br /&gt;
&lt;br /&gt;
====Tiles====&lt;br /&gt;
Tiles are one inch-by-one inch colored squares (red, green, yellow, blue).&lt;br /&gt;
&lt;br /&gt;
Tiles can be used much the same way as interlocking cubes.  The difference is that tiles cannot be locked together.  They remain as separate pieces, which in many teaching scenarios, may be more ideal.&lt;br /&gt;
&lt;br /&gt;
These three types of mathematical manipulatives can be used to teach the same concepts.  It is critical that students learn math concepts using a variety of tools.  For example, as students learn to make patterns, they should be able to create patterns using all three of these tools.  Seeing the same concept represented in multiple ways as well as using a variety of concrete models will expand students’ understandings.&lt;br /&gt;
&lt;br /&gt;
====Number lines====&lt;br /&gt;
To teach integer addition and subtraction, a number line is often used.  A typical positive/negative number line spans from −20 to 20.  For a problem such as “−15 + 17”, students are told to “find −15 and count 17 spaces to the right”.&lt;br /&gt;
&lt;br /&gt;
====Cuisenaire rods====&lt;br /&gt;
[[File:Cuisenaire ten.JPG|thumb|Cuisenaire rods used to illustrate the factors of ten]]&lt;br /&gt;
'''Cuisenaire rods''' are mathematics learning aids for students that provide an interactive, hands-on way to explore mathematics and learn mathematical concepts, such as the four basic arithmetical operations, working with fractions and finding divisors. In the early 1950s, Caleb Gattegno popularised this set of coloured number rods created by the Belgian primary school teacher Georges Cuisenaire (1891–1975), who called the rods ''réglettes''.&lt;br /&gt;
&lt;br /&gt;
According to Gattegno, &amp;quot;Georges Cuisenaire showed in the early 1950s that students who had been taught traditionally, and were rated 'weak', took huge strides when they shifted to using the material. They became 'very good' at traditional arithmetic when they were allowed to manipulate the rods.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;Use in mathematics teaching&lt;br /&gt;
The rods are used in teaching a variety of mathematical ideas, and with a wide age range of learners. Topics they are used for include:&lt;br /&gt;
* Counting, sequences, patterns and algebraic reasoning&lt;br /&gt;
* Addition and subtraction (additive reasoning)&lt;br /&gt;
* Multiplication and division (multiplicative reasoning)&lt;br /&gt;
* Fractions, ratio and proportion&lt;br /&gt;
* Modular arithmetic leading to group theory&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
=== Diagrams ===&lt;br /&gt;
A '''diagram''' is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three-dimensional visualization which is then projected onto a two-dimensional surface. The word ''graph'' is sometimes used as a synonym for diagram.&lt;br /&gt;
&lt;br /&gt;
;Gallery of diagram types &lt;br /&gt;
&lt;br /&gt;
There are at least the following types of diagrams:&lt;br /&gt;
&lt;br /&gt;
* [[Logic]]al or conceptual diagrams, which take a collection of items and relationships between them, and express them by giving each item a 2D position, while the relationships are expressed as connections between the items or overlaps between the items, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Tree Example.png|[[Tree structure|tree diagram]]&lt;br /&gt;
File:Neural network.svg|[[Network diagram]]&lt;br /&gt;
File:LampFlowchart.svg|[[Flowchart]]&lt;br /&gt;
File:Set intersection.svg|[[Venn diagram]]&lt;br /&gt;
File:Alphagraphen.png|[[Existential graph]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Quantitative diagrams, which display a relationship between two variables that take either [[Discrete mathematics|discrete]] or a [[continuous function|continuous]] range of values; for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Histogram example.svg|[[Histogram]]&lt;br /&gt;
File:Graphtestone.svg|[[Bar graph]]&lt;br /&gt;
File:Zusammensetzung Shampoo.svg|[[Pie chart]]&lt;br /&gt;
File:Hyperbolic Cosine.svg|[[Function graph]]&lt;br /&gt;
File:R-car stopping distances 1920.svg|[[Scatter plot]]&lt;br /&gt;
File:Hanger Diagram.png|Hanger diagram.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* [[Schematic]]s and other types of diagrams, for example:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top; width:25px;&amp;quot;|&lt;br /&gt;
|style=&amp;quot;vertical-align:top;&amp;quot;|&lt;br /&gt;
&amp;lt;gallery perrow=&amp;quot;5&amp;quot; widths=&amp;quot;80&amp;quot; heights=&amp;quot;80&amp;quot;&amp;gt;&lt;br /&gt;
File:Train schedule of Sanin Line, Japan, 1949-09-15, part.png|[[Time–distance diagram]]&lt;br /&gt;
File:Gear pump exploded.png|[[Exploded view]]&lt;br /&gt;
File:US 2000 census population density map by state.svg|[[Population density|Population density map]]&lt;br /&gt;
File:Pioneer plaque.svg|[[Pioneer plaque]]&lt;br /&gt;
File:Automotive diagrams 01 En.png|[[Three-dimensional|Three-dimensional diagram]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Mathematical_logic Mathematical logic, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Problem_solving Problem solving, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Manipulative_(mathematics_education) Manipulative (mathematics education), Wikipedia] under a CC BY-Sa license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Cuisenaire_rods Cuisenaire rods, Wikipedia] under a CC BY-SA license&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Diagram Diagram, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4652</id>
		<title>Problem Solving Introduction</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Problem_Solving_Introduction&amp;diff=4652"/>
		<updated>2022-02-05T03:23:46Z</updated>

		<summary type="html">&lt;p&gt;Khanh: Created page with &amp;quot;== Licensing ==  Content obtained and/or adapted from: * [https://en.wikipedia.org/wiki/Base_ten_block Base ten block, Wikipedia] under a CC BY-SA license  https://en.wikipedi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Base_ten_block Base ten block, Wikipedia] under a CC BY-SA license&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Mathematical_logic&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Multiple_representations_(mathematics_education)&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Cuisenaire_rods&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Diagram&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Manipulative_(mathematics_education)&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Number_line&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/Problem_solving&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Operations&amp;diff=4651</id>
		<title>Sets:Operations</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Operations&amp;diff=4651"/>
		<updated>2022-02-05T02:27:40Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In mathematics, '''the algebra of sets''', not to be confused with the mathematical structure of &amp;lt;em&amp;gt;an&amp;lt;/em&amp;gt; algebra of sets, defines the properties and laws of sets, the set-theoretic operations of union, intersection, and complementation and the relations of set equality and set inclusion. It also provides systematic procedures for evaluating expressions, and performing calculations, involving these operations and relations.&lt;br /&gt;
&lt;br /&gt;
Any set of sets closed under the set-theoretic operations forms a Boolean algebra with the join operator being ''union'', the meet operator being ''intersection'', the complement operator being ''set complement'', the bottom being &amp;lt;math&amp;gt;\varnothing&amp;lt;/math&amp;gt; and the top being the universe set under consideration.&lt;br /&gt;
&lt;br /&gt;
==Fundamentals==&lt;br /&gt;
&lt;br /&gt;
The algebra of sets is the set-theoretic analogue of the algebra of numbers. Just as arithmetic addition and multiplication are associative and commutative, so are set union and intersection; just as the arithmetic relation &amp;quot;less than or equal&amp;quot; is reflexive, antisymmetric and transitive, so is the set relation of &amp;quot;subset&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
It is the algebra of the set-theoretic operations of union, intersection and complementation, and the relations of equality and inclusion.  For a basic introduction to sets see the article on sets, for a fuller account see naive set theory, and for a full rigorous axiomatic treatment see axiomatic set theory.&lt;br /&gt;
&lt;br /&gt;
==The fundamental properties of set algebra==&lt;br /&gt;
&lt;br /&gt;
The binary operations of set union (&amp;lt;math&amp;gt;\cup&amp;lt;/math&amp;gt;) and intersection (&amp;lt;math&amp;gt;\cap&amp;lt;/math&amp;gt;) satisfy many identities. Several of these identities or &amp;quot;laws&amp;quot; have well established names.&lt;br /&gt;
&lt;br /&gt;
:Commutative property:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup B = B \cup A&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap B = B \cap A&amp;lt;/math&amp;gt;&lt;br /&gt;
:Associative property:&lt;br /&gt;
::*&amp;lt;math&amp;gt;(A \cup B) \cup C = A \cup (B \cup C)&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;(A \cap B) \cap C = A \cap (B \cap C)&amp;lt;/math&amp;gt;&lt;br /&gt;
:Distributive property:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup (B \cap C) = (A \cup B) \cap (A \cup C)&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap (B \cup C) = (A \cap B) \cup (A \cap C)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The union and intersection of sets may be seen as analogous to the addition and multiplication of numbers. Like addition and multiplication, the operations of union and intersection are commutative and associative, and intersection ''distributes'' over union.  However, unlike addition and multiplication, union also distributes over intersection.&lt;br /&gt;
&lt;br /&gt;
Two additional pairs of properties involve the special sets called the empty set Ø and the universe set &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;; together with the complement operator (&amp;lt;math&amp;gt;A^C&amp;lt;/math&amp;gt; denotes the complement of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;. This can also be written as &amp;lt;math&amp;gt;A'&amp;lt;/math&amp;gt;, read as A prime).  The empty set has no members, and the universe set has all possible members (in a particular context).&lt;br /&gt;
&lt;br /&gt;
:Identity :&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup \varnothing = A&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap U = A&amp;lt;/math&amp;gt;&lt;br /&gt;
:Complement :&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup A^C = U&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap A^C = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The identity expressions (together with the commutative expressions) say that, just like 0 and 1 for addition and  multiplication, Ø and '''U''' are the identity elements for union and intersection, respectively.&lt;br /&gt;
&lt;br /&gt;
Unlike addition and multiplication, union and intersection do not have inverse elements. However the complement laws give the fundamental properties of the somewhat inverse-like unary operation of set complementation.&lt;br /&gt;
&lt;br /&gt;
The preceding five pairs of formulae&amp;amp;mdash;the commutative, associative, distributive, identity and complement formulae&amp;amp;mdash;encompass all of set algebra, in the sense that every valid proposition in the algebra of sets can be derived from them.&lt;br /&gt;
&lt;br /&gt;
Note that if the complement formulae are weakened to the rule &amp;lt;math&amp;gt; (A^C)^C = A &amp;lt;/math&amp;gt;, then this is exactly the algebra of propositional linear logic.&lt;br /&gt;
&lt;br /&gt;
==The principle of duality==&lt;br /&gt;
Each of the identities stated above is one of a pair of identities such that each can be transformed into the other by interchanging ∪ and ∩, and also Ø and '''U'''.&lt;br /&gt;
&lt;br /&gt;
These are examples of an extremely important and powerful property of set algebra, namely, the '''principle of duality''' for sets, which asserts that for any true statement about sets, the '''dual''' statement obtained by interchanging unions and intersections, interchanging '''U''' and Ø and reversing inclusions is also true.  A statement is said to be '''self-dual''' if it is equal to its own dual.&lt;br /&gt;
&lt;br /&gt;
== Some additional laws for unions and intersections ==&lt;br /&gt;
&lt;br /&gt;
The following proposition states six more important laws of set algebra, involving unions and intersections.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 3''': For any subsets ''A'' and ''B'' of a universe set '''U''', the following identities hold:&lt;br /&gt;
:idempotent laws:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup A = A&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap A = A&amp;lt;/math&amp;gt;&lt;br /&gt;
:domination laws:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup U = U&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap \varnothing = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
:absorption laws:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cup (A \cap B) = A&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap (A \cup B) = A&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As noted above, each of the laws stated in proposition 3 can be derived from the five fundamental pairs of laws stated above&amp;lt;!---in proposition 1 and proposition 2---&amp;gt;.  As an illustration, a proof is given below for the idempotent law for union.&lt;br /&gt;
&lt;br /&gt;
''Proof:''&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;A \cup A&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math&amp;gt;=(A \cup A) \cap U&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the identity law of intersection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=(A \cup A) \cap (A \cup A^C)&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the complement law for union&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A \cup (A \cap A^C)&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the distributive law of union over intersection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A \cup \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the complement law for intersection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the identity law for union&lt;br /&gt;
|}&lt;br /&gt;
The following proof illustrates that the dual of the above proof is the proof of the dual of the idempotent law for union, namely the idempotent law for intersection.&lt;br /&gt;
&lt;br /&gt;
''Proof:''&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;math&amp;gt;A \cap A&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math&amp;gt;=(A \cap A) \cup \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the identity law for union&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=(A \cap A) \cup (A \cap A^C)&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the complement law for intersection&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A \cap (A \cup A^C)&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the distributive law of intersection over union&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A \cap U&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the complement law for union&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;math&amp;gt;=A&amp;lt;/math&amp;gt;&lt;br /&gt;
|by the identity law for intersection&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Intersection can be expressed in terms of set difference :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;A \cap B = A \setminus (A \setminus B) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Some additional laws for complements ==&lt;br /&gt;
&lt;br /&gt;
The following proposition states five more important laws of set algebra, involving complements.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 4''': Let ''A'' and ''B'' be subsets of a universe '''U''', then:&lt;br /&gt;
:De Morgan's laws:&lt;br /&gt;
::*&amp;lt;math&amp;gt;(A \cup B)^C = A^C \cap B^C&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;(A \cap B)^C = A^C \cup B^C&amp;lt;/math&amp;gt;&lt;br /&gt;
:double complement or involution law:&lt;br /&gt;
::*&amp;lt;math&amp;gt;{(A^{C})}^{C} = A&amp;lt;/math&amp;gt;&lt;br /&gt;
:complement laws for the universe set and the empty set:&lt;br /&gt;
::*&amp;lt;math&amp;gt;\varnothing^C = U&amp;lt;/math&amp;gt;&lt;br /&gt;
::*&amp;lt;math&amp;gt;U^C = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that the double complement law is self-dual.&lt;br /&gt;
&lt;br /&gt;
The next proposition, which is also self-dual, says that the complement  of a set is the only set that satisfies the complement laws.  In other words, complementation is characterized by the complement laws.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 5''': Let ''A'' and ''B'' be subsets of a universe '''U''', then:&lt;br /&gt;
:uniqueness of complements:&lt;br /&gt;
::*If &amp;lt;math&amp;gt;A \cup B = U&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;A \cap B = \varnothing&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;B = A^C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The algebra of inclusion==&lt;br /&gt;
&lt;br /&gt;
The following proposition says that inclusion, that is the binary relation of one set being a subset of another, is a partial order.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 6''': If ''A'', ''B'' and ''C'' are sets then the following hold:&lt;br /&gt;
&lt;br /&gt;
:reflexivity:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \subseteq A&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:antisymmetry:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \subseteq B&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B \subseteq A&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;A = B&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:transitivity:&lt;br /&gt;
::*If &amp;lt;math&amp;gt;A \subseteq B&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B \subseteq C&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;A \subseteq C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following proposition says that for any set ''S'', the power set of ''S'', ordered by inclusion, is a bounded lattice, and hence together with the distributive and complement laws above, show that it is a Boolean algebra.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 7''': If ''A'', ''B'' and ''C'' are subsets of a set ''S'' then the following hold:&lt;br /&gt;
&lt;br /&gt;
:existence of a least element and a greatest element:&lt;br /&gt;
::*&amp;lt;math&amp;gt; \varnothing \subseteq A \subseteq S&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:existence of joins:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \subseteq A \cup B&amp;lt;/math&amp;gt;&lt;br /&gt;
::*If &amp;lt;math&amp;gt;A \subseteq C&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B \subseteq C&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;A \cup B \subseteq C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:existence of meets:&lt;br /&gt;
::*&amp;lt;math&amp;gt;A \cap B \subseteq A&amp;lt;/math&amp;gt;&lt;br /&gt;
::*If &amp;lt;math&amp;gt;C \subseteq A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C \subseteq B&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;C \subseteq A \cap B&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following proposition says that the statement &amp;lt;math&amp;gt;A \subseteq B&amp;lt;/math&amp;gt; is equivalent to various other statements involving unions, intersections and complements.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 8''': For any two sets ''A'' and ''B'', the following are equivalent:&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \subseteq B&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \cap B = A&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \cup B = B&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \setminus B = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;B^C \subseteq A^C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above proposition shows that the relation of set inclusion can be characterized by either of the operations of set union or set intersection, which means that the notion of set inclusion is axiomatically superfluous.&lt;br /&gt;
&lt;br /&gt;
== The algebra of relative complements ==&lt;br /&gt;
&lt;br /&gt;
The following proposition lists several identities concerning relative complements and set-theoretic differences.&lt;br /&gt;
&lt;br /&gt;
'''PROPOSITION 9''': For any universe '''U''' and subsets ''A'', ''B'', and ''C'' of '''U''', the following identities hold:&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;C \setminus (A \cap B) = (C \setminus A) \cup (C \setminus B)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;C \setminus (A \cup B) = (C \setminus A) \cap (C \setminus B)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;C \setminus (B \setminus A) = (A \cap C)\cup(C \setminus B)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;(B \setminus A) \cap C = (B \cap C) \setminus A = B \cap (C \setminus A)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;(B \setminus A) \cup C = (B \cup C) \setminus (A \setminus C)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;(B \setminus A) \setminus C = B \setminus (A \cup C)&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \setminus A = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;\varnothing \setminus A = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \setminus \varnothing = A&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;B \setminus A = A^C \cap B&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;(B \setminus A)^C = A \cup B^C&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;U \setminus A = A^C&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;A \setminus U = \varnothing&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 101-115&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Algebra_of_sets Algebra of sets, Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4650</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4650"/>
		<updated>2022-02-04T20:03:30Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Power sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {1, 3} ⊂ {1, 2, 3, 4}.&lt;br /&gt;
* {1, 2, 3, 4} ⊆ {1, 2, 3, 4}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into 2&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, &amp;lt;math&amp;gt;-\tfrac{7}{4}&amp;lt;/math&amp;gt; ∈ '''Q''' and &amp;lt;math&amp;gt;5 = \tfrac{5}{1}&amp;lt;/math&amp;gt; ∈ '''Q''';&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: '''C''' = {''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted |''S''|, is the number of members of {{math|''S''}}. For example, if ''B'' = {blue, white, red}, then |B| = 3. Repeated members in roster notation are not counted, so &lt;br /&gt;
&lt;br /&gt;
|{blue, white, red, blue, white}| = 3, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{1, 2, 3}}} is &lt;br /&gt;
&lt;br /&gt;
{∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or 2&amp;lt;sup&amp;gt;''S''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has 2&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; elements. For example, {{math|{1, 2, 3}}} has three elements, and its power set has &amp;lt;math&amp;gt; 2^3 = 8 &amp;lt;/math&amp;gt; elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4649</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4649"/>
		<updated>2022-02-04T19:57:52Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Cardinality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {1, 3} ⊂ {1, 2, 3, 4}.&lt;br /&gt;
* {1, 2, 3, 4} ⊆ {1, 2, 3, 4}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into 2&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, &amp;lt;math&amp;gt;-\tfrac{7}{4}&amp;lt;/math&amp;gt; ∈ '''Q''' and &amp;lt;math&amp;gt;5 = \tfrac{5}{1}&amp;lt;/math&amp;gt; ∈ '''Q''';&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: '''C''' = {''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted |''S''|, is the number of members of {{math|''S''}}. For example, if ''B'' = {blue, white, red}, then |B| = 3. Repeated members in roster notation are not counted, so &lt;br /&gt;
&lt;br /&gt;
|{blue, white, red, blue, white}| = 3, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4648</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4648"/>
		<updated>2022-02-04T19:53:30Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Special sets of numbers in mathematics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {1, 3} ⊂ {1, 2, 3, 4}.&lt;br /&gt;
* {1, 2, 3, 4} ⊆ {1, 2, 3, 4}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into 2&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, &amp;lt;math&amp;gt;-\tfrac{7}{4}&amp;lt;/math&amp;gt; ∈ '''Q''' and &amp;lt;math&amp;gt;5 = \tfrac{5}{1}&amp;lt;/math&amp;gt; ∈ '''Q''';&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: '''C''' = {''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4647</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4647"/>
		<updated>2022-02-04T19:50:16Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Euler and Venn diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {1, 3} ⊂ {1, 2, 3, 4}.&lt;br /&gt;
* {1, 2, 3, 4} ⊆ {1, 2, 3, 4}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into 2&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4646</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4646"/>
		<updated>2022-02-04T19:49:09Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Subsets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {1, 3} ⊂ {1, 2, 3, 4}.&lt;br /&gt;
* {1, 2, 3, 4} ⊆ {1, 2, 3, 4}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4645</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4645"/>
		<updated>2022-02-04T19:43:38Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Singleton sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {''x''}, where ''x'' is the element.&lt;br /&gt;
The set {''x''} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4644</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4644"/>
		<updated>2022-02-04T19:40:29Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* The empty set */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {&amp;amp;nbsp;} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {{mset|''x''}}, where ''x'' is the element.&lt;br /&gt;
The set {{mset|''x''}} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4643</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4643"/>
		<updated>2022-02-04T19:39:18Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Membership */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {1, 2, 3, 4}}}, {{math|1=''B'' = {blue, white, red}}}, and ''F'' = {''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {{mset|&amp;amp;nbsp;}} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {{mset|''x''}}, where ''x'' is the element.&lt;br /&gt;
The set {{mset|''x''}} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4642</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4642"/>
		<updated>2022-02-04T19:32:53Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* How sets are defined and set notation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {4, 2, 1, 3}}}&lt;br /&gt;
:{{math|1=''B'' = {blue, white, red}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{2, 4, 6}}} and {{math|{4, 6, 4, 2}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{1, 2, 3, ..., 1000}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{0, 1, 2, 3, 4, ...}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{..., −3, −2, −1, 0, 1, 2, 3, ...}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {{mset|1, 2, 3, 4}}}}, {{math|1=''B'' = {{mset|blue, white, red}}}}, and {{math|1=''F'' = {{mset|''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19}}}},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {{mset|&amp;amp;nbsp;}} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {{mset|''x''}}, where ''x'' is the element.&lt;br /&gt;
The set {{mset|''x''}} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4641</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4641"/>
		<updated>2022-02-04T19:30:08Z</updated>

		<summary type="html">&lt;p&gt;Khanh: /* Naïve set theory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {''x'' | ''x'' is a set and ''x'' ∉ ''x''}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {{mset|4, 2, 1, 3}}}}&lt;br /&gt;
:{{math|1=''B'' = {{mset|blue, white, red}}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{{mset|2, 4, 6}}}} and {{math|{{mset|4, 6, 4, 2}}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{{mset|1, 2, 3, ..., 1000}}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{{mset|0, 1, 2, 3, 4, ...}}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{{mset|..., −3, −2, −1, 0, 1, 2, 3, ...}}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {{mset|1, 2, 3, 4}}}}, {{math|1=''B'' = {{mset|blue, white, red}}}}, and {{math|1=''F'' = {{mset|''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19}}}},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {{mset|&amp;amp;nbsp;}} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {{mset|''x''}}, where ''x'' is the element.&lt;br /&gt;
The set {{mset|''x''}} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4640</id>
		<title>Sets:Definitions</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Sets:Definitions&amp;diff=4640"/>
		<updated>2022-02-04T19:22:20Z</updated>

		<summary type="html">&lt;p&gt;Khanh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Example of a set.svg|thumb|A set of polygons in an Euler diagram]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''set''' is a collection of elements. The elements that make up a set can be any kind of mathematical objects: numbers, symbols, points in space, lines, other geometrical shapes, variables, or even other sets. The set with no element is the empty set; a set with a single element is a singleton.  A set may have a finite number of elements or be an infinite set.  Two sets are equal if they have precisely the same elements.&lt;br /&gt;
&lt;br /&gt;
Sets are ubiquitous in modern mathematics. Indeed, set theory, more specifically Zermelo–Fraenkel set theory, has been the standard way to provide rigorous foundations for all branches of mathematics since the first half of the 20th century.&lt;br /&gt;
&lt;br /&gt;
==Origin==&lt;br /&gt;
The concept of a set emerged in mathematics at the end of the 19th century. The German word for set, ''Menge'', was coined by Bernard Bolzano in his work ''Paradoxes of the Infinite''.&lt;br /&gt;
[[File:Passage with the set definition of Georg Cantor.png|thumb|Passage with a translation of the original set definition of Georg Cantor. The German word ''Menge'' for ''set'' is translated with ''aggregate'' here.]] &lt;br /&gt;
Georg Cantor, one of the founders of set theory,   gave the following definition at the beginning of his ''Beiträge zur Begründung der transfiniten Mengenlehre'':&lt;br /&gt;
&lt;br /&gt;
::A set is a gathering together into a whole of definite, distinct objects of our perception or our thought—which are called elements of the set.&lt;br /&gt;
&lt;br /&gt;
Bertrand Russell called a set a ''class'':&lt;br /&gt;
&lt;br /&gt;
::When mathematicians deal with what they call a manifold, aggregate, ''Menge'', ''ensemble'', or some equivalent name, it is  common, especially where the number of terms involved is finite, to regard the object in question (which is in fact a class) as defined by the enumeration of its terms, and as consisting possibly of a single term, which in that case ''is'' the class.&lt;br /&gt;
&lt;br /&gt;
===Naïve set theory===&lt;br /&gt;
The foremost property of a set is that it can have elements, also called ''members''. Two sets are equal when they have the same elements. More precisely, sets ''A'' and ''B'' are equal if every element of ''A'' is an element of ''B'', and every element of ''B'' is an element of ''A''; this property is called the ''extensionality of sets''.&lt;br /&gt;
&lt;br /&gt;
The simple concept of a set has proved enormously useful in mathematics, but paradoxes arise if no restrictions are placed on how sets can be constructed:&lt;br /&gt;
* Russell's paradox shows that the &amp;quot;set of all sets that ''do not contain themselves''&amp;quot;, i.e., {{mset|''x'' | ''x'' is a set and ''x'' ∉ ''x''}}, cannot exist.&lt;br /&gt;
* Cantor's paradox shows that &amp;quot;the set of all sets&amp;quot; cannot exist.&lt;br /&gt;
&lt;br /&gt;
Naïve set theory defines a set as any ''well-defined'' collection of distinct elements, but problems arise from the vagueness of the term ''well-defined''.&lt;br /&gt;
&lt;br /&gt;
===Axiomatic set theory===&lt;br /&gt;
In subsequent efforts to resolve these paradoxes since the time of the original formulation of naïve set theory, the properties of sets have been defined by axioms. Axiomatic set theory takes the concept of a set as a primitive notion. The purpose of the axioms is to provide a basic framework from which to deduce the truth or falsity of particular mathematical propositions (statements) about sets, using first-order logic. According to Gödel's incompleteness theorems however, it is not possible to use first-order logic to prove any such particular axiomatic set theory is free from paradox.&lt;br /&gt;
&lt;br /&gt;
==How sets are defined and set notation==&lt;br /&gt;
Mathematical texts commonly denote sets by capital letters in italic, such as {{mvar|A}}, {{mvar|B}}, {{mvar|C}}. A set may also be called a ''collection'' or ''family'', especially when its elements are themselves sets.&lt;br /&gt;
&lt;br /&gt;
===Roster notation===&lt;br /&gt;
'''Roster''' or '''enumeration notation''' defines a set by listing its elements between curly brackets, separated by commas:&lt;br /&gt;
:{{math|1=''A'' = {{mset|4, 2, 1, 3}}}}&lt;br /&gt;
:{{math|1=''B'' = {{mset|blue, white, red}}}}.&lt;br /&gt;
&lt;br /&gt;
In a set, all that matters is whether each element is in it or not, so the ordering of the elements in roster notation is irrelevant (in contrast, in a sequence, a tuple, or a permutation of a set, the ordering of the terms matters). For example, {{math|{{mset|2, 4, 6}}}} and {{math|{{mset|4, 6, 4, 2}}}} represent the same set.&lt;br /&gt;
&lt;br /&gt;
For sets with many elements, especially those following an implicit pattern, the list of members can be abbreviated using an ellipsis '{{math|...}}'. For instance, the set of the first thousand positive integers may be specified in roster notation as&lt;br /&gt;
:{{math|{{mset|1, 2, 3, ..., 1000}}}}.&lt;br /&gt;
&lt;br /&gt;
====Infinite sets in roster notation====&lt;br /&gt;
An infinite set is a set with an endless list of elements. To describe an infinite set in roster notation, an ellipsis is placed at the end of the list, or at both ends, to indicate that the list continues forever. For example, the set of nonnegative integers is&lt;br /&gt;
:{{math|{{mset|0, 1, 2, 3, 4, ...}}}},&lt;br /&gt;
and the set of all integers is&lt;br /&gt;
:{{math|{{mset|..., −3, −2, −1, 0, 1, 2, 3, ...}}}}.&lt;br /&gt;
&lt;br /&gt;
===Semantic definition===&lt;br /&gt;
Another way to define a set is to use a rule to determine what the elements are:&lt;br /&gt;
:Let {{mvar|A}} be the set whose members are the first four positive integers.&lt;br /&gt;
:Let {{mvar|B}} be the set of colors of the French flag.&lt;br /&gt;
&lt;br /&gt;
Such a definition is called a ''semantic description''.&lt;br /&gt;
&lt;br /&gt;
===Set-builder notation===&lt;br /&gt;
&lt;br /&gt;
Set-builder notation specifies a set as a selection from a larger set, determined by a condition on the elements. For example, a set {{mvar|F}} can be defined as follows:&lt;br /&gt;
&lt;br /&gt;
:{{mvar|F}} &amp;lt;math&amp;gt; = \{n \mid n \text{ is an integer, and } 0 \leq n \leq 19\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this notation, the vertical bar &amp;quot;|&amp;quot; means &amp;quot;such that&amp;quot;, and the description can be interpreted as &amp;quot;{{mvar|F}} is the set of all numbers {{mvar|n}} such that {{mvar|n}} is an integer in the range from 0 to 19 inclusive&amp;quot;. Some authors use a colon &amp;quot;:&amp;quot; instead of the vertical bar.&lt;br /&gt;
&lt;br /&gt;
===Classifying methods of definition===&lt;br /&gt;
Philosophy uses specific terms to classify types of definitions:&lt;br /&gt;
*An ''intensional definition'' uses a ''rule'' to determine membership. Semantic definitions and definitions using set-builder notation are examples.&lt;br /&gt;
*An ''extensional definition'' describes a set by ''listing all its elements''. Such definitions are also called ''enumerative''.&lt;br /&gt;
*An ''ostensive definition'' is one that describes a set by giving ''examples'' of elements; a roster involving an ellipsis would be an example.&lt;br /&gt;
&lt;br /&gt;
==Membership==&lt;br /&gt;
If {{mvar|B}} is a set and {{mvar|x}} is an element of {{mvar|B}}, this is written in shorthand as {{math|''x'' ∈ ''B''}}, which can also be read as &amp;quot;''x'' belongs to ''B''&amp;quot;, or &amp;quot;''x'' is in ''B''&amp;quot;. The statement &amp;quot;''y'' is not an element of ''B''&amp;quot; is written as {{math|''y'' ∉ ''B''}}, which can also be read as or &amp;quot;''y'' is not in ''B''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, with respect to the sets {{math|1=''A'' = {{mset|1, 2, 3, 4}}}}, {{math|1=''B'' = {{mset|blue, white, red}}}}, and {{math|1=''F'' = {{mset|''n'' | ''n'' is an integer, and 0 ≤ ''n'' ≤ 19}}}},&lt;br /&gt;
:{{math|4 ∈ ''A''}} and {{math|12 ∈ ''F''}}; and&lt;br /&gt;
:{{math|20 ∉ ''F''}} and {{math|green ∉ ''B''}}.&lt;br /&gt;
&lt;br /&gt;
==The empty set==&lt;br /&gt;
The ''empty set'' (or ''null set'') is the unique set that has no members. It is denoted {{math|∅}} or &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; or {{mset|&amp;amp;nbsp;}} or {{math|ϕ}} (or {{mvar|ϕ}}).&lt;br /&gt;
&lt;br /&gt;
==Singleton sets==&lt;br /&gt;
A ''singleton set'' is a set with exactly one element; such a set may also be called a ''unit set''. Any such set can be written as {{mset|''x''}}, where ''x'' is the element.&lt;br /&gt;
The set {{mset|''x''}} and the element ''x'' mean different things; Halmos draws the analogy that a box containing a hat is not the same as the hat.&lt;br /&gt;
&lt;br /&gt;
==Subsets==&lt;br /&gt;
If every element of set ''A'' is also in ''B'', then ''A'' is described as being a ''subset of B'', or ''contained in B'', written ''A'' ⊆ ''B'', or ''B'' ⊇ ''A''. The latter notation may be read ''B contains A'', ''B includes A'', or ''B is a superset of A''. The relationship between sets established by ⊆ is called ''inclusion'' or ''containment''. Two sets are equal if they contain each other: ''A'' ⊆ ''B'' and ''B'' ⊆ ''A'' is equivalent to ''A'' = ''B''.&lt;br /&gt;
&lt;br /&gt;
If ''A'' is a subset of ''B'', but ''A'' is not equal to ''B'', then ''A'' is called a ''proper subset'' of ''B''. This can be written ''A'' ⊊ ''B''. Likewise, ''B'' ⊋ ''A'' means ''B is a proper superset of A'', i.e. ''B'' contains ''A'', and is not equal to ''A''.&lt;br /&gt;
&lt;br /&gt;
A third pair of operators ⊂ and ⊃ are used differently by different authors: some authors use ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' to mean ''A'' is any subset of ''B'' (and not necessarily a proper subset), while others reserve ''A'' ⊂ ''B'' and ''B'' ⊃ ''A'' for cases where ''A'' is a proper subset of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* The set of all humans is a proper subset of the set of all mammals.&lt;br /&gt;
* {{mset|1, 3}} ⊂ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
* {{mset|1, 2, 3, 4}} ⊆ {{mset|1, 2, 3, 4}}.&lt;br /&gt;
&lt;br /&gt;
The empty set is a subset of every set, and every set is a subset of itself:&lt;br /&gt;
* ∅ ⊆ ''A''.&lt;br /&gt;
* ''A'' ⊆ ''A''.&lt;br /&gt;
&lt;br /&gt;
==Euler and Venn diagrams==&lt;br /&gt;
[[File:Venn A subset B.svg|thumb|150px|''A'' is a subset of ''B''.&amp;lt;br&amp;gt;''B'' is a superset of ''A''.]]&lt;br /&gt;
An Euler diagram is a graphical representation of a collection of sets; each set is depicted as a planar region enclosed by a loop, with its elements inside. If {{mvar|A}} is a subset of {{mvar|B}}, then the region representing {{mvar|A}} is completely inside the region representing {{mvar|B}}. If two sets have no elements in common, the regions do not overlap. &lt;br /&gt;
&lt;br /&gt;
A Venn diagram, in contrast, is a graphical representation of {{mvar|n}} sets in which the {{mvar|n}} loops divide the plane into {{math|2{{sup|''n''}}}} zones such that for each way of selecting some of the {{mvar|n}} sets (possibly all or none), there is a zone for the elements that belong to all the selected sets and none of the others. For example, if the sets are {{mvar|A}}, {{mvar|B}}, and {{mvar|C}}, there should be a zone for the elements that are inside {{mvar|A}} and {{mvar|C}} and outside {{mvar|B}} (even if such elements do not exist).&lt;br /&gt;
&lt;br /&gt;
==Special sets of numbers in mathematics==&lt;br /&gt;
[[File:NumberSetinC.svg|thumb|The natural numbers &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; are contained in the integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt;, which are contained in the rational numbers &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;, which are contained in the real numbers &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;, which are contained in the complex numbers &amp;lt;math&amp;gt;\mathbb{C}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
There are sets of such mathematical importance, to which mathematicians refer so frequently, that they have acquired special names and notational conventions to identify them. &lt;br /&gt;
&lt;br /&gt;
Many of these important sets are represented in mathematical texts using bold (e.g. &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt;) or blackboard bold (e.g. &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;) typeface. These include&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold N&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb N&amp;lt;/math&amp;gt;, the set of all natural numbers: &amp;lt;math&amp;gt;\bold N=\{0,1,2,3,...\}&amp;lt;/math&amp;gt; (often, authors exclude {{math|0}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Z&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Z&amp;lt;/math&amp;gt;, the set of all integers (whether positive, negative or zero): &amp;lt;math&amp;gt;\bold Z=\{...,-2,-1,0,1,2,3,...\}&amp;lt;/math&amp;gt;;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold Q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb Q&amp;lt;/math&amp;gt;, the set of all rational numbers (that is, the set of all proper and improper fractions): &amp;lt;math&amp;gt;\bold Q=\left\{\frac {a}{b}\mid a,b\in\bold Z,b\ne0\right\}&amp;lt;/math&amp;gt;. For example, {{math|&amp;amp;minus;{{sfrac|7|4}} ∈ '''Q'''}} and {{math|5 {{=}} {{sfrac|5|1}} ∈ '''Q'''}};&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold R&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, the set of all real numbers, including all rational numbers and all irrational numbers (which include algebraic numbers such as &amp;lt;math&amp;gt;\sqrt2&amp;lt;/math&amp;gt; that cannot be rewritten as fractions, as well as transcendental numbers such as {{mvar|π}} and {{math|''e''}});&lt;br /&gt;
* &amp;lt;math&amp;gt;\bold C&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathbb C&amp;lt;/math&amp;gt;, the set of all complex numbers: {{math|1='''C''' = {{mset|''a'' + ''bi'' | ''a'', ''b'' ∈ '''R'''}}}}, for example, {{math|1 + 2''i'' ∈ '''C'''}}.&lt;br /&gt;
&lt;br /&gt;
Each of the above sets of numbers has an infinite number of elements. Each is a subset of the sets listed below it. &lt;br /&gt;
&lt;br /&gt;
Sets of positive or negative numbers are sometimes denoted by superscript plus and minus signs, respectively. For example, &amp;lt;math&amp;gt;\mathbf{Q}^+&amp;lt;/math&amp;gt; represents the set of positive rational numbers.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
A ''function'' (or ''mapping'') from a set {{mvar|A}} to a set {{mvar|B}} is a rule that assigns to each &amp;quot;input&amp;quot; element of {{mvar|A}} an &amp;quot;output&amp;quot; that is an element of {{mvar|B}}; more formally, a function is a special kind of relation, one that relates each element of {{mvar|A}} to ''exactly one'' element of {{mvar|B}}. A function is called&lt;br /&gt;
* injective (or one-to-one) if it maps any two different elements of {{mvar|A}} to ''different'' elements of {{mvar|B}},&lt;br /&gt;
* surjective (or onto) if for every element of {{mvar|B}}, there is at least one element of {{mvar|A}} that maps to it, and&lt;br /&gt;
* bijective (or a one-to-one correspondence) if the function is both injective and surjective — in this case, each element of {{mvar|A}} is paired with a unique element of {{mvar|B}}, and each element of {{mvar|B}} is paired with a unique element of {{mvar|A}}, so that there are no unpaired elements.&lt;br /&gt;
An injective function is called an ''injection'', a surjective function is called a ''surjection'', and a bijective function is called a ''bijection'' or ''one-to-one correspondence''.&lt;br /&gt;
&lt;br /&gt;
==Cardinality==&lt;br /&gt;
&lt;br /&gt;
The cardinality of a set {{math|''S''}}, denoted {{math|{{mabs|''S''}}}}, is the number of members of {{math|''S''}}. For example, if {{math|''B'' {{=}} {{mset|blue, white, red}}}}, then {{math|1={{mabs|B}} = 3}}. Repeated members in roster notation are not counted, so {{math|1={{mabs|{{mset|blue, white, red, blue, white}}}} = 3}}, too.&lt;br /&gt;
&lt;br /&gt;
More formally, two sets share the same cardinality if there exists a one-to-one correspondence between them.&lt;br /&gt;
&lt;br /&gt;
The cardinality of the empty set is zero.&lt;br /&gt;
&lt;br /&gt;
===Infinite sets and infinite cardinality===&lt;br /&gt;
The list of elements of some sets is endless, or ''infinite''. For example, the set &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; of natural numbers is infinite. In fact, all the special sets of numbers mentioned in the section above, are infinite. Infinite sets have ''infinite cardinality''. &lt;br /&gt;
&lt;br /&gt;
Some infinite cardinalities are greater than others. Arguably one of the most significant results from set theory is that the set of real numbers has greater cardinality than the set of natural numbers. Sets with cardinality less than or equal to that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''countable sets''; these are either finite sets or ''countably infinite sets'' (sets of the same cardinality as &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt;); some authors use &amp;quot;countable&amp;quot; to mean &amp;quot;countably infinite&amp;quot;. Sets with cardinality strictly greater than that of &amp;lt;math&amp;gt;\N&amp;lt;/math&amp;gt; are called ''uncountable sets''.&lt;br /&gt;
&lt;br /&gt;
However, it can be shown that the cardinality of a straight line (i.e., the number of points on a line) is the same as the cardinality of any segment of that line, of the entire plane, and indeed of any finite-dimensional Euclidean space.&lt;br /&gt;
&lt;br /&gt;
===The Continuum Hypothesis===&lt;br /&gt;
The Continuum Hypothesis, formulated by Georg Cantor in 1878, is the statement that there is no set with cardinality strictly between the cardinality of the natural numbers and the cardinality of a straight line. In 1963, Paul Cohen proved that the Continuum Hypothesis is independent of the axiom system ZFC consisting of Zermelo–Fraenkel set theory with the axiom of choice. (ZFC is the most widely-studied version of axiomatic set theory.)&lt;br /&gt;
&lt;br /&gt;
==Power sets==&lt;br /&gt;
The power set of a set {{math|''S''}} is the set of all subsets of {{math|''S''}}. The empty set and {{math|''S''}} itself are elements of the power set of {{math|''S''}}, because these are both subsets of {{math|''S''}}. For example, the power set of {{math|{{mset|1, 2, 3}}}} is {{math|{{mset|∅, {{mset|1}}, {{mset|2}}, {{mset|3}}, {{mset|1, 2}}, {{mset|1, 3}}, {{mset|2, 3}}, {{mset|1, 2, 3}}}}}}. The power set of a set {{math|''S''}} is commonly written as {{math|''P''(''S'')}} or {{math|2{{sup|''S''}}}}.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} has {{math|''n''}} elements, then {{math|''P''(''S'')}} has {{math|2{{sup|''n''}}}} elements. For example, {{math|{{mset|1, 2, 3}}}} has three elements, and its power set has {{math|2{{sup|3}} {{=}} 8}} elements, as shown above.&lt;br /&gt;
&lt;br /&gt;
If {{math|''S''}} is infinite (whether countable or uncountable), then {{math|''P''(''S'')}} is uncountable. Moreover, the power set is always strictly &amp;quot;bigger&amp;quot; than the original set, in the sense that any attempt to pair up the elements of {{math|''S''}} with the elements of {{math|''P''(''S'')}} will leave some elements of {{math|''P''(''S'')}} unpaired. (There is never a bijection from {{math|''S''}} onto {{math|''P''(''S'')}}.)&lt;br /&gt;
&lt;br /&gt;
==Partitions==&lt;br /&gt;
&lt;br /&gt;
A partition of a set ''S'' is a set of nonempty subsets of ''S'', such that every element ''x'' in ''S'' is in exactly one of these subsets. That is, the subsets are pairwise disjoint (meaning any two sets of the partition contain no element in common), and the union of all the subsets of the partition is ''S''.&lt;br /&gt;
&lt;br /&gt;
== Basic operations ==&lt;br /&gt;
&lt;br /&gt;
There are several fundamental operations for constructing new sets from given sets.&lt;br /&gt;
&lt;br /&gt;
=== Unions ===&lt;br /&gt;
[[File:Venn0111.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''union''' of {{math|''A''}} and {{math|''B''}}, denoted {{math|''A'' ∪ ''B''}}&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can be joined: the ''union'' of {{math|''A''}} and {{math|''B''}}, denoted by {{math|''A'' ∪ ''B''}}, is the set of all things that are members of ''A'' or of ''B'' or of both.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {{math|1={1, 2} ∪ {1, 2} = {1, 2}.}}&lt;br /&gt;
* {{math|1={1, 2} ∪ {2, 3} = {1, 2, 3}.}}&lt;br /&gt;
* {{math|1={1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}.}}&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of unions:'''&lt;br /&gt;
* {{math|1=''A'' ∪ ''B'' = ''B'' ∪ ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ (''B'' ∪ ''C'') = (''A'' ∪ ''B'') ∪ ''C''.}}&lt;br /&gt;
* {{math|1=''A'' ⊆ (''A'' ∪ ''B'').}}&lt;br /&gt;
* {{math|1=''A'' ∪ ''A'' = ''A''.}}&lt;br /&gt;
* {{math|1=''A'' ∪ ∅ = ''A''.}}&lt;br /&gt;
* {{math|''A'' ⊆ ''B''}} if and only if {{math|1=''A'' ∪ ''B'' = ''B''.}}&lt;br /&gt;
&lt;br /&gt;
=== Intersections ===&lt;br /&gt;
A new set can also be constructed by determining which members two sets have &amp;quot;in common&amp;quot;. The ''intersection'' of ''A'' and ''B'', denoted by ''A'' ∩ ''B'', is the set of all things that are members of both ''A'' and ''B''. If ''A'' ∩ ''B'' = ∅, then ''A'' and ''B'' are said to be ''disjoint''.&lt;br /&gt;
[[File:Venn0001.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''intersection''' of ''A'' and ''B'', denoted ''A'' ∩ ''B''.&amp;lt;/div&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} ∩ {1, 2} = {1, 2}.&lt;br /&gt;
* {1, 2} ∩ {2, 3} = {2}.&lt;br /&gt;
* {1, 2} ∩ {3, 4} = ∅.&lt;br /&gt;
&lt;br /&gt;
'''Some basic properties of intersections:'''&lt;br /&gt;
* ''A'' ∩ ''B'' = ''B'' ∩ ''A''.&lt;br /&gt;
* ''A'' ∩ (''B'' ∩ ''C'') = (''A'' ∩ ''B'') ∩ ''C''.&lt;br /&gt;
* ''A'' ∩ ''B'' ⊆ ''A''.&lt;br /&gt;
* ''A'' ∩ ''A'' = ''A''.&lt;br /&gt;
* ''A'' ∩ ∅ = ∅.&lt;br /&gt;
* ''A'' ⊆ ''B'' if and only if ''A'' ∩ ''B'' = ''A''.&lt;br /&gt;
&lt;br /&gt;
=== Complements ===&lt;br /&gt;
[[File:Venn0100.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''relative complement'''&amp;lt;br /&amp;gt;of ''B'' in ''A''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn1010.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''complement''' of ''A'' in ''U''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
[[File:Venn0110.svg|thumb|&amp;lt;div class=&amp;quot;center&amp;quot;&amp;gt;The '''symmetric difference''' of ''A'' and ''B''&amp;lt;/div&amp;gt;]]&lt;br /&gt;
Two sets can also be &amp;quot;subtracted&amp;quot;. The ''relative complement'' of ''B'' in ''A'' (also called the ''set-theoretic difference'' of ''A'' and ''B''), denoted by ''A'' \ ''B'' (or ''A'' − ''B''), is the set of all elements that are members of ''A,'' but not members of ''B''. It is valid to &amp;quot;subtract&amp;quot; members of a set that are not in the set, such as removing the element ''green'' from the set {1, 2, 3}; doing so will not affect the elements in the set.&lt;br /&gt;
&lt;br /&gt;
In certain settings, all sets under discussion are considered to be subsets of a given universal set ''U''. In such cases, ''U'' \ ''A'' is called the ''absolute complement'' or simply ''complement'' of ''A'', and is denoted by ''A''′ or A&amp;lt;sup&amp;gt;c&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* ''A''′ = ''U'' \ ''A''&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} \ {1, 2} = ∅.&lt;br /&gt;
* {1, 2, 3, 4} \ {1, 3} = {2, 4}.&lt;br /&gt;
* If ''U'' is the set of integers, ''E'' is the set of even integers, and ''O'' is the set of odd integers, then ''U'' \ ''E'' = ''E''′ = ''O''.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of complements include the following:&lt;br /&gt;
* ''A'' \ ''B'' ≠ ''B'' \ ''A'' for ''A'' ≠ ''B''.&lt;br /&gt;
* ''A'' ∪ ''A''′ = ''U''.&lt;br /&gt;
* ''A'' ∩ ''A''′ = ∅.&lt;br /&gt;
* (''A''′)′ = ''A''.&lt;br /&gt;
* ∅ \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ∅ = ''A''.&lt;br /&gt;
* ''A'' \ ''A'' = ∅.&lt;br /&gt;
* ''A'' \ ''U'' = ∅.&lt;br /&gt;
* ''A'' \ ''A''′ = ''A'' and ''A''′ \ ''A'' = ''A''′.&lt;br /&gt;
* ''U''′ = ∅ and ∅′ = ''U''.&lt;br /&gt;
* ''A'' \ ''B'' = ''A'' ∩ ''B''′.&lt;br /&gt;
* if ''A'' ⊆ ''B'' then ''A'' \ ''B'' = ∅.&lt;br /&gt;
&lt;br /&gt;
An extension of the complement is the symmetric difference, defined for sets ''A'', ''B'' as&lt;br /&gt;
:&amp;lt;math&amp;gt;A\,\Delta\,B = (A \setminus B) \cup (B \setminus A).&amp;lt;/math&amp;gt;&lt;br /&gt;
For example, the symmetric difference of {7, 8, 9, 10} and {9, 10, 11, 12} is the set {7, 8, 11, 12}. The power set of any set becomes a Boolean ring with symmetric difference as the addition of the ring (with the empty set as neutral element) and intersection as the multiplication of the ring.&lt;br /&gt;
&lt;br /&gt;
=== Cartesian product ===&lt;br /&gt;
A new set can be constructed by associating every element of one set with every element of another set. The ''Cartesian product'' of two sets ''A'' and ''B'', denoted by ''A'' × ''B,'' is the set of all ordered pairs (''a'', ''b'') such that ''a'' is a member of ''A'' and ''b'' is a member of ''B''.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* {1, 2} × {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green)}.&lt;br /&gt;
* {1, 2} × {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.&lt;br /&gt;
* {a, b, c} × {d, e, f} = {(a, d), (a, e), (a, f), (b, d), (b, e), (b, f), (c, d), (c, e), (c, f)}.&lt;br /&gt;
&lt;br /&gt;
Some basic properties of Cartesian products:&lt;br /&gt;
* ''A'' × ∅ = ∅.&lt;br /&gt;
* ''A'' × (''B'' ∪ ''C'') = (''A'' × ''B'') ∪ (''A'' × ''C'').&lt;br /&gt;
* (''A'' ∪ ''B'') × ''C'' = (''A'' × ''C'') ∪ (''B'' × ''C'').&lt;br /&gt;
Let ''A'' and ''B'' be finite sets; then the cardinality of the Cartesian product is the product of the cardinalities:&lt;br /&gt;
* |''A'' × ''B''| = |''B'' × ''A''| = |''A''| × |''B''|.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
Sets are ubiquitous in modern mathematics. For example, structures in abstract algebra, such as groups, fields and rings, are sets closed under one or more operations.&lt;br /&gt;
&lt;br /&gt;
One of the main applications of naive set theory is in the construction of relations. A relation from a domain {{math|''A''}} to a codomain {{math|''B''}} is a subset of the Cartesian product {{math|''A'' × ''B''}}. For example, considering the set ''S'' = {rock, paper, scissors} of shapes in the game of the same name, the relation &amp;quot;beats&amp;quot; from {{math|''S''}} to {{math|''S''}} is the set ''B'' = {(scissors,paper), (paper,rock), (rock,scissors)}; thus {{math|''x''}} beats {{math|''y''}} in the game if the pair {{math|(''x'',''y'')}} is a member of {{math|''B''}}. Another example is the set {{math|''F''}} of all pairs (''x'', ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), where {{math|''x''}} is real. This relation is a subset of {{math|'''R''' × '''R'''}}, because the set of all squares is subset of the set of all real numbers. Since for every {{math|''x''}} in {{math|'''R'''}}, one and only one pair {{math|(''x'',...)}} is found in {{math|''F''}}, it is called a function. In functional notation, this relation can be written as ''F''(''x'') = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Principle of inclusion and exclusion==&lt;br /&gt;
[[Image:A union B.svg|thumb|The inclusion-exclusion principle is used to calculate the size of the union of sets: the size of the union is the size of the two sets, minus the size of their intersection.]]&lt;br /&gt;
&lt;br /&gt;
The inclusion–exclusion principle is a counting technique that can be used to count the number of elements in a union of two sets—if the size of each set and the size of their intersection are known. It can be expressed symbolically as&lt;br /&gt;
:&amp;lt;math&amp;gt; |A \cup B| = |A| + |B| - |A \cap B|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A more general form of the principle can be used to find the cardinality of any finite union of sets:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left|A_{1}\cup A_{2}\cup A_{3}\cup\ldots\cup A_{n}\right|=&amp;amp; \left(\left|A_{1}\right|+\left|A_{2}\right|+\left|A_{3}\right|+\ldots\left|A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} - \left(\left|A_{1}\cap A_{2}\right|+\left|A_{1}\cap A_{3}\right|+\ldots\left|A_{n-1}\cap A_{n}\right|\right) \\&lt;br /&gt;
&amp;amp;{} + \ldots \\&lt;br /&gt;
&amp;amp;{} + \left(-1\right)^{n-1}\left(\left|A_{1}\cap A_{2}\cap A_{3}\cap\ldots\cap A_{n}\right|\right).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== De Morgan's laws ==&lt;br /&gt;
Augustus De Morgan stated two laws about sets.&lt;br /&gt;
&lt;br /&gt;
If {{mvar|A}} and {{mvar|B}} are any two sets then,&lt;br /&gt;
* '''(''A'' ∪ ''B'')′ = ''A''′ ∩ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} union {{mvar|B}} equals the complement of {{mvar|A}} intersected with the complement of {{mvar|B}}.&lt;br /&gt;
* '''(''A'' ∩ ''B'')′ = ''A''′ ∪ ''B''′'''&lt;br /&gt;
The complement of {{mvar|A}} intersected with {{mvar|B}} is equal to the complement of {{mvar|A}} union to the complement of {{mvar|B}}.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://link-springer-com.libweb.lib.utsa.edu/content/pdf/10.1007%2F978-1-4419-7127-2.pdf Course Textbook], pages 93-100&lt;br /&gt;
&lt;br /&gt;
== Licensing == &lt;br /&gt;
Content obtained and/or adapted from:&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Set_(mathematics) Set (mathematics), Wikipedia] under a CC BY-SA license&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>