universal2013 said:
Let me clarify my question in this way, when i use a coordinate transformation lastly i put it in this way x' = xcos(theta) - tsin(theta) and also for t' = tcos(theta) - xsin(theta)
but in the beginning of this equation i could not see how the light has the same velocity in every inertial referance frame unless i used the proper way of interpreting x' = xcosh(theta) - tsinh(theta) and also for t' = tcosh(theta) - xsinh(theta) then i got the equation in this form x'^2 - t'^2 = x^2 - t^2
Thanks for your answers !
Your observation that the first coordinate transformation with cos and sin doesn't lead to a constant velocity of light, while the second coordinate transformation with cosh and sinh does is essentially correct, though you've skipped over all the details of how you write down and perform the necessary coordinate transformation.
There is a sudden leap here where you are talking about coordinates, then you are talking about light. But you never talk in detail about the equations that govern the propagation of light.
If you write down the equations that govern the propagation of light , you can discuss how the equations transform when you change the coordinates. And you can show that under the second coordinate transformation, the equations remain the same.
It is a lot to write down all the equations, I suggest approaching it from the point of view of writing down the wave equation in one set of coordinates
i.e. in the Lorenz gauge in a vacuum with ##\rho = J = 0## you can write down the solution to Maxwell's equations in terms of the potentials as
$$\left(-\frac{\partial ^2}{\partial x^2} + \frac{1}{c^2} \frac{\partial ^2}{\partial t^2} \right) \varphi = 0$$
$$\left(-\frac{\partial ^2}{\partial x^2} + \frac{1}{c^2} \frac{\partial ^2}{\partial t^2} \right) A= 0$$
see
https://en.wikipedia.org/w/index.php?title=Maxwell's_equations&oldid=879554402
Then you can concentrate on how the wave equation
$$-\frac{\partial ^2}{\partial x^2} + \frac{1}{c^2} \frac{\partial ^2}{\partial t^2} $$
transforms under a change of variables. It's just a mathematical fact that the wave equation is invariant under the second transformation you write with cosh and sinh, and not the first you write with cos and sin.
Perhaps you still need to know how one goes about doing the change of variables to change coordinates? It's basically done via the chain rule.