Math-MateSchool maths, made clearer

Search the complete textbook

Find a Math-Mate lesson

Type at least two letters to search 240+ lessons.

Topic 52 · lesson 5 of 5

Evaluating The Final Output

Clear explanations and worked examples from the Math-Mate school maths textbook.

Free lessonNo sign-upPrint friendly

Evaluating the Final Output

Often a question will say whether each input is true or false and then ask you to evaluate the overall output and come up with a single true or false answer.  In this case, let’s try evaluating the answer for:

                                               x = true, y = false, z = true

The brackets work the normal way – you start from the expression inside the innermost brackets and work your way outwards.  The Mathematical diagram one becomes Mathematical diagram, which we know is falseMathematical diagram.

The Mathematical diagram expression becomes Mathematical diagram.  This is an OR statement, so if any of the statements are true, then the whole thing is true.  In this case we’ve got two true statements in it, so the whole thing becomes true – Mathematical diagram.

The Mathematical diagram is an AND statement.  This means that all the statements have to be true for the whole thing to be true.  Otherwise the whole thing is false.  In this case, we’ve got Mathematical diagram – all the elements are true.  So the whole thing is going to be true – Mathematical diagram.  So we can simplify it a bit down to this:

                                             Mathematical diagram

Now there are only a couple more steps.  First simplify the bit inside the left brackets.  We’ve got Mathematical diagram.  Since there are no brackets around this, we can do it in any order, I’m going to do it from left to right.  So first the Mathematical diagram bit – this is an AND connector, so the outcome is false.  So we get:

                                                 Mathematical diagram

Now we deal with the second AND statement – the outcome of this is false as well:

                                                      Mathematical diagram

So that’s simplified the left square brackets down to a single ‘false’.  We’ve got one last step:

                                                       Mathematical diagram

This is an OR statement, so we only need one of the statements to be true for the whole thing to be true.  So the overall answer is ‘true’:

                                                 Mathematical diagram

Here’s a summary of how it went down:

                           Mathematical diagram