Variables Definition and 1000 Threads

In mathematics, and in other disciplines involving formal languages, including mathematical logic and computer science, a free variable is a notation (symbol) that specifies places in an expression where substitution may take place and is not a parameter of this or any container expression. Some older books use the terms real variable and apparent variable for free variable and bound variable, respectively. The idea is related to a placeholder (a symbol that will later be replaced by some value), or a wildcard character that stands for an unspecified symbol.
In computer programming, the term free variable refers to variables used in a function that are neither local variables nor parameters of that function. The term non-local variable is often a synonym in this context.
A bound variable is a variable that was previously free, but has been bound to a specific value or set of values called domain of discourse or universe. For example, the variable x becomes a bound variable when we write:

For all x, (x + 1)2 = x2 + 2x + 1.
or

There exists x such that x2 = 2.
In either of these propositions, it does not matter logically whether x or some other letter is used. However, it could be confusing to use the same letter again elsewhere in some compound proposition. That is, free variables become bound, and then in a sense retire from being available as stand-in values for other values in the creation of formulae.
The term "dummy variable" is also sometimes used for a bound variable (more often in general mathematics than in computer science), but that use can create an ambiguity with the definition of dummy variables in regression analysis.

View More On Wikipedia.org
  1. K

    Variables This should be easy -- Matched units on LHS & RHS?

    Variable Units x Meters (m) v Meters per second (m/s) t seconds (s) a Meters per second squared (m/s^2) These variables appear in the following equations, along with a few numbers that have no units. In which of the equations are the units on the left side of the equals sign consistent with...
  2. C

    The probability of objects spec Q out of infinite variables

    Statistical probabilities of a objects qualities as is emerging out of infinite variable states. Can an equal emergence occur again, and as a unavoidable fact of infinites result in endless occurrences, given infinite chance in an eternal cosmos? I say no. If the (falsely inferred as)...
  3. A

    MHB Replacing Variables in Integration

    I have asked the same question on math stackexchange under the moniker "anonymous," since I do not wish to be known there. I will try my luck here.$$I = \int_{-\infty}^{\infty} e^{-x^2} dx$$ I don't understand, we say: $$I = \int_{-\infty}^{\infty} e^{-x^2} dx$$ Then we say: $$I =...
  4. A

    Replacing Variables in Integration

    Homework Statement $$I = \int_{-\infty}^{\infty} e^{-x^2} dx$$ Homework Equations Below The Attempt at a Solution $$I = \int_{-\infty}^{\infty} e^{-x^2} dx$$ I don't understand, we say: $$I = \int_{-\infty}^{\infty} e^{-x^2} dx$$ Then we say: $$I = \int_{-\infty}^{\infty} e^{-t^2} dt$$...
  5. Q

    How many variables to describe a system?

    I was arguing with a friend over the whole 'big data' trend and how people are looking to get answers to questions by amassing many samples over many variables and hoping to mash it together somehow. (Under the assumption not only of lots of correlations to search over but also that...
  6. G

    Momentum Space Measure Change of Variables: Exploring Cosmic Abundances

    I'm working through an article called "Cosmic abundances of stable particles -- improved analysis" (link -- viewable only in Firefox afaik), the result of which, equation (3.8), is cited quite a lot. I'm more interested in how they arrived there. Particularly, how come momentum space measure...
  7. G

    Hidden variables & partial correlations

    I recently understood Bell’s theorem (the inequality and the QM calculation), with the help of you guys. But something still bothers me: assuming for the moment that Bell’s inequalities were NOT violated by experiment, how we would we understand the dependence of the varying correlations on the...
  8. C

    Separation of Variables Spherical Coordinates

    Homework Statement So I'm doing a question from one of my past exams as attached, there are no copy right issues with this document that I know of and have asked my lecturer who wrote the exam and he said I am welcome to upload it. The question is 1)b)iv), my attempt is attached. I end up with...
  9. A

    Mean of a sum of random variables

    Homework Statement If Y=X1+X2+...+XN prove that <Y>=<X1>+<X2>+...+<XN> Homework Equations <Y>=∫YP(Y)dY over all Y. The Attempt at a Solution I only seem to be able to show this if the Xi are independent, and I also think my proof may be very wrong. I basically have said that we can write the...
  10. M

    How Does Changing Sign Conventions Affect the Equations for Motion?

    I've attached the question along with its solution. It seems fairly simple yet the answer doesn't seem quite right to me. It appears as though they let downwards be + and that ## m\frac{dv}{dt} = mg + 0.4v## where v is negative since the ball is on its way up and there is a + instead of a - on...
  11. N

    N00b question about understanding what formulas are

    I am new to the world of Science & Mathematics but am eager to learn all I can. I go to my local library and open up books on the topic such as Physics, Engineering and Electronics and there are swathes of formulas all of which I don't understand. I stare at them wondering what keys they must...
  12. I

    Distribution Difference of Two Independent Random Variables

    Homework Statement Z = X - Y and I'm trying to find the PDF of Z. Homework Equations Convolution The Attempt at a Solution Started by finding the CDF: Fz(z) = P(Z ≤ z) P(X - Y ≤ z) So I drew a picture So then should Fz(z) be: since, from my graph, it looks as though Y can go from...
  13. P

    Separation of variables technique

    If $$u=\frac{1}{2} E^2$$ and $$v=\frac{1}{2}B^2$$ and we have that $$\frac{\partial L}{\partial u} \frac{\partial L}{\partial v} = -1$$ The author says: to obtain explicit solution of the above, one must resort to techniques such as separation of variables in particular coordinate systems. For...
  14. END

    Partial Fraction Decomposition—Multiple Variables

    What's the best approach to solving the partial-fraction decomposition of the following expression? $$\frac{1}{(a-y)(b-y)}$$ The expression is not of the following forms: But I know the solution is $$= \frac{1}{(a-b)(y-a)}-\frac{1}{(a-b)(y-b)}$$
  15. D

    MHB Differences of Random Variables Questions

    Hi guys, I need help with this question. Suppose X has a normal distribution with mean u1 and known standard deviation 7. Suppose Y has a normal distribution with mean u2 and known standard deviation 9. Suppose we have a random sample of size 6 from the X distribution. The sample mean xbar is...
  16. evinda

    MHB Exploring Static Variables in Algorithms

    Hello! (Smirk) Suppose that we have an algorithm of the form: Algorithm(NODE *P){ static int s=0; Algorithm(P->RC); ...... Algorithm(P->LC); ...... s++; } where P is the root of a binary tree, for example this one: When we call the function Algorithm(a), s will get the value...
  17. W

    Continuity and differentiability in two variables

    Hi If the function ##f(x,y)## is independently continuous in ##x## and ##y##, i.e. f(x+d_x,y) = f(x,y) + \Delta_xd_x + O(d_x^2) and f(x,y+d_y) = f(x,y) + \Delta_yd_y + O(d_y^2) for some finite ##\Delta_x##, ##\Delta_y##, and small ##\delta_x##, ##\delta_x##, does it mean that it is continuous...
  18. O

    Confused about declaring digital design variables?

    An example: A car that senses if you have your seat belt on and the door is closed I can declare: D - for door S - for seat belt D is 1 is door is open, 0 if door is closed S is 1 if seat belt is on, 0 if it's off This is all very straight forward and can be implemented with combinational...
  19. M

    Projectile motion with a few variables

    Homework Statement Assume uniform acceleration. The projectile is released at a height 1m above the ground traveling at angle 60 above the horizontal. It hits the ground 60m away from the launch position. Calculate acceleration of the particle in acceleration phase.[/B]Homework Equations...
  20. S

    Expanding a multivariable function in powers of one of the variables?

    So I've started reading Landau's classical mechanics text and I'm at the part where L(v'2) = L(v2 + 2v⋅ε +ε2) and he says to expand it out in powers of ε to get L(v'2) = L(v2) + ∂L/∂(v2) * 2v⋅ε where v and ε are vectors. Can someone explain how this result is obtained in more detail?
  21. D

    Expected value of X and Y, E[XY] for uniform random variables

    Homework Statement If ##X\sim\mathcal{U}(-1,1)## and ##Y = X^2##, is it possible to determine to ##cov(X, Y)##? Homework Equations \begin{align} f_x &= \begin{cases} 1/2, & -1<x<1\\ 0, & \text{otherwise} \end{cases}\\ f_y &= \begin{cases} 1/\sqrt{y}, & 0<x<1\\ 0, & \text{otherwise} \end{cases}...
  22. R

    Calculators Clear Variables on TI-89 to Solve ODEs

    So the TI-89 can solve ODEs and the arbitrary constants show up as @1, @2, @3, etc. Every time I put in a new ODE it uses the next constants @4,@5 etc. How do I clear them to get back to @1,@2 again? There used to be a sub forum here on math software etc. but I cannot find it now so I posted...
  23. G

    Dimensional Analysis problem - choosing variables

    Homework Statement Hello guys! I have a dimensional analysis problem where water is draining from a open topped tank and in a certain amount of time,t it drops from h1 to h2. and I need to find a bunch (6) of variables which apply to this problem. I have some but I am not sure about the other...
  24. S

    MHB Probability function and random variables

    Given a Bernoulli r.v., W, which is derived from r.v. T(Poisson) (a)if T=0 then W=1 and b) if T>0 then W=0). One has to show that the sample mean (the proportion of 0s in the sample), is an unbiased estimate of φ=e^λ. Also, how does one find the variance of the sample mean and show that this...
  25. frejatroop

    How to display variables on MATLAB plots

    The question gives the code for MATLAB to solve Hill equation with 5 different values of distance x, which will generate 5 plots on same axis. But the plots will be Force versus time. The question ask you to interpret the relationship between X and F(t). How do I know this plot represents...
  26. D

    Finding the distance between two points in terms of variables

    1. A spring of spring constant k is attached to a support at the bottom of a ramp that makes an angle θ with the horizontal. A block of inertia m is pressed against the free end of the spring until the spring is compressed a distance d from its relaxed length. Call this position A. The block is...
  27. E

    Quadratic Equations in Two Variables: How Many Solutions?

    Homework Statement Given x^2 - xy + y^2 = 4(x+y-4) where x, y both are real then the number of pairs (x, y) satisfying the equation will be (A) Only one (B) Two (C) Three (D) No pair Homework EquationsThe Attempt at a Solution The equation can be written as (x-2)^2 + (y-2)^2 + 8 = xy on...
  28. M

    Are Complex Analysis and Complex Variables the same thing?

    Is Complex Analysis and Complex Variables the same thing? Is Complex Analysis pure or applied math? Is Complex Variables pure or applied math? What's the prerequisite of Complex Analysis and Complex Variables? Are they useful for the field of computer science?
  29. E

    How to find one value in terms of other variables?

    Homework Statement I need to find q in terms of f and p. Homework Equations I am dealing with this equation at the moment: 1/p + 1/q = 1/f. The Attempt at a Solution I think I should isolate the q, so that I have the variables p and f on one side of the equals sign, and q on the other side of...
  30. hilbert2

    Iterations of functions of noncommutative variables

    As most people interested in mathematics know, iterations of rational functions of complex variable can be used to produce fractals such as the Mandelbrot set... What about iterating functions whose domain is a noncommutative ring? A ring can be a vector space of any dimensionality (or can...
  31. M

    Find a Rigorous Calculus of Multiple Variables Book for Advanced Learners

    Hi! I am looking for a very rigorous book on some of the topics covered in Calculus of Multiple Variables. My University uses the last part of Adams "Calculus: a complete course" and I found the presentation therein more fit for people needing to know enough to perform the calculations than for...
  32. B

    Relating variables: weight, gear ratio, power/torque to make design estimations

    hey all, I'm stumped so I thought I'd try posting here. I am in the early stages of design of a vehicle where we have a rough approximation of weight, no idea what gear ratios or power/torque to use yet, but have an acceleration requirement. I am trying to graphically model the relationship...
  33. B

    Separation of Variables in 2 Dimensions: A Laplace Equation Primer

    So I'm currently taking electricity and magnetism and I'm expected to know how to perform a separation of variables on laplace equation in 2 dimensions.I have taken Zero differntial equations courses and I literally have no freaking idea what's going on. The book I use doesn't spend any time...
  34. _N3WTON_

    Second Order ODE, Complex Roots, Change of Variables

    Homework Statement Solve: \frac{d^{2}y}{dx^{2}} + \omega^{2}y = 0 Show that the general solution can be written in the form: y(x) = A\sin(\omega x + \alpha) Where A and alpha are arbitrary constants Homework EquationsThe Attempt at a Solution I know that I will need to change variables for...
  35. R

    Linear Algebra: Solving a system with free variables

    Here is a picture of the problem. Can anyone give me some hints on the problem? I've looked in my textbook, but I don't know what "s" means. I found stuff on the parametric vector form, and it gives me the equation x = su + tv, but I don't see any "t"'s in this problem. I first tried...
  36. P

    Addition Rule for Random Variables

    Hi, I am having a hard time understanding why the Addition Rule for two Random Variables holds even when the random variables are dependent. Essentially: why is E(X+Y) = E(X) + E(Y) when X and Y are dependent random variable? Given the two variables are dependent, if X happens to take on a...
  37. J

    MATLAB MATLAB: Program Unknown # of 'for' Loops w/ i1,i2,iN Variables Smartly

    Hi :) I need to program several nested 'for' loops which differs only in index of their variables inside. So I need to convert this: for i1 = 1000:-d:0 for i2 = (1000-(d*i1):-d:0 ... for in = (1000-(d*in-1):-d:0 some function containing all index variables like: b=(i1*A( :,2), i2*A( :,3), ...
  38. S

    Separation of Variables to Calculate Potential Inside Box

    My friends and I are in our first senior-level physics course at the University of Alabama in Huntsville, Introductory E&M. At the moment, we're working on using separation of variables to calculate electric potentials inside different objects given certain boundary conditions. One, however, is...
  39. N

    MHB MGF relating to random sum of random variables

    Hi all I am doing this question right now and I don't even know how to start it up. I know that it's in relation to a sum of a random number of random variables, but I don't know how to continue on from that. I've read my textbook and it states some definition for an MGF which is: $M_{y}(t) =...
  40. D

    Minimum mean square error for two random variables

    Homework Statement Determine the minimum mean square error for the joint PMF. You will need to evaluate ##E_{X, Y}[(Y - 14/11\cdot X - 1/11)^2]##. Homework EquationsThe Attempt at a Solution The answer is ##\frac{3}{22}##, but when I work it out, I get ##\frac{203}{484}##. From my values, I...
  41. Mr Davis 97

    Observations, unit of analysis, and variables

    Homework Statement [/B] Sun Tyrant: 25, 28, 25, 28, 29, 24, 28, 24, 24, 28, 30, 24, 22, 27 Sun Acrid: 29, 31, 29, 26, 28, 22, 25, 29, 29, 27, 28, 23, 26, 29 Laminatekist: 25, 26, 26, 26, 26, 28, 27, 26, 25, 28, 24, 28, 27, 25 This data set shows the number of raisins in each of 14 boxes of...
  42. M

    MHB Solving equation with 2 variables. (time sensitive)

    i am a 50 year old man, lovingly arguing with my 12 year old niece who has an algebra word problem. we're stumped (I'M stumped) -- and would love to get some help. CAN YOU PLEASE HELP ME SOLVE THIS "2 VARIABLE" PROBLEM ASAP (need it by 6am pacific time on 10/7/14). thanks! PROBLEM: Ashlee...
  43. O

    Calculate conditional expectation of exponential variables

    Homework Statement Let X and Y be independent exponential random variables with parameters a and b. Calculate E(X|X+Y). Homework EquationsThe Attempt at a Solution I'm pretty sure I have it, just want to make sure. Joint density for X and Y is abe^(-ax)e^(-by) for x,y>0. Let Z=X and W=X+Y so...
  44. A

    MHB Continuity of piecewise function of two variables

    The question looks like this. Let $f(x, y)$ = 0 if $y\leq 0$ or $y\geq x^4$, and $f(x, y)$ = 1 if $0 < y < x^4 $. (a) Show that $f$ is discontinuous at (0, 0) (b) Show that $f$ is discontinuous on two entire curves. In regarding (a), I know $f(x, y)$ is discontinuous on certain...
  45. A

    Continuity of piecewise function of two variables

    The question looks like this. Let ##f(x, y)## = 0 if y\leq 0 or y\geq x^4, and f(x, y) = 1 if 0 < y < x^4 . (a) show that f(x, y) \rightarrow 0 as (x, y) \rightarrow (0, 0) along any path through (0, 0) of the form y = mx^a with a < 4. (b) Despite part (a), show that f is discontinuous at (0...
  46. C

    Variables in lagrangian vs hamiltonian dynamics

    In the lagrangian formalism, we treat the position ##q## and the velocity ##\dot q## as dependent variables and talk about configuration space, which is just the space of positions. In the hamiltonian formalism we talk about canonical positions and momenta, and we consider them independent. Is...
  47. J

    Variables -- why is typing them in their declarations important?

    Hiya! I am a beginner in programming and I am now having a java course in college... In the first few lessons, we are taught that programming involves declaration of variables and variables are classified into several categories (e.g. int, float, boolean, double, etc.). I wonder why we have to...
  48. E

    Factoring Help, Finding two variables

    Homework Statement If f(x) = mx^3 + gx^2 - x + 3 is divided by x - 1, the remainder is 3. If f(x) is divided by x + 3, the remainder is -1. What are the values of m and g? Homework Equations Remainder Theorum/Factor Theorum The Attempt at a Solution Here is what I did...
  49. G

    Taylor Series and Random Variables

    Homework Statement A standard procedure for finding an approximate mean and variance of a function of a variable is to use a Taylor Expansion for the function about the mean of the variable. Suppose the variable is y, and that its mean and standard deviation are "u" and "o". f(y) = f(u) +...
  50. A

    Sum of discrete uniform random variables

    Homework Statement Let ##X_k## be iid uniform discrete on ##\{0,...,9\}##. Find the distribution of ##\sum\limits_{k=1}^{\infty} \frac{X_k}{10^k}##Homework Equations The Attempt at a Solution I've tried a lot of things, I've tried decomposing ##X_k## into 10 bernoulli trials, I've tried using...
Back
Top