Logic

EXPLORE THIS TOPIC IN the MathWorld Classroom

The formal mathematical study of the methods, structure, and validity of mathematical deduction and proof.

In Hilbert's day, formal logic sought to devise a complete, consistent formulation of mathematics such that propositions could be formally stated and proved using a small number of symbols with well-defined meanings. The difficulty of formal logic was demonstrated in the monumental Principia Mathematica (1925) of Whitehead and Russell's, in which hundreds of pages of symbols were required before the statement 1+1=2 could be deduced.

The foundations of this program were obliterated in the mid 1930s when Gödel unexpectedly proved a result now known as Gödel's second incompleteness theorem. This theorem not only showed Hilbert's goal to be impossible, but also proved to be only the first in a series of deep and counterintuitive statements about rigor and provability in mathematics.

A very simple form of logic is the study of "truth tables" and digital logic circuits in which one or more outputs depend on a combination of circuit elements (AND, OR, NAND, NOR, NOT, XOR, etc.; "gates") and the input values. In such a circuit, values at each point can take on values of only true (1) or false (0). de Morgan's duality law is a useful principle for the analysis and simplification of such circuits.

A generalization of this simple type of logic in which possible values are true, false, and "undecided" is called three-valued logic. A further generalization called fuzzy logic treats "truth" as a continuous quantity ranging from 0 to 1.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.