Question | How To Convert From CNF TO DNF?

  • Context: Undergrad 
  • Thread starter Thread starter gabaygu
  • Start date Start date
  • Tags Tags
    Convert
Click For Summary

Discussion Overview

The discussion centers on the conversion between Conjunctive Normal Form (CNF) and Disjunctive Normal Form (DNF) in Boolean algebra, exploring the application of De Morgan's Laws and the procedures involved in these conversions. Participants express varying levels of understanding and seek clarification on the methods used.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants mention using De Morgan's Laws for conversion between CNF and DNF.
  • One participant questions the effectiveness of De Morgan's Laws in achieving the desired forms, citing examples that lead to negations around the expressions.
  • Another participant suggests that applying De Morgan's Laws requires multiple applications to achieve the correct form.
  • There is a proposal that manually expanding expressions, such as through distribution, may be a necessary procedure for conversion.
  • Participants express uncertainty about the existence of a general procedure for these conversions.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the effectiveness of De Morgan's Laws for converting between CNF and DNF, and the discussion remains unresolved regarding the best procedures to use.

Contextual Notes

There are limitations in the discussion regarding the clarity of definitions for CNF and DNF, as well as the specific steps required for conversion. The reliance on De Morgan's Laws and the distributive law is debated without a definitive resolution.

gabaygu
Messages
2
Reaction score
0
using de' morgan Lows.
thanks!
 
Physics news on Phys.org
Do you know what De Morgan's Laws are?
 
Yes...why?
 
And do you know what conjunctive and disjunctive normal form are? This is fairly straightforward, why don't you post what the definition of everything is and describe where you're stuck
 
Despite this being "fairly straightforward", I don't get it.

Say you have something like (AB)+(CD). If you apply De Morgan's, you get something like ((A'+B')(C'+D'))', no? But now you've got this negation around the whole thing, so it's not in CNF. Conversely, if you start with something like (A+B)(C+D), you end up with ((A'B')+(C'D'))', don't you? But that's not DNF, because there's a negation around it.

Can you really convert from CNF to DNF and visa versa using De Morgan's laws; if so, how do you do it? If not, what procedure should you use?

If I think about it heuristically, I can see that (A+B)(C+D) = AC + AD + BC +BD, but I don't see a general procedure. Is it just that 'multiplying' it out is the manual procedure?
 
luddite said:
Say you have something like (AB)+(CD). If you apply De Morgan's, you get something like ((A'+B')(C'+D'))', no? But now you've got this negation around the whole thing, so it's not in CNF.

You almost got it. But you must apply de Morgan's law twice because
for every Boolean function f we have: f = f ''

So let's say f = (AB)+(CD). Then, f = f '' = [ (AB)+(CD) ]'' = [ (A'+B')(C'+D') ] '
Then, use the distributive law within the [] brackets:
[ (A'+B')(C'+D') ]' = [ A'C' + A'D' + B'C' + B'D' ]' = (A+C) (A+D) (B+C) (B+D)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
16K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K