Student[Precalculus]
RationalFunctionPlot
plot rational functions
Calling Sequence
Parameters
Description
Examples
RationalFunctionPlot(f, opts)
f
-
rational function (ratio of polynomials) in at most one variable
opts
(optional) equation(s) of the form option = value where option is one functionoptions, showslantasymptotes, showverticalasymptotes, showremovables, slantasymptoteoptions, verticalasymptoteoptions, removableoptions; specify output options
The RationalFunctionPlot(f) command plots a rational function. If f has any asymptotes, they are also displayed.
The optional parameters opts specify the desired options for the resulting plot. The available options are:
functionoptions = list
Specifies the plot options for f.
showslantasymptotes = true/false
Specifies whether or not to show the slant asymptotes of f.
showverticalasymptotes = true/false
Specifies whether or not to show the vertical asymptotes of f.
showremovables = true/false
Specifies whether or not to show the removable discontinuities of f.
slantasymptoteoptions = list
Specifies the plot options for the slant asymptotes (including horizontal) of f.
verticalasymptoteoptions = list
Specifies the plot options for the vertical asymptotes for f.
removableoptions = list
Specifies the plot options for the removable discontinuities for f.
caption = anything
A caption for the plot.
The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption, see plot/typesetting.
For information on including additional plot option(s), see the plot help page.
For information on how to change the default colors, see the Student [SetColors] help page.
with⁡StudentPrecalculus:
RationalFunctionPlot⁡x3+x2−x+1x3
RationalFunctionPlot⁡1x2,verticalasymptoteoptions=color=red,functionoptions=color=blue
RationalFunctionPlot⁡x2−2⁢x−3x2−1,view=−2..5,−10..10,functionoptions=color=violet,thickness=2,showslantasymptotes,slantasymptoteoptions=color=magenta,linestyle=dashdot,thickness=2,verticalasymptoteoptions=color=blue,linestyle=dash,thickness=2,removableoptions=symbol=soliddiamond,symbolsize=20,color=green
See Also
plot/typesetting
Student
Student[Precalculus][RationalFunctionTutor]
Student[Precalculus][VisualizationOverview]
Download Help Document