主要内容
代数基础
画出斜截式
学习如何绘制用斜率截距式来表达的的线 (y=mx+b)
阅读本章之前,我们建议您先阅读斜截式入门一章.
用整数斜率绘制线条
让我们来画y, equals, 2, x, plus, 3的图像吧.
回想一下,在斜截式方程的一般形式y, equals, start color #ed5fa6, m, end color #ed5fa6, x, plus, start color #0d923f, b, end color #0d923f中,斜率是由start color #ed5fa6, m, end color #ed5fa6得出的,而y截距则是由start color #0d923f, b, end color #0d923f得出的.
因此,y, equals, start color #ed5fa6, 2, end color #ed5fa6, x, plus, start color #0d923f, 3, end color #0d923f的斜率是start color #ed5fa6, 2, end color #ed5fa6而y截距则为 left parenthesis, 0, comma, start color #0d923f, 3, end color #0d923f, right parenthesis.
为了画一条线,我们首先需要在这条线上的两个点.我们已经知道点left parenthesis, 0, comma, start color #0d923f, 3, end color #0d923f, right parenthesis在这条线上了.
此外,因为这条线的斜率为start color #ed5fa6, 2, end color #ed5fa6,我们可以知道点left parenthesis, 0, start color #ed5fa6, plus, 1, end color #ed5fa6, comma, start color #0d923f, 3, end color #0d923f, start color #ed5fa6, plus, 2, end color #ed5fa6, right parenthesis, equals, left parenthesis, 1, comma, 5, right parenthesis也在这条线上.
检查你对内容的理解
用分数斜率绘制线条
让我们来绘制y, equals, start color #ed5fa6, start fraction, 2, divided by, 3, end fraction, end color #ed5fa6, x, start color #0d923f, plus, 1, end color #0d923f的图像吧.
就和之前一样,我们可以看出这条线会经过y截距left parenthesis, 0, comma, start color #0d923f, 1, end color #0d923f, right parenthesis和另一个点left parenthesis, 0, start color #ed5fa6, plus, 1, end color #ed5fa6, comma, start color #0d923f, 1, end color #0d923f, start color #ed5fa6, plus, start fraction, 2, divided by, 3, end fraction, end color #ed5fa6, right parenthesis, equals, left parenthesis, 1, comma, 1, start fraction, 2, divided by, 3, end fraction, right parenthesis.
尽管点left parenthesis, 1, comma, 1, start fraction, 2, divided by, 3, end fraction, right parenthesis确实在线上,我们却不能像绘制整数坐标点那样精确地绘制分数坐标点.
我们需要一个方法去找出另一个在这条线上的整数坐标点.为此,我们可以利用一个事实,即在start color #ed5fa6, start fraction, 2, divided by, 3, end fraction, end color #ed5fa6的斜率中,使x增长start color #ed5fa6, 3, end color #ed5fa6个单位也会使y增长start color #ed5fa6, 2, end color #ed5fa6个单位.
这使我们得到了一个额外的点left parenthesis, 0, start color #ed5fa6, plus, 3, end color #ed5fa6, comma, start color #0d923f, 1, end color #0d923f, start color #ed5fa6, plus, 2, end color #ed5fa6, right parenthesis, equals, left parenthesis, 3, comma, 3, right parenthesis.