Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am trying to construct a peak model equation where:

When x is equal to or less than the mean y is calculated using the Gaussian distribution equation, and when x is more than the mean the Lorentzian/Cauchy model is used instead.

I wanted to know if there was a specific mathematical way of writing this, or the best way to represent this (in equation form) in scientific text. I am not a mathematician, so apologies if this is a very simple question.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Sounds like a piecewise defined function. If $M$ is the mean, you can write it $$y = \left\{\begin{array}{ll} \text{<formula 1>} &\text{if }x\leq M,\\ \text{<formula 2>} &\text{if }x\gt M. \end{array}\right.$$

share|improve this answer
    
excellent, thank you very much –  Anake May 30 '12 at 20:24

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.