TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to write the following equations in LaTeX:

enter image description here


enter image description here

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

COG = \frac{\int_a^b\!ua(x)x\, \mathrm{d}x}{\int_a^b\!ua(x)\, \mathrm{d}x}

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?


share|improve this question
up vote 5 down vote accepted

An exemplary solution. The second label commented.




\mathrm{COG} = \frac{\dint_a^b\!\mu_{A}(x)x\, {d}x}{\dint_a^b\!\mu_{A}(x)\, {d}x}

\mathrm{COG} = \frac{\dsum_{x=a}^b\!\mu_{A}(x)x}{\dsum_{x=a}^b\!\mu_{A}(x)}


enter image description here

share|improve this answer

Your Answer


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.