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
1 year, 3 months ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
• Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

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

> 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}$

Sort by:

This might be a good starting point:

$\large{d = \frac{X Y}{X - Y}}$

- 1 year, 3 months ago

Thank for help!

- 1 year, 3 months ago

Hello, thanks for sharing this interesting information. I'm not so good at math, nevertheless, I would recommend you address the necessary assistance. When I had problems I addressed the source which I was recommended by my friends https://essayslab.com/article-critique-writing.html. Hope it will be useful for you as well.

- 1 month ago