[Physics] Why use absolute values in Coulombs law

coulombs-lawelectromagnetism

Coulombs law $F=K_e\frac{|q_1||q_2|}{r^2}$

This gives no indication of the direction of the force should you not have the absolute value in this equation

$(-)*(+)=-$

$(-)*(-)=+$

$(+)*(+)=+$

Thus ignoring the absolute value signs will automatically indicate that if the result is negative the force is attractive and if positive is repulsive

Adding absolute values to the equation leaves the user to figure out the direction manually

Best Answer

Forces are vector quantities and therefore have magnitude (or modulus or length) and direction (with sign).

The expression $$ F=k_e{|q_1q_2|\over r^2}$$ is only the magnitude of the force.

The expression written explicitly in vector notation is $$ \mathbf F_1=k_e\frac{q_1q_2}{{|\mathbf r_{12}|}^2} \mathbf{\hat{r}}_{21}$$ where $ \mathbf{{r}}_{21} $ is the vectorial distance between the charges and $\mathbf{\hat{r}}_{21} =\mathbf{{r}}_{21}/|\mathbf{{r}}_{21}| $.

If the system is only one dimensional, then you can trivially consider the vectorial nature of the force formally by just removing the absolute values to the charges as you suggest.