Message Boards Message Boards

0
|
8675 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Hyperbola equation

Posted 10 years ago

Hi everyone. I have version 10.0.1 of Mathematica. I would like to solve a hyperbola equation of the form Axy+Dx+Ey+F=0 for {x,y} with integer solutions. I've tried it as a y=-(F+Dx)/(Ax+E). Any suggestions?

POSTED BY: Matthew Bennett
2 Replies

With your start, you might proceed as follows. Asymptotically you'll have y=D/A. Try to figure out how large x can be (based on values of {E,F}) before you are in this asymptotic range (because once "close enough", you won't get integer values for y).

POSTED BY: Daniel Lichtblau

The question is a little confusing. Are you trying to find x-y pairs for a range of values of x? Does the code

y[x_]:=-(f+d x)/(a x+e)
Map[{#,y[#]}&,Range[20]]

do the trick?

POSTED BY: Jason Grigsby
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract