I understand the difference between free and bound variables, but what are free variables actually useful for? Can't you use quantifiers to express everything that you would want to express with both bound and free variables? I am a little frustrated that the ever-present possibility of free variables complicates introducing quantifiers into FOL statements, while I can't find any motivation for the free variables.
Say you have a relation $R$, arity $2$. If you want to express that, for every x and for every y, $R(x,y)$, I guess you would write:
$$\forall_x\forall_yR(x,y)$$
Maybe you could also formulate this as:
$$R(x,y)$$
Since it seems that in order for this to be a valid proposition in FOL, you would have to capture all free variables with a universal quantifier. But this means that formulae with free variables are equivalent to closed formulae where these free variables have been captured by universal quantifiers, if you want to find out the validity of that formula. So what is the purpose of free variables when it comes to proving formulae in FOL?
Consider the informal argument 'Everyone loves pizza. Anyone who loves pizza loves ice-cream. So everyone loves ice-cream.' Why is that valid?
Roughly: Pick someone, whoever you like. Then, s/he loves pizza. And so s/he loves ice-cream. But sh/e was arbitrarily chosen. So everyone loves ice-cream.
This informal argument can be spelt out with plodding laboriousness with explicit commentary like this:
Now consider the formal analogue of this proof (using $F$ for 'loves pizza" etc.)
(UG on $a$ is legimitate as $a$ appears in no assumption on which (5) depends, so can be thought of as indicating an arbitrary representative member of the domain.)
So note, that we need here some symbol playing the role of $a$, not a true constant with a fixed interpretation, not a bound variable, but (as common jargon has it) a parameter which stands in, in some sense, for an arbitrary element of the domaain.
Now, in some syntaxes, variables $x$, $y$ etc. only ever appear bound, as part of quantified sentences. And parameters are typographically quite distinct, $a$ and $b$, etc. This is the usage in Gentzen, for example.
But another tradition (probably more common, but not for that reason to be preferred), we are typographically economical, and re-cycle the same letters as both true variables and as parameters. In other words, we allow the same letters to appear both as "bound" variables and as "free" variables. Then the formal proof will look like this:
This is a superficial difference, however: the role of the free (unbound) variable is as a parameter. And we've seen, even in informal arguments, we use expressions like "s/he" or even "Alice" as parameters. Looked at in that light, there should be no mystery about why we need parameters in a formal logic too. And in one syntax, unbound variables play the role of parameters.