With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

Chapter 16
GRAPHING FUNCTIONS
Graphing linear equationsand therefore graphing linear functions—is a
straightforward task. There are numerous techniques by which the graphs
can be constructed (described in Chapter 5), but the behavior of a linear
graph is predictable. Other functions, however, present a challenge. Cubic,
absolute value, and square root functions, to name a few, have distinctly dif-
ferent graphs.
Rather than design algorithms by which each classication of function
should be graphed, it is more useful to use one of two techniques to plot
function graphs: completing a table of values (that is, the brute force tech-
nique) to plot an extremely accurate graph or applying function transfor-
mations to create a relatively accurate sketch of the graph quickly.
Graphing functions is tricky. It wouldnt be if all functions were lines,
because let’s face it, linear graphs are the easiest to create. All you need is
one point and the slope of the line and youre in business! However, most functions
arent linear, so you need a few more graphing strategies.
There are basically two ways to draw a function graph. One is to plug in a lot
of x-values into a function f(x) to see what numbers you get as a result. Plug in
enough xs and you can connect the dots to make a graph. The downside? A lot
of calculations and a big time investment.
There is a faster way to graph that involves memorizing a few basic function
graphs and then using transformations to stretch, squish, move, and ip them
to make new graphs. For example, after you memorize the simple graph of y = x
3
,
you can graph things like f(x) = x
3
+ 6, g(x) = (x – 7)
3
, and h(x) = –2x
3
of an eye.
D
r
a
w
i
n
g
g
r
a
p
h
s
t
h
a
t
a
r
e
n
t
l
i
n
e
s

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.oreilly.com/library/view/the-humongous-book/9781592577224/chapter-92.html", "fetch_time": 1558626432000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2019-22/segments/1558232257259.71/warc/CC-MAIN-20190523143923-20190523165923-00298.warc.gz", "warc_record_offset": 884901931, "warc_record_length": 165790, "token_count": 530, "char_count": 2086, "score": 4.34375, "int_score": 4, "crawl": "CC-MAIN-2019-22", "snapshot_type": "latest", "language": "en", "language_score": 0.9140710830688477, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00058-of-00064.parquet"}