How to graph a self-drawing line?

  • Thread starter Thread starter 3D_Mind
  • Start date Start date
  • Tags Tags
    Graph Line
3D_Mind
Messages
2
Reaction score
0
Hello, this is my first post here so please be kind. I have had an idea of sorts ricocheting inside of my skull for the last two weeks and wanted to see if it had any merit or was dumb. Basically, my "idea" was what would happen if one could graph, say, y=x (for simplicity, where x>0) in a series of "steps".

For example, at, say, t=1, the line y=x would actually be a line segment from 0<x<1, then at t=2, it would "draw" out to now be a segment of y=x from 0<x<2, and so on. It could "jump" like this or draw with an arbitrary level of resolution (ie, in increments of 0.1, or 0.01 or whatever, instead of 1).

If I was to instead "turn the knob" backwards and reduce t, it would "un-draw". Basically, I could adjust t and have the graph extend or contract by some arbitrary but related amount. If this makes sense, how would I go about formally writing this out? I was thinking of using parametric equations but they don't quite behave how I want them too. Thoughts? Thanks!
 
Mathematics news on Phys.org
The parameteric equations, x = t, y = t, 0 <= t <= r, define a line segment from (0, 0), to (r, r). If you "turn the knob" by putting in a larger value of r, the line segment gets longer. If you dial it back by putting in a smaller value of r, you get a shorter line segment.

Conceivably you could have a simple graphics program with a user interface that would let you enter a value of r, and the program would draw the line. After it had drawn one line segment, you could enter a new value of r. If larger, the program would extend the line. If you entered a smaller value of r, the program could draw part of the line in the background color, thereby erasing or "undrawing" part of the line.

I did some Java applets that were a little like this about 15 years ago.
 
Ok, thanks! I kinda saw that as I was writing up my post. I guess that will do for now but I was kinda hoping for a way to write an expression or function or equation that does the same thing without needing to adjust the stated domain directly. I am not sure why I would want that though, maybe it does not matter.

The idea of a graphing program that would do this is actually something I would like to find (for free). What I ultimately want is to graph multiple parametrized functions in this way.

Then, I want to find a way, as simply as possible, of having the lines "collide" and/or "reflect" off of each-other. So by a few simple functions and some rule for the collision one could allow for complex behavior to evolve as r-->inf. Not only that, but as a consequence, a "record" of all of these events and behaviors would be "stored" via simply looking up any value of r to see a "frame" or snapshot of the graph at that "time". This would also allow for the idea of a particular line "getting there" before another. The lines could even reflect off of themselves as the graph gets more crowded. Basically, as the function segments get drawn out, they act like impenetrable barriers that reflect any incoming lines by some rule. I'm thinking Calculus would be needed to evolve r so that a line would not "jump" over another, in some conceivable cases, instead of colliding, due to insufficient "resolution". Or, maybe I should just do my math homework!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top