Given a family of schemes $\pi:X \to B$ which is generically smooth how can I find the singular locus $B_{sing}$?

38 Views Asked by At

Consider the weierstrauss family of elliptic curves $$ \text{Spec}\left( \frac{\mathbb{C}[x,y,\lambda]}{(y^2 - x(x-1)(x-\lambda))} \right) \to \mathbb{A}^1_\lambda $$ the singular locus is $\{0,1\}$. In general, if I have a morphism of schemes $$ X \to B $$ that is generically smooth, how can I compute the singular locus $B_{sing}$?