Logical Sequencing Conditional Statements Conditional Statements l A

  • Slides: 12
Download presentation
Logical Sequencing & Conditional Statements

Logical Sequencing & Conditional Statements

Conditional Statements l A conditional statement is written in the form if p, then

Conditional Statements l A conditional statement is written in the form if p, then q. l If a given condition is met (if p), then another condition is true or an event will happen (then q). l The if-clause is the hypothesis; thenclause is the conclusion.

Conditional Statements Ex 1. ) If you don’t do your homework, then p -

Conditional Statements Ex 1. ) If you don’t do your homework, then p - Hypothesis you will get a zero. q - Conclusion Ex 2) Rewrite the statement in if-then form: 2. ) Every multiple of 4 is also a multiple of 2. If a number is a multiple of 4, then it is a multiple of 2. True or False? True

Logical Order l When given several related conditional statements, you must put them in

Logical Order l When given several related conditional statements, you must put them in logical order. The conclusion of one statement will flow into the hypothesis of the next.

Logical Order – Put the following if-then statements in order l l l A.

Logical Order – Put the following if-then statements in order l l l A. If Cameron graduates with a degree, then he will make a lot of money. B. If Cameron studies hard, then his grades will be good. C. If Cameron makes a lot of money, then he will be able to buy a new car. D. If Cameron attends college, then he will graduate with a degree. E. If Cameron has good grades, then he will be able to attend college. l l l Logical Order: B. If Cameron studies hard, then his grades will be good. E. If Cameron has good grades, then he will be able to attend college. D. If Cameron attends college, then he will graduate with a degree. A. If Cameron graduates with a degree, then he will make a lot of money. C. If Cameron makes a lot of money, then he will be able to buy a new car. l Conclusion: If Cameron studies hard, then he will be able to buy a new car.

Logical Order Ex. 2 – Put the statements in logical order. l l A.

Logical Order Ex. 2 – Put the statements in logical order. l l A. If a shape is a square, then it is a rhombus. B. If a shape is a parallelogram , then it is a quadrilateral. C. If a shape is a quadrilateral, then it is a polygon. D. If a shape is a rhombus, then it is a parallelogram. l l A. If a shape is a square, then it is a rhombus. D. If a shape is a rhombus, then it is a parallelogram. B. If a shape is a parallelogram , then it is a quadrilateral. C. If a shape is a quadrilateral, then it is a polygon. l Conclusion: If a shape is a square, then it is a polygon.

Converse What is the converse? l The converse of a conditional statement is formed

Converse What is the converse? l The converse of a conditional statement is formed by switching the places of the hypothesis and conclusion. l The sentence if p, then q becomes if q, then p. Is the given statement true or false? Write the converse statement for each conditional statement. Is the converse true or false? If the converse is false, come up with a counter example.

Examples: 1. If a quadrilateral is a rectangle, then it is a parallelogram. TRUE

Examples: 1. If a quadrilateral is a rectangle, then it is a parallelogram. TRUE If a quadrilateral is a parallelogram, then it is a rectangle. False Counterexample: It could be a rhombus

Inverse What is the Inverse? l The inverse of a conditional statement is formed

Inverse What is the Inverse? l The inverse of a conditional statement is formed by negating the hypothesis and the conclusion. l The sentence if p, then q becomes l if not p, then not q. Ex: If it is sunny outside, then I will go running. Becomes… If it is not sunny outside, then I will not go running.

Is the given statement true or false? Write the inverse statement for each conditional

Is the given statement true or false? Write the inverse statement for each conditional statement. Is the inverse true or false? If the inverse is false, come up with a counter example. 4. Example: If two lines are perpendicular, then they intersect. TRUE If two lines are not perpendicular, then they don’t intersect. False Counterexample: Two lines that intersect at a 30 degree angle (They are not perpendicular and they still intersect. )

Contrapositive What is a contrapositive Statement l The contrapositive of a conditional statement is

Contrapositive What is a contrapositive Statement l The contrapositive of a conditional statement is formed in two steps. l 1. Form the converse of the statement l 2. Form the inverse of the converse. In other words, the sentence if p, then q becomes if not q, then not p. Is the given statement true or false? Write the contrapositive statement for each conditional statement. Is the contrapositive true or false? If the contrapositive is false, come up with a counter example.

Examples of Contrapositives 7. If a polygon has just four sides, then it is

Examples of Contrapositives 7. If a polygon has just four sides, then it is a quadrilateral. If it is not a quadrilateral, then it is not a polygon with four sides. 8. If 2 angles form a straight line, then their sum is If the sum is not straight line. , then the 2 angles don’t form a .