Step 1 :The sample space for rolling two dice is all the possible outcomes of rolling two dice. Each die has 6 faces, so there are \(6 \times 6 = 36\) possible outcomes.
Step 2 :To find the probability of getting a sum of 8, we need to find all the outcomes that sum to 8 and divide by the total number of outcomes.
Step 3 :The pairs that sum to 8 are (2,6), (3,5), (4,4), (5,3), and (6,2). So there are 5 outcomes that sum to 8.
Step 4 :Therefore, the probability of getting a sum of 8 is \(\frac{5}{36}\).
Step 5 :Final Answer: The probability of getting a sum of 8 when rolling two dice is \(\boxed{\frac{5}{36}}\).