Concept:
Rotating a coordinate system about the origin changes the individual directional components of a vector, but its absolute length (magnitude) remains completely invariant.
Step 1: Equating the square of the magnitude across both systems.
In the initial system, components are \( (2p, 1) \):
\[
|\vec{a}|^2 = (2p)^2 + 1^2 = 4p^2 + 1
\]
In the rotated system, components are \( (p+1, 1) \):
\[
|\vec{a}|^2 = (p+1)^2 + 1^2 = p^2 + 2p + 1 + 1 = p^2 + 2p + 2
\]
Step 2: Solving the resulting quadratic equation for \( p \).
Equating both length values:
\[
4p^2 + 1 = p^2 + 2p + 2
\]
Bringing all terms to the left side:
\[
3p^2 - 2p - 1 = 0
\]
Splitting the middle term:
\[
3p^2 - 3p + p - 1 = 0 \implies 3p(p - 1) + 1(p - 1) = 0
\]
\[
(3p + 1)(p - 1) = 0
\]
This gives two possible values for \( p \):
\[
p = 1 \quad \text{or} \quad p = -\frac{1}{3}
\]