The component of a vector \(\vec{r}\) along the X-axis will have maximum value if:

1. \(\vec{r}\) is along the positive Y-axis.
2. \(\vec{r}\) is along the positive X-axis.
3. \(\vec{r}\) makes an angle of \(45^\circ\) with the X-axis.
4. \(\vec{r}\) is along the negative Y-axis.