Object Encapsulation: Is it Possible?

  • I
  • Thread starter pairofstrings
  • Start date
In summary, it is not possible to encapsulate an object with quantity, structure, space, and change into a single equation, unless the object is extremely simple. This is because different physical aspects of real-world objects are generally modeled by different laws, which have different and independent mathematical structures. Additionally, attempting to encode all the qualities and characteristics of an object into a single equation would require an immense amount of information and may not accurately capture the complexity of the object.
  • #1
pairofstrings
411
7
TL;DR Summary
Is it possible to write an equation that encapsulate all?
Is it possible to encapsulate an object which has quantity, structure, space, change into a single equation? I am just asking if it is possible or not, I am not asking anyone to tell me how. Assume that there is a book. Is it possible to write everything about this book in a single equation? Let's not worry about what is written inside the book. Book has cover and a few pages. As book is a 3-D object is it possible to write quantity, structure, space, change of this object in a single equation.
Thank you.
 
Mathematics news on Phys.org
  • #2
What's so special about an equation? Why not write the information in paragraph form?
 
  • #3
pairofstrings said:
Is it possible to encapsulate an object which has quantity, structure, space, change into a single equation?
If you by "object" refer to a real world extended object with all its physical and mechanical characteristic and behaviors and by "single equation" mean to write that up into a single unified meaningful mathematical form, then in general, no. Different physical aspects of real-world objects are in general modeled by different laws, which in in general has different and independent mathematical structure.
 
  • Like
Likes Delta2
  • #4
Filip Larsen said:
If you by "object" refer to a real world extended object with all its physical and mechanical characteristic and behaviors and by "single equation" mean to write that up into a single unified meaningful mathematical form, then in general, no.
That means, if I am describing quantity, strucutre, space, change of an object then I would need four different statements - one for quantity, one for structure, one for space, one for change?

The 3-D object book lying somewhere has clear message that the quantity of book is one.
Similarly the object has structure, there could be space, and change..
 
  • #5
pairofstrings said:
That means, if I am describing quantity, strucutre, space, change of an object then I would need four different statements - one for quantity, one for structure, one for space, one for change?

The 3-D object book lying somewhere has clear message that the quantity of book is one.
Similarly the object has structure, there could be space, and change..
So you have four parameters that you wish to encode values for within a single equation: Quantity, Structure, Space and Change. Call them ##Q##, ##S_t##, ##S_p## and ##C##. Suppose that the values that you wish to encode are ##q##, ##s_t##, ##s_p## and ##c##. Then write down the following equation:$$(Q-q)(S_t-s_t)(S_p-s_p)(C-c)=0$$
QED.

You can also encode the contents of all the libraries in the world into a single integer. The approach is rather straightforward. You start by putting all the libraries in the world into a sequential computer file filled with eight bit bytes. Use MIME encoding if you want the pictures as well as the text. Now consider that computer file as a large integer expressed in base 256. Done.
 
  • Like
  • Haha
Likes diogenesNY, sysprog and hutchphd
  • #6
I think it was a Feynman argument that the equation that rules everything is $$U=0$$ where U is defined as the "unworldliness"...the rest is detail. I don't know the reference but probably the Lectures.
 
  • Informative
  • Like
  • Haha
Likes sysprog, Delta2 and fresh_42
  • #7
jbriggs444 said:
So you have four parameters that you wish to encode values for within a single equation: Quantity, Structure, Space and Change. Call them ##Q##, ##S_t##, ##S_p## and ##C##. Suppose that the values that you wish to encode are ##q##, ##s_t##, ##s_p## and ##c##. Then write down the following equation:$$(Q-q)(S_t-s_t)(S_p-s_p)(C-c)=0$$
QED.

You can also encode the contents of all the libraries in the world into a single integer. The approach is rather straightforward. You start by putting all the libraries in the world into a sequential computer file filled with eight bit bytes. Use MIME encoding if you want the pictures as well as the text. Now consider that computer file as a large integer expressed in base 256. Done.
Thanks for the reply.
In this equation, I don't see any object like circle conceived.
The equation doesn't show me the quantity, structure, space, change for the circle. Its some random variables arranged in some way.

When there is an equation of circle for which I am trying to define quantity, structure, space, change then from this equation it should be evident that the context is circle and all the rest of the stuff along with other stuff in the equation is quantity, space, change..

Example:
Equation of circle says that the distance between the point from center of circle to other points on a plane should be equally spaced.

Should that be the structure of a circle(?) then is it possible to embed quantity, space, change into this equation?
 
Last edited:
  • Sad
Likes weirdoguy
  • #8
pairofstrings said:
In this equation, I don't see any object like circle conceived.
Well, you tell us. What is the quantity, structure, space and change for a circle? Once you know, you can fill those into the equation.

