Logic and mathematical proof can be studies just like algebra. In fact, much of symbolic logic is just that. A declarative sentence which is true or false, but not both, is called a statement . The following are statements:
is 7.
The sentence
He is a golfer.cannot be judged true or false because we do not know who He is. If the word He is replaced by Bobby Jones forming the sentence
Bobby Jones is a golfer.the sentence becomes a true statement. Similarly, if x in the sentence


The letter x is a variable in the sentence x+1=0. A letter or other
symbol that can represent various elements of a universal set is called a
variable. We can make a sentence a statement by replacing its variables by
elements of the universal set or by attaching phrases such as For every
or There exists to the sentence. For example, 
is not a
statement, but each of the following is a statement:
Replacements for variables of a sentence are always chosen from some universal set. Any replacement which makes a sentence true is called a solution. The set of all solutions is called the solution set of the sentence.