Answer:
[tex]x=\frac{1}{2}[/tex]
Step-by-step explanation:
If y varies inversely as x , then;
[tex]y=\frac{k}{x}[/tex]
where k is the constant of variation;
When x=1, y=2,
[tex]2=\frac{k}{1}[/tex]
This implies that;
k=2
The variation equation is
[tex]y=\frac{2}{x}[/tex]
When y=4,
[tex]4=\frac{2}{x}[/tex]
[tex]x=\frac{2}{4}[/tex]
[tex]x=\frac{1}{2}[/tex]