What exactly is a dependent variable?

  • Thread starter Cyrus
  • Start date
  • Tags
    Variable
In summary, independent variables are variables that are not affected by the changes in other variables. Dependent variables are variables that are affected by the changes in other variables.
  • #1
Cyrus
3,238
17
In my course notes (Dynamics) I have the following written down:

(a) write as a set of implicit equations [tex]0=h(\dot{\vec{z}},\vec{z},\vec{\mu})[/tex]

(b) pick a reference flight condition (RFC) [tex]0=h(\dot{\vec{z*}},\vec{z*},\vec{\mu*})[/tex]

(c) Apply Taylor to linearize (a) about (b); Trick: Consider [tex]\dot{\vec{z*}}, \vec{z*}, \vec{\mu*}[/tex] to be independent variables.


The function [tex] h(\dot{\vec{z*}},\vec{z*},\vec{\mu*})[/tex] is found by finding the equations of motion. An example of a function h given in an example in class was:

[tex]0=-\frac{g}{L}sin(z_1)-\frac{b(z_2)}{mL}+\frac{\mu}{mL^2}-\dot{z_2}[/tex]​

Based on this (or any) equation of motion, selection of a value of [tex]z_1,z_2,\mu[/tex] constrains a value of [tex]\dot{z_2}[/tex]. In this sense at least one value has to depend on the other three. In my mind, by calling these four variables independent it means I can pick any value I want for them and input them into my function, regardless of the selection of the other values; however, it is obvious that any choice of those 4 variables is not going to satisfy the fact that h must equal 0: h=0. So, I ask how is it that these values really are independent of each other?


Upon searching for a taylor series expansion in multi-variables, [1], it is clear that the input arguments into the function h, are independent.

So I tried to do more searching on what exactly are independent and dependent variables. It seems that an dependent variable is a function of an independent variable. This means that for each value of the independent variable there can be one and only one value for the dependent variable. So, does that mean if there are two possible solutions that satisfy the equation, there are no 'dependent/independent' variables, just, for a lack of a proper word, 'variables'? An example is the equation of a circle, [tex]x^2+y^2=R^2[/tex]. This is another implicit function, but I cannot pick any value of x and y and have the sum of their squares equal [tex]R^2[/tex]. Does it even make sense to use the word independent/dependent variables?

Any thoughts would be helpful.

[1] - http://www.chem.mtu.edu/~tbco/cm416/taylor.html"
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
I don't know if it helps at all, Cyrus, but in psych research, independent variables are what we manipulate and dependent variables are what we measure. For instance, if I wanted to study the effects of sleep deprivation on math problem solving, I could assign three groups of subjects to get either 2 or 4 or 8 hours of sleep (the IV, with 3 levels) and then measure their scores on a math test I give them the next day (the DV).
 
  • #3
Indepependent and dependent variables in theory of DEs

Hi, Cyrus,

I am not sure I understand what you wrote down, but it seems to involve differential equations, and if so, then, for example:

  • In the second order linear PDE
    [tex]
    u_t = \Delta u = u_{xx} + u_{yy} + u_{zz}
    [/tex]
    (the heat equation), u is the dependent variable and x,y,t are the independent variables,
  • in the system of first order nonlinear ODEs (where dot denotes differentiation wrt t)
    [tex]
    \begin{array}{rcl}
    \dot{p}_1 & = & -q_1 - 2 \, q_1 \, q_2 \\
    \dot{p}_2 & = & -q_2 - \left( q_2^2 - q_2^2 \right) \\
    \dot{q}_1 & = & p_1 \\
    \dot{q}_2 & = & p_2
    \end{array}
    [/tex]
    (equations of motion derived from the Henon-Heiles Hamiltonian), [itex]q_1, \, q_2, \, p_1, \, p_2[/itex] are the dependent variables at t is the independent variable.
Does that help?
 
  • #4
Hi Cyrus,

Engineering perspective: Suppose you have some machinery that let's you control your "independent" variables. If you can control each parameter independently (changing "x" doesn't change "y", or "z", or whatever), you have independent controls. To an engineer (the best is enemy of good enough), that's close enough to independent variables.

Simple mathematical perspective: [itex]\partial x_i/\partial x_j = \delta_{ij}[/itex]

Better mathematical perspective: Suppose your desired function [itex]h[/itex] is a function of an n-dimensional space. If you have [itex]m>n[/itex] supposedly independent variables they obviously are not independent. The supposedly independent variables are independent if (a) [itex]m\le n[/itex] and (b) they form an orthogonal basis for some m-dimensional subspace. If the variables aren't truly orthogonal there are some dependencies among them, and this in turn might invalidate your linearization.
 
  • #5
you make an interesting point. in the example x^2 +Y^2 = 1, neither X nor Y is a priori the dependent or independent variable. rather when a value is chosen for one of them, then (at most two) values are determined for the other. hence either one can be considered the independent variable.
 
  • #6
The dependant variable must be the value that the function tells it to be. It must do what it is told.
 
  • #7
symbolipoint said:
The dependant variable must be the value that the function tells it to be. It must do what it is told.

At the very least, read and pay attention to the discussion before you post. :rolleyes:
 
Last edited:
  • #8
cyrusabdollahi said:
At the very least, read and pay attention to the discussion before you post. :rolleyes:

At least it related to the title; seems enough.
 
  • #9
If you are given

[tex]h(\dot{\vec{z*}},\vec{z*},\vec{\mu*}) = -\frac{g}{L}sin(z_1)-\frac{b(z_2)}{mL}+\frac{\mu}{mL^2}-\dot{z_2}[/tex]

then the independent variables are [tex]\dot{\vec{z*}},\vec{z*},\vec{\mu*}[/tex] and the dependent variable is [tex]h[/tex] as its value depends on the inputs for [tex]\dot{\vec{z*}},\vec{z*},\vec{\mu*}[/tex]. Generally speaking, independent variables are parameters whose values are unaffected by the values of the other parameters.

However, because you have now restricted [tex]h[/tex] to 0, you have placed a constraint on the previously independent variables. What you are essentially doing is asking: for which values of these independent variables is the right hand side of the formula above equal to 0. They are seemingly dependent on each other, but that is because of the constraint [tex]h=0[/tex]. They are still independent variables within the formula above (i.e. with respect to the function [tex]h[/tex]). On the other hand, taking the equation

[tex] -\frac{g}{L}sin(z_1)-\frac{b(z_2)}{mL}+\frac{\mu}{mL^2}-\dot{z_2} = 0[/tex]

at face value (i.e. without the context of the function [tex]h[/tex]), the parameters ARE dependent as only certain values will satisfy the equation above. The notion of "independent" relies on the fact that there are no constraints whatsoever.
 
Last edited:
  • #10
i've always thought that the terminology meant "x" in

[tex] y = f(x) [/tex]

where y is the "dependent variable" and x is the "independent variable".
 

FAQ: What exactly is a dependent variable?

What is the definition of a dependent variable?

A dependent variable is a variable that is affected by changes in the independent variable. It is the outcome or result that is being measured in an experiment.

How is a dependent variable different from an independent variable?

An independent variable is a variable that is manipulated or controlled by the researcher in an experiment, while a dependent variable is the response to the changes in the independent variable.

What role does a dependent variable play in an experiment?

A dependent variable is used to measure the effect of the independent variable on the outcome of the experiment. It helps to determine if there is a cause and effect relationship between the two variables.

Can a dependent variable change during an experiment?

Yes, a dependent variable can change during an experiment as it is influenced by the changes in the independent variable. This change in the dependent variable is what helps to determine the effect of the independent variable.

How do you identify the dependent variable in an experiment?

The dependent variable is the variable that is measured or observed in an experiment. It is the outcome or result that is being studied and is usually graphed on the y-axis in a graph. It is important to clearly identify the dependent variable in an experiment to ensure accurate results and conclusions.

Back
Top