0

I am typing my masters thesis in LaTeX and I am unable to write the code of this product which breaks into three different values

So, Sum $S$ breaks into
enter image description here

I know the code of $n$ Choose $k$ and $\alpha$ but I don't know how to type the code of a function that breaks into 3 parts.

Can you please help me with this?

Thank you.

0

1 Answer 1

1

Use the cases environment.

\begin{equation}
    \begin{cases}
        \binom{n}{k}\binom{D(\alpha-k)+n}{n} & \text{if } \alpha-k\geq0 \\
        0 & \text{if } \frac{-n}{D}\leq\alpha-k<0 \\
        (-1)^n\binom{n}{k}\binom{D(k-\alpha)-1}{n} & \text{if }\alpha-k\leq\frac{-n}{D}
    \end{cases}
\end{equation}

if you want display style math, write \displaystyle at the start of each line inside the cases environment (write \displaystyle\binom{n}{k}..., etc).

1
  • 1
    \dbinom, rather than \displaystyle\binom
    – egreg
    Commented Jul 5 at 16:09

Not the answer you're looking for? Browse other questions tagged .