A function for a line in a square (or a triangle or a etc)

In summary, there is a possibility that a function could accurately predict or describe any phenomenon in nature, but our current understanding and technology is limited in achieving this.
  • #1
geordief
214
48
a function for a line in a square (or a triangle or a pentagon etc)

I don't have one off the top of my head (my maths is very rusty) but I think that ,starting from a cartesian point it is possible to create a function that allows one to draw a polygon in 2 or 3(?) dimensions.

This object is idealised and perhaps does not exist in the "real" world .

Is it possible to create a corresponding function (for the simplest of those examples-maybe just a line or even a point but ideally a triangle or a square) that would stand up in the "real" world?

For example ,if we assume that the line is "drawn" at the speed of light (or half the speed of light) can this new function be created that would incorporate the speed of the creation of the polygon?

Of course this is still idealised since it does not take into account gravity but could the polygon be made from matter that had no mass(photons?) that would get around this or woulo the curvature of space have to be part of the function also?

So most simply is there a function to describe ,say, a triangle in a way that is "real" but not idealised (in a cartesian way)?

EDIT:I realize that this is a calculation that is done routinely as that is how we can send rockets to the moon and beyond .But are those calculations done by performing millions of calculations to calculate the position of the spacecraft as it approaches its desination?

I mean is the "journey" divided up into very small segments (in time) and are these all added together in the computer to calculate the trajectory - in the same way as I imagine the weather and climate change is forecast by adding together calculations corresponding to small segments of time.

Even so would there be a very simple example (the simplest please) of one such calculation that used mathematics (functions)?

Suppose we were to send the spacecraft on a journey that sent it (ideally at the speed of light) from the left hand base of a "triangle (=the earth) to the apex of this "triangle" (= some extremely distant object) to the right hand base of the "triangle" (= another extremely distant object) and back to Earth (all using slingshots of course) would there be any function that could be used to calculate this overall "triangularly shaped " journey (even approximately)?
 
Last edited:
Physics news on Phys.org
  • #2
Sorry, what?

Choose one:
a) I completely missed a whole branch of "line-drawing physics"
b) I do not understand the whole concept in your post
c) something else

EDIT:I realize that this is a calculation that is done routinely as that is how we can send rockets to the moon and beyond .But are those calculations done by performing millions of calculations to calculate the position of the spacecraft as it approaches its desination?
That is a common concept.
If it is sufficient to consider two objects at a time (maybe with small perturbations of other objects), you can use analytic solutions to the equations of motion in a gravitational field as well.

Even so would there be a very simple example (the simplest please) of one such calculation that used mathematics (functions)?
Every calculation uses functions.

(ideally at the speed of light)
No matter can travel at the speed of light.

would there be any function that could be used to calculate this overall "triangularly shaped " journey (even approximately)?
Sure. If the gravitational influence of everything beside one object is negligible, the spacecraft will follow a conic section.
Look up "Kepler problem" for details.
 
  • #3
The functions used to describe trajectories seem to work incredibly well but is it fair to say that their is zero chance ,now or at any time in the future that they will be any more than approximations?

When we use functions to describe a circle,say, there is an illusion(?) that the function describes the circle perfectly but is this simply because the circle only exists in the imagination?

Is it completely impossible that there could exist a function to 100% accurately predict or describe any phenomenon in nature?

@mfb
Perhaps the concept behind my post was to find the simplest object/event/phenomenon that exists in nuture (not in the mind) to see if there was a chance that there could be a function that describes it 100%.
 
  • #4
The functions used to describe trajectories seem to work incredibly well but is it fair to say that their is zero chance ,now or at any time in the future that they will be any more than approximations?
As there are no general, analytic solutions for trajectories in general relativity, all calculations will be approximations - even if you do not consider the finite size of all objects and quantum mechanics.

When we use functions to describe a circle,say, there is an illusion(?) that the function describes the circle perfectly but is this simply because the circle only exists in the imagination?
No, there is the knowledge that the circle is a good approximation to something in our world. A circle as mathematical object can be described exactly.

Is it completely impossible that there could exist a function to 100% accurately predict or describe any phenomenon in nature?
The common view is that there is a small set of fundamental laws of nature - probably something you can write down on a sheet of paper. If that exists, it would describe everything, but our methods to measure the current state of the universe and our ability to evaluate its evolution (based on those laws) are limited.
 
  • #5


I can say that there are indeed functions that can be used to describe lines in polygons such as squares, triangles, and pentagons. These functions are based on mathematical principles such as geometry and calculus. They allow us to calculate the coordinates and properties of each point on the line, as well as the overall shape and size of the polygon.

In terms of using these functions in the "real" world, they are often used in fields such as engineering, computer graphics, and physics. For example, in engineering, these functions can be used to design and construct buildings, bridges, and other structures. In computer graphics, they are used to create digital images and animations. In physics, they can be used to model and predict the behavior of objects in motion, including spacecraft.

However, as you mentioned, there are limitations to these idealized functions when it comes to the "real" world. Factors such as gravity and the speed of light must be taken into account, and this can make the calculations more complex. In some cases, approximations and simplifications may need to be made in order to make the calculations more manageable.

In terms of your example of a spacecraft journey, it is possible to use functions to calculate the trajectory of the spacecraft, taking into account gravitational forces and other factors. However, this would require a significant amount of calculations and may not be a straightforward process. In some cases, computer simulations may be used to model the journey and calculate the trajectory.

Overall, functions for lines in polygons are a valuable tool in many scientific fields, but their application in the "real" world may require additional considerations and adjustments.
 

What is a function for a line in a square?

A function for a line in a square is a mathematical equation that describes the relationship between the x and y coordinates of points on a line within a square. It can be written in the form y = mx + b, where m is the slope of the line and b is the y-intercept.

How do you graph a function for a line in a square?

To graph a function for a line in a square, you can first plot the y-intercept (b) on the y-axis. Then, use the slope (m) to determine additional points on the line by moving horizontally (m units) and vertically (1 unit) from the y-intercept. Connect the points to create the graph of the line.

What is a function for a line in a triangle?

A function for a line in a triangle is a mathematical equation that describes the relationship between the x and y coordinates of points on a line within a triangle. It can be written in the form y = mx + b, where m is the slope of the line and b is the y-intercept.

Can a function for a line in a square have a negative slope?

Yes, a function for a line in a square can have a negative slope. This means that the line would be decreasing from left to right on the graph.

What is the difference between a function for a line in a square and a function for a line in a triangle?

The main difference between a function for a line in a square and a function for a line in a triangle is the shape of the graph. A square has four equal sides and angles, while a triangle has three sides and angles. This means that the slope and y-intercept values may be different for these two types of functions.

Similar threads

  • Special and General Relativity
2
Replies
45
Views
3K
  • Special and General Relativity
2
Replies
40
Views
2K
  • Special and General Relativity
2
Replies
51
Views
2K
  • Programming and Computer Science
Replies
30
Views
4K
  • Introductory Physics Homework Help
Replies
10
Views
2K
  • Programming and Computer Science
Replies
25
Views
3K
  • Special and General Relativity
Replies
6
Views
1K
  • Quantum Physics
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Replies
55
Views
2K
Back
Top