According to Kirchoff's current law, in an electrical circuit, total current entering a node equals the total current exiting the node. It is in accordance with the law of conservation of charge.
Circuit diagram of a Wheatstone bridge is shown in the attached figure.
For zero deflection in the galvanometer, no current should flow through it. This happens when voltage across it is zero.
VP1=VP2............(i)
Now since no current flows through galvanometer,
I1=I3
Using ohm's Law,
VP1−VAR1=VP1−VBR2...........(ii)
Similarly,
I2=I4
VP2−VAR3=VP2−VBR4...........(iii)
Dividing (ii) from (iii), we get:
VP2−VAR3VP1−VAR1=VP2−VBR4VP1−VBR2
Using (i) and rearranging terms we get,
R1R3=R2R4
The above is a necessary and sufficient condition for the galvanometer to show no deflection.