The mass of impure [tex]MgCO_{3}[/tex] is 20.7167 g. The decomposition reaction is as follows:
[tex]MgCO_{3}(s)\rightarrow MgO(s)+CO_{2}(g)[/tex]
Here, 1 mole of [tex]MgCO_{3}[/tex] gives 1 mole of MgO.
Molar mass of [tex]MgCO_{3}[/tex] and MgO is 84.31 g/mol and 40.3044 g/mol respectively.
Converting number of moles in terms of mass,
[tex]n=\frac{m}{M}[/tex]
Here, M is molar mass.
Since, [tex]n_{MgCO_{3}}=n_{MgO}[/tex]
Thus, [tex]\frac{m_{MgCO_{3}}}{M_{MgCO_{3}}}=\frac{m_{MgO}}{M_{MgO}}[/tex]
On putting the values,
[tex]\frac{m_{MgCO_{3}}}{84.31}=\frac{m_{MgO}}{40.3044}[/tex]
Rearranging,
[tex]m_{MgO}=\frac{m_{MgCO_{3}}}{84.31}\times 40.3044[/tex]
Or,
[tex]m_{MgCO_{3}}=\frac{m_{MgO}}{0.4780}[/tex]...... (1)
Let the mass of impurity be [tex]M_{I}[/tex] and mass of impure [tex]MgCO_{3}[/tex] is 20.7167 g thus,
[tex]M_{MgCO_{3}}=(20.7167-M_{I})g[/tex]...... (2)
Also, mass of impure MgO is 16.8817 g thus,
[tex]M_{MgO}=(16.8817-M_{I})g[/tex]...... (3)
On comparing equations (2) and (3),
[tex]M_{MgO}=M_{MgCO_{3}}-3.835[/tex]
Putting the value of [tex]M_{MgO}[/tex] in equation (1),
[tex]m_{MgCO_{3}}=\frac{M_{MgCO_{3}}-3.835}{0.4780}[/tex]
Or,
[tex]0.4780 M_{MgCO_{3}}=M_{MgCO_{3}}-3.835[/tex]
Or,
[tex]M_{MgCO_{3}}-0.4780M_{MgCO_{3}}=3.835[/tex]
Or,
[tex]0.522 M_{MgCO_{3}}=3.835[/tex]
Or,
[tex]M_{MgCO_{3}}=\frac{3.835}{0.522}=7.35 g[/tex]
Thus, magnesium carbonate present in the original sample is 7.35 g.