Results 1 to 3 of 3

Math Help - Amount of truth table lines needed

  1. #1
    Member mybrohshi5's Avatar
    Joined
    Sep 2009
    Posts
    230

    Amount of truth table lines needed

    How many lines will there be in the truth table for a statement containing n letters?


    I know:
    2 letters is 4 lines
    3 letters is 8 lines

    From this i came up with

    For "n" being EVEN --> n^2 is the number of lines
    For "n" being ODD -->  n^2 - 1 is the number of lines

    I then tested it out.

    It holds true for 4 letters (16 lines) but it does not hold true for 5 letters (26 lines).

    Can anyone help me out with this?

    Thank you
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Aug 2006
    Posts
    18,605
    Thanks
    1574
    Awards
    1
    Quote Originally Posted by mybrohshi5 View Post
    How many lines will there be in the truth table for a statement containing n letters?
    This well known. Truth values are binary: two values.
    So the number of lines must be 2^n.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member mybrohshi5's Avatar
    Joined
    Sep 2009
    Posts
    230
    Wow can't believe I didnt notice that haha. Thinking to hard about it i guess. Thank you so much
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. How would I do this truth table?
    Posted in the Discrete Math Forum
    Replies: 5
    Last Post: November 25th 2011, 02:41 AM
  2. If p then Q truth table
    Posted in the Geometry Forum
    Replies: 3
    Last Post: October 7th 2011, 06:02 PM
  3. Truth table
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: March 20th 2010, 05:25 AM
  4. Truth table
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: October 17th 2009, 05:27 PM
  5. Truth Table
    Posted in the Math Topics Forum
    Replies: 3
    Last Post: October 21st 2008, 05:49 PM

/mathhelpforum @mathhelpforum