Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 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 know that I can represent fuzzy max via power function(i need it in neural network) i.e.

def max(p:Double)(a:Double,b:Double) = pow(pow(a,p) + pow(b,p) , 1/p) // assumption a >=0 and b >=0

It is become maximum when p -> infinity and sum when p = 1

Not sure how correctly implement fuzzy minimum.

share|cite|improve this question
up vote 0 down vote accepted

$$ \lim_{p \rightarrow \infty} \left( x^p + y^p \right) ^ { 1 \over p } = \max \left( x, y \right) $$ $$ \lim_{p \rightarrow -\infty} \left( x^p + y^p \right) ^ { 1 \over p } = \min \left( x, y \right) $$ $$ \left( x^2 + y^2 \right) ^ {1 \over 2} = \text{eucledian}(x, y) $$

share|cite|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.