+ Reply to Thread
Results 1 to 1 of 1

An exploration in charting and "mapping" -- complex polynomials

  1. #1
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    An exploration in charting and "mapping" -- complex polynomials

    The pure math side of this will probably be of almost no interest to anyone (some may even be convulsing on the floor in shock and dismay). For those who are up to it, I found this an interesting look into Excel charts.

    The challenge when trying to visualize equations in complex space is that one needs 4 values to describe what is going on -- two values (a+bi) to describe the "domain" or "x" values of the function, and two values (c+di) to describe the "range" or "y" values of the function. It is almost the challenge of graphing equations in 4D space.

    In searching for strategies, the first one I came across (that made easy sense) was this idea of a "map". We have two 2D scatter plots -- one will represent the "x" values we are putting into the function, and the other will represent the "y" values we are getting out of the function. If we can adequately vary the color/symbol for each point in each chart, we can use the symbols to show what happens to point1 in going from the domain to the range. I found that this was quite easy to do by having a single data series in each chart, and selecting the "vary by point" option in the Marker Fill section of the format series dialog.

    As I tinkered with this, I noted that Excel seems to cycle through the nine built in symbols, varying the colors as it goes from point to point. I wanted a "gap" between each "contour" on both plots, so I found that a sequence of 8 points + 1 gap (for a 9 data point cycle) would make it so that the same symbol would correspond to the same point on each contour, which would make it easier to read the charts.

    This naturally flowed out of my "root finding" spreadsheet, so the current arrangement is looking at those points where y=0+0i. These are represented by the "y" contours that seem to go across the origin of the range/y chart.

    I find that the charts are easiest to read for up to 3rd order polynomials. I have programmed the spreadsheet to handle up to 5th order, but these charts become difficult to read (though some of the patterns created are interesting).

    Things to do:

    1) Study the charts and see if you can "see" where the roots (y=0+0i) to the equation occur. Check in C9:D13 to see if you are correct.
    2) change the coefficients of the polynomial (D2:I3) to see how different equations look on the charts.
    2a) Try some well known functions like y=x^2+1 (real coefficients, with imaginary roots).
    2b) Copy and paste special-as values the random numbers in L2:Q3 to get different polynomials.
    3) change the values in C16:D17 to see different "contours" on the two plots. (Correct choices here can really help visualize where the roots are).
    Attached Files Attached Files
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 09-07-2015, 06:30 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  4. [SOLVED] Complex "if" "or" "else" statement for ABC analysis
    By TheDanee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2013, 08:43 AM
  5. Complex IF functions containing "ISNA" and "VLOOKUP"
    By myshadeofglory in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2011, 03:28 PM
  6. Charting Excel 2003, with a variable "X" indexing
    By HADF in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2007, 02:33 AM
  7. Replies: 1
    Last Post: 01-30-2006, 06:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1