algebra

画有理函数图像:渐近线、空心点与截距

一套画有理函数图像的工作流程——求竖直、水平与斜渐近线,找出由公因式产生的空心点,以及确定截距。
AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-01

有理函数 f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)} 画出来的是代数中最有辨识度的一些图像——朝无穷大发散的分支、一眼看不出的空心点,以及曲线永远贴着却始终不穿过的渐近线。本指南给你一份能画出任意有理函数的清单。

5 步工作流程

  1. 把分子和分母彻底因式分解。
  2. 在公因式处找出空心点(约去它们,但把对应的 x 值标记为空心点)。
  3. 在分母剩下的零点处画竖直渐近线
  4. 由次数比较得出水平或斜渐近线
  5. 截距:若有定义,f(0)f(0) 给出 y 截距;化简后分子的零点给出 x 截距。

f(x)=x21x2x6f(x) = \frac{x^2 - 1}{x^2 - x - 6} 为例分步演示

因式分解

f(x)=(x1)(x+1)(x3)(x+2)f(x) = \frac{(x-1)(x+1)}{(x-3)(x+2)}

没有公因式 → 没有空心点

竖直渐近线

分母的零点是 x=3x = 3x=2x = -2。两条竖直渐近线。

水平渐近线

分子次数(2)= 分母次数(2)。水平渐近线是最高次项系数之比y=1/1=1y = 1/1 = 1

截距

  • f(0)=(1)(1)/((3)(2))=1/6=1/6f(0) = (-1)(1)/((-3)(2)) = -1 / -6 = 1/6。y 截距:(0,1/6)(0, 1/6)
  • 分子的零点:x=1x = 1x=1x = -1。x 截距就在这两处。

画草图

两条竖直渐近线把 x 轴分成三个区域。在每个区域取一个样本点,检验 ff 是正还是负。当 x±x \to \pm\infty 时图像趋近于 y=1y = 1,并穿过上面求出的那些截距。

渐近线规则一表搞定

比较次数渐近线类型
deg(P) < deg(Q)y=0y = 0 水平
deg(P) = deg(Q)y=a/by = a/b 水平(最高次项系数之比)
deg(P) = deg(Q) + 1斜渐近线(做多项式长除法)
deg(P) ≥ deg(Q) + 2没有水平/斜渐近线;两端按多项式方式飞出去

解题示例:一个空心点

g(x)=x24x2=(x2)(x+2)x2g(x) = \frac{x^2 - 4}{x - 2} = \frac{(x-2)(x+2)}{x-2}

约分:当 x2x \ne 2g(x)=x+2g(x) = x + 2。画直线 y=x+2y = x + 2,并在 (2,4)(2, 4) 处画一个空心圆——那就是空心点。

常见错误

  • 忘掉空心点——约去因式会消掉竖直渐近线,但会留下空心点。
  • 次数不同时错用水平渐近线规则
  • 以为图像永远不会穿过水平渐近线——其实经常穿过,只是当 x±x \to \pm\infty 时绝不会。

用 AI 方程求解器试一试

把你的有理函数输入方程求解器,它会自动因式分解并识别零点/极点。

相关参考:

常见问题

Cancel any common factors between numerator and denominator, then set the remaining denominator equal to zero. The values where the denominator is zero (and numerator is not) give vertical asymptotes; cancelled factors give holes.

Compare the degrees of numerator (n) and denominator (m). If n < m, horizontal asymptote y = 0. If n = m, y equals the leading coefficient ratio. If n = m + 1, divide to find an oblique asymptote. If n > m + 1, neither type exists.

Set the numerator equal to zero and solve. Any root of the numerator that is NOT also a root of the denominator gives an x-intercept. Shared roots create holes (removable discontinuities), not intercepts.

AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-01

A small team of engineers, mathematicians, and educators behind AI-Math, focused on making step-by-step math help accessible to every student.