The following is based on section 3.3.2 of Electricity and Magnetism for Mathematicians by Thomas A. Garrity (Cambridge UP, 2015). See also blog post Relative Motion and Waves by Conrad Schiff.
The classical wave equation is consistent with the Galilean transformation in the context of space and time duality. Reflected electromagnetic waves are also consistent with classical physics using the dual Galilean transformation, in which linear location is the independent variable. The dual Galilean transformation for motion in one dimension is: x′ = x; t′ = t − wx = t − x/v, where w = 1/v is the relative pace of the moving observer, which is equivalent to their inverse speed.
Suppose we have two observers, A and B. Let observer B be moving at a constant pace w with respect to A, with A’s and B’s coordinate systems exactly matching up at location x = 0. Think of observer A as at rest, with coordinates x′ for location and t′ for time, and of observer B as moving to the right at pace w, with location coordinate x and time coordinate t. If the two coordinate systems line up at location x = x′ = 0, then the dual Galilean transformations are
x′ = x and t′ = t + wx,
or equivalently,
x = x′ and t = t′ − wx.
Suppose in the reference frame for B we have a wave φ(x, t) satisfying the wave equation
In B’s reference frame, the pace of the wave is k = 1/c. From calculus, this pace k must be equal to the rate of change of t with respect to x, in other words, k = dt/dx. This in turn makes
as will now be seen. Fix a value of φ(x, t) = φ0. Then there is some t0 such that
φ0 = (0, t0).
This means that for all x and t such that t0 = t − wx, then φ0 = φ(x, t). The pace of the wave is the rate this point with φ-coordinate φ0 moves along the t-axis with respect to x. Then
giving us that ∂φ/∂x = −k ∂φ/∂t.
Observer A is looking at the same wave but measures the wave as having pace k + w. We want to see explicitly that under the appropriate change of coordinates this indeed happens, so this is an exercise with the chain rule.
Our wave φ(x, t) can be written as a function of x′ and t′, namely as
φ(x, t) = φ(x′, t′ − wx′).
We want to show that this function satisfies
The key to that will be
and
by the chain rule.
Next, start by showing that
and
Turning to second derivatives, we can similarly show that
and
Since from above ∂φ/∂x = −k ∂φ/∂t, we have
This allows us to show that
which is what we desired.
For a wave that is reflected back (two-way wave) a given distance, the forward and reverse pace (±w) cancel, leaving the wave pace k constant. See here.