Volume 3, Issue 6 e1163
SPECIAL ISSUE PAPER
Full Access

Solving fully randomized higher-order linear control differential equations: Application to study the dynamics of an oscillator

Juan-Carlos Cortés

Juan-Carlos Cortés

Instituto Universitario de Matemática Multidisciplinar, Universitat Politècnica de València, Valencia, Spain

Search for more papers by this author
Ana Navarro-Quiles

Ana Navarro-Quiles

Department of Statistics and Operational Research, Universitat de València, Burjassot, Spain

Search for more papers by this author
José-Vicente Romero

José-Vicente Romero

Instituto Universitario de Matemática Multidisciplinar, Universitat Politècnica de València, Valencia, Spain

Search for more papers by this author
María-Dolores Roselló

Corresponding Author

María-Dolores Roselló

Instituto Universitario de Matemática Multidisciplinar, Universitat Politècnica de València, Valencia, Spain

Correspondence María-Dolores Roselló, Instituto Universitario de Matemática Multidisciplinar, Universitat Politècnica de València, Camino de Vera s/n, 46022 Valencia, Spain.

Email: [email protected]

Search for more papers by this author
First published: 06 April 2021
Citations: 1

Funding information: European Social Fund, GJIDI/2018/A/009; GJIDI/2018/A/010; Spanish Ministerio de Economía, Industria y Competitividad (MINECO), the Agencia Estatal de Investigación (AEI) and Fondo Europeo de Desarrollo Regional (FEDER UE), MTM2017-89664-P

Abstract

In this work, we consider control problems represented by a linear differential equation assuming that all the coefficients are random variables and with an additive control that is a stochastic process. Specifically, we will work with controllable problems in which the initial condition and the final target are random variables. The probability density function of the solution and the control has been calculated. The theoretical results have been applied to study, from a probabilistic standpoint, a damped oscillator.

1 INTRODUCTION

The aim of control theory is to ensure that a system subject to perturbations can remain under a specific trajectory. This interdisciplinary branch of engineering and mathematics has many applications in both areas.1-3 An important part of control theory is devoted to study systems that obey the so-called superposition principle, that is, linear systems.4 A linear differential equation with additive control can be written in the form
x ( n ) ( t ) + a n 1 x ( n 1 ) ( t ) + + a 0 x ( t ) = u ( t ) , ()
where x(t) denotes the state variable at the time instant t and u(t) is the control. In this context, it is important to note that a system is said to be controllable if any final state can be reached from any initial state in a control time T > 0. The values of coefficients (also called model parameters), ai, 0 ≤ i ≤ n − 1, that appear in the formulation are usually set experimentally. As a consequence, these values may contain an intrinsic uncertainty. So it is more convenient to treat model parameters as random variables (RVs) or stochastic processes (SPs) in dealing with control problems.5-8 In this setting, the solution x = x(t) and the control u = u(t) are SPs defined on a common complete probability space ( Ω , , ) . Thus, they are denoted by x ( t , ω ) and u ( t , ω ) , respectively, being ( t , ω ) ( 0 , T ] × Ω . Unlike the deterministic theory, in the setting of random control theory, besides computing x ( t , ω ) and u ( t , ω ) , it is important to determine their main statistical properties, in particular the mean, μ x ( t ) , and the variance, σ x 2 ( t ) . A more desirable objective is to obtain the so-called first probability density functions (1-PDFs), f1(x, t) and f1(u, t), of the solution SP, x ( t , ω ) , and of the control SP, u ( t , ω ) , respectively. From the 1-PDF, the mean, the variance, and other statistics can be calculated by integration. For example, in the case of the solution SP,
μ x ( t ) = 𝔼 [ x ( t , ω ) ] = x f 1 ( x , t ) d x , σ x 2 ( t ) = 𝔼 [ ( x ( t , ω ) ) 2 ] 𝔼 [ x ( t , ω ) ] 2 = x 2 f 1 ( x , t ) d x μ x ( t ) 2 , ()
here 𝔼 [ · ] stands for the expectation operator. Also, from the 1-PDF one can calculate the probability that the solution SP lies on a particular set of interest
[ a x ( t , ω ) b ] = a b f 1 ( x , t ) d x .
The main objective of this contribution is to compute the 1-PDF of linear control problems of the form (1) where all the coefficients are RVs and the control is a SP. To do this, the random variable transformation (RVT) method will be applied. RVT is an useful technique to determine the PDF of a RV which comes from mapping another RV whose PDF is given. The multidimensional version of the RVT method is stated in Theorem 1.

