Question icon
Grade 12th passAlgebra

How many integers between 999 to 9999 either begin or end with 3 ?

Profile image of Anju
8 Years agoGrade 12th pass
Answers icon

1 Answer

Profile image of Arun
8 Years ago
Let A : the set of integers between 999 and 9999 begin with 3
Let B : the set of integers between 999 and 9999 ends with 3
A = 1 * 103 (begin with 3= 9:1, 9:10, 9:10, 9:10)
B = 9 * 10 * 10 * 1 (end with 3= 9:9, 9:10, 9:10, 9:1)
AB = 1 *102 *1 (begin and end with 3 9:1, 9:10, 9:10, 9:1)
AU B = A + B - AB
= 103 + 900 – 100
= 1000 + 900 – 100
= 1800
8