maths.free › Discrete Math & Logic › Truth tables

Truth tables

And, or, not, implies, and tautologies.

A truth table lists every combination of truth values for the variables and the value of the whole statement in each case. A statement true in every row is a tautology; one false in every row is a contradiction. Try p implies q and not p or q and compare.

مثال · truth table of p and q

Truth table of p and q

قدم ب قدم

  1. p \wedge q

    2 variable(s) → 4 rows. Fill in every combination.

  2. \

    Contingent: true for some inputs, false for others.

جواب کھوليں
p \wedge q

اب آپ مسئلہ منتخب کريں يا ٹائپ کريں يا خود کريں ہر قدم ، تصوير ، جواب پوشيدہ هے جب تک آپ سوال نہ کريں

آپ کے اپنے کام رکھیں

مفت اکاؤنٹ تمام درسوں پر نوٹ شامل کر تا هے ، آپ نے جو ختم کر يا هے اس کا ريکورڈ ، آپ کے حل کيے گئے مسئلے ایک جگہ پر اور آپ اس صفحے کے بارے ميں سوال کر سکتے هيں تو تيرچر ريتھ ميں خود تمام لوگوں کے ليے کھلا هے ، خواہ آپ داخل هے يا نہيں

رجسٹر لاگ ان

علامتیں

تمام تعريف کے ليے ، تصوير کے ليے اور اس ميں ہر حروف کا مطلب کے ليے کو ئي علامت کو ٹک کريں

کیسے: Truth tables

  1. 2 variable(s) → 4 rows. Fill in every combination.
  2. Contingent: true for some inputs, false for others.

سوالات لوگ پوچھتے ہیں

What makes mathematics "discrete"?

It deals with separate, countable objects (integers, graphs, statements) rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.

How does a proof by induction work?

Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.

What order should I take these lessons in?

Logic and proof first, because every later lesson proves things. Then induction, sets, relations and functions, counting, recurrences, graphs, Boolean algebra and automata, and finally algorithms and complexity, which use nearly everything before them.

Is discrete mathematics the same as the maths of computer science?

Largely. Data structures are graphs and trees, correctness arguments are induction, running times are recurrences and sums, circuits are Boolean algebra, and what a computer can do efficiently is the subject of the last lessons. It is also ordinary mathematics in its own right.

Do I need calculus for this course?

No. School algebra is enough. A little familiarity with limits helps when comparing growth rates, and the lesson on asymptotic analysis explains the one limit fact it uses.

میں زیادہ Discrete Math & Logic