3

In Terence Tao's Analysis I (page 321), he says that the statement "$x+3=5$ does not have a definite truth value if $x$ is a free real variable". On the other hand, the statement "let $x=2$" binds the variable $x$. Tao's remarks left me with a few questions:

  1. If $x$ is not a free real variable, can the equation $x+3=5$ be understood to bind the variable $x$? If so, then is the equation $x+3=5$ a statement? What about the equation $x=x+1$, which has no real solutions? Does this bind the variable $x$?
  2. The words "let $x=2$" are said to bind the variable $x$. Is it simply a convention that when we use the word "let", the variable $x$ becomes bound? Can the equation $x=2$ also be used in the case where $x$ is a free real variable, in which case $x=2$ does not have a definite truth value? And when we write "let $x=2$", is this a statement?
  3. The identity $(x+1)^2=x^2+2x+1$ is true for all real values of $x$. In other words, the following proposition is true: $$ \forall x:(x+1)^2=x^2+2x+1 \, . $$ According to Tao, this means that "the statement $(x+1)^2=x^2+2x+1$ ... is true even when $x$ is a free variable". What I find paradoxical about this is that in order to know that $(x+1)^2=x^2+2x+1$ is true if even if $x$ is a free variable, we have to show that $\forall x:(x+1)^2=x^2+2x+1 $, where $x$ becomes bound. In other words, the statement $(x+1)^2=x^2+2x+1$ for any choice of free variable $x$ seems to bind the variable $x$. Is there something I'm missing here?
Joe
  • 19,636
  • I'm not very knowledgeable about free and bound variables, but this question reminds me of how in computer programming "assignment" uses a different syntax (often x = c) than "checking for equality" (often x == c). – Joe Jun 30 '21 at 12:39
  • If $x$ is in the scope of a quantifier, like e.g. $\forall x (x \ge 0)$, then it is bound. If not, like e.g. in $(x \ge 0)$ it is free. – Mauro ALLEGRANZA Jun 30 '21 at 12:45
  • 3: "The identity..." it means that we have an implicit leading universal quantifier: $\forall x [(x+1)^2=x^2+2x+1]$ – Mauro ALLEGRANZA Jun 30 '21 at 12:46
  • Yes, it is a convention: we are assigning to variable $x$ the value $2$. Thus, it is no more a variable at all.
  • – Mauro ALLEGRANZA Jun 30 '21 at 12:46
  • @MauroALLEGRANZA, I (not the OP) probably confused the situation by commenting on a post by someone with the same username. Sorry. The OP is probably more knowledgeable about free and bound variables than I am. – Joe Jun 30 '21 at 12:52
  • @MauroALLEGRANZA: OP here. Thanks for responding. I'm still not sure if the equation $x+3=5$ be understood to bind the variable $x$ though, just as the expression "let $x=2$" does. – Joe Jun 30 '21 at 13:02
  • The formula $\forall x (x+3=5)$ is false while $\exists x (x+3=5)$ is true; thus, when we write the equation, we usually understand to state a "problem": to find the solution (if any) of the equation. – Mauro ALLEGRANZA Jun 30 '21 at 13:05
  • @MauroALLEGRANZA: Is it possible if you explain the answer to my third question? – Joe Jun 30 '21 at 13:57
  • Already answered above: the formula is true for every choice of value for $x$, because the universal quantification is true. See Universal Instantiation $\forall x \varphi \to \varphi[a/x]$ – Mauro ALLEGRANZA Jun 30 '21 at 14:00
  • @MauroALLEGRANZA: Tao says that the statement $(x+1)^2 = x^2 + 2x + 1$ can be considered true even if $x$ is a free variable, and that's what I find confusing. – Joe Jun 30 '21 at 14:02
  • Very few to add... The def of free and bound are related to a formal language with quantifiers and they are clear and simple: in $\forall x [(x+1)^2=x^2+2x+1]$ $x$ is bound while in $(x+1)^2=x^2+2x+1$ $x$ is free. That's all. In current math jargon, we sometimes omit quantifiers because the correct reading is dictated by the context. We have that $(x+1)^2=x^2+2x+1$ is called an identity because it is always true, i.e. it is true for every value assigned to variable $x$. 1/2 – Mauro ALLEGRANZA Jun 30 '21 at 14:10
  • In this sense (this IMO is the meaning of the convoluted discussion by Tao) we have a formula with free variable - and thus without a definite truth value - that in fact "works like" a sentence (i.e. a formula without free variables) because we know that every possible assignment of values to the variable will output the same truth value, i.e. TRUE. 2/2 – Mauro ALLEGRANZA Jun 30 '21 at 14:11
  • @MauroALLEGRANZA: Okay, that clears things up. I have one other question: Tao says that $x = 2 \rightarrow x^2=4$ is a true statement. However, I believe that if we are being formal, then we should write $\forall x : x=2 \rightarrow x^2=4$. Strictly speaking, the assertion that $x=2 \rightarrow x^2=4$ is neither true nor false because $x$ is free, and only statements with no free variables are true or false. Is that correct? – Joe Jun 30 '21 at 15:32
  • See this question: https://math.stackexchange.com/questions/2995394/terminology-for-free-variables . There are 2 very common opposing mechanics to free variables, both used in many logics. – DanielV Jun 30 '21 at 16:46
  • Elementary algebraic formulas such as f(x)=x+1 we learned in middle school is a well formed formula with free variable x, since x may be range over the domain of natural number, or real number or even complex number. So we cannot be sure what value f(x) got evaluated unless we introduce domain and quantifier, say, natural numbers, then x is bound and more importantly we can have truth value for a predicate such as ∀x(f(x)=2) which of course it's false, but ∃x(f(x)=2) is true. – cinch Aug 17 '21 at 22:48