Let the original number of Science students be S and Arts students be A.
Step 1: Analyze the first condition. When 20 students switch from Arts to MatEco, the remaining Arts students are A − 20. The total Science students become 2(A − 20), as the number of Science students is twice the number of Arts students.
S = 2(A − 20)
S = 2A − 40
Step 2: Analyze the second condition. When 45 Science students switch to MatEco, the remaining Science students are S − 45, and the number of Arts students becomes twice the number of Science students.
A − 20 = 2(S − 45)
Substituting S = 2A − 40 into the equation:
A − 20 = 2(2A − 40) − 45)
Simplify:
A − 20 = 2(2A − 85)
A − 20 = 4A − 170
3A = 150 =\(>\) A = 50
Step 3: Calculate S.
S = 2A − 40 = 2(50) − 40 = 60
Step 4: Calculate the number of students taking Economics. Students taking Economics are: - 20 students from Arts who switched to MatEco. - All remaining A − 20 Arts students. - 45 Science students who switched to MatEco.
Total: (A − 20) + 20 + 45 = A + 45 = 50 + 45 = 95
Answer: 95