Theorem 1. (RVT technique [[9], pp 24–25])Let X ( ω ) = X 1 ( ω ) , , X m ( ω ) and Z ( ω ) = Z 1 ( ω ) , , Z m ( ω ) be two m-dimensional absolutely continuous random vectors defined on a complete probability space ( Ω , , ) . Let s : m m be a one-to-one deterministic transformation of X ( ω ) into Z ( ω ) , that is, Z ( ω ) = s ( X ( ω ) ) , ω Ω . Assume that s is a continuous mapping and has continuous partial derivatives with respect to each component xi, 1 ≤ i ≤ m. Then, if fx(x1, … , xm) denotes the joint PDF of the vector X ( ω ) , and p = s−1 = (p1(z1, … , zm), … , pm(z1, … , zm)) represents the inverse mapping of s = (s1(x1, … , xm), … , sm(x1, … , xm)), the joint PDF of the random vector Z ( ω ) is given by

f Z ( z 1 , , z m ) = f X p 1 ( z 1 , , z m ) , , p m ( z 1 , , z m ) 𝒥 m ,
where 𝒥 m , which is assumed to be different from zero, denotes the absolute value of the Jacobian defined by the following determinant
𝒥 m = det p 1 ( z 1 , , z m ) z 1 p m ( z 1 , , z m ) z 1 p 1 ( z 1 , , z m ) z m p m ( z 1 , , z m ) z m .

In our previous contribution,10 the random linear control problem
x ( t , ω ) = A ( ω ) x ( t , ω ) + B ( ω ) u ( t , ω ) , 0 < t T , x ( 0 , ω ) = x 0 ( ω ) , ()
has been studied assuming that only the initial condition and the final target are RVs and the control is a SP, since in this case one can take into account the well-known Kalman's controllability condition:
if A and B are matrices of dimensions n × n and n × m, respectively, where m ≤ n, whose elements are deterministic, a necessary and sufficient condition for (A, B) to be controllable is10-12
rank ( C ) = rank B , A B , , A n 1 B = n ,
where C has dimension n × nm and it is referred to as the Kalman's controllability matrix.

We finish this section pointing out that throughout this article the exponential function will be denoted by e or exp , interchangeably.

2 CONTROLLABLE RANDOMIZED EQUATION

