Sep. 1st, 2016

Hah!

Sep. 1st, 2016 03:55 pm
stoutfellow: Joker (Joker)
One part of the "neat thing" I discovered last week about my Taxonomy paper involves a certain polynomial equation in variables x and y, with a parameter k; the curve defined by that equation, for any specific value of k, helps describe a class of triangles associated with that parameter k. (For a simple example, which is not the one I'm dealing with, you might look at x^2 - 2 k x + y^2 = 0; for any given k, this gives a circle with radius Abs(k) and center (k,0).) What I was interested in is how that curve changes as I change k. (Let's see, if k < 1, it's a fourth-degree oval; if k = 1, it's an ellipse; if 1 < k < 2, it's a fourth-degree oval sitting inside a sort of peanut-shaped curve; if k = 2, it's the union of two circles: etc.)

I was investigating this curve for one specific value of k at a time, and it was a tedious process. I had to find out whether the curve was in two pieces or just one, what the largest and smallest values of x were, what y was in terms of x... it took me several minutes to assemble the graph for each value of k. What I really wanted to see is how the curve changes when I change k from 3/2 to 7/4, or from this value to that nearby value, and the process just wasn't conducive to that kind of close investigation.

I finally figured out how to do it quickly. I've written a single Mathematica routine, plotLocus[k], which does it all at once and shows the graph without me having to check the fiddly details. So far, what it's showing me confirms what I thought was going on, which, of course, is what I was hoping it would do, but in terms of creating figures to go into the paper, suddenly everything is much easier.

I'm pretty happy about that.

Profile

stoutfellow: Joker (Default)
stoutfellow

April 2020

S M T W T F S
    1 2 34
5 6 789 1011
12 13 14 1516 17 18
19202122232425
2627282930  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 20th, 2025 08:38 pm
Powered by Dreamwidth Studios