What would a function (formula)

What would a function (formula) of x and y look like in which the result is always 0 if x or y is zero and always infinity if x and y are equal?
Sorry, I can not phrase it better.
So I'm looking for a function (that's what I call a kind of formula I think) in the X and Y occurs. This should work as follows: A result (d) is calculated from the fixed formula. For example, if Y = 0 and X is also zero or any number, d is also equal to 0. If X and Y are equal, the result is always infinite or indefinable. For example, if Y is just a little smaller than X, then the result d is very high. So the closer X and Y get closer, the more d goes to the infinite. But if X is a very high number, Y is an extremely low number, then the result d is also very low, but not zero.
No idea if you can somehow understand what I'm looking for, I'll just ask the question, maybe someone has an idea. So I'm looking help for some formula in which on one side of the equation the result d appears, on the other side some calculation of X and Y, and these are the only variables. And depending on how X and Y change and behave towards each other (see above), the result d changes (see above). Or so ... Sorry ^^

Note by Justin Runyon
3 months, 1 week ago

No vote yet
1 vote

  Easy Math Editor

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 \( 2 \times 3 \)
2^{34} \( 2^{34} \)
a_{i-1} \( a_{i-1} \)
\frac{2}{3} \( \frac{2}{3} \)
\sqrt{2} \( \sqrt{2} \)
\sum_{i=1}^3 \( \sum_{i=1}^3 \)
\sin \theta \( \sin \theta \)
\boxed{123} \( \boxed{123} \)

Comments

Sort by:

Top Newest

This might be a good starting point:

\[ \large{d = \frac{X Y}{X - Y}} \]

Steven Chase - 3 months, 1 week ago

Log in to reply

Thank for help!

Justin Runyon - 3 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...