Truth table

Loading…

All tools › Counting and logic

Truth table

A column for every sub-expression, and the normal forms

It runs entirely in this browser tab: what you type is never uploaded, and the arithmetic is exact — nothing here was ever a floating-point number.

Settings

Sub-expressions
A column each, in the order they are worked out
Normal forms
Read straight off the table, which is what they are
Compare against
A second expression, equivalent when the tables agree
Marks
Choices: Letters, Numbers, Words.

How to use it

  1. Paste your text into the box above, or open a file.
  2. Adjust the settings beside it until the result is what you wanted.
  3. Copy the result, or save it as a file. The result updates as you type.

Questions

Is what I type uploaded anywhere?
No. The whole application is carried as WebAssembly and runs on your own device. There is no server to send anything to, and none of these tools makes a network request while it works.
Why does it matter that there is no floating point?
Because these tools show their working. In floating point an elimination produces rows with 0.0000000000000002 where a zero belongs, and every step after it is decided by a tolerance somebody picked. In fractions the zero is a zero: the rank is a count, a determinant of a matrix of thirds is a third, and a matrix times its inverse is exactly the identity.
Can I use it in an exam or for homework?
That is between you and whoever set the work. What these give you is the method as well as the answer, which is usually what is being marked: the rule at each step, the substitution written out, the intermediate matrices, the table of values.
Why does a tool sometimes refuse instead of answering?
Because the honest answer is sometimes that there is none. An integral with no elementary antiderivative, a matrix with no inverse, a bisection over an interval with no sign change, a logarithm of zero: each is a fact rather than a failure, and a plausible number in its place would be worse than the refusal.

Other tools for counting and logic

Set operations
Two pasted lists compared, with the counts in a Venn diagram

All twenty-eight tools