The component of a vector r→ along X-axis will have maximum value, if
r is along positive Y-axis
r is along positive X-axis
r makes an angle of 450 with the X-axis
r is along negative Y-axis
If the vector r⇀makes an angle θ with positive x-axis. Then magnitude of the component of r⇀
along x-axis is rcosθ .Now when θ = 00, cosθ becomes maximum. So option (2) is right.