Jump to content

How to find assymptopes and domain easily.

Featured Replies

Hi, I am creating a computer program that graphically draws mathematical functions, later I will make it do other curves as well but for now I need to solve something.

 

How it works is by testing 0, then 0.01 and drawing a line between the two etc, sometimes it will jump from a very large number to a very small number when it reaches an assymptope, often the assymtopte is between the two test numbers so it is not detected. In that case a vertical line is drawn on the page. I know how to find assymtoptes myself, usually just by looking for zeros in denominators but the computer doesnt know that.

 

  • How would I find these assymptopes?
  • Is there a simple way of knowing if f(x) and f(y) are part of the same curve?
  • Less importantly, how could I find assymtoptes other than vertical ones?

For a general function, you have to use limits and the like to determine where asympotes will occur. For your program however, I would suggest that the easiest way to detect the asymptote would be to look for the extremely large changes in values (like you get with 1/x). This would be the simplest way, I think :)

  • Author

I was considering that but occasionally it might guess incorrectly, but doubtful. I was intending however for it to also find infitessimal gaps like:

 

x(x-1)

------

x - 1

 

My program will draw this as a straight line, but unless the testing values fall directly on 1 then it will miss the tiny hole at (1,1). Is there no way of finding that?

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.