Happiness said:
Definition of independent variables
Two random variables
X and
Y are
independent if and only if for every
a and
b, the events {
X ≤
a} and {
Y ≤
b} are independent events.
The mathematical definition of "independent events" arises in probability theory, so "independent events" is not the terminology you want to use for a formal mathematical definition of "independent" in a deterministic settling - like classical mechanics.
Definition of independent functions
I can't find it. I can only find the definition of linearly independent functions. But the functions ##x(t)## and ##\dot x(t)## could be linearly independent but dependent.
Yes, it is difficult to give a mathematical definition that expresses the common language meaning of "independent" because the common language meaning of "independent" involves metaphysical questions - such as "What does it mean for one thing to
cause or affect another ?"
For example, suppose we define a function ##f(x,y) = \sqrt{(x + y)} ## so its domain is the set of points on the plane ##\{(x,y):x+y \ge 0\}##. In mathematical terminology, the variables ##(x,y) ## are "the independent variables". However, in terms of common language notions, if we pick a value of ##x## then this "affects" what choices we have for ##y##.
Aside from "linearly independent", there are various informal uses of the work "independent" in mathematics, but I don't know of any formal definition that encompasses all situations. We could try the definition "##A## is independent of ##B## means that ##A## is not a function of ##B##", but that doesn't completely capture the common language notion of "##A## does not affect ##B##".
The clearest way to resolve your original post is to admit that physics uses terminology that is atrocious, from the point of view of pure mathematics. In mathematics, a "function" is defined so it has a (fixed) domain and co-domain. If you talk about a function f with one domain and co-domain in the first paragraph on a page and then begin to talk about a function f with a different domain and co-domain on the bottom of the page then you are talking about
two different functions , so you shouldn't name them both "f".
For example, if the first paragraph says: "Define f(x,y) = 3x + 2y" and the last paragraph says "x = 4t and y = 2t, so f(t) = 12t + 4t" this is self-contradictory terminology from a purely mathematical point of view because "f" in the first paragraph has a different domain than "f" in the last paragraph. In the first paragraph an element of the domain is a pair of real numbers (x,y). In the last paragraph, an element of the domain is a real number t.
In physics (and applied mathematics) what is denoted as "the function f", often doesn't refer to a mathematical function. Instead "f" refers to some phenomena like "the position of the particle", "the cost of tea", "the length of the cable" etc. If we think of "f" as phenomena then as we reason about "f" in various ways, we can keep changing and modifying how we model "f" as a mathematical function. So we use the same name "f" for a collection of different functions.
If we think of "position" and "velocity" as phenomena associated with the same particle then we might be able to express "velocity" as a function of position. If the particle moves in a figure eight pattern then there is a position where it has two different velocities . In that case, velocity cannot be expressed as a function of position. However, there are cases where velocity can be expressed a function of position - such as the typical "falling body" problem.
To me, the most confusing aspects of physics texts involve the question of "what is a function of what" in the context of derivatives and partial derivatives. Suppose we read that ##L## is defined as a function of ##(x,v)##. If the expression ##\frac{dL}{dt}## appears in a later paragraph then this only makes sense (mathematically) if ##L## is defined as a function of the single variable ##t##. The name "##L##" is being used to denote both a function of ##t## and a mathematically different function of ##(x,v)##. There are further complications if the text says that "##v(t) = \frac{dx}{dt}##" because the name "##x##" is being used for both an element in the domain of a function and "##x##" is also being used for the name of a function (i.e. ##x(t)## denotes something in the co-domain of the function whose name is "##x##".)
To interpret a physics text, you must keep in mind that a phenomena like "velocity" or "the cost of tea" can be modeled by several different mathematical functions and that the text will often use the same name for the phenomena itself and also for each of the several different functions that model it.
For concepts involving phase spaces, you have to unscramble whether the name for a phenomena like "velocity" refers to a very specific phenomena (e.g. the "velocity" of a particular particle on a particular trajectory") or whether "velocity" refers to an element in set of more general phenomena (e.g. some velocity chosen from the set of velocities belonging to all possible particles on all possible trajectories).