document.write( "Question 1162634: An analyst estimates that the probability of default on a seven-year AA-rated bond is 0.47, while that on a seven-year A-rated bond is 0.53. The probability that they will both default is 0.45.\r
\n" ); document.write( "\n" ); document.write( "a. What is the probability that at least one of the bonds defaults? (Round your answer to 2 decimal places.)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b. What is the probability that neither the seven-year AA-rated bond nor the seven-year A-rated bond defaults? (Round your answer to 2 decimal places.)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "c. Given that the seven-year AA-rated bond defaults, what is the probability that the seven-year A-rated bond also defaults? (Round your answer to 2 decimal places.)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #854398 by CPhill(2264)\"\" \"About 
You can put this solution on YOUR website!
```python?code_reference&code_event_index=2
\n" ); document.write( "p_aa = 0.47
\n" ); document.write( "p_a = 0.53
\n" ); document.write( "p_both = 0.45\r
\n" ); document.write( "\n" ); document.write( "# a. At least one defaults
\n" ); document.write( "p_at_least_one = p_aa + p_a - p_both\r
\n" ); document.write( "\n" ); document.write( "# b. Neither defaults
\n" ); document.write( "p_neither = 1 - p_at_least_one\r
\n" ); document.write( "\n" ); document.write( "# c. P(A defaults | AA defaults)
\n" ); document.write( "p_a_given_aa = p_both / p_aa\r
\n" ); document.write( "\n" ); document.write( "print(f\"{p_at_least_one=}\")
\n" ); document.write( "print(f\"{p_neither=}\")
\n" ); document.write( "print(f\"{p_a_given_aa=}\")\r
\n" ); document.write( "\n" ); document.write( "```
\n" ); document.write( "```text?code_stdout&code_event_index=2
\n" ); document.write( "p_at_least_one=0.55
\n" ); document.write( "p_neither=0.44999999999999996
\n" ); document.write( "p_a_given_aa=0.9574468085106383\r
\n" ); document.write( "\n" ); document.write( "```
\n" ); document.write( "To find the requested probabilities, we define the following events:
\n" ); document.write( "* $P(AA) = 0.47$: Probability that the seven-year AA-rated bond defaults.
\n" ); document.write( "* $P(A) = 0.53$: Probability that the seven-year A-rated bond defaults.
\n" ); document.write( "* $P(AA \cap A) = 0.45$: Probability that both bonds default.\r
\n" ); document.write( "\n" ); document.write( "### a. Probability that at least one of the bonds defaults
\n" ); document.write( "The probability that at least one bond defaults is represented by the union of the two events, $P(AA \cup A)$. We use the Addition Rule for Probability:
\n" ); document.write( "$$P(AA \cup A) = P(AA) + P(A) - P(AA \cap A)$$
\n" ); document.write( "$$P(AA \cup A) = 0.47 + 0.53 - 0.45$$
\n" ); document.write( "$$P(AA \cup A) = 1.00 - 0.45 = 0.55$$\r
\n" ); document.write( "\n" ); document.write( "**Probability that at least one defaults: 0.55**\r
\n" ); document.write( "\n" ); document.write( "---\r
\n" ); document.write( "\n" ); document.write( "### b. Probability that neither bond defaults
\n" ); document.write( "The event that neither bond defaults is the complement of the event that at least one defaults.
\n" ); document.write( "$$P(\text{neither}) = 1 - P(AA \cup A)$$
\n" ); document.write( "$$P(\text{neither}) = 1 - 0.55 = 0.45$$\r
\n" ); document.write( "\n" ); document.write( "**Probability that neither defaults: 0.45**\r
\n" ); document.write( "\n" ); document.write( "---\r
\n" ); document.write( "\n" ); document.write( "### c. Probability that the A-rated bond defaults given the AA-rated bond defaults
\n" ); document.write( "This is a conditional probability, denoted as $P(A | AA)$. The formula for conditional probability is:
\n" ); document.write( "$$P(A | AA) = \frac{P(A \cap AA)}{P(AA)}$$
\n" ); document.write( "$$P(A | AA) = \frac{0.45}{0.47} \approx 0.9574$$\r
\n" ); document.write( "\n" ); document.write( "Rounding to 2 decimal places:
\n" ); document.write( "**Probability: 0.96**
\n" ); document.write( "
\n" );