No BSD License  

Highlights from
Taylor series in the complex plane

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.68 KB File ID: #14289
image thumbnail

Taylor series in the complex plane

by Alex Barnett

 

15 Mar 2007

2D plot of complex functions using color wheel, and animates their Taylor series convergence

| Watch this File

File Information
Description

Running the code taylor will show you several examples of visualizing functions on the complex plane, and animating their n-term Taylor series as n increased from 1 to say 20. This provides an educational tool to demonstrate analytic (entire) functions, singularities, and the fact that a region of convergence must take the form of a disk.

An aesthetically-pleasing color system has been used to represent a complex number: the unit circle is mapped to the color wheel (actually a circle perpendicular to the diagonal of the RGB color cube), then magnitudes tending to infinity desaturate to white whereas magnitudes tending to 0 decrease in intensity to black. Have a look at the plot of the identity function f(z)=z and it will become clear. In this way, poles and zeros or various order, branch cuts, etc, all become quickly recognizable.
I was influenced by code of Matthias Kawski.

The beef is the function show_zser.m which plots a named function or power series in the above way (see its documentation for calling arguments). It is very easy to modify the example calling commands in taylor.m to show any function or Taylor series you want. As a bonus it plots a `slice' of the real part of the function and its Taylor series along a line parallel to the real axis.

An invaluable tool for any class on complex analysis!

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
specialized Alex Barnett 22 Oct 2008 09:04:36
plotting Alex Barnett 22 Oct 2008 09:04:36
education Alex Barnett 22 Oct 2008 09:04:36
complex Alex Barnett 22 Oct 2008 09:04:36
taylor Alex Barnett 22 Oct 2008 09:04:36
series Alex Barnett 22 Oct 2008 09:04:36
analytic Alex Barnett 22 Oct 2008 09:04:36
radius of convergence Alex Barnett 22 Oct 2008 09:04:36

Contact us at files@mathworks.com