David Little
Mathematics Department
Penn State University
Eberly College of Science
University Park, PA 16802
Office: 403 McAllister
Phone: (814) 865-3329
Fax: (814) 865-3735

Home Courses Math Links Resources Java Applets

Taylor Polynomials

The following applet can be used to graph the Taylor polynomial of degree n, Tn(x), and/or the remainder function, Rn(x), for the given function y=f(x), centered at x=a. Simply enter the function f(x) and the values a and 0 ≤ n ≤ 50. The applet can also be used to approximate the value of f(b) with Tn(b), for b near a.

The values a and b can be changed by simply typing a new value, such as "1.2345", "pi/2", "sqrt(5)+cos(3)", etc. You may also change this value by using the up/down arrow keys, clicking on the graph of y=f(x) or dragging the corresponding point left or right. To move the center of the graph, simply drag any point to a new location. To label the x-axis in radians (i.e. multiples of pi), click on the graph and press "control-r". To switch back, simply press "control-r" again.

Here is a list of functions that can be used with this applet.

Warning: The below applet does very well graphing Taylor polynomials of large degree (e.g. n=50) for exponential and trigonometric functions. However, the degree of Taylor polynomials of other functions or compositions and/or quotients of functions should be limited to 5 (i.e. n ≤ 5)

© 2005 David P. Little
Download this applet for off-line viewing (includes source code). The above applet uses the Java Math Expression Parser (JEP) developed by Singular Systems