Mean Value Theorem - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[Calculus1]

  

MeanValueTheorem

  

graphically display the mean value theorem

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

MeanValueTheorem(f(x), x = a..b, opts)

MeanValueTheorem(f(x), a..b, opts)

Parameters

f(x)

-

algebraic expression in variable 'x'

x

-

name; specify the independent variable

a, b

-

algebraic expressions; specify the end points of the curve

opts

-

equation(s) of the form option=value where option is one of functionoptions, lineoptions, numeric, output, pointoptions, showfunction, showline, showpoints, showtangents, showverticallines, tangentoptions, tangentlength, verticallineoptions, or Student plot options; specify plot options

Description

• 

The MeanValueTheorem(f(x), x=a..b) command returns a plot of the expression f⁡x from a to b and indicates the points between a and b where the derivative is equal to the slope f⁡b−f⁡ab−a.

• 

If the independent variable can be uniquely determined from the expression, the parameter x need not be included in the calling sequence.

• 

The opts argument can contain any of the Student plot options or any of the following equations that (excluding output and numeric) set plot options.

  

 

  

functionoptions = list

  

A list of options for the plot of the expression f⁡x.  By default, the expression is plotted as a solid red line. For more information on plot options, see plot/options.

  

 

  

lineoptions = list

  

A list of options for the plot of the line from a,f⁡a to a,f⁡b. By default, this line is plotted as a dashed blue line. For more information on plot options, see plot/options.

  

 

  

numeric = true or false

  

Whether to use numeric methods (using floating-point computations) to find the points satisfying the mean value theorem. This option is ignored if the option output is set to plot. By default, the value is false.

  

 

  

output = points or plot

  

This option controls the return value of the function.

– 

output = plot specifies that a plot, which shows the expression and the points where the mean value theorem is satisfied, is displayed. This is the default.

– 

output = points specifies that the points that satisfy the mean value theorem are returned. Plot options are ignored if output = points.

  

 

  

pointoptions = list

  

A list of options for the plot of the end points as well as where the expression has derivative equal to f⁡b−f⁡ab−a.  By default, the end points are plotted as green circles. For more information on plot options, see plot/options.

  

 

  

showfunction = true or false

  

Whether the expression f⁡x is plotted.  By default, the value is true.

  

 

  

showline = true or false

  

Whether the line from a,f⁡a to b,f⁡b is plotted. By default, the value is true.

  

 

  

showpoints = true or false

  

Whether the end points and points where the derivative equals f⁡b−f⁡ab−a are marked.  By default, the value is true.

  

 

  

showtangents = true or false

  

Whether the tangent lines where the derivative is f⁡b−f⁡ab−a are plotted.  By default, the value is true.

  

 

  

showverticallines = true or false

  

Whether the vertical lines from the function where the derivative is f⁡b−f⁡ab−a to the horizontal axis are plotted. By default, the value is true.

  

 

  

tangentoptions = list

  

A list of options for the plot of the tangents where the expression has derivative equal to f⁡b−f⁡ab−a. By default, these are plotted as solid blue lines. For more information on plot options, see plot/options.

  

 

  

tangentlength = half or positive

  

The length of the tangent lines.  By default, they are half the distance from a to b.

  

 

  

verticallineoptions = list

  

A list of options for the plot of the vertical lines from the function where the expression has derivative equal to f⁡b−f⁡ab−a to the horizontal axis. By default, these are plotted as dotted pink lines.

  

 

  

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 more information on plot options, see plot/options.

Examples

> 

with⁡StudentCalculus1:

> 

MeanValueTheorem⁡x3−x,x=0..2,output=points

2⁢33

(1)
> 

MeanValueTheorem⁡sin⁡x,1..5

> 

MeanValueTheorem⁡sqrt⁡x,x=0..5

The command to create the plot from the Plotting Guide is

> 

MeanValueTheorem⁡x3−x,x=0..2

See Also

plot/options

plot/typesetting

Student

Student plot options

Student[Calculus1]

Student[Calculus1][MeanValueTheoremTutor]

Student[Calculus1][VisualizationOverview]