In the case of normal shock, flow is assumed to be in a steady state and thickness of shock is very small. It is further assumed that there is no friction or heat loss at the shock (because heat transfer is negligible because it occurs on a relatively small surface). It is customary in this field to denote x as the upstream and y as the downstream condition.
Since the mass flow rate from the two sides of the shock are constant, the mass balance becomes,
As there is no external force applied, momentum is conserved. Which give rises to the equation
Because heat flow is negligible, the process can be treated as adiabatic. So the energy equation will be
From the equation of state for perfect gas,
P=ρRT
As the temperature from both sides of the shock wave is discontinues, the speed of sound is different in these adjoining medium. So it is convenient to define the star mach number that will be independent of the specific mach number. From star condition, the speed of sound at the critical condition can also be a good reference velocity. Speed of sound at that temperature is, 
And additional Mach number which is independent of specific mach number is,
Since energy remains constant across the shock,
dividing mass equation by momentum equation we will get
From above equations, 
it will give rises to
Which is called the prandtl condition in normal shock