As a natural extension of its deterministic counterpart (1), a linear differential equation whose coefficients are RVs and having an additive stochastic control is given by
x ( n ) ( t , ω ) + a n 1 ( ω ) x ( n 1 ) ( t , ω ) + + a 0 ( ω ) x ( t , ω ) = u ( t , ω ) , ()
where x ( t , ω ) is a SP that describes the evolution of the system, a i ( ω ) , i = 0, 1, … , n − 1 are n independent RVs, and u ( t , ω ) is the control term that is assumed to be a SP. All these quantities are defined in a common complete probability space ( Ω , , ) .
In this contribution, we are interested in random controllable problems, this is, given a random initial condition
{ x ( 0 , ω ) = x 1 0 ( ω ) , x ( 0 , ω ) = x 2 0 ( ω ) , , x ( n 1 ) ( 0 , ω ) = x n 0 ( ω ) } , ()
we are interested in reaching a random final target
{ x ( T , ω ) = x 1 1 ( ω ) , x ( T , ω ) = x 2 1 ( ω ) , , x ( n 1 ) ( T , ω ) = x n 1 ( ω ) } , ()
at a fixed time T > 0. Therefore, we will assume that x i 0 ( ω ) , x i 1 ( ω ) , i = 1, … , n, are RVs.
Now, we will establish specific conditions under which the problem (4)–(6) is controllable. For this goal, we will take advantage of Kalman's controllability condition introduced in Section 1. The first step is to recast the random nth-order linear control differential equation (4) as a random first-order linear control system. To this end, we perform the classical change of variables
y 1 ( t , ω ) = x ( t , ω ) , y 2 ( t , ω ) = x ( t , ω ) , y 3 ( t , ω ) = x ( t , ω ) , y n ( t , ω ) = x ( n 1 ) ( t , ω ) ,
then, Equation (4) can be rewritten as
y ( t , ω ) = A ( ω ) y ( t , ω ) + b u ( t , ω ) , ()
where
y ( t , ω ) = y 1 ( t , ω ) y 2 ( t , ω ) y n 1 ( t , ω ) y n ( t , ω ) , b = 0 0 0 1 , ()
are n-dimensional vectors and
A ( ω ) = 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 a 0 ( ω ) a 1 ( ω ) a 2 ( ω ) a n 2 ( ω ) a n 1 ( ω ) , ()
is a n × n matrix whose elements of the nth row are RVs. The corresponding initial condition is given by
y 0 ( ω ) = x 1 0 ( ω ) , x 2 0 ( ω ) , , x n 0 ( ω ) , ()
and the associated final target is
y 1 ( ω ) = x 1 1 ( ω ) , x 2 1 ( ω ) , , x n 1 ( ω ) . ()
Note that the Kalman matrix, C ( ω ) , will be a random matrix because of the randomness of matrix A, so we will denote
C ( ω ) = b , A ( ω ) b , A 2 ( ω ) b , , A n 1 ( ω ) b
the random Kalman matrix associated to problem (7) (or equivalently (4)). Henceforth, denoting by [[K]]j the jth column of matrix K, one can check that
[ [ A ( ω ) ] ] n = 0 0 0 0 1 # , [ [ A 2 ( ω ) ] ] n = 0 0 0 1 # # , , [ [ A n 2 ( ω ) ] ] n = 0 1 # # # # , [ [ A n 1 ( ω ) ] ] n = 1 # # # # # ,
for A ( ω ) and b given by (9) and (8), respectively; where # involves a polynomial in RVs a i ( ω ) , i = 0, 1, … , n − 1. Then,
rank ( C ( ω ) ) = rank 0 0 0 0 1 0 0 0 1 # 0 0 0 # # 0 0 1 # # 0 1 # # # 1 # # # # = n , ω Ω ,
regardless expressions #. So Kalman's controllability condition holds independently of the RVs a i ( ω ) , i = 0, 1, 2, … , n − 1, defining the problem.
Once we have ensured problem (7) is controllable, we are interested in determining a closed-form solution to problem (7)–(11). Applying the formula of variation of parameters, we can construct a solution of problem (7). So, given u ( t , ω ) L 2 ( ( 0 , T ] × Ω ; ) , the unique solution y ( t , ω ) H 1 ( ( 0 , T ] × Ω ; n ) of random problem (7) is given by10
y ( t , ω ) = exp A ( ω ) t y 0 ( ω ) + 0 t exp A ( ω ) ( t s ) b u ( s , ω ) d s , t [ 0 , T ] . ()
But formula (12) involves the control term, u ( t , ω ) , that needs to be determined. An explicit expression to the control SP, u ( t , ω ) , can be obtained by reducing the controllability problem (7) into an observability one. Then, we obtain the following expression
u ( t , ω ) = b exp A ( ω ) ( T t ) 0 T exp ( A ( ω ) ( T s ) ) b b exp A ( ω ) ( T s ) d s 1 y 1 ( ω ) exp A ( ω ) T y 0 ( ω ) . ()

Details about how is derived Equation (13) can be found in recent literature, for example, Lazar and Zuazua12 or Section 3 of Cortés et al.10

At this point, it is interesting to introduce the following notation in order to simplify the presentation of our subsequent analysis
q ( t , A ) = [ [ exp ( A ( T t ) ) ] ] n , ()
Λ ( t , A ) = 0 t q ( s , A ) q ( s , A ) d s , ()
V ( t , A ) = Λ ( t , A ) Λ 1 ( T , A ) , ()
M ( t , A ) = exp ( A ( t T ) ) V ( t , A ) . ()

As problem (7)–(11) is controllable for all ω Ω and 0 < t < T, using Remark 1 of Cortés et al.,10 we can establish the following results that will play a fundamental role in Sections 3.1 and 3.2.

Remark 1. Λ ( t , A ( ω ) ) defined by expression (15), where A ( ω ) is defined by (9) is an invertible matrix for ω Ω and t ∈]0, T].

Remark 2.As a consequence of Remark 1, V ( t , A ( ω ) ) is well defined. Also, V ( t , A ( ω ) ) and M ( t , A ( ω ) ) are invertible matrices for ω Ω and t ∈]0, T].

3 COMPUTATION OF THE 1-PDF OF SOME STOCHASTIC PROCESSES OF INTEREST IN CONTROL PROBLEMS

In dealing with a control problem, the main goal is to calculate both the solution and the control, but in the random setting it is also relevant to obtain its main statistical properties as the mean and the variance, or, as mentioned in Section 1 a more desirable objective is to compute their respective 1-PDF. Thus, we shall compute the 1-PDF of both, the solution SP, x ( t , ω ) , and the control SP, u ( t , ω ) , taking the advantage of RVT technique, Theorem 1. Henceforth, we will assume that random inputs of problem (coefficients, a i ( ω ) , i = 0, 1, … , n − 1 ; initial condition, x i 0 ( ω ) , i = 1, 2, … , n; and final target, x i 1 ( ω ) , i = 1, 2, … , n) are absolutely continuous RVs. We have 3n RVs that, for convenience, we will arrange in three vectors, y 0 ( ω ) and y 1 ( ω ) , given in (10) and (11), respectively, and
a ( ω ) = a 0 ( ω ) , a 1 ( ω ) , , a n 1 ( ω ) . ()

Also, and for the sake of generality, we will assume a joint PDF for these 3n RVs that will be denoted by f x 0 , x 1 , a = f x 0 , x 1 , a ( x 0 , x 1 , a ) .

3.1 Computing the 1-PDF of the solution SP

In this section, we will determine the 1-PDF, f1(y, t), of the solution SP, y ( t , ω ) , of problem (7)–(11). Notice that y ( t , ω ) involves the solution SP, x ( t , ω ) , of problem (4) and their derivatives until order n − 1. Then, the 1-PDF associated to y ( t , ω ) is a joint PDF that provides relevant information about x ( t , ω ) and their derivatives.

In order to obtain f1(y, t) applying RVT technique, we rewrite the solution SP, y ( t , ω ) , given by (12) and (13) taking advantage of notation introduced in (14)–(17),
y ( t , ω ) = exp A ( ω ) t y 0 ( ω ) + 0 t exp A ( ω ) ( t s ) b u ( s , ω ) d s = exp A ( ω ) t y 0 ( ω ) + exp A ( ω ) ( t T ) 0 t [ [ exp A ( ω ) ( T s ) ] ] n u ( s , ω ) d s = exp A ( ω ) t y 0 ( ω ) + exp A ( ω ) ( t T ) 0 t q ( s , A ) u ( s , ω ) d s ,
where
u ( t , ω ) = b exp A ( ω ) ( T t ) 0 T exp ( A ( ω ) ( T s ) ) b b exp A ( ω ) ( T s ) d s 1 y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) = q ( t , A ) 0 T q ( s , A ) q ( s , A ) d s 1 y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) = q ( t , A ) Λ 1 ( T , A ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) . ()
Introducing this expression in y ( t , ω ) , we obtain
y ( t , ω ) = exp A ( ω ) t y 0 ( ω ) + exp A ( ω ) ( t T ) 0 t q ( s , A ) q ( s , A ) Λ 1 ( T , A ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) d s = exp A ( ω ) t y 0 ( ω ) + exp A ( ω ) ( t T ) Λ ( t , A ( ω ) ) Λ 1 ( T , A ( ω ) ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) = exp A ( ω ) t y 0 ( ω ) + exp A ( ω ) ( t T ) V ( t , A ( ω ) ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) = exp A ( ω ) t y 0 ( ω ) + M ( t , A ( ω ) ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) .
And finally, rearranging terms we obtain the most compact expression,
y ( t , ω ) = exp ( A ( ω ) t ) M ( t , A ( ω ) ) exp ( A ( ω ) T ) y 0 + M ( t , A ( ω ) ) y 1 .
Let us fix ω Ω and t > 0. We define the following mapping
s = s 1 , s 2 , s 3 : 3 n 3 n ,
whose components, s i : 3 n n , i = 1 , 2 , 3 , for simplicity, are defined by blocks,
z 0 = s 1 ( y 0 , y 1 , a ) = y 0 , z 1 = s 2 ( y 0 , y 1 , a ) = exp ( A t ) M ( t , A ) exp ( A T ) y 0 + M ( t , A ) y 1 , z 2 = s 3 ( y 0 , y 1 , a ) = a ,
where the n-dimensional random vectors y0, y1, and a contain all RVs of our problem arranged as indicated in (10), (11), and (18), M is defined in (17) and for convenience, we have denoted by A the following n × n matrix in terms of the inputs of our mapping
A = e 2 e 3 e 4 e n 1 e n a ,
where ei, i = 2, … , n represents the ith row of the n × n identity matrix, In.
The inverse mapping of s, denoted by p = p 1 , p 2 , p 3 = s 1 , and defined also conveniently by blocks, is given by
y 0 = p 1 z 0 , z 1 , z 2 = z 0 , y 1 = p 2 z 0 , z 1 , z 2 = M 1 ( t , Z ) z 1 M 1 ( t , Z ) I n exp ( Z t ) z 0 , a = p 3 z 0 , z 1 , z 2 = z 2 ,
where
p : 3 n 3 n , p i : 3 n n , i = 1 , 2 , 3 .
Also, for simplicity in the exposition, we have introduced the matrix Z of dimension n × n, that is a matrix whose elements are in terms of the mapping inputs and it is defined as
Z = e 2 e 3 e 4 e n 1 e n z 2 , ()
and finally
M 1 ( t , Z ) = V 1 ( t , Z ) exp ( Z ( T t ) ) = Λ ( t , Z ) Λ 1 ( T , Z ) 1 exp ( Z ( T t ) ) = Λ ( T , Z ) Λ 1 ( t , Z ) exp ( Z ( T t ) ) .
The absolute value of the Jacobian of the inverse mapping p is given by
𝒥 3 n = det I n # n × n 0 n × n 0 n × n M 1 t , Z 0 n × n 0 n × n # n × n I n = det M 1 t , Z ,
where, as usually, 0n×n stands for the null matrix of size n × n, and #n×n for a matrix of size n × n, whose entries are not necessary to explicitly in order to compute the above determinant because of the particular structure of this Jacobian matrix.
Notice that, by Remark 2, we can ensure that
𝒥 3 n 0 .
At this point, we have all ingredients to apply Theorem 1 in order to obtain the PDF of the 3n-dimensional random vector z 0 , z 1 , z 2 in terms of the joint PDF of the 3n-dimensional random vector of input parameters y 0 , y 1 , a . This PDF is given by
f z 0 , z 1 , z 2 z 0 , z 1 , z 2 = f y 0 , y 1 , a z 0 , M 1 ( t , Z ) z 1 M 1 ( t , Z ) I n exp ( Z t ) z 0 , z 2 , ()
where matrix Z is defined in terms of z2 by (20).
As the solution of problem (7) is z1, the joint 1-PDF of y ( t , ω ) is obtained by marginalizing (21) with respect to z 0 ( ω ) = y 0 ( ω ) and z 2 ( ω ) = a ( ω ) ,
f 1 ( y , t ) = 2 n f y 0 , y 1 , a y 0 , M 1 ( t , A ) y M 1 ( t , A ) I n exp ( A t ) y 0 , a 2 det M 1 ( t , A ) d y 0 d a , ()
where
d y 0 d a = 1 i n d x i 0 d a i 1 .
In the case that some of the model parameters are not random, expression f1(y, t) given in (22) can be easily adapted neglecting as integration variables the deterministic ones. This issue will be illustrated in the examples later (see Case 1 in Appendix A0.1).
If we are interested in computing the 1-PDF of the solution SP x ( t , ω ) of problem (4), we must take into account that x ( t , ω ) is the first component of vector y ( t , ω ) . Then, its 1-PDF can be obtained from f1(y, t), which is given by (22) by marginalizing it with respect to the n − 1 latest components of y ( ω ) . So, if we denote
y = x w , w = y 2 , , y n ,
the 1-PDF of the solution SP x ( t , ω ) of (4) is computed as
f 1 ( x , t ) = 3 n 1 f y 0 , y 1 , a y 0 , M 1 ( t , A ) x w M 1 ( t , A ) I n exp ( A t ) y 0 , a 2 det M 1 ( t , A ) d y 0 d a d w ,
where
d w = 2 j n d y j .

3.2 Computing the 1-PDF of the control SP

Using the notation introduced in (14)–(17), the control SP given in (19) can be written as
u ( t , ω ) = J ( t , A ( ω ) ) y 1 ( ω ) exp ( A ( ω ) T ) y 0 ( ω ) ,
where
J ( t , A ) = q ( t , A ) Λ 1 ( T , A ) ,
is a 1 × n matrix (row vector).

The 1-PDF of u ( t , ω ) is determined by applying Theorem 1 in a similar way to the one developed in Section 3.1.

Let us fix t > 0, and define the mapping s : 3 n 3 n as,
z 0 = s 1 ( y 0 , y 1 , a ) = y 0 , z 1 = s 2 ( y 0 , y 1 , a ) = J ( t , A ) L y 1 + J ( t , A ) exp ( A T ) y 0 0 ( n 1 ) × 1 , z 2 = s 3 ( y 0 , y 1 , a ) = a ,
where
s i : 3 n n , i = 1 , 2 , 3 ,
and
L = 0 ( n 1 ) × 1 I n 1 . ()
Computing the inverse mapping, its Jacobian, and applying RVT technique, Theorem 1, the PDF of the random vector (z0, z1, z2) is
f z 0 , z 1 , z 2 ( z 0 , z 1 , z 2 ) = f y 0 , y 1 , a z 0 , J ( t , Z ) L 1 z 1 + J ( t , Z ) exp ( Z T ) z 0 0 ( n m ) × 1 , z 2 det J ( t , Z ) L 1 . ()
Notice that for every t fixed, the control is given by the first component of z1. So, in order to determine its 1-PDF, we marginalize expression (24) with respect to the other variables, it is, z 0 ( ω ) = y 0 ( ω ) , z 2 ( ω ) = a ( ω ) , and the n − 1 last components of z 1 ( ω ) (corresponding to the n − 1 last components of y 1 ( ω ) . This yields
f 1 ( u , t ) = 3 n 1 f y 0 , y 1 , a y 0 , J ( t , A ) L 1 u + J ( t , A ) exp ( A T ) y 0 k det J ( t , A ) L 1 d k d y 0 d a , ()
where k = x 2 1 , , x n 1 and
d kd y 0 d a = 2 l n 1 i n d x l 1 d x i 0 d a i 1 .

4 APPLICATION TO STUDY THE DYNAMICS OF A RANDOM OSCILLATOR

A damped oscillator with random inputs and an additive control can be described by the following equation
x ( t , ω ) + R ( ω ) M x ( t , ω ) + k ( ω ) M x ( t , ω ) = u ( t , ω ) , ()
where x ( t , ω ) is a SP describing the position of the mass at instant t; R ( ω ) is the resistance RV; k ( ω ) is the restoring force RV; M is the mass and u ( t , ω ) is the control term, which is a SP.
Our main objective is to determine the 1-PDF of the solution SP, x ( t , ω ) , and the control SP, u ( t , ω ) , using the theoretical results obtained in previous sections, considering the system is at an initial state, x ( 0 , ω ) , x ( 0 , ω ) and we want to reach a final target x ( T , ω ) , x ( T , ω ) at a fixed instant T > 0. As Equation (26) is a second-order random differential equation, we can rewrite (26) as a first-order linear control system according to the structure studied in Section 2, that is
y ( t , ω ) = A ( ω ) y ( t , ω ) + b u ( t , ω ) , ()
where
y ( t , ω ) = y 1 ( t , ω ) y 2 ( t , ω ) = x ( t , ω ) x ( t , ω ) , A ( ω ) = 0 1 k ( ω ) M R ( ω ) M , b = 0 1 .
Notice that as it has been established in Section 2, Kalman's controllability condition is fulfilled independently of the RVs defining the oscillator behavior.
To study the influence on the solution due to the random model parameters k and R, we will consider two cases, where we compare deterministic and random scenarios. In all cases, we will consider M = 1, T = 1, and x 1 ( ω ) a multivariate normal distribution with mean μ 1 = ( 1 , 0 ) and variance-covariance matrix
1 = 0 . 01 0 0 0 . 005 , ()
and x 0 ( ω ) a multivariate normal distribution with mean μ 0 = ( 2 , 0 ) and variance-covariance matrix
0 = 0 . 01 0 0 0 . 01 . ()
  • Case 1
  • In this case, we choose the constant values k = 10 and R = 1.
  • Case 2
  • The following distributions are considered:

    • k ( ω ) has a truncated normal distribution of parameters μ k = 10 and σ k = 0 . 2 on the interval [9, 11].

    • R ( ω ) has a truncated normal distribution of parameters μ R = 1 and σ R = 0 . 1 on the interval [0.5, 1.5].

    Observe that the mean of k ( ω ) and R ( ω ) coincide with the ones assumed in Case 1.

  • For all cases, we have computed the joint 1-PDF of the solution SP to the random oscillator control problem (27), f1(y, t) = f1(y1, y2, t), and from it, confidence regions at certain levels 1 α have been determined too. Confidence regions at level 1 α are constructed by plotting the contour (taking f1(y, t) constant), C α , which contains a probability 1 α . In other words, C α is determined by
    D f 1 ( y , t ) d y = 1 α ,
    where D is the region bounded by C α . Also, the 1-PDF of the control SP, u ( t , ω ) , associated to this problem has been obtained. For more details about the construction of the joint 1-PDF of the solution SP f1(y1, y2, t) and the 1-PDF of the control SP f(u, t), see Appendix A1.

    In Figure 1, we have represented the joint 1-PDF of the solution SP of system (27) at t = 0.2 in Cases 1 (top) and 2 (bottom). We can observe that the analytical computations obtained applying RVT method developed in this article agree with Monte Carlo simulations and that the 1-PDF is flattened in the presence of randomness in the model parameters. Similar behavior can be observed considering other times. This issue is better observed in Figure 2, where we have represented the phase portrait. The expectation of the SP solution follows the shape of a spiral line, being represented by a discontinuous curve. This expectation is shown with a pink point at the following times, t = {0, 0.2, 0.4, 0.5, 0.6, 0.9, 1}. Also, at this specific times, confidence regions at 50% and 90% level are plotted in blue and red lines, respectively.

    Details are in the caption following the image
    1-PDF of the solution SP to the random oscillator control problem (27). Top: Case 1; bottom: Case 2. Left: By applying RVT method and plotting confidence regions for different confidence level 1 α (blue, 1 α = 0 . 5 and red, 1 α = 0 . 9 ); right: by applying Monte Carlo and RVT method
    Details are in the caption following the image
    Phase portrait for random oscillator control problem (27). The expectation of the solution is shown in a dashed line. 50% (blue) and 90% (red) confidence regions are plotted at different times t. Top: Case 1. Bottom: Case 2

    The 1-PDF of control SP, u ( t , ω ) , for Cases 1 and 2 is shown in Figure 3 at times t = {0, 0.1, 0.5, 0.8, 1}, top and bottom, respectively. We can observe that in both cases it is sharper specially at initial and final times. Notice that the 1-PDFs for a fixed time are more similar when we are at intermediate times.

    Details are in the caption following the image
    1-PDF of the control SP, u ( t , ω ) , associated to random oscillator control problem (27) at times t. Top: Case 1. Bottom: Case 2

    In Figure 4, we have plotted the 1-PDF, f1(x, t), of the solution SP, x ( t , ω ) of problem (26), at several times instants in both Cases 1 and 2. Also, the mean μ x ( t ) has been plotted with red and dashed lines in both cases. Notice that in Case 1 the PDFs are sharper at intermediate times.

    Details are in the caption following the image
    Graphical representation of the 1-PDF, f1(x, t), of the solution SP x ( t , ω ) of problem (26) at different time instants (blue and continuous lines). μ x ( t ) of problem (26) (red and dashed lines). Up: Case 1. Down: Case 2

    5 CONCLUSIONS

    In this article, the PDF of a controllable linear system with additive control has been calculated, as well as the PDF of the control in the case that all the coefficients, initial condition and final target are RVs, and the control is a SP. The obtained theoretical results have been applied to study a random damped oscillator. It has been found that by adding more randomness to model parameters, the variability of the solution increases. The results have been validated with Monte Carlo simulations. The equation becomes a system where some of the elements of matrix A are random, which is a novelty with respect to previous works.10 This is a first step to treat systems in the future where all the elements of A and B are RVs.

    ACKNOWLEDGMENTS

    This work has been supported by the Spanish Ministerio de Economía, Industria y Competitividad (MINECO), the Agencia Estatal de Investigación (AEI), and Fondo Europeo de Desarrollo Regional (FEDER UE) grant MTM2017-89664-P. Computations have been carried thanks to the collaboration of Raúl San Julián Garcés and Elena López Navarro granted by European Union through the Operational Program of the European Regional Development Fund (ERDF)/European Social Fund (ESF) of the Valencian Community 2014–2020, grants GJIDI/2018/A/009 and GJIDI/2018/A/010, respectively.

      CONFLICT OF INTEREST

      The authors declare that there is no conflict of interests regarding the publication of this article.

      AUTHOR CONTRIBUTIONS

      All authors have equally contributed to the whole article.

      APPENDIX A: CONSTRUCTION OF THE 1-PDFS IN THE CONTEXT OF THE APPLICATION

      In this appendix, we detail how to construct the closed form of both the joint 1-PDF of the solution SP, f1(y, t), and the 1-PDF of the control SP, f1(u, t). As in the application we have considered two cases, we obtain the formulas in each scenario.

      A.1 Case 1

      In this case, x 0 ( ω ) = ( x ( 0 , ω ) , x ( 0 , ω ) ) and x 1 ( ω ) = ( x ( T , ω ) , x ( T , ω ) ) are assumed to be independent multivariate normal distributions, while the parameters k and R are considered deterministic quantities. Taking into account that now A is deterministic, we apply expression (22) but only integrating with respect to x 0 ( ω ) = ( x ( 0 , ω ) , x ( 0 , ω ) ) . So, in this case, the expression of the joint PDF of the random vector y ( t , ω ) = ( y 1 ( t , ω ) , y 2 ( t , ω ) ) writes
      f 1 ( y , t ) = 2 f x 0 x 0 f x 1 M 1 ( t , A ) y M 1 ( t , A ) I 2 exp ( A t ) x 0 det M 1 ( t , A ) d x 1 0 d x 2 0 . ()
      On the other hand, as x 0 ( ω ) N ( μ 0 , 0 ) and x 1 ( ω ) N ( μ 1 , 1 ) where μ 1 = ( 1 , 0 ) , μ 2 = ( 2 , 0 ) , and 0 and 1 are given by (29) and (28), respectively, their density functions are
      f x 0 ( x 1 0 , x 2 0 ) = 1 0 . 0002 π e 1 2 x 1 0 2 0 . 01 2 + x 2 0 0 . 01 2 and f x 1 ( x 1 1 , x 2 1 ) = 1 0 . 0001 π e 1 2 x 1 1 1 0 . 01 2 + x 2 1 0 . 005 2 . ()
      Substituting the densities (A2) in the joint 1-PDF indicated in formula (A1), we obtain the closed expression for the joint 1-PDF of the solution SP y ( ω ) . At this point, we notice that we have carried out computations by Mathematica© software, and it allows us to define f1(y, t) as an integral. Matrix M(t, A) in (A1) can be computed from formulas (14)–(17). Analogously, the 1-PDF of the control SP can be calculated. In this case, from the expression (25) taking into account again that A is deterministic, one gets
      f 1 ( u , t ) = 3 f x 0 x 0 f x 1 J ( t , A ) 1 u + J ( t , A ) e A T x 0 det J ( T , A ) 1 d x 1 0 d x 2 0 d x 2 1 , ()
      where J ( t , A ) = q ( t , A ) Λ 1 ( T , A ) with matrices q and Λ given in (14) and (15), respectively. Note that, all the matrices, Λ ( t , A ) , q(t, A), V(t, A), M(t, A), and J(t, A) have been directly symbolically defined in Mathematica©. Although, final expressions for matrices M(t, A) and J(t, A), and their corresponding inverses, can be calculated, its expressions are very cumbersome. Then, we define them using the commands NIntegrate, MatrixExp, and Inverse, among others.

      A.2 Case 2

      In this case, x 0 ( ω ) = ( x ( 0 , ω ) , x ( 0 , ω ) ) , x 1 ( ω ) = ( x ( T , ω ) , x ( T , ω ) ) , k ( ω ) , and R ( ω ) are assumed to be independent and following normal distributions. Now the expression of the joint 1-PDF of the random vector y ( ω ) = ( y 1 ( ω ) , y 2 ( ω ) ) is
      f 1 ( y , t ) = 4 f x 0 x 0 f x 1 M 1 ( t , A ) y M 1 ( t , A ) I 2 exp ( A t ) x 0 f k ( k ) f R ( r ) det M 1 ( t , A ) d x 1 0 d x 2 0 d k d r . ()
      The densities of x 0 ( ω ) and x 1 ( ω ) are calculated in (A2). With respect to RVs k ( ω ) and R ( ω ) , they have truncated normal distributions. Then, we are able to calculate expressions for both densities
      f k ( k ) = 1 . 99471 e 12 . 5 ( k 10 ) 2 , 9 < k 11 , 0 , o t h e r w i s e , and f R ( r ) = 3 . 98943 e 50 ( r 1 ) 2 , 0 . 5 < r 1 . 5 , 0 , o t h e r w i s e . ()
      Substituting the densities indicated in (A2) and (A5) in the joint 1-PDF given by formula (A4), we obtain the closed expression for the joint 1-PDF of the solution SP y ( t , ω ) . As in the previous case, all calculations in these scenario have been carried out using Mathematica© software defining the matrices symbolically.

      Biographies

      • biography image

        Juan-Carlos Cortés is a Full Professor of Applied Mathematics at Universitat Politècnica de València (UPV). He develops his research in Mathematical Modeling with Uncertainty in the Instituto Universitario de Matemática Multidisciplinar at the UPV.

      • biography image

        Ana Navarro-Quiles is an Assistant Professor at Universitat de València. Her research focuses on the study, from a probabilistic point of view, of random differential equations as well as their applications.

      • biography image

        José-Vicente Romero is an Associate Professor of Applied Mathematics at Universitat Politècnica de València (UPV). His investigation deals with Stochastic Problems and Applications in the Instituto Universitario de Matemática Multidisciplinar at the UPV.

      • biography image

        María-Dolores Roselló is an Associate Professor of Applied Mathematics at Universitat Politècnica de València (UPV). Her research focuses on Random Systems and Applications in the Instituto Universitario de Matemática Multidisciplinar at the UPV.

        The full text of this article hosted at iucr.org is unavailable due to technical difficulties.