Actually, the shock forms when the airflow starts to slow down again, not when it first goes supersonic. Check out Brian's post in the "I spy" thread that just popped up on the front page again. He's got a good explaination and a cool link with some animations.