If a vector ^i+x^j is rotated through an angle θ and its magnitude is doubled, then it becomes ^i+4x^j. The value of x may be