Edit: The original title of this question was "How can I avoid widows and orphans with the geometry package?" However, as egreg pointed out, the geometry package was not the cause of the problem. So, I have corrected the title.
I am writing my dissertation. My university specifies the page margins and absolutely forbids widows and orphans. To avoid the latter, I have set both clubpenalty and widowpenalty to 10000. I am using the geometry package to set the margins. As the following example shows (or, at least, does when I run pdfLaTeX), this can create widows and orphans. I've tried using geometry with various options, such as including or ignoring this or that. How can I keep to the required margins without creating widows and orphans?
\documentclass{article}
\usepackage[lmargin=1.5in,rmargin=1.0in,tmargin=1.0in,bmargin=1in]{geometry}
\usepackage{lipsum}
\widowpenalty = 10000
\clubpenalty = 10000
\begin{document}
\lipsum
This text is boring and repetitive.
This text is boring and repetitive.
This text is boring and repetitive. However, it is easy to see that
\[x^n + y^n = z^n\]
has no solutions for $n \geq 3$. This text is boring and repetitive. This text is boring and repetitive.
This text is boring and repetitive.
This text is boring and repetitive.
\end{document}
