RULES of INFERENCE - DISCRETE MATHEMATICS

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 268

  • @Trevtutor
    @Trevtutor  11 місяців тому

    Check out my new course in Propositional Logic: trevtutor.com/p/master-discrete-mathematics-propositional-logic
    It comes with video lectures, text lectures, practice problems, solutions, and a practice final exam!

  • @SirCruxr
    @SirCruxr 6 років тому +414

    0-1000 from the first example to the second example

    • @andremwaura1684
      @andremwaura1684 4 роки тому +25

      i swear......we need more examples...any suggestion videos?

    • @shayorshayorshayor
      @shayorshayorshayor Рік тому +2

      ​@@andremwaura1684 "discrete math examples" on UA-cam

  • @JoseAlvarez-dl3hm
    @JoseAlvarez-dl3hm 4 роки тому +8

    Thank you a lot, you saved me. My college professor has a lot of knowledge but he likes to make the logic course overly complicated and abstract, not teaching anything at all. You have saved my course.

    • @aileenfowler3967
      @aileenfowler3967 2 роки тому

      Same here, we are the ones to find the solution to the dilemmas.

  • @MsCornyDogs
    @MsCornyDogs 2 роки тому +24

    This really solidified things for me. I was confused about this part in class, thank you!

  • @Elantry
    @Elantry 5 років тому +7

    This is golden! Thanks for mentioning the NAMES of the methods, my teacher just calls them "figure 1.11 lemma 12" and so on. So confusing.

  • @tasfiaalam84647
    @tasfiaalam84647 5 років тому +51

    Hi, I am confused about when we can use addition (as in example 2 for step 8). Why do we introduce addition and when do we use it in general?

    • @kaminvdi
      @kaminvdi Рік тому +3

      (To my knowledge) Anyone who may need this in the future: Addition can be used to make a statement bigger. I saw a great example where it's explained like: Jackie likes pancakes (Premise). Use addition to say Jackie likes pancakes OR dirt. It doesn't matter that Jackie doesn't like dirt, because the Jackie likes pancakes is true.
      He is adding NOT L to NOT S so that we can use modus ponens to prove that "R or F".
      NOT S or NOT L --> R or F (this is from line 6/7)
      NOT S or NOT L (Got this from adding NOT L to the end of line 4, NOT S. Doesn't matter if NOT L is true or not. It's an or statement)
      Therefore, R or F must be true.
      Word example:
      if Jackie doesnt like candy or doesnt like pears, then she likes apples or chips.
      Jackie doesnt like candy or doesnt like pears.
      Therefore, jackie likes apples or chips.

    • @ElvisSikapi
      @ElvisSikapi Рік тому

      Would it not be "Jackie likes apples AND chips instead of OR? I dont know if I misunderstood. @@kaminvdi

  • @RJ-sx6ti
    @RJ-sx6ti 5 років тому +142

    I hope this video will help me for our exams tomorrow. Wish me luck guys

    • @Anuramalok
      @Anuramalok 5 років тому +4

      I too have exam of logic tomorrow
      good luck to us

    • @amyfong1992
      @amyfong1992 5 років тому +1

      Jorge Martinez, II I have it this Friday lol

    • @going_dark
      @going_dark 5 років тому

      tommorow

    • @RJ-sx6ti
      @RJ-sx6ti 5 років тому +6

      @@gpakkol6682it turned out well

    • @rolexshadow
      @rolexshadow 4 роки тому

      mine begin in 3 weeks from today

  • @Idan-tc5rt
    @Idan-tc5rt 7 років тому +79

    You're a beast.
    Can you please make a video about turning formulas into DNF or CNF (not necessarily full) without truth tables ?

    • @مانجاه
      @مانجاه 4 роки тому

      u found one yet?

    • @basam1459
      @basam1459 3 роки тому

      ​@@مانجاه he is properly died by now if u want a website that can turn DNF to CNF or CNF TO DNF. massage me

    • @jaividyasagarr7110
      @jaividyasagarr7110 3 роки тому

      @@basam1459 ya send me the link here

  • @TheViceDynasty
    @TheViceDynasty 7 років тому +28

    I'm gonna need you to make the way you wrote "contrapositive" into a font because it looks so satisfying.

    • @addy405
      @addy405 2 місяці тому +1

      contraceptive is a better word :P

  • @craiggray7110
    @craiggray7110 4 місяці тому +1

    Thank you TrevTutor I believe you really do help a lot of people that previously did not have the opportunity to study further due to financial issues or time constraints etc.

  • @ravisharma1499
    @ravisharma1499 4 роки тому +16

    "Yeah, it's not always super straightforward "
    Hey, woah, easy with the big guns.. ouch.
    Really awesome lecture, tho, thanks man..

  • @karthikanair644
    @karthikanair644 6 років тому +34

    You're an amazing teacher!
    With such a soothing voice :)

  • @catherinesalazar2113
    @catherinesalazar2113 3 місяці тому

    TrevTutor saving my DM univerisity module 6 years before it started! THANKS SO MUCH ! It makes so much more sense when explained like this ♥

  • @TheGheezoinky
    @TheGheezoinky 7 років тому +35

    Hi, you're an amazing teacher. Without you my discrete structures course would have been a complete nightmare.
    I have liked, subscribed as well as shared it with my whole Discrete class. :D
    Keep up the good work, sir. :)

  • @haiderbangash99
    @haiderbangash99 2 роки тому +1

    The grate work when you help people forever .
    The grate work sir done its since 4 year people are still using this video.
    🙏🏻😍😇 and have a easy method .

  • @alfredpine430
    @alfredpine430 6 років тому +7

    I LOVE YOU SENSEI 😍😍😍 this is the easiest to understand explanation

  • @djtygre
    @djtygre 3 роки тому +3

    this video is great, really helped me out. loved the hard example at the end and how simple you make it.

  • @HAAH999
    @HAAH999 5 років тому +5

    Could you please provide an additional sheet of Q&A for this video. It was very interesting and would love to have some practice with more examples

  • @benthomas6828
    @benthomas6828 4 роки тому

    Thank god for UA-cam and good people like you. My professor runs through this stuff in about 2 min and then just expects us to know how to do proofs like the last one you did.

  • @Th1sUsernameIsNotTaken
    @Th1sUsernameIsNotTaken 5 років тому +5

    I feel like text books skip the parts that make a lot of rules in math make so much more sense when mentioned by a person. I read all of the rules from mine and was just like "...."
    This made them make more sense by adding a few words the books left out lol.

  • @mohamednaeem9111
    @mohamednaeem9111 2 роки тому +1

    You are the best tutor I have ever seen, Good Work, Thanks indeed and wish you a happy wonderful life!

  • @miarwh
    @miarwh 7 років тому +35

    I didn't understand step 8 where you used 4 and addition, how did you know that you need an addition and why you chose "not S" with "not L"?

    • @Trevtutor
      @Trevtutor  7 років тому +13

      Because I wanted to use Modus Ponens to get to the consequent and finish the proof. The rules never tell us what to do, but they tell us what we can do. We still have to keep in mind where we're trying to go and what we can do to get there when we do these proofs.

    • @johanronkko4494
      @johanronkko4494 7 років тому +7

      Mia Q, if you use the conditional law on step 6 instead of the DeMorgans law, then on step 7 use the DeMorgans and Double Negation, you will get the following result: (S AND L) OR (R AND F). Then you can apply the Disjunctive Syllogysm from step 4 and 7 to get (R AND F). From there you use the Addition Law and get R. This is not the approach TrevTutor used but I thought it might be good to see two examples to grasp the addition.

    • @thegamesurfers9130
      @thegamesurfers9130 7 років тому

      Johan Rönkkö *McCarran

    • @zethesmade
      @zethesmade 6 років тому

      you're right johan ronkko (that's not confusing)

    • @javaexpertsa8947
      @javaexpertsa8947 6 років тому +2

      Johan Rönkkö You made some mistakes. :) From (R AND F), you don't get R with the Addition Law, also there was some other mistakes.

  • @FM-wp8ut
    @FM-wp8ut 6 років тому +1

    You're the best. I almost gave up on this math class. Thanks to you. I am starting to understand the concepts.

  • @erwinleo7337
    @erwinleo7337 Рік тому

    for the last question you can also to this type of process. 1.) 2,3,MTT 2.) 1, result of 1.), MTT. 3.) De Morgans, 4.) Simplification. That's it.

  • @reniersteytler1859
    @reniersteytler1859 Рік тому

    Thanks for much for this. Do you have some material for rules of inference for quantified statements

  • @emerald9054
    @emerald9054 7 років тому +2

    Thank you so much for this video and the whole course! My teacher cannot hope to be as good at teaching as you are.
    Do you think it's possible to do the last problem without the logic laws and only the rules of inference?

    • @Trevtutor
      @Trevtutor  7 років тому

      Yes, but we'd need a few more rules to make it work.

    • @TheGheezoinky
      @TheGheezoinky 7 років тому

      TheTrevTutor Just wanted to jump on the thank you bandwagon!
      Great work man, you have really helped me out in my Discrete Structures course. Thank you so so much :)
      I hope you're profiting off this service in some way or another if that is your ultimate goal.
      Anyways, kudos.

  • @sosihaile6372
    @sosihaile6372 3 роки тому +3

    i used fewer steps in the last exercise: ¬s is true so s ^ L = F which would make ¬R v ¬F also F for premise 1 to be true which means both ¬R and ¬F are False which makes R true. i'm not sure what specific rules would apply for each step though

  • @RogueViking19
    @RogueViking19 6 років тому +5

    amazingly detailed! cleared all my confusions. Thank you so much!

  • @garyhughes1664
    @garyhughes1664 3 роки тому +2

    This was a great introduction and I followed it well up until that second example which had me totally flummoxed, though I can see how you got there. Thx for sharing.

  • @indahprimad
    @indahprimad 3 роки тому +1

    Thank you for your explanation. It is easy to understand.

  • @materialknight
    @materialknight 4 роки тому +5

    Here's another, slightly longer, proof of the second example:
    1. (ㄱR∨ㄱF)→(S∧L) Premise
    2. S → T Premise
    3. ㄱT ∴ R Premise & Conclusion
    4. ㄱS 2,3 MT
    5. S∧L assumption for Indirect Proof (Reductio)
    6. S 5 Simplification
    7. S∧ㄱS 6, 4 Conjunction
    8. ㄱ(S∧L) 5-7 Indirect Proof (Reductio)
    9. ㄱ(ㄱR∨ㄱF) 8,1 MT
    10. ㄱㄱR∧ㄱㄱF 9 DeM
    11. R∧F 10 DN
    12. R 11 Simplification

    • @nielsnielsen1360
      @nielsnielsen1360 Рік тому +4

      I know you posted this a while ago but I want to thank you anyhow. This reply helped me check my own work and also gave a really great example of how to post a clear to read proof inside a youtube comment. I wasn't sure how to communicate what i was writing on my notebook when typing things out and this reply really helped clear things up.

    • @materialknight
      @materialknight Рік тому +1

      @@nielsnielsen1360. I'm glad to read that! :D It's really cool when you receive positive feedback on something you didn't even remember you had written xD; also, I get to see my past comments and feel as if they were mine but from someone else.

    • @dumbcat720
      @dumbcat720 Рік тому +2

      can you help me with my assignment

  • @dariusgiannoli8751
    @dariusgiannoli8751 Рік тому

    DO you have a video for inference rules for quantifiers ?

  • @LilMtn0011
    @LilMtn0011 3 роки тому

    Very nice video with a clear explanation. I'm curious about the app you use for this "whiteboard". Much clearer than what I have.

  • @andremwaura1684
    @andremwaura1684 4 роки тому +1

    this was really helpful.....but could you make an examples video for these rules of inference?

  • @gwoody20
    @gwoody20 2 роки тому

    Finally, it took four separate explanations for me to figure it out. Thanks!

  • @RAHULTMNT100
    @RAHULTMNT100 4 роки тому +1

    thanks. you explained it very well... really gonna help me for tomorrow's test!

  • @yamatanoorochi3149
    @yamatanoorochi3149 4 місяці тому

    what I did was this:
    Modus Tollens like you started
    then I took ~S, and used it to show that (S and L) is wrong
    therefore we have ~(S and L)
    [(~R or ~F) => (S and L)] and ~(S and L)
    therefore ~(~R or ~F)
    therefore R and F
    therefore F
    therefore R

  • @captainfoodman
    @captainfoodman 3 роки тому +1

    For those of u who didn't undertsand line 8,
    he took line 4 "~s" and applied addition law to that. this will get us (~s or~l). then applying this to line 7 we get line 9.

  • @nikkisu3065
    @nikkisu3065 4 роки тому

    would it be a valid step to go from ~ (S^L) --> (R^F) to ~S --> (R^F) & ~L --> (R^F) using ^E/Simplification as the justification? Or is that illegal (and if it's illegal, why?)

  • @enes5345
    @enes5345 3 роки тому

    Thanks, where can i find a video about imply introduction

  • @spamkaze
    @spamkaze 6 років тому +1

    In the second exercise, I used not(s^l) for step 5, allowing me to reach the conclusion in 8 lines instead of 10. If you already have not(s), then you automatically have not(s^l), yes?
    Is there a name for that rule, or is it just the definition of and?

    • @asap397
      @asap397 5 років тому

      not(s^l) isn’t logically equivalent to not(s)
      not(s^l) is logically equivalent to not(s) [or] not(l)
      That’s by DeMorgan’s Laws. That was a good try though definitely insightful

  • @marckhycs319
    @marckhycs319 4 роки тому +3

    Reviewing for the test later. Last minute!

  • @dolokmalau7689
    @dolokmalau7689 2 роки тому

    Hello, in simplification if the premise are ~p ^ ~q, then what is the answer ? is it ~p ? thank you so much.

  • @cryokal
    @cryokal 2 роки тому

    YOU are an absolute friccing legend, thanks for this

  • @davidzima659
    @davidzima659 4 роки тому

    Have a problem with example 2 in step 8. Where are disappeared R^F?. Because additional is when you have one leter P after you get it P or Q.

  • @sampah89
    @sampah89 4 роки тому

    This is the very video if everyone watches and masters the world will be a much better place.

  • @shreyabhattacharya2644
    @shreyabhattacharya2644 4 роки тому +1

    Thanks for making it so easy to understand!

  • @NexGenSlayer
    @NexGenSlayer 5 років тому

    How do you know that its a tautology though unless it says so or if you use a truth table to prove it...

  • @andreigeorgescu277
    @andreigeorgescu277 5 років тому

    At 11:30 , can you please explain the addition step? For addition to work, you must have ~S and ~L alone, but only ~S was alone so where did the ~L come from?
    Thank you.

  • @omarmenjivar1563
    @omarmenjivar1563 2 роки тому

    I greatly appreciate all the you're doing to help teach those who come asking for help.... but DAM. This is still not enough.

  • @addy405
    @addy405 2 місяці тому

    Thanks watching this a few times it starts to make more sense :D

  • @asimpleton135
    @asimpleton135 4 роки тому +1

    For number 5, could you use MTT on 1 and 4 as well to get R and F?

  • @felinomancer
    @felinomancer 4 роки тому

    This is a really great video and I'm glad I watched it; but I feel the premises should be in lower case, since in the last example I thought the F is a premise instead of False.

  • @ravipriya5412
    @ravipriya5412 5 років тому

    Tq sir
    I can understand only rules not problems plz upload more problems....

  • @andrewryabinin7341
    @andrewryabinin7341 5 років тому

    Can we use Simplification Rule in place or we must have a separate premise to use it? For expample:
    (not R or not F) then (S and L), are we able to convert this to (not R or not F) then S?

    • @TheThiaguw
      @TheThiaguw 5 років тому +1

      A premise is needed. When you don't have the premises, you use the simplification because you are treating all the lines of the truth table. When we use rules of inference, we are only interested in one line of the truth table, the line which obey the premises.

  • @timothyryan8753
    @timothyryan8753 2 роки тому

    So are we just assuming every proposition is true when doing these proofs? My book didn’t explain this at all, the video wasn’t entirely clear either but did help. My mind is trying to consider every possible value for each prop and it’s pretty overwhelming and not well explained

  • @danieldey
    @danieldey 4 роки тому +1

    Very helpful, thank you so much.

  • @subhashinibapatla4405
    @subhashinibapatla4405 3 роки тому

    Thank you very much. It help us very much

  • @TH3Willster
    @TH3Willster 6 років тому +1

    Awesome video man, by chance the examples you went over were in my tutorial today and it all makes sense now

  • @hazellorrainedaul5534
    @hazellorrainedaul5534 4 роки тому

    so how about this problem? (p->q)^(pv~r)^(~r->s)^~s->q?

  • @4203-w9j
    @4203-w9j Місяць тому

    broo tysm, i'll def be coming back to this!

  • @spacesuitred3839
    @spacesuitred3839 6 років тому

    (Best of all time )discrete math videos!!! keep going!!!

  • @TekTechET
    @TekTechET 3 роки тому

    Thank you for making this video

  • @Brian-fe2fb
    @Brian-fe2fb 4 місяці тому

    I guess it would be easier to understand inference as the process of elimination of possibilities in truth tables. The way I learn inference is by using truth table.

  • @wesalmaswadeh9488
    @wesalmaswadeh9488 4 роки тому

    The last example
    We can use 1,4,Mtt
    And that give us ~(~r OR ~f)
    Did it work?
    Then use the simplification

  • @fengbeilingwang677
    @fengbeilingwang677 6 років тому

    In the last example, why isn't R and F considered F using Domination Law? I am confused. Thanks for answering!

    • @asap397
      @asap397 5 років тому +1

      Fengbeiling Wang assuming you mean simplification by “Domination Law,” you could conclude F from R ^ F. But that’s not really useful for our problem here since the problem asks us to conclude with R and not F

  • @JuliusMghendiCreations
    @JuliusMghendiCreations 6 років тому

    that was awesome. points well explained and easily understood. Thanks so much. would you kindly help me proove the first absorption law using truth tables. Thanks in advance

  • @vatsalgupta6889
    @vatsalgupta6889 2 роки тому

    Check it is valid or invalid??
    If the two sides of the triangle are equal then opposite angles are not equal .Therefore opposite angles are not equal

  • @II_xD_II
    @II_xD_II 4 роки тому +25

    12:15 did you guys saw he wrote simp

    • @Jjaro7515
      @Jjaro7515 4 роки тому +1

      bruh

    • @II_xD_II
      @II_xD_II 4 роки тому +3

      @@Jjaro7515 i was kinda drunk lol
      not really

  • @spacesuitred3839
    @spacesuitred3839 6 років тому

    in the last example, if we would entail L would we write L as an answer?

  • @c-erastustoe212
    @c-erastustoe212 4 роки тому +1

    simply amazing! Thank you!

  • @OrderOfLemons
    @OrderOfLemons 5 років тому

    @TheTrevTutor
    What would be the process to solve the following:
    1) e V a
    2) e → ¬p
    3) ¬p
    ∴ a

    • @chaos18panic
      @chaos18panic 4 роки тому

      Oh man, it's been a year. But it would probably have been 4. e (2,3 MP) 5. a (1,4 SIMP) or something similar.

  • @danialjaapar9510
    @danialjaapar9510 4 роки тому +2

    Hi @TheTrevTutor, How can from notS in line 4 become (notS or notL) with an addition rules?, i still don't get it :'(

  • @intentionalvideos456
    @intentionalvideos456 5 років тому +1

    Take S implies T and ~s then apply modus tolens then ~T is the result, Is this correct ?

    • @jacobwharton5048
      @jacobwharton5048 5 років тому

      no. Modus Tollens is applied when you have propositions in the form: (S->T)^(~T) which implies (~S) (essentially contrapositive reasoning applied to Modus Ponens). With the propositions you have supplied, I am pretty sure that there is no logical inference that can be made.

  • @infoker8806
    @infoker8806 2 роки тому

    can you use simplification in A v B to get only A?

  • @anmolbansal5010
    @anmolbansal5010 4 роки тому

    Excellent explanation bro!!! Loved it.

  • @jackbond2138
    @jackbond2138 4 роки тому

    towards the end of the last problem couldn't you use MTT again? like not R implies not S, S, therefore R??

  • @titoy3523
    @titoy3523 2 роки тому

    Can I ask about when to use contrapositive to reason?

  • @Shana981219
    @Shana981219 7 років тому

    My lecturer requires only the use of inferences not the laws of logic is there a way to do the last question using laws of logic?

  • @bryanyadao2977
    @bryanyadao2977 6 років тому +2

    Thank you, God bless. 😊

  • @danielchangsp
    @danielchangsp 4 роки тому

    Nice video, thanks alot

  • @bryanlowks6117
    @bryanlowks6117 3 роки тому

    awesome introduction to this topic!

  • @rodmaradrianbaingan2448
    @rodmaradrianbaingan2448 2 роки тому

    [ (pvq)^q›~p] is this disjunctive syllogism?

  • @snotface8
    @snotface8 6 років тому

    Automatic sub.... Thanks man you really came through clutch with this video.

  • @noobsplaysensei3324
    @noobsplaysensei3324 3 роки тому

    Hope this helps me in my exam too

  • @gopikagopu1194
    @gopikagopu1194 5 років тому

    good way of teaching

  • @monisha280
    @monisha280 7 років тому

    If its pvq can we use addition rule and write it as p? Or is it only true for the other way

    • @Trevtutor
      @Trevtutor  7 років тому +1

      Only p -> pvq.
      If you want to do pvq ->p, then you must show p->p and q->p.

  • @masonspruce1447
    @masonspruce1447 4 роки тому

    i don’t understand logic when it comes to proofs. i suck at logical equivalences and rules of inference proofs. I NEED ADVICE!!!!!!

  • @AshleyCifra
    @AshleyCifra 3 роки тому

    hi can someone explain how did the addition part happen in the last example :

  • @youssefmansour5756
    @youssefmansour5756 5 років тому

    Can you make a video doing some experience of this ?

  • @Winner221000
    @Winner221000 4 роки тому

    Just curious - I am teaching a homeschool class and they are 8th graders. We are do intermediate logic now and they are not grasping it well. How young is too young to be working with this stuff?

    • @Trevtutor
      @Trevtutor  4 роки тому

      I don't know if there's an age that I'd recommend. I think it's more about mathematical maturity and experience. Rules of inference might need a lot of real life examples to be understood well, and it also might not be a bad idea to introduce logic puzzles first and then move onto actual mathematical logic.

  • @gauthamkumar1461
    @gauthamkumar1461 6 років тому

    bro am not able to get the problems done . Will practising the laws improve the way i solve problems

  • @godofkings4366
    @godofkings4366 2 роки тому

    thank you very much. got it

  • @arefrufillalshanty4284
    @arefrufillalshanty4284 2 роки тому

    please.. I need help with
    1. p∧q→¬r
    2. p∨¬q
    3. ¬q→p
    ∴¬r
    How can we start to solve it?

  • @mosaicbrokenhearts2886
    @mosaicbrokenhearts2886 Рік тому

    In what year do y'all study this?
    Me in 2nd year cse

  • @jeslieaeronmacawile3376
    @jeslieaeronmacawile3376 4 роки тому

    can you add an variable with negation???

  • @Steve168xyz
    @Steve168xyz 2 роки тому

    u r the best

  • @خالدالابيض-د2ت
    @خالدالابيض-د2ت 4 роки тому +2

    i hope this video will help me for the exam after 2 hours.
    I am hopeless dude

    • @saras2367
      @saras2367 4 роки тому

      How was your exam? 😣
      I can't understand it at all. I'm hopeless, too.

    • @MaxibillianBus
      @MaxibillianBus 4 роки тому

      what is life man

    • @خالدالابيض-د2ت
      @خالدالابيض-د2ت 4 роки тому

      @@saras2367 I dropped the course, hopfully i will take it in another noncorona semester.😂

  • @mritunjay4ever
    @mritunjay4ever 3 роки тому

    Thanks a lot

  • @balramchary5622
    @balramchary5622 5 років тому

    Nice explanation 😊