document.write( "Question 1200745: A court consists of 3 judges. Two of them, independently of each other, make correct decisions with a probability of p. The third judge agrees with the first two decisions when they match. In case of different opinions of the first two judges, the third judge decides on his own and makes a mistake with a probability of q. What is the probability that the court will not make a mistake if the verdict is decided by a majority vote? ([p, q] = [0.5, 0.43]) \n" ); document.write( "
Algebra.Com's Answer #834954 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 0.535
\n" ); document.write( "This value is exact without any rounding done to it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===================================================================================================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's give the judges code names: {J1,J2,J3}
\n" ); document.write( "We'll have them be presented in the order that was mentioned in the instructions.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "J1 and J2 make their decisions independently of each other.
\n" ); document.write( "The probability they reach a correct decision is p = 0.5 for each of those two judges.
\n" ); document.write( "If {J1,J2} reach the same outcome, then J3 rules the same way.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If {J1,J2} reach differing outcomes, then J3 thinks for her/himself to reach their own decision (making a mistake with probability q=0.43).
\n" ); document.write( "For this situation J3 makes the correct decision with probability 1-q=1-0.43=0.57\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is a way to represent a two-way table of outcomes for the first two judges.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
J2 rightJ2 wrong
J1 right
J1 wrong

\n" ); document.write( "For example, the upper left corner has both J1,J2 give the correct ruling.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is a non-tabular format to represent those four outcomes:
\n" ); document.write( "J1 right, J2 right
\n" ); document.write( "J1 right, J2 wrong
\n" ); document.write( "J1 wrong, J2 right
\n" ); document.write( "J1 wrong, J2 wrong\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's list those four outcomes in a new table.
\n" ); document.write( "We'll have them as the 4 rows. The 2 columns will be the outcomes for J3.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
J3 rightJ3 wrong
J1 right,J2 rightA
J1 right,J2 wrongBC
J1 wrong,J2 rightDE
J1 wrong,J2 wrongF

\n" ); document.write( "I then added letters A through F to represent the various possible scenarios.
\n" ); document.write( "Scenario A is when all three judges make the correct decision.
\n" ); document.write( "The cell next to A is blank because J3 doesn't make the wrong decision when her/his two other colleagues make the correct decision (remember J3 mimics the other two judges if they rule the same way). This also explains why we have a blank cell in the bottom left corner.
\n" ); document.write( "Scenario B is when J1 gets it right, J2 gets it wrong, J3 gets it right.
\n" ); document.write( "Scenario C is when J1 gets it right, J2 gets it wrong, J3 gets it wrong.
\n" ); document.write( "And so on.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The letters A, B, and D correspond to situations where the court gets the correct outcome.
\n" ); document.write( "This is because there are at least 2 judges that get the correct ruling.
\n" ); document.write( "A = all 3 judges get it right
\n" ); document.write( "B = J1 and J3 get it right
\n" ); document.write( "D = J2 and J3 get it right
\n" ); document.write( "All other situations involve at least 2 judges getting the wrong verdict; hence the wrong final outcome.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To find the probability that the court gets the correct decision, we need to calculate the following:
\n" ); document.write( "P(A)
\n" ); document.write( "P(B)
\n" ); document.write( "P(D)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(A) = P(J1 right,J2 right)
\n" ); document.write( "P(A) = P(J1 right)*P(J2 right)
\n" ); document.write( "P(A) = p*p
\n" ); document.write( "P(A) = p^2
\n" ); document.write( "P(A) = 0.5^2
\n" ); document.write( "P(A) = 0.25
\n" ); document.write( "This works because J1,J2 are independent of each other.
\n" ); document.write( "J3 does not alter the outcome here, so we ignore the probability associated with this judge.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(B) = P(J1 right, J2 wrong, J3 right)
\n" ); document.write( "P(B) = P(J1 right)*P(J2 wrong)*P(J3 right)
\n" ); document.write( "P(B) = p*(1-p)*(1-q)
\n" ); document.write( "P(B) = 0.5*(1-0.5)*(1-0.43)
\n" ); document.write( "P(B) = 0.1425\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(D) = P(J1 wrong, J2 right, J3 right)
\n" ); document.write( "P(D) = P(J1 wrong)*P(J2 right)*P(J3 right)
\n" ); document.write( "P(D) = (1-p)*p*(1-q)
\n" ); document.write( "P(D) = (1-0.5)*0.5*(1-0.43)
\n" ); document.write( "P(D) = 0.1425\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Conclusion:
\n" ); document.write( "P(A) = 0.25
\n" ); document.write( "P(B) = 0.1425
\n" ); document.write( "P(D) = 0.1425\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(A)+P(B)+P(D) = 0.25+0.1425+0.1425 = 0.535 represents the probability the court gets the right decision.
\n" ); document.write( "The court gets it right exactly 53.5% of the time.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is around 50%, so it's about as good as a coin toss in my opinion. Those don't seem like good odds.
\n" ); document.write( "
\n" ); document.write( "
\n" );