Edit: Possibly you need to be asking a different question. Rather than asking whether there is an equation that encompasses everything about a particular entity, you should be asking whether there is a quantity of information that encompasses everything about it.

And perhaps you should establish a way to talk about how one might go about encoding or transmitting that information. That might lead to a way to quantify information.

Then one might Google things like "Information Theory" or "Claude Shannon".

As I recall, Claude came at the problem space from the point of view of data transfer over a noisy channel and chose to model the channel as delivering discrete messages with a definite probability of being misread. Despite the seeming irrelevance, this leads to exactly the problem space that you need to be working in.
 
Last edited:
  • Like
Likes sysprog
  • #9
pairofstrings said:
Is it possible to encapsulate an object which has quantity, structure, space, change into a single equation?
IMO, no it is not, unless we're talking about extremely simple objects. Your question seems to be related to one you asked some time ago, in which you asked whether one could encapsulate all of the qualities of, say, a chair. As an example of why I don't believe such encapsulation is possible, consider the sound that a musical instrument makes. Although we can approximate the sound of a piano, guitar, or other instrument digitally (as is done on CDs and DVDs), many audiophiles prefer the analog sounds of vinyl records or reel-to-reel tapes as being closer to the sound of the recorded instrument.
As already noted, sounds and other attributes are not represented by equations, but rather, by sequences of numbers that can be decoded to represent (with more-or-less detail) the sound or image that was recorded.
 
  • #10
A single equation? Why. May things are described by multiple equations (linear algebra, for example). Yes you can usually reformulate these as a single equation (perhaps a matrix or tensor equation), but I think that just obscures the reality, things are often systems, not simple equalities. Not everything is correlated with other things.

This reminds me of medieval arguments about how many angels can fit on the head of a pin. Why? Why do you care about this particular representation of the world?
 
  • Like
Likes sysprog
  • #11
DaveE said:
A single equation? Why.

DaveE said:
Why do you care about this particular representation of the world?
Very good questions,, indeed.
 
  • Like
Likes sysprog
  • #12
Filip Larsen said:
If you by "object" refer to a real world extended object with all its physical and mechanical characteristic and behaviors and by "single equation" mean to write that up into a single unified meaningful mathematical form, then in general, no.
Mark44 said:
IMO, no it is not, unless we're talking about extremely simple objects.
DaveE said:
A single equation? Why.
Why is the science world trying to write an equation no more than one inch long for things like "Unified Theory"? Is it because it's physics? And when it comes to math world, I should never limit my imagination?
 
Last edited:
  • #13
pairofstrings said:
Why is the science world trying to write an equation no more than one inch long for things like "Unified Theory"?
Laws of physics tend to be compact. They pretty much have to be in order to be useful and discoverable. Initial conditions can be arbitrarily complex.
 
  • Like
Likes sysprog
  • #14
From post #1:
pairofstrings said:
Is it possible to encapsulate an object which has quantity, structure, space, change into a single equation?

pairofstrings said:
Why is the science world trying to write an equation no more than one inch long for things like "Unified Theory"? Is it because it's physics?
The formulas in physics are very different from the type of equation you asked about in post #1. Here are a few examples from physics:
  • ##F = ma##
  • ##\tau = I \alpha##
  • ##E = mc^2##
Each of these equations describes one aspect of some object, such as the force that can accelerate an object of mass m, the torque that cause rotational acceleration of an object with moment of inertia I, or the energy equivalent of an object of mass m.

These and other equations do not completely describe some object (such as your earlier example in this thread of a book in a library). In short, these equations do not describe the volume of the book, its number of pages, the color and material of the binding, etc.
pairofstrings said:
And when it comes to math world, I should never limit my imagination?
My advice would be to learn some mathematics (or physics) before letting your imagination run wild.
 
  • Like
Likes phinds, sysprog, pbuk and 1 other person
  • #15
Mark44 said:
The formulas in physics are very different from the type of equation you asked about in post #1. Here are a few examples from physics:
  • ##F=ma##
  • ##τ=Iα##
  • ##E=mc^2##
Each of these equations describes one aspect of some object, such as the force that can accelerate an object of mass m, the torque that cause rotation of an object with moment of inertia I, or the energy equivalent of an object of mass m.
The above equations could be a few statements about some object. What I am trying to know is, if I could write one aspect of an object in an equation then is it possible to "embed" the remaining aspects into the same equation.
 
Last edited:
  • Skeptical
Likes weirdoguy
  • #16
pairofstrings said:
The above equations could be a few statements about some object. What I am trying to know is, if I could write one aspect of an object in an equation then is it possible to "embed" the remaining aspects into the same equation.
The notion is nonsense.

You could embroider the equation on a tapestry and use some subtle encoding in the thread count to add extra information, I suppose. But why would you?
 
  • Like
