Tricky fractions

Use this series of fractions to find the value of x.

Problem



Find $x$, where $$\frac{1}{2}-\frac{1}{4}+\frac{1}{8}-\frac{1}{16}+\dots-\frac{1}{1024}=\frac{x}{1024}$$

This problem is adapted from the World Mathematics Championships