A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

4

In MathJax the easiest way to type it is probably: \mathbf{P}((X,Y) \in B) = \iint\limits_{(x,y) \in B} f_{X,Y}(x,y) \,dx \,dy Live example on MathB.in If you want the two integral signs as far apart as in the picture, you could use two regular \int signs and wrap them in \mathop so that you can place limits on the combined construct. \mathbf{P}((X,Y) \...


1

TL;DR: \mathbf P((X,Y) \in B) = \iint\limits_{(x,y \in B)} f_{X,Y}(x,y)\ \mathrm dx\ \mathrm dy gives Full answer: First of all, the symbol \iint gives what you are looking for in terms of a double-integral sign. However, when adding the limits of integration, they appear to the side, rather than directly below. Thus, we need to make use of \limits_{......


1

Elaborating a little on David Carlisle's answer, LaTeX has a \cases macro, not an environment, which can be used as follows: \documentclass{article} \begin{document} \begin{displaymath} f(x) = \cases{ 0&for $x \leq 0$,\cr e^{-1/x}&for $x > 0$. } \end{displaymath} \end{document} The syntax is not LaTeX like, e.g. line changes with \...


8

Never ignore errors, you have \documentclass{article} \begin{document} $ F(x)= \begin{cases} 0, & x\leq 0 \textbf{ or } y\leq 0 \\ \frac{x^2y+xy^3}{2}, & \textbf{ if} 0\leq x,y \leq 1 \\ \frac{x^2+x}{2}, & \textbf{ kad } 0\leq x \leq 1, \; y \geq 1 \\ \frac{y+y^3}{2}, & \textbf{ if} x>1, 0\leq y \leq 1 \\ 1,& \textbf{ if } ...


2

(I am assuming you are going to use LaTeX) The cases environment from amsmath uses & for the "left and right" parts of the definition (left being the function and right being the condition, usually) and \\ to go to a new line. For example the following code \documentclass{article} \usepackage{amsmath} \begin{document} \[ u(x) = \begin{cases} \...


2

You can use the new circledsteps package. Please use \[ ... \] instead of $$ ... $$, see the answers to this question. \documentclass{article} \usepackage{xcolor} \usepackage{circledsteps} \newcommand{\CCircled}[2][]{\begingroup \pgfkeys{/csteps/.cd,inner color=.,#1}% \ifmmode \Circled{$#2$}% \else \Circled{#2}% \fi \endgroup} \begin{document} \[\CCircled[...


Top 50 recent answers are included