conditional statements

conditional statement

  • conditional statement ; if p , then q .

    • p = hypothesis

    • q = conclusion

  • ex .

    • reg. statement ; when i eat breakfast, i am happy .

    • con. statement ; if i eat breakfast , then i am happy .

. ^ hypothesis ^ conclusion

negation

  • negation ; opposite . ( ~ , ~p / ~q )


converse

  • the converse of a statement switches the statement around .

  • if q , then p .

  • ex.

    • if i am happy , then i eat breakfast .


inverse

  • the inverse negates both p and q .

  • if ~p , then ~q

  • ex.

    • if i do not eat breakfast , then i am not happy .


contrapositive

  • the contra-positive is both swapped and negated .

  • if ~q , then ~p .

  • ex.

    • if i am not happy , then i did not eat breakfast .