How to graph a self-drawing line?

In summary, the conversation discusses the idea of graphing y=x in a series of "steps" by adjusting a parameter, with the possibility of "undrawing" the graph by reducing the parameter. The conversation also mentions the use of parametric equations and a simple graphics program to achieve this. The idea of having multiple parametrized functions and implementing collisions between them is also brought up, with the potential for complex behavior and a "record" of the graph's evolution. The need for Calculus is mentioned as a potential solution for preventing lines from "jumping" over each other.
  • #1
3D_Mind
2
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
  • #2
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.
 
  • #3
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!
 

What materials do I need to graph a self-drawing line?

To graph a self-drawing line, you will need a piece of graph paper, a pencil, a ruler, and a compass. You may also need a protractor if you plan on including angles in your graph.

How do I determine the scale for my self-drawing line graph?

The scale for a self-drawing line graph should be determined based on the range of values you want to represent on the graph. For example, if you want to graph data that ranges from 0-100, each square on the graph paper can represent 10 units.

What is the process for plotting points on a self-drawing line graph?

To plot points on a self-drawing line graph, first determine the coordinates for each point based on the scale you have chosen. Then, use your ruler to draw a small dot at each point on the graph. Finally, use your pencil to connect the dots and create a line.

Can I use a computer program to create a self-drawing line graph?

Yes, there are many computer programs and online tools available that allow you to create self-drawing line graphs. These programs often have features that allow you to input data and customize the appearance of your graph.

How can I make my self-drawing line graph more visually appealing?

To make your self-drawing line graph more visually appealing, you can use different colors or patterns to represent different data points or add labels and titles to make it easier to understand. You can also experiment with different scales and graph paper sizes to find the best fit for your data.

Similar threads

  • General Math
Replies
2
Views
726
Replies
2
Views
299
  • General Math
Replies
7
Views
2K
  • General Math
Replies
4
Views
818
Replies
8
Views
932
Replies
1
Views
831
Replies
37
Views
3K
Replies
4
Views
2K
Replies
13
Views
2K
  • General Math
Replies
4
Views
1K
Back
Top