Mathematics for Computer Science
- 84Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is one of the main skills developed in the course?
Writing, reading, and evaluating mathematical proofs.
Or swipe the card
84 cards
What is one of the main skills developed in the course?
Writing, reading, and evaluating mathematical proofs.
What is a proof?
A method of ascertaining truth.
What is a mathematical proof?
A verification of a proposition by a chain of logical deductions from a base set of axioms.
What skill is involved in translating an understood argument into a written proof?
Constructing a precise, concise, correct argument that others can read and verify.
What is the recommended distinction between solving problems collaboratively and writing solutions?
Solve collaboratively, but write the final proof independently.
What is the P versus NP fallacy in the context of proof writing?
The mistaken belief that understanding someone else's proof is equivalent to constructing that proof oneself.
Why is reading a proof not sufficient practice for writing proofs?
Reading tests recognition and understanding, whereas writing requires constructing and organizing the argument independently.
What are several nonmathematical methods of determining truth?
Experiments and observation, sampling, legal proceedings, investigation, authority, religion, and inner conviction.
What is a proposition?
A statement that is either true or false.
Are both 'Today is Tuesday' and 'Today is Thursday' propositions when only one is true?
Yes. A proposition may be true or false; falsity does not prevent a statement from being a proposition.
Why is 'p is prime' not a proposition when p is unspecified?
Its truth depends on the value assigned to the variable p.
What is a predicate?
A parameterized statement whose truth depends on one or more variables.
How can a quantified predicate become a proposition?
A quantifier can specify the required truth condition for the variable, such as requiring a predicate to hold for every natural number.
What does 'orall n in oldsymbol{N}' mean?
For every n in the natural numbers.
What convention for the natural numbers is used in the course?
The natural numbers are oldsymbol{N}=\{0,1,2,3,ots\}, so 0 is included.
Why is the proposition 'For every natural number n, n2+n+41 is prime' false?
At n=41, the expression equals 41^2+41+41=41actor 43, which is not prime.
What is a counterexample?
A specific example that violates the claim of a proposition.
Why do checking many examples not prove a statement of the form 'for all n'?
Because infinitely or otherwise many untested cases may still fail.
What is Goldbach's Conjecture?
Every even number greater than 2 is the sum of two prime numbers.
Why is Goldbach's statement called a conjecture rather than a theorem?
Because its truth is not known; it has neither been proved nor disproved.
What is the purpose of Boolean operators?
They combine propositions or predicates into larger propositions or predicates.
What does eg A mean?
It means that proposition A is false.
What is the truth table for eg A?
If A is true, eg A is false; if A is false, eg A is true.
What does A ext{ AND } B mean?
Both A and B must be true.
When is A ext{ AND } B false?
It is false whenever at least one of A or B is false.
What does A ext{ OR } B mean mathematically?
At least one of A or B is true.
When is mathematical OR false?
Only when both A and B are false.
What is the difference between inclusive OR and exclusive OR?
Inclusive OR allows both propositions to be true; exclusive OR requires exactly one to be true.
What does XOR stand for?
Exclusive OR.
How can everyday uses of 'or' differ from mathematical OR?
Everyday language may mean exclusive choice, NAND-like choice, or simply a list of allowable options.
What does NAND mean?
NAND is the negation of AND: it is false only when both inputs are true.
Why should mathematical operators not be interpreted solely through everyday English?
Mathematical words such as 'and,' 'or,' and 'not' have exact definitions that may differ from context-dependent conversational usage.
What does A implies B mean?
It means that whenever A is true, B must also be true.
What are common notations for implication?
They include A implies B, AightarrowB, and the stated double-arrow notation.
When is A implies B false?
Only when A is true and B is false.
When is an implication with a false antecedent considered true?
Both false implies false and false implies true are true.
What does 'On Wednesdays, we wear pink' illustrate about implication?
The rule is violated only when it is Wednesday and pink is not worn.
Does mathematical implication express causality or temporal order?
No. It specifies only the truth-table relationship between two propositions.
How should the propositions A and B be treated when evaluating A implies B?
Treat them as separate propositions, each with its own truth value.
How is implication related to OR and NOT?
A implies B is logically equivalent to B OR NOT A.
What is the converse of A implies B?
B implies A.
What is the inverse of A implies B?
NOT A implies NOT B.
What is the contrapositive of A implies B?
NOT B implies NOT A.
Which statement is logically equivalent to A implies B: its converse, inverse, or contrapositive?
Its contrapositive, NOT B implies NOT A.
What is the relationship between the converse and inverse of an implication?
The converse and inverse are logically equivalent because each is the contrapositive of the other.
What is a set?
A collection of objects.
How are sets usually written?
With curly braces, such as \{6,1,2,0\}.
What role does order play in a set?
Order does not matter.
Can a set contain repeated copies of the same element?
No. Repetition does not create additional elements.
What are the standard number sets discussed?
The natural numbers oldsymbol{N}, integers oldsymbol{Z}, rationals oldsymbol{Q}, reals oldsymbol{R}, and complex numbers oldsymbol{C}.
What is the set of integers?
The natural numbers together with their negatives and zero.
What is the set of rational numbers?
Numbers expressible as a quotient of an integer by a nonzero integer.
What is the empty set?
The set containing no elements.
What is the difference between an element and a subset?
An element is an object in a set; a subset is a set whose every element is also in another set.
What does x")inaninvalidnotation?Needcorrectmathsyntax.Usex in A? LaTex in weird due corruption. Just standard x in Aappearscontrol?Writex \in A$? Need JSON string escaping backslash. We can use
It means that x is an element of A.
What does A⊆B mean?
Every element of A is also an element of B.
Why is the empty set a subset of every set?
It has no element that could violate the requirement that all its elements belong to the other set.
What is the union A∪B?
The set of elements in A, in B, or in both.
What is the intersection A∩B?
The set of elements that are in both A and B.
What is the set difference A∖B?
The set of elements in A that are not elements of B.
If a set is an element inside B, are all of that set's elements automatically elements of B?
No. Being nested inside an element of B does not make an object a direct element of B.
What is set-builder notation?
A notation that describes a set by selecting elements satisfying a predicate.
What does a set-builder expression of the form '{n∈N:P(n)}' describe?
All natural numbers n for which the predicate P(n) is true.
What is a tuple?
An ordered list of elements.
How do tuples differ from sets regarding repetition?
Tuples allow repeated elements; sets do not treat repetitions as additional elements.
How do tuples differ from sets regarding order?
Tuples depend on order; sets do not.
What set operations are generally not applied to tuples?
Union, intersection, and set difference.
What is an axiom?
A proposition assumed to be true for the mathematical system being used.
Why must a proof system begin with axioms?
Some foundational propositions must be accepted as starting points before further conclusions can be deduced.
Are axioms necessarily universally or holistically self-evident?
No. They are assumptions adopted for a particular mathematical system.
What is another word for an axiom used in Euclidean geometry?
Postulate.
What is Euclid's parallel postulate?
For every point p and line l not containing p, there exists a unique line through p parallel to l.
Can Euclid's parallel postulate be proved from Euclid's other four postulates?
No. It is independent of the other four postulates.
What geometry results when the parallel postulate is replaced by the claim that no parallel lines exist?
Spherical geometry.
How are lines and points interpreted in spherical geometry?
A line is a great circle, and a point is treated together with its antipode.
What geometry results when the parallel postulate is replaced by the claim that infinitely many parallels exist?
Hyperbolic geometry.
How can different choices of axioms lead to different geometries?
Changing an axiom changes the assumptions from which conclusions are derived, producing different but potentially meaningful theorems.
When is a set of axioms consistent?
When it is impossible to prove that a false proposition is true.
What is the principle of explosion?
From a contradiction, such as proving that false is true, any proposition can be derived.
When is a set of axioms complete?
When every true proposition can be proved from those axioms.
What does Gödel's Incompleteness Theorem say about consistency and completeness?
A sufficiently powerful system capable of arithmetic cannot be both consistent and complete.
What follows from choosing consistency over completeness?
Some true mathematical statements may be unprovable from the chosen axioms.
What types of facts may be assumed in the course's proof system?
General, familiar, elementary facts commonly included in high-school mathematics.
How should an assumed mathematical fact be used in a proof?
State or identify the fact being assumed, then use it as the justification for the relevant deduction.

Ask anything
We've read this whole study set, so questions about it get the best answers.