Likes weirdoguy, phinds, sysprog and 2 others
  • #17
Nice.
Thanks for the replies.
 
  • #18
pairofstrings said:
The above equations could be a few statements about some object. What I am trying to know is, if I could write one aspect of an object in an equation then is it possible to "embed" the remaining aspects into the same equation.

jbriggs444 said:
The notion is nonsense.
I think what he's getting at is, if you described an object using, say, m for mass, could you then add other properties of the object by substituting some other equation, containing other properties (say, volume and density) for m, until you have one long equation with a bunch of properties.

(The answer is still no, since properties like mass are fundamental, not derivable from other properties.)
 
  • #19
In order to be of some use you wouod have to define all your terms , starting with ' structure' in much more detail. Specially if you want a more detailed answer.
 
  • #21
hutchphd said:
For Feynman's argument see equation 25.32 et seq
https://www.feynmanlectures.caltech.edu/II_25.html
But its just a mathematical notation that semantically doesn't really describe anything by itself. Or in other words, just saying ##U = \sum{U_i} = 0## doesn't really mean anything before you give the details of each ##U_i##. It is a bit like saying the the universe follows the variational principle because you can use the same mathematical method (calculus of variations) to analyze each individual physical problem even though they model different situations applied under different physical laws.
 
  • Like
Likes sysprog
  • #22
DaveC426913 said:
I think what he's getting at is..
I am one in quantity, living in space, I have structure and few activities.

Mathematics may encompass many other different types of quantities, structures, spaces, changes - I believe that is why mathematics exist.
Me in existence also have quantity, structure, space, change - which is mathematics.

So, what I am trying to do is, describe an object in a single equation.
The single equation should be self-sufficient to talk describe about itself.
 
Last edited:
  • Skeptical
Likes weirdoguy
  • #23
You are that equation.
 
  • #24
pairofstrings said:
I am one in quantity, living in space, I have structure and few activities.
But if you think a single equation can describe you, I'm afraid you are sadly mistaken.

pairofstrings said:
So, what I am trying to do is, describe an object in a single equation.
Unless the object is extremely simple, this is not a reasonable thing to do

pairofstrings said:
The single equation should be self-sufficient to talk about itself.
Any equation is self-sufficient to talk about itself.

You seem to be obsessed with equations, possibly thinking that they are somehow magic, but with almost no understanding of them.

Back in December, you wrote this (https://www.physicsforums.com/threads/y-for-heart-curve.996738/post-6425031):
pairofstrings said:
The graph of the equation 1 = x + y is easy to draw. It says 'x' is 1 and 'y' is 1.
Therefore, I can plot the point at x = 1 and y = 1.
This clearly shows that you don't understand some very basic concepts of equations and graphs.
I'll repeat what I've said before: Get yourself a basic precalculus textbook, one that presents lots of different functions.

Your scattershot and random approach to learning about graphs is not at all fruitful.

Thread closed.
 
Last edited:
  • Like
Likes DaveE, weirdoguy, Filip Larsen and 1 other person

1. What is object encapsulation?

Object encapsulation is a programming concept that involves bundling data and methods within a single object, and restricting access to that data and methods from outside the object. This allows for better organization and security of code.

2. How is object encapsulation achieved?

Object encapsulation is achieved through the use of access modifiers, such as public, private, and protected, which control the visibility and accessibility of data and methods within an object. By using these modifiers, developers can restrict access to certain parts of the code and prevent unintended changes or misuse.

3. Why is object encapsulation important?

Object encapsulation is important because it promotes code reusability, maintainability, and security. By bundling data and methods within an object, developers can easily reuse the object in different parts of their code without having to rewrite the same code. It also makes it easier to maintain the code as changes can be made within the object without affecting other parts of the code. Additionally, encapsulation helps to prevent unauthorized access to sensitive data and methods.

4. Is object encapsulation possible in all programming languages?

Yes, object encapsulation is possible in most programming languages, including Java, C++, Python, and JavaScript. However, the syntax and implementation may differ slightly between languages.

5. Are there any disadvantages to using object encapsulation?

One potential disadvantage of object encapsulation is that it can add complexity to the code, making it more difficult to understand and debug. It also requires careful planning and design to ensure that the encapsulated data and methods are organized in an efficient and logical manner. Additionally, encapsulation can also lead to performance issues if not implemented properly.

Similar threads

  • General Math
Replies
1
Views
929
Replies
45
Views
3K
  • General Math
Replies
1
Views
1K
  • Programming and Computer Science
Replies
1
Views
1K
Replies
4
Views
792
Replies
7
Views
1K
  • Quantum Physics
Replies
6
Views
1K
  • General Math
2
Replies
61
Views
9K
  • Electrical Engineering
2
Replies
40
Views
1K
Back
Top