0102 Variables and Parameters
Independent and Dependent Variables
When we write a function such as
we say that is an independent variable: it can be freely set to any value (or any value within the given domain) and the value of the function is then computed.
When we give a name to the value of the function, such as
we say that is a dependent variable. That is, the value of
depends on the value we choose for .
We can have systems of equations with more than one dependent variable. For example,
Here the dependent variables and depend on the independent variable .
We can have functions with more than one independent variable. For example,
Here the independent variables are and and the dependent variable is .
And, of course, we can have more than one of each:
As a matter of notation (often referred to by mathematicians as "abuse of notation") we can use the dependent variable to also denote the function. So, for example, we can write
Most of what we do will involve ordinary differential equations. These have only one independent and one dependent variable. Differential equations arise from many sources, and the independent variable can signify many different things. Nonetheless, very often it represents time, and the dependent variable is some dynamical quantity which depends upon time. For this reason, in this course we will often use for the independent variable.
Parameters
Parameters are similar to variables - that is, letters that stand for numbers - but have a different meaning. We use parameters to describe a set of (usually) similar things. Parameters can take on different values, with each value of the parameter specifying a member of this set of similar objects.
An example should make this clear. In calculus you learned to find the antiderivative (integral) of . There are many functions whose derivative is . For example,
So, to give the full answer we write
where is called the constant of integration. In this case, each value of specifies a single antiderivative. We call the parameter of the set of all the antiderivatives of . Each value of the parameter specifies a single antiderivative.
Sets are written formally using curly braces, e.g., { : any number}, but we will rarely do this. For example, we will write,
This means a set of functions
parametrized by .
Sets can depend on more than one parameter. For example,
Because each of the functions in are similar - they all have a family resemblance - we say equation gives a 1-parameter family of functions. Likewise, we say gives a 2-parameter family of functions. You see the pattern!