the third charge has to be of negative charge. Let it be −Q . Let it be placed a t distance x from charge q
Therefore forces on charges q,
14πϵq4qL2=14πϵqQx2
Force on charge Q,
14πϵqQx2=14πϵQ4q(L−x)2
Force on charge 4q,
14πϵq4qL2=14πϵQ4q(L−x)2
Therefore we have ,
14πϵQ4q(L−x)2=14πϵqQx2
⇒4(L−x)2=1x2
⇒4x2=L2+x2−2Lx
⇒x=L/3
Using this value of x in
\frac{1}{4 \pi \epsilon} \frac{q4q}{L^2} =\frac{1}{4 \pi \epsilon} \frac{qQ}{x^2}
we get -Q = -4q/9