0
$\begingroup$

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.

1 Answers 1

2

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

  • 0
    excellent, thank you very much2012-05-30