A vector-valued function, also referred to as a vector function, is a mathematical function of one or more variables whose range is a set of multidimensional vectors or infinite-dimensional vectors. The input of a vector-valued function could be a scalar or a vector (that is, the dimension of the domain could be 1 or greater than 1); the dimension of the function's domain has no relation to the dimension of its range.
A common example of a vector-valued function is one that depends on a single real parameter, often representing time, producing a vector as the result. In terms of the standard unit vectors,, of Cartesian , these specific types of vector-valued functions are given by expressions such aswhere, and are the coordinate functions of the parameter, and the domain of this vector-valued function is the intersection of the domains of the functions,, and . It can also be referred to in a different notation:The vector has its tail at the origin and its head at the coordinates evaluated by the function.
The vector shown in the graph to the right is the evaluation of the function
\langle2\cost,4\sint,t\rangle
In 2D, We can analogously speak about vector-valued functions as or
In the linear case the function can be expressed in terms of matrices:where is an output vector, is a vector of inputs, and is an matrix of parameters. Closely related is the affine case (linear up to a translation) where the function takes the formwhere in addition is an vector of parameters.
The linear case arises often, for example in multiple regression, where for instance the vector
\hat{y}
\hat{\boldsymbol\beta}
A surface is a 2-dimensional set of points embedded in (most commonly) 3-dimensional space. One way to represent a surface is with parametric equations, in which two parameters and determine the three Cartesian coordinates of any point on the surface:Here is a vector-valued function. For a surface embedded in -dimensional space, one similarly has the representation
See also: Gradient. Many vector-valued functions, like scalar-valued functions, can be differentiated by simply differentiating the components in the Cartesian coordinate system. Thus, ifis a vector-valued function, thenThe vector derivative admits the following physical interpretation: if represents the position of a particle, then the derivative is the velocity of the particleLikewise, the derivative of the velocity is the acceleration
The partial derivative of a vector function with respect to a scalar variable is defined as[1] where is the scalar component of in the direction of . It is also called the direction cosine of and or their dot product. The vectors,, form an orthonormal basis fixed in the reference frame in which the derivative is being taken.
If is regarded as a vector function of a single scalar variable, such as time, then the equation above reduces to the first ordinary time derivative of a with respect to,[1]
If the vector is a function of a number of scalar variables, and each is only a function of time, then the ordinary derivative of with respect to can be expressed, in a form known as the total derivative, as[1]
Some authors prefer to use capital to indicate the total derivative operator, as in . The total derivative differs from the partial time derivative in that the total derivative accounts for changes in due to the time variance of the variables .
Whereas for scalar-valued functions there is only a single possible reference frame, to take the derivative of a vector-valued function requires the choice of a reference frame (at least when a fixed Cartesian coordinate system is not implied as such). Once a reference frame has been chosen, the derivative of a vector-valued function can be computed using techniques similar to those for computing derivatives of scalar-valued functions. A different choice of reference frame will, in general, produce a different derivative function. The derivative functions in different reference frames have a specific kinematical relationship.
The above formulas for the derivative of a vector function rely on the assumption that the basis vectors e1, e2, e3 are constant, that is, fixed in the reference frame in which the derivative of a is being taken, and therefore the e1, e2, e3 each has a derivative of identically zero. This often holds true for problems dealing with vector fields in a fixed coordinate system, or for simple problems in physics. However, many complex problems involve the derivative of a vector function in multiple moving reference frames, which means that the basis vectors will not necessarily be constant. In such a case where the basis vectors e1, e2, e3 are fixed in reference frame E, but not in reference frame N, the more general formula for the ordinary time derivative of a vector in reference frame N is[1] where the superscript N to the left of the derivative operator indicates the reference frame in which the derivative is taken. As shown previously, the first term on the right hand side is equal to the derivative of in the reference frame where,, are constant, reference frame E. It also can be shown that the second term on the right hand side is equal to the relative angular velocity of the two reference frames cross multiplied with the vector a itself.[1] Thus, after substitution, the formula relating the derivative of a vector function in two reference frames is[1] where is the angular velocity of the reference frame E relative to the reference frame N.
One common example where this formula is used is to find the velocity of a space-borne object, such as a rocket, in the inertial reference frame using measurements of the rocket's velocity relative to the ground. The velocity in inertial reference frame N of a rocket R located at position can be found using the formulawhere is the angular velocity of the Earth relative to the inertial frame N. Since velocity is the derivative of position, and are the derivatives of in reference frames N and E, respectively. By substitution, where is the velocity vector of the rocket as measured from a reference frame E that is fixed to the Earth.
The derivative of a product of vector functions behaves similarly to the derivative of a product of scalar functions. Specifically, in the case of scalar multiplication of a vector, if is a scalar variable function of,[1]
In the case of dot multiplication, for two vectors and that are both functions of,[1]
Similarly, the derivative of the cross product of two vector functions is[1]
A function of a real number with values in the space
\Rn
f(t)=(f1(t),f2(t),\ldots,fn(t))
n x m
See main article: Infinite-dimensional-vector function.
If the values of a function lie in an infinite-dimensional vector space, such as a Hilbert space, then may be called an infinite-dimensional vector function.
If the argument of is a real number and is a Hilbert space, then the derivative of at a point can be defined as in the finite-dimensional case:Most results of the finite-dimensional case also hold in the infinite-dimensional case too, mutatis mutandis. Differentiation can also be defined to functions of several variables (e.g.,
t\in\Rn
t\inY
N.B. If is a Hilbert space, then one can easily show that any derivative (and any other limit) can be computed componentwise: if(i.e., where
e1,e2,e3,\ldots
f'(t)
Most of the above hold for other topological vector spaces too. However, not as many classical results hold in the Banach space setting, e.g., an absolutely continuous function with values in a suitable Banach space need not have a derivative anywhere. Moreover, in most Banach spaces setting there are no orthonormal bases.