Step 1: Define events.
Let $A$ = ball drawn from Bag A, $B$ = ball drawn from Bag B. Each bag is equally likely $\Rightarrow P(A)=P(B)=\tfrac{1}{2}$.
Step 2: Find probability of Red from each bag.
- From Bag A: $P(R|A)=\tfrac{3}{7}$.
- From Bag B: $P(R|B)=\tfrac{5}{11}$.
Step 3: Total probability of Red.
\[
P(R) = P(A)P(R|A)+P(B)P(R|B) = \tfrac{1}{2}\cdot\tfrac{3}{7}+\tfrac{1}{2}\cdot\tfrac{5}{11}
\]
\[
= \tfrac{3}{14}+\tfrac{5}{22} = \tfrac{33}{154}+\tfrac{35}{154}=\tfrac{68}{154}=\tfrac{34}{77}.
\]
Step 4: Apply Bayes' theorem.
\[
P(B|R)=\frac{P(B)\cdot P(R|B)}{P(R)}=\frac{\tfrac{1}{2}\cdot\tfrac{5}{11}}{\tfrac{34}{77}}
\]
\[
= \frac{5}{22}\cdot\frac{77}{34}=\frac{385}{748}=\tfrac{35}{68}.
\]
Step 5: Conclusion.
Thus, the probability that the Red ball came from Bag $B$ is $\tfrac{35}{68}$.
If A and B are two events such that \( P(A \cap B) = 0.1 \), and \( P(A|B) \) and \( P(B|A) \) are the roots of the equation \( 12x^2 - 7x + 1 = 0 \), then the value of \(\frac{P(A \cup B)}{P(A \cap B)}\)
A quadratic polynomial \( (x - \alpha)(x - \beta) \) over complex numbers is said to be square invariant if \[ (x - \alpha)(x - \beta) = (x - \alpha^2)(x - \beta^2). \] Suppose from the set of all square invariant quadratic polynomials we choose one at random. The probability that the roots of the chosen polynomial are equal is ___________. (rounded off to one decimal place)



