Message Boards Message Boards

Asymptote- vertical and diagonal

Posted 4 years ago

I would like to calculate the vertical and diagonal asymptote f (x) = (x ^ 2 + x + 3) / (x-1). Will somebody help?

POSTED BY: Mateusz Janicki
4 Replies
Posted 4 years ago

For the diagonal one you could also do:

g[x_]:= (x ^ 2 + x + 3)

p[x_]:=(x-1)

PolynomialQuotient[g[x],p[x],x]

Or

f[x_]:= (x ^ 2 + x + 3) / (x-1);

n=Numerator[f[x]];
d=Denominator[f[x]];

PolynomialQuotient[n,d,x]
POSTED BY: Capora Allin

For the diagonal one you could also do:

PolynomialRemainder[x^2+x+3, x-1, x]

You can also try the repository function CurveAnalysis which you can find here: https://resources.wolframcloud.com/FunctionRepository/resources/CurveAnalysis

The vertical asymptote can be calculated with the definition of limit:

Reduce[ForAll[n,
  Exists[\[Delta], \[Delta] > 0,
   ForAll[x, 0 < Abs[x - x0] < \[Delta],
    Abs[(x^2 + x + 3)/(x - 1)] > n]]],
 x0, Reals]

The diagonal one with Series:

Series[(x^2 + x + 3)/(x - 1),
 {x, Infinity, 0}]
POSTED BY: Gianluca Gorni
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