Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to write the following equations in LaTeX:

enter image description here

and

enter image description here

The first one (with the integrals) I managed to make similarly using the following code:

\begin{equation}
COG = \frac{\int_a^b\!ua(x)x\, \mathrm{d}x}{\int_a^b\!ua(x)\, \mathrm{d}x}
\label{eq:cogCont}
\end{equation}

However, I am using a u instead of a μ and have no idea how to do it another way, as well, I do not know how to make the "A" next to it.

For the second equation, I have no idea where to start. Any ideas?

Thanks!

share|improve this question

1 Answer 1

up vote 5 down vote accepted

An exemplary solution. The second label commented.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\def\dint{\displaystyle\int}
\def\dsum{\displaystyle\sum}

\begin{equation}
\mathrm{COG} = \frac{\dint_a^b\!\mu_{A}(x)x\, {d}x}{\dint_a^b\!\mu_{A}(x)\, {d}x}
\label{eq:cogCont}
\end{equation}

\begin{equation}
\mathrm{COG} = \frac{\dsum_{x=a}^b\!\mu_{A}(x)x}{\dsum_{x=a}^b\!\mu_{A}(x)}
%\label{eq:cogCont}
\end{equation}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.