What is Variables: Definition and 1000 Discussions

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. LCSphysicist

    Finding the generator function for 4 variables

    Prove directly that the transformation $$Q_{1} = q_{1}, P_{1} = p_{1} − 2p_{2}$$ $$Q_{2} = p_{2}, P_{2} = −2q_{1} − q_{2}$$ is canonical and find a generating functionSo the first part is easy and can be skipped here. I have some difficults regarding the second part, namely, the one that ask for...
  2. Steve Zissou

    I Distribution of Sum of Two Weird Random Variables....

    Hi there. Let's say I have the following relationship: x = a + b*z + c*y z is distributed normally y is distributed according to a different distribution, say exponential Is there a way to figure out what is the distribution of x? Thanks!
  3. B

    A How to perform a fit with correlated variables

    Hello! I need to perform a fit with several variables and 2 of them are very correlated (above 0.99). The functional form of these 2 variables is something like: ##(p+q)x+qf(x)##, where ##f(x)## contains polynomials and some square roots of x, but the coefficients appearing in ##f(x)## are much...
  4. L

    Finding the distribution of random variables

    Hi. I have found the answer to a and c (I don't know whether it is correct) but I do not know what I should find in question b. Is my method correct and how should I solve part b? Thank you for your help!
  5. K

    Using Poisson random variables to calculate this probability

    I calculated the mean which is 78.4 And the Standard deviation is 5.6 I thought the answer would be (90^(-78.4)/78.4!)*e^-90 But looking back having a decimal factorial doesn't make sense I have the numerical answers for c)= 0.019226 and d)=0.022750 but I my solution was wrong. Any help on...
  6. F

    I Separation of Variables, but not equal to constant

    Suppose I have 2 variables q and t (time), where q is some reparameterization of x (position) : ##x \to q = x f(t)##. Suppose I have a partial differential equation : $$\frac{\partial u(q,t)}{\partial t} = k \frac{\partial u(q,t)}{\partial q}$$ where k = constant Then I do a separation of...
  7. S

    How do Computer Algebra Systems handle the scope of variables?

    Computer languages handle the scope of variables in a precise way so that if one symbol, such as "k" is used in different contexts, the program keeps these separate. When sophisticated human beings re-use symbols in writing mathematics, they can keep things straight, but I don't think they...
  8. brotherbobby

    Proving one equation, cyclic in variables ##a,b,c##, to another

    Problem statement : Let me copy and paste the problem statement from the text : Attempt at solution : I could not solve the problem reducing the L.H.S into the R.H.S. However, I could solve the problem by expanding the R.H.S. into the L.H.S., though it is less than satisfactory. Below is my...
  9. brotherbobby

    Reducing an algebraic fraction, cyclic in three variables, to another

    Problem : Let me copy and paste the problem statement as it appears in the text, as shown above. Attempt : I can sense there is an "elegant" way of doing this, but I don't know how. I show below my attempt using ##\text{Autodesk Sketchbook}##. I hope am not violating anything. Ok so I have...
  10. docnet

    Calculate the joint CDF of two random variables

    $$f_{XY}=1$$ $$dzdy=2xdxdy⇒\frac{1}{2\sqrt{z}}dzdy=dxdy$$ $$f_{ZY}=\frac{1}{2\sqrt{z}}\quad \text{on some region S}$$ $$F_{ZY}=\int^y_{g}\int^x_{h}\frac{1}{2\sqrt{z}}dzdy\quad\text{for some}\quad g(x,y),h(x,y)$$ im learning how to find the region S using a change-of variables technique
  11. chwala

    Using separation of variables in solving partial differential equations

    I am reading on this part; and i realize that i get confused with the 'lettering' used... i will use my own approach because in that way i am able to work on the pde's at ease and most importantly i understand the concept on separation of variables and therefore would not want to keep on second...
  12. docnet

    Are X and Y dependent random variables?

    (a) the agrea of the triangleses is 1, so γ one. (b) I'm not sure how to prove. i feel like ##X## and ##Y## are dependent because ##E(Y|X=0)=\frac{1}{2}## and ##E(Y|X=1)=0## so ##Y## seems dependent on ##X##. ##f_X=1-x## for ##x>0## ane ##f_X=1+x## for ##x<0## so X seems independent on Y.
  13. chwala

    Solving the wave equation with change of variables approach

    I am refreshing on the pde's, and i am trying to understand how the textbook was addressing change of variables, i find it a bit confusing. I will share the textbook approach, then later share my own understanding on change of variables approach. Here is the textbook approach; My approach on...
  14. M

    MHB For which values are the variables independent?

    Hey! :giggle: We have the table of distribution of $X$, $Y$ and their joint random variable : with $$(c,d)\in \left \{(c,d)\in \mathbb{R}^2\mid 0\leq c\leq \frac{1}{4}, \ 0\leq d\leq \frac{1}{2}, \ \frac{1}{4}\leq c+d\leq \frac{1}{2}\right \}$$ I want to calculate the values of $c$ and $d$...
  15. S

    When it states "in terms of a, b, c" do you need to use all variables?

    This is a spring problem From this, it says I need to answer in terms of kinematic friction which to me doesn't make much sense. I also looked at similar questions online to the "in terms of" problems and they don't use all four variables in their derived equation. Do I not need to use all...
  16. anikad

    Which variables determine the exact output of this condensing device?

    Good day all:smile:! I've been researching on 'Atmospheric water harvester' (AWH) devices. As I researched many functioning mechanisms on such devices, the most workable mechanism to me seems to be the one illustrated in the picture attached to this thread. (i.e running hot...
  17. cianfa72

    I Thermodynamic functions and state variables

    Hi, a basic doubt about thermodynamic functions and state variables. Take for instance transformations I and II in the following ##(p,V)## plane. As far as I can tell, just because the transformations are drawn as continuous lines they are reversible by definition. Namely we can transform...
  18. SamRoss

    LaTeX Trouble using PythonTex variables in Latex file

    I'm using Visual Studio Code as my text editor. My ultimate goal is to use PythonTex in a Latex file so that I can generate multiple versions of the same worksheet for my class. As a test, I defined a variable myvar = "hi" but I can't get it to render correctly in the pdf when I use \py{myvar}...
  19. cwill53

    I Change of Variables in Thermodynamics

    I have a question about changing variables in the context of thermodynamics, but I suppose this would extend to any set of variables that have defined and nonzero partial derivatives on a given set of points. First I should define the variables. ##T## is temperature, ##U## is internal energy...
  20. karush

    MHB B.2.2.2 solve DE ....separate variables

    #2 $ y'= \dfrac{x^2}{y(1+x^3)}$ Separate y dy =\dfrac{x^2}{(1+x^3)... ok i tried to get the book ans but someahere derailed why is =c in the answer
  21. karush

    MHB How to Solve Differential Equation with Separate Variables?

    #24 in the spoiler ov!347.21 nmh{987} $\dfrac{dy}{dx}=\dfrac{(2¬e^x) }{(3+2y)}\quad y(0)=0$ $\begin{array}{lll} separate & (3+2y)dy=(2¬e^x)dx \\ integrate &3y + y^2=2x-e^x +c \\ complete the square &y^2+3y+(3/2)^2 =2x-e^x +(3/2)^2+c\\ and &(y+(3/2))^2\\ from...
  22. C

    Accessing class variables from .hpp file in the .cpp file

    Hi all, simple question but I cannot understand what is going wrong. I have a CLASS.hpp file of the form class CLASS { private: double varA = 5.; //some numerical value public: double func(double z); }; and then in the CLASS.cpp file I have a call to this function func()...
  23. M

    Bound correlation coefficient for three random variables

    Hi, I just found this problem and was wondering how I might go about approaching the solution. Question: Given three random variables ## X##, ##Y##, and ## Z ## such that ##\text{corr}(X, Y) = \text{corr}(Y, Z) = \text{corr}(Z, X) = r ##, provide an upper and lower bound on ##r## Attempt: I...
  24. chwala

    Determine the type of correlation for the two variables given in the data

    Kindly see the attached problem below (i find the topic to be easy and straightforward). My concern is only on the highlighted part: In my understanding, to define the type of correlation i have always approached a straightforward approach. For value ##1## perfect positive correlation and...
  25. B

    Mixed random variables problem

    I got (a) and (b) but I'm still working on (c). The solutions can be found here for your reference: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-041sc-probabilistic-systems-analysis-and-applied-probability-fall-2013/unit-ii/lecture-9/MIT6_041SCF13_assn05_sol.pdf. But...
  26. M

    Solving an inequality for a change of variables

    Hi, This is as part of a larger probability change of variables question, but it was this part that was giving me problems. Question: If we have ## 0 < x_1 < \infty ## and ## 0 < x_2 < \infty ## and the transformations: ## y_1 = x_1 - x_2 ## and ## y_2 = x_1 + x_2 ##, find inequalities for...
  27. V

    Change of Variables: Integrals w/Polar Coordinates

    We have two different integrals, the first one being ∫∫erdrdθ where -1≤r≤1 and 0≤θ≤π which equals approximately 7 and ∫∫erdrdθ where 0≤r≤1 and 0≤θ≤2π which equals approximately 11. Why do these integrals have different values and do not go against the change of variables theorem? I'm having...
  28. PandaKitten

    Using chain rule when one of the variables is constant

    So first thing I tried was to separate the variables then differentiate by parts, setting u = E and v = 1/ln(E) (and the other way around) but I couldn't do the integral it gave. Then I tried to reason that because dx was constants then dE/dx is equal to E/x but I was told that's not the case...
  29. M

    Probability: Multivariate distribution change of variables

    Hi, I was attempting the problem above and got stuck along the way. Problem: Suppose that ## Y_1 ## and ## Y_2 ## are random variables with joint pdf: f_{y_1, y_2} (y_1, y_2) = 8y_1 y_2 for ## 0 < y_1 < y_2 < 1 ## and 0 otherwise. Let ## U_1 = Y_1/Y_2 ##. Find the probability distribution ##...
  30. V

    Engineering equations involving correlated variables

    Hello, I'm carrying out an assignment on the simulation of correlated (random) variables. Can you suggest to me equations pertaining to the field of engineering (or science) that involve correlated variables? My question may sound redundant, because all equations create dependencies between...
  31. S

    Prob/Stats Material on complex random variables and exotic probabilities

    I am looking for books that have sections or even chapters devoted to complex random variables, or random variables that can take on complex values (NOT probabilities that are valued in the complex range, in this regard). On the other hand, if someone does know any books that contain material on...
  32. JD_PM

    Showing an identity involving Grassmann variables

    All we should need for this problem are the basic rules for the Grassmann algebra \begin{equation*} \{ \theta_i, \theta_j\} = 0, \quad \theta^2_i=0 \end{equation*} \begin{equation*} \int d\theta_i = 0, \quad \int d\theta_i \ \theta_i = 1 \end{equation*} Starting from left to right...
  33. Leo Liu

    Find the bounds after changing the variables in a double integral

    The answer calculates the integral with ##du## before ##dv## as shown below. However I decided to compute it in the opposite order with different bounds. Here is my work: According to the definitions, $$\begin{cases} u=x+y\\ v=2x-3y \end{cases}$$ First we need to convert the boundaries in xy...
  34. M

    I Sum independent normal variables

    (I know how to prove it). Prove that a finite sum of of independent normal random variables is normal. I suspect that independence may not be necessary.
  35. anemone

    MHB Solving a System of 3 Equations with 7 Variables

    Let $x_1,\, x_2,\,\cdots,\,x_7$ be real numbers such that $x_1+4x_2+9x_3+16x_4+25x_5+36x_6+49x_7=1\\4x_1+9x_2+16x_3+25x_4+36x_5+49x_6+64x_7=12\\9x_1+16x_2+25x_3+36x_4+49x_5+64x_6+81x_7=123.$ Find the value of $16x_1+25x_2+36x_3+49x_4+64x_5+81x_6+100x_7$.
  36. Y0SHI0N

    Can two variables in two different equations cancel each other?

    Using the related equations, I have come up with an equation that I think would answer this question (#4). However, I was just wondering does the 'L' from equation #1 and 'l' in equation #3 cancels each other out when the substitution is made to give out equation #4 (since they are both the...
  37. redtree

    I Separation of variables for Named Probability Density Distributions

    Given a probability density distribution ##P(\vec{x})##, for what named distributions is the following true: \begin{equation} \begin{split} P(\vec{x}) &= P_1(x_1) P_2(x_2) ... P_n(x_n) \end{split} \end{equation}
  38. BWV

    I How do hidden variables supposedly explain radioactive decay?

    If individual atoms are indistinguishable from one another, then how can you tell if atom A will experience radioactive decay before identical atom B? ISTM there would have to be some underlying structure beyond electrons and quarks and unique to each atom / particle to be able to do this...
  39. Isaac0427

    I Understanding the change of variables for PDEs

    I've been trying to get change of variables in PDEs down (I don't particularly like my textbook or professor's approach to it), and I want to ask here if I am getting this right. Let ##\vec{x}=(x_1,x_2,...,x_n)^T## and ##\partial_\vec{x}=(\partial_{x_1},\partial_{x_2},...,\partial_{x_n})^T##. I...
  40. Armine

    Proof of a formula with two geometric random variables

    The image above is the problem and the image below is the solution I have tried but failed.
  41. Celso

    Superposition in separation method of variables

    Each different boundary condition means a different charge configuration, how can this problem be solved using superposition?
  42. M

    I Quantum Entanglement with Public Variables

    For a thought experiment, if you defined: An electron's "state" can be in 16 states measured as increments of 45 "degrees" starting at 22.5 (modulus 360) An entangled electron (e') simply gets aligned 180 degrees away from (e) A "measurement" M(n) at n degrees simply adds n degrees "Spin" is...
  43. A

    I Change of variables in the Density of States function

    I have a problem where I am given the density of states for a Fermion gas in terms of momentum: ##D(p)dp##. I need to express it in terms of the energy of the energy levels, ##D(\varepsilon)d\varepsilon##, knowing that the gas is relativistic and thus ##\varepsilon=cp##. Replacing ##p## by...
  44. P

    Double Integral via Appropriate Change of Variables

    Summary:: Calculate a double integral via appropriate change of variables in R^2 Suppose I have f(x,y)=sqrt(y^12 + 1). I need to integrate y from (x)^(1/11) to 1 and x from 0 to 1. The inner integral is in y and outer in x. How do I calculate integration(f(x,y)dxdy) ? My Approach: I know that...
  45. S

    Mathematica Automatically create array of named variables

    In the following example... Manipulate[ ListPlot[{p1, p2}, PlotRange -> {{0, 3}, {0, 3}}, Joined -> True], {{p1, {0.5, 0.5}}, Locator}, {{p2, {1, 0.7}}, Locator} ] ... we have created variables p1 and p2 that are local to the Manipulate block...
  46. karush

    MHB Solving Systems of Six Equations with Nine Variables

    The details for Archetype J (System with six equations, nine variables. Consistent. Null space of coefficient matrix has dimension 5.) include several sample solutions. Verify that one of these solutions is correct (any one, but just one). Based only on this evidence, and especially...
  47. M

    Probability Density Functions: Transformation of Variables

    Hi, I have a question about probability transformations when the transformation function is a many-to-one function over the defined domain. Question: How do we transform the variables when the transformation function is not a one-to-one function over the domain defined? If we have ## p(x) =...
  48. N

    Median and mean when there are 2 variables

    Here's a list of six numbers written in order of size 4, 7, x, 10, y, y The numbers have a median of 9 a mean of 11 Find x and y? So I've gone to do: (4+7+x+10+2y)/2 = 11 I get x+2y = 45 What do I need to do from here?
  49. Arman777

    Adjusting the printing format for the given variables in R

    I have data like -418 -26066 -539 -33810 -763 -47745 207 12395 -701 14732 473 -8748 862 -19061 744 -16347 680 59377 -637 -53885 -720 35840 -486 23906 -147 3505 762 -20129 677 -53800 849 -67388 -690 42730 995 -63425 203 -4108 620 -11614 93 -6381 26 -1423...
Back
Top