Convert Prod of Sums to Sum of Prod

  • Thread starter Thread starter kukumaluboy
  • Start date Start date
  • Tags Tags
    Convert Sum Sums
Click For Summary

Discussion Overview

The discussion centers around converting a logical expression from a product of sums (POS) to a sum of products (SOP). Participants explore various methods for simplifying the expression, including algebraic manipulation and the use of Karnaugh maps (K-maps). The focus is on theoretical approaches and mathematical reasoning.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a step-by-step algebraic manipulation of the expression, applying De Morgan's laws and various simplification techniques.
  • Another participant suggests an alternative method using K-maps, arguing it is more efficient for complex expressions and provides a different perspective on obtaining the SOP form.
  • There is mention of specific algebraic identities and laws, such as the Inverse Law and Absorption Variant, used in the simplification process.
  • A later reply emphasizes the importance of complementing the maxterms to identify positions of zeros in the K-map, which can aid in minimizing the expression.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for converting the expression, with differing opinions on the effectiveness of algebraic manipulation versus K-map usage. The discussion remains unresolved regarding which approach is superior.

Contextual Notes

Some steps in the algebraic manipulation are not fully resolved, and the dependence on specific laws and identities may vary based on interpretation. The discussion also highlights the potential complexity of the expression, which may affect the choice of method.

kukumaluboy
Messages
61
Reaction score
1
Question: Convert to Sum of Products

(p+q’+r+s’). (p’+q+r+s’). (p’+q’+r+s’)

= ((p+q’+r+s’)’ + (p’+q+r+s’)’ + (p’+q’+r+s’)’)’

(Demorgans each Sum-Term)

= ((p’.q.r’.s) + (p.q’.r’.s) + (p.q.r’.s))’ (Factor p.r’.s)

= ((p’.q.r’.s) + (p.r’.s).(q’ + q))’ (Inverse Law)

= ((p’.q.r’.s) + (p.r’.s))’ (Factor r’.s)

= ((r’.s).(p’.q + p))’ (absorption Variant)

= ((r’.s). (q + p))’ (Distributive Law)

= (q.r’.s + p.r’.s)’ (Demorgans outer expression)

= ((q.r’.s)’. (p.r’.s)’) (Demorgans inner expression)

= .(q’+r+s’) . (p’+r+s’)

Still not in SOP
 
Physics news on Phys.org
There are many ways to solve this.
The BASIC WAY is to simplify the expression. Let's name the Expression F
F = (p+q’+r+s’). (p’+q+r+s’). (p’+q’+r+s’)
F = (p + q')(p'+q)(p'+q') + (r+s') ---By factoring out (r+s')
F = (pp' + pq + p'q' + qq')(p'+q') + (r+s') ---Multiplying (p + q')(p'+q)
(pq+p'q')(p'+q') + (r+s') --- Some terms are canceled pp' = 0, qq' = 0
(pp'q + pqq' + p'q' + p'q') + (r+s') --Multiplying (pq+p'q')(p'+q')
(p'q') + r + s' --- Some terms are canceled pp'q = 0, pqq' = 0 and p'q' + p'q' = p'q'

F = (p'q') + r + s'THE OTHER METHOD
I think the easiest and most efficient way to solve this is to use a K-map especially in really long expressions.
lets name your function F
Computing for complement of F
F' = ((p+q’+r+s’) + (p’+q+r+s’)’ + (p’+q’+r+s’))'= (p'qr's)(pq'r's)(pqr's)
Then plot it on the K-MAP
(SEE BELOW)Then group the remaining ones (1s)
Which will yield:

F = s'+(p'q') + r.

Which is the same as the above expression.
 

Attachments

  • kmap.JPG
    kmap.JPG
    43.4 KB · Views: 499
Last edited:
  • Like
Likes   Reactions: kukumaluboy
Thanks!
 
kukumaluboy said:
Question: Convert to Sum of Products

(p+q’+r+s’). (p’+q+r+s’). (p’+q’+r+s’)

= ((p+q’+r+s’)’ + (p’+q+r+s’)’ + (p’+q’+r+s’)’)’

(Demorgans each Sum-Term)

= ((p’.q.r’.s) + (p.q’.r’.s) + (p.q.r’.s))’ (Factor p.r’.s)

= ((p’.q.r’.s) + (p.r’.s).(q’ + q))’ (Inverse Law)

= ((p’.q.r’.s) + (p.r’.s))’ (Factor r’.s)

= ((r’.s).(p’.q + p))’ (absorption Variant)

= ((r’.s). (q + p))’ (Distributive Law)

= (q.r’.s + p.r’.s)’ (Demorgans outer expression)

= ((q.r’.s)’. (p.r’.s)’) (Demorgans inner expression)

= .(q’+r+s’) . (p’+r+s’)

Still not in SOP
In order to get sum of minterms you should multiply what you have gotten so far, then simplify. Also, you could've done that at the very beginning. What electronicsguy suggested is preferred; when you complement the maxterms given in the original function, you get positions of zeros in your K-table, then minimize the ones as to get sum of minterms.
 

Similar threads

Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
13K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 16 ·
Replies
16
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K