All 14 questions UPSC has asked on potentials and covariance in the Physics Optional (Paper I, Electromagnetic Waves and Blackbody Radiation) from 1995 to 2025, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Electromagnetic Waves and Blackbody Radiation topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers or the algebra were worked out again independently in code (Python with SymPy) and agree with ours.
- ✓ Derivation checked step by step for “derive” and “show that” questions, every step was checked against the standard result and its assumptions.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2025 · 2c 2025 · 6a 2023 · 7c 2021 · 6a 2013 · 4c 2009 · 5a 2006 · 5c 2006 · 7b 2004 · 7a 2002 · 7b 2001 · 5b 2001 · 7a 1996 · 1b 1995 · 3
Show that the electromagnetic wave equation is invariant under Lorentz transformations.
Solution
Wave equation. Each component of in free space obeys It is enough to show that the operator keeps its form under a Lorentz transformation. (The field components themselves mix under the transformation, but each new component is a combination of old ones, each of which satisfies .)
Lorentz transformation along :
Derivatives. By the chain rule:
Second derivatives.
Subtract. The mixed terms cancel: Since , and , :
So the wave equation has the same form in both frames, and light travels at in every inertial frame. (Under a Galilean transformation the mixed terms do not cancel, so the wave equation is not invariant.)
✓ Derivation checked step by step We checked the chain-rule transformation of the operator symbolically and numerically on a test function.
Consider a long straight wire of length L carrying a current I. Determine the magnetic vector potential at a point P located at distance x from the wire.
Solution
Setup. Put the wire along the -axis from to , and the point P at distance on the perpendicular bisector. Each element is at distance from P.
Vector potential. By the Biot–Savart form for , The integral is , so is parallel to the current.
Long wire (). This grows without limit as , but only the dependence on matters physically. Writing : the familiar field of a long straight wire.
✓ Checked by computer We integrated over the wire symbolically and checked the long-wire limit.
A spherical shell of radius R, carrying a uniform surface charge , is set spinning at angular velocity about its axis. Find the vector potential it produces at point .
Solution
Setup. Put along . The spinning charge gives a surface current Choose the field point in the -plane at angle from the -axis. (The answer is then rotated back to the general direction.)
Integral. With , the standard calculation (Griffiths, Example 5.11) gives The outline: only the component of along survives the integration over the azimuth; the remaining integral over the polar angle is , which equals for and for .
In spherical coordinates ():
Check. Inside, gives a uniform field Outside, the potential is that of a dipole of moment .
✓ Derivation checked step by step We checked the result against , which gives a uniform field inside and a dipole field outside.
In an inertial reference frame there is only a uniform electric field . Find the magnitude of and in the inertial reference frame moving with a constant velocity relative to the frame at an angle to the vector . The velocity of the frame is 0.6 times the velocity of light .
Solution
Transformation of fields. For a frame moving with velocity , split the fields into parts parallel and perpendicular to :
Data. kV/m, , , , so .
Electric field in S′.
Magnetic field in S′. Only the perpendicular part appears:
Check. and , as the invariants require.
✓ Checked by computer We transformed the fields with the general formulas in code and checked the invariants and .
Show that the operator is invariant under Lorentz transformations.
Solution
The operator. Let
Lorentz transformation along : , , , .
First derivatives (chain rule):
Second derivatives. Squaring each,
Result. and the , derivatives are unchanged, so
In four-vector language, is the scalar product of the four-gradient with itself, and so is invariant.
✓ Derivation checked step by step We checked the transformation of the operator by the chain rule and on a test function numerically.
A cylindrical conductor is carrying a current along its axis which is assumed to be in z-direction. The current is uniformly distributed throughout its cross-section. Show that the vector potential associated with the magnetic induction due to the current-carrying cylindrical conductor is independent of z.
Solution
Equation for . In the Coulomb gauge (), for steady currents,
Direction. with for and outside. Each Cartesian component of obeys its own Poisson equation with the matching component of as source. Only is non-zero, so .
Independence of . The current is the same at every (an infinitely long uniform conductor). Shifting the whole system along changes nothing, so cannot depend on . Equivalently, from replacing is undone by shifting the integration variable , which leaves the integral unchanged. So , a function of the distance from the axis only. Then , consistent with the gauge.
Explicit form. In cylindrical coordinates gives up to a constant. Both depend on only. Their curl, , gives inside and outside, as Ampère’s law requires.
✓ Derivation checked step by step We checked the symmetry argument and the explicit solution of .
What do you mean by a gauge transformation? What is its importance? Show that the Lorentz gauge condition is Lorentz invariant. Here and ϕ are the vector and scalar potentials.
Solution
Gauge transformation. The potentials are defined by They are not unique. For any scalar function , the change leaves the fields unchanged:
- , so ;
- .
This is a gauge transformation.
Importance.
- We may choose to make the equations for the potentials as simple as possible (Coulomb gauge for statics, Lorenz gauge for radiation).
- In the Lorenz gauge, and obey uncoupled wave equations with sources and , whose solutions are the retarded potentials.
- Gauge invariance is linked to charge conservation, and in quantum theory it underlies the coupling of charged particles to the field.
The Lorenz condition is Lorentz invariant. In SI units the condition is Form the four-potential and the four-gradient . Then the condition reads The left side is the scalar product of two four-vectors, which has the same value in every inertial frame. So if the condition holds in one frame, it holds in all.
The printed condition, , is the Gaussian-units form, with standing for the scalar potential . The proof is the same in either unit system.
✓ Derivation checked step by step We checked the gauge invariance of and and the invariance of .
Write down the different components of the electromagnetic field tensors and further prove that Maxwell’s equations of electrodynamics are invariant to Lorentz transformations.
Solution
Field tensor. With , metric and , define Using and , its components are where . It is antisymmetric, so it has six independent components: the three of and the three of . Lowering both indices changes the sign of the entries only.
Maxwell’s equations as tensor equations.
- With the four-current : gives ; give .
- The Bianchi identity (automatic from ): The choice gives ; choices with one index 0 give .
Invariance. Under a Lorentz transformation , every index transforms the same way: So if in one frame, then in another frame the same combination is times zero – also zero. The same holds for the Bianchi identity. Equations written as tensor equations keep their form in all inertial frames: Maxwell’s equations are Lorentz covariant. (Charge conservation, , follows from the antisymmetry of .)
✓ Derivation checked step by step We checked the tensor components against and the reduction of the two tensor equations to Maxwell’s four.
What are the vector and scalar potentials? Derive Maxwell’s wave equations in terms of these potentials.
Solution
Potentials. Since , we can write ; is the vector potential. Faraday’s law then gives , so is a gradient: is the scalar potential. These two equations satisfy the two homogeneous Maxwell equations automatically.
The other two equations. Gauss’s law gives The Ampère–Maxwell law, with , gives
Wave equations (Lorenz gauge). Use the gauge freedom to set Then both equations become wave equations with sources: Away from sources, and travel as waves at speed .
✓ Derivation checked step by step We checked the derivation of the two coupled equations and their reduction in the Lorenz gauge.
What are vector and scalar potentials for the electromagnetic field? Are they unique? Explain what are Coulomb’s and Lorentz gauges. Derive the electromagnetic wave equation in Lorentz gauge and show that it is equivalent to Maxwell’s equation.
Solution
Potentials. and . These satisfy and identically.
Not unique. For any , give the same and . So the potentials are fixed only up to such a gauge transformation; we can impose one extra condition.
Coulomb gauge. . Then : is the instantaneous Coulomb potential of the charges. It is convenient in statics and for radiation in source-free regions.
Lorenz gauge. . It treats and alike and is Lorentz invariant.
Wave equations in the Lorenz gauge. Substituting the potentials into Gauss’s law and the Ampère–Maxwell law, and using the Lorenz condition:
Equivalence with Maxwell’s equations. Conversely, start from these two equations plus the Lorenz condition, and define , from the potentials.
- The homogeneous equations hold automatically.
- .
- .
So the wave equations with the Lorenz condition carry exactly the content of Maxwell’s equations. (Consistency also needs , which keeps the Lorenz condition true at all times.)
✓ Derivation checked step by step We checked gauge freedom, both gauge conditions, and that the Lorenz-gauge wave equations give back all four Maxwell equations.
What is gauge transformation? Define coulomb gauge. Derive the equation for vector potential under coulomb gauge.
Solution
Gauge transformation. The fields and are unchanged if for any scalar function . Such a change of potentials is a gauge transformation.
Coulomb gauge. Choose so that (If , solve and use the new .)
Scalar potential. Gauss’s law gives , the Poisson equation, with the instantaneous solution
Vector potential. The Ampère–Maxwell law gives With (since ): For steady currents () this is In a source-free region (, so ) it is the plain wave equation .
✓ Derivation checked step by step We checked the gauge transformation, the Coulomb condition and the resulting equation for .
Define scalar and vector potentials. Recast Maxwell’s equations in terms of these potentials.
Solution
Scalar and vector potentials.
- means is the curl of some field: . is the vector potential.
- Then Faraday’s law says , so for some scalar , the scalar potential: In statics these reduce to the electrostatic potential and the magnetostatic vector potential.
Maxwell’s equations in terms of the potentials.
- – satisfied identically.
- – satisfied identically.
- Gauss’s law becomes
- The Ampère–Maxwell law becomes
So four equations for six field components become two equations for four potential components. In the Lorenz gauge, , they separate into
✓ Derivation checked step by step We checked that the potentials satisfy the two homogeneous equations and give the two inhomogeneous equations stated.
Starting from Biot Savart’s law, find the vector potential at a distance r, from a current carrying wire.
Solution
Setup. Put the wire along the -axis from to , and the point P at distance on the perpendicular bisector. Each element is at distance from P.
Vector potential. By the Biot–Savart form for , The integral is , so is parallel to the current.
Long wire (). This grows without limit as , but only the dependence on matters physically. Writing : the familiar field of a long straight wire.
✓ Checked by computer We integrated over the wire symbolically and checked the long-wire limit.
Starting from maxwell equations obtain differential equations for scalar and vector potentials. Choosing the required gauge obtain identical differential equations for scalar and vector potentials. Solve the equation for scalar potential in a dielectric medium having a source of charge density .
Solution
Equations for the potentials. In a linear medium (, ) write and . Then and give They are coupled.
Choosing the gauge. Use the gauge freedom (, ) to impose the Lorenz condition for the medium: Then the two equations take identical form: with .
Solving for .
- Static case. . The potential of a point charge is , which satisfies . Superposing,
- Time-dependent case. A disturbance at takes time to reach . The Green’s function of the wave operator that respects causality is , . Using it, with .
This is the retarded potential: the charge density is evaluated at the earlier (“retarded”) time . One can check directly that it satisfies the wave equation above. In the same way,
✓ Derivation checked step by step We checked the coupled equations, the Lorenz-gauge reduction in a medium, and the retarded solution for .
More on Electromagnetic Waves and Blackbody Radiation
- All Physics PYQ solutions, topic by topic
- Electromagnetic Waves and Blackbody Radiation topic-wise PYQs (questions only, for practice)
- Physics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Physics booklist
Questions: UPSC Civil Services (Main) Examination, Physics Paper I, 1995–2025. Solutions: Optional Province. Found an error? Tell us.

