Original Frames | Frames With Noise | Restored Frames | |
Frame 1 | ![]() |
![]() |
![]() |
Frame 2 | ![]() |
![]() |
![]() |
Frame 3 | ![]() |
![]() |
![]() |
Frame 4 | ![]() |
![]() |
![]() |
The paper deals with the third-order quaternion tensor equation. Based on the Qt multiplication operation, we derive solvability conditions and also get the general solution, the least-squares solution, the minimum-norm solution and the minimum-norm least-squares solution of the tensor equation A∗QX=B. Finally, two numerical examples are presented.
Citation: Xiaohan Li, Xin Liu, Jing Jiang, Jian Sun. Some solutions to a third-order quaternion tensor equation[J]. AIMS Mathematics, 2023, 8(11): 27725-27741. doi: 10.3934/math.20231419
[1] | Fengxia Zhang, Ying Li, Jianli Zhao . The semi-tensor product method for special least squares solutions of the complex generalized Sylvester matrix equation. AIMS Mathematics, 2023, 8(3): 5200-5215. doi: 10.3934/math.2023261 |
[2] | Dong Wang, Ying Li, Wenxv Ding . The least squares Bisymmetric solution of quaternion matrix equation $ AXB = C $. AIMS Mathematics, 2021, 6(12): 13247-13257. doi: 10.3934/math.2021766 |
[3] | Anli Wei, Ying Li, Wenxv Ding, Jianli Zhao . Three special kinds of least squares solutions for the quaternion generalized Sylvester matrix equation. AIMS Mathematics, 2022, 7(4): 5029-5048. doi: 10.3934/math.2022280 |
[4] | Wenxv Ding, Ying Li, Anli Wei, Zhihong Liu . Solving reduced biquaternion matrices equation $ \sum\limits_{i = 1}^{k}A_iXB_i = C $ with special structure based on semi-tensor product of matrices. AIMS Mathematics, 2022, 7(3): 3258-3276. doi: 10.3934/math.2022181 |
[5] | Fengxia Zhang, Ying Li, Jianli Zhao . A real representation method for special least squares solutions of the quaternion matrix equation $ (AXB, DXE) = (C, F) $. AIMS Mathematics, 2022, 7(8): 14595-14613. doi: 10.3934/math.2022803 |
[6] | Jin Zhong, Yilin Zhang . Dual group inverses of dual matrices and their applications in solving systems of linear dual equations. AIMS Mathematics, 2022, 7(5): 7606-7624. doi: 10.3934/math.2022427 |
[7] | Vladislav N. Kovalnogov, Ruslan V. Fedorov, Igor I. Shepelev, Vyacheslav V. Sherkunov, Theodore E. Simos, Spyridon D. Mourtas, Vasilios N. Katsikis . A novel quaternion linear matrix equation solver through zeroing neural networks with applications to acoustic source tracking. AIMS Mathematics, 2023, 8(11): 25966-25989. doi: 10.3934/math.20231323 |
[8] | Mahmoud S. Mehany, Faizah D. Alanazi . An $ \eta $-Hermitian solution to a two-sided matrix equation and a system of matrix equations over the skew-field of quaternions. AIMS Mathematics, 2025, 10(4): 7684-7705. doi: 10.3934/math.2025352 |
[9] | Abdur Rehman, Ivan Kyrchei, Muhammad Zia Ur Rahman, Víctor Leiva, Cecilia Castro . Solvability and algorithm for Sylvester-type quaternion matrix equations with potential applications. AIMS Mathematics, 2024, 9(8): 19967-19996. doi: 10.3934/math.2024974 |
[10] | Hongjie Jiang, Xiaoji Liu, Caijing Jiang . On the general strong fuzzy solutions of general fuzzy matrix equation involving the Core-EP inverse. AIMS Mathematics, 2022, 7(2): 3221-3238. doi: 10.3934/math.2022178 |
The paper deals with the third-order quaternion tensor equation. Based on the Qt multiplication operation, we derive solvability conditions and also get the general solution, the least-squares solution, the minimum-norm solution and the minimum-norm least-squares solution of the tensor equation A∗QX=B. Finally, two numerical examples are presented.
In 1843, Hamilton extended the real number field R and the complex number field C to quaternions Q. By now, quaternions and quaternion matrices have been widely used in many fields such as computer graphics, color image processing and signals [1,2,3]. Tensors, as multidimensional arrays of vectors and matrices, appear widely in applications such as chemometrics [4], image and signal processing [5,6,7,8]. For instance, Soto-Quiros [5] considered the inverse tensor problem for denoising data, which can be represented as a least-squares problem of a linear tensor equation of third-order. The author proposed a numerical method of estimating a least-squares solution to a complex tensor linear equation and used it for audio denoising and color image deconvolution. Based on t-product, Reichel et al. [6] also solved a penalized least-squares problem of a linear tensor equation of third-order by generalized Arnoldi-type and bidiagonalization solution methods. As applications, it is used on the color image and video restoration. Guide et al. [7] proposed a tensor iterative Krylov subspace method to solve large multi-linear tensor equations M(X)=C, like AX=C and AXB=C. While Jin et al. [9] developed an algorithm to compute the Moore-Penrose inverse of p-order tensor, and then it can deal with a linear p-order tensor equation problems. All those work are about the tensor over the real field. In [10,11], they considered the third-order tensor over the quaternions Q. Qin et al. [10] proposed a numerical method to compute the singular value decomposition of A∈Qn1×n2×n3 and presented it to compress the color video. Inspired by [5,6,8], we realized that the third-order linear tensor equation problems over Q always exists when doing the color video deconvolution, color video denoising, color video reconstruction, and so on. Thus, we aim to solve the classic third-order quaternion tensor equation A∗QX=B, especially the least-squares solutions and the minimum-norm least-squares solutions. Up to now, there are some numerical methods to solve the quaternion linear tensor equations, like [12,13]. In [13], Zhang et al. solved the generalized Sylvester quaternion p-order quaternion tensor equations by tensor form of GPBiCG algorithm. But an effective way to find the least-squares solution to the tensor equation A∗QX=B is to be developed. Thus, this paper will explore this problem in theoretical way.
The set of quaternions Q is a linear space over R. An element q of Q is of the form
q=a+bi+cj+dk,a,b,c,d∈R. |
Here i, j and k are three imaginary units with the following multiplication laws:
i2=j2=k2=−1,ij=−ji=k,jk=−kj=i,ki=−ik=j. |
For a quaternion, the conjugate quaternion of q is q∗=a−bi−cj−dk. The norm of q is ∣q∣=√qq∗=√a2+b2+c2+d2.
A third-order tensor A=(ai1i2i3),1≤ij≤nj,(j=1,2,3) is a multidimensional array with n1n2n3 entries. In this paper, we use the notations a,a,A and A to denote the scalar, vector, matrix and third-order quaternion tensor, respectively. In [10], the horizontal, lateral and frontal slices of a third-order tensor are denoted by A(i,:,:),A(:,i,:),A(:,:,i), respectively, and for simplicity we denote the frontal slice of a third-order tensor by A(i)=A(:,:,i). In the paper, we use A∗ to represent the conjugate transpose of matrix A. O represents zero tensor with all the entries being zero. I denotes the identity tensor, in which the first frontal slice is an identity matrix and the other slice matrices are zero. For a positive integer n, [n] stands for {1,2,…,n}. Let A∈Cn1×n2×n3, the block circulant matrix circ(A)∈Cn1n3×n2n3 generated by a third-order tensor A's frontal slices A(1),A(2),...,A(n3) is defined as
circ(A)=[A(1)A(n3)...A(2)A(2)A(1)...A(3)⋮⋮⋱⋮A(n3)A(n3−1)...A(1)], | (2.1) |
see [7]. For the quaternion A∈Qn1×n2×n3, the block circulant matrix circ(A)∈Qn1n3×n2n3 can be defined in the same way.
The operations unfold(A), diag(A) are as follows:
unfold(A)=[A(1)A(2)⋮A(n3)], |
diag(A)=[A(1)A(2)⋱A(n3)]. |
The inverse operation of unfold(∙), denoted as fold(∙), turns a block tensor with the size of n1n3×n2 into a tensor with the size of n1×n2×n3, that is,
fold(unfold(A))=A. |
In [10], the authors defined the Qt-product of two third-order quaternion tensors.
Definition 1. (Qt-product) Let A∈Qn1×n2×n3 and B∈Qn2×n4×n3. Then Qt-product of A and B is defined /as
A∗QB=fold((circ(A1,i)+j circ(Aj,k)⋅(Pn3⊗In2))⋅unfold(B))∈Qn1×n4×n3, |
where A=A1,i+jAj,k,A1,i,Aj,k∈Cn1×n2×n3.
The matrix Pn3=(Pij)∈Rn3×n3 is a permutation matrix where P11=Pij=1 if i+j=n3+2,2≤i,j≤n3;Pij=0, otherwise. The notation ′⊗′ means the Kronecker product.
Definition 2. (See [10]) The Discrete Fourier Transformation (DFT) of A∈Qn1×n2×n3 along the third mode is denoted as tensor ˆA∈Qn1×n2×n3, where ˆA(i,j,:)=√n3Fn3A(i,j,:), i∈[n1], j∈[n2] and Fn3∈Cn3×n3 is the normalized DFT matrix, with Fn3(i,j)=1√n3ω(i−1)(j−1), i,j∈[n3], ω=e−2πin3.
By Definition 2, ˆA satisfying
unfold(ˆA)=[ˆA(1)ˆA(2)⋮ˆA(n3)]=√n3(Fn3⊗In1)⋅unfold(A). | (2.2) |
In the paper, denoting
diag(ˆA)=[ˆA(1)ˆA(2)⋱ˆA(n3)], |
with ˆA(1),…,ˆA(n3) are defined by (2.2). Next, we introduce an important result that can turn third-order tensor problems into matrix problems.
Lemma 1. (See [10]) Let A∈Qn1×n2×n3, B∈Qn2×n4×n3 and C∈Qn1×n4×n3, A,B,C after DFT to obtain ˆA,ˆB,ˆC, respectively. Then C=A∗QB⟺diag(ˆC)=diag(ˆA)⋅diag(ˆB).
It follows from Lemma 1 that
I∗QI=I,A∗QI=I∗QA=A. |
The conjugate transpose A∗ of third-order complex tensor A∈Cn1×n2×n3 is defined as follows: first conjugately transpose each frontal slice of A, and then reverse the order of conjugately transposed frontal slices 2 through n3, see [10]. For the third-order quaternion tensor A=A1, i+jAj, k,A1, i,Aj, k∈Cn1×n2×n3, A∗ is defined in a more generalized way. [10] defined the third-order quaternion tensor A∗ through unfold(A∗), which should satisfies
unfold(A∗)=unfold(A∗1, i)−(Pn3⊗In2)unfold(A∗j, k)j. | (2.3) |
For example, for the third-order quaternion tensor A∈Qn1×n2×4, to get A∗∈Qn2×n1×4, we should first derive unfold(A∗) by (2.3):
unfold(A∗)=unfold(A∗1,i)−(P4⊗In2)unfold(A∗j,k)j=[(A(1)1,i)∗(A(4)1,i)∗(A(3)1,i)∗(A(2)1,i)∗]−[In2In2In2In2][(A(1)j,k)∗(A(4)j,k)∗(A(3)j,k)∗(A(2)j,k)∗]j=[(A(1)1,i)∗(A(4)1,i)∗(A(3)1,i)∗(A(2)1,i)∗]−[(A(1)j,k)∗(A(2)j,k)∗(A(3)j,k)∗(A(4)j,k)∗]j, |
thus, according to unfold(A∗), the first frontal slice of A∗ is (A(1)1,i)∗−(A(1)j,k)∗j, the second frontal slice of A∗ is (A(4)1,i)∗−(A(2)j,k)∗j, the third frontal slice of A∗ is (A(3)1,i)∗−(A(3)j,k)∗j, the fourth frontal slice of A∗ is (A(2)1,i)∗−(A(4)j,k)∗j.
From the definition of third-order quaternion tensor A∗, we can see that it still satisfies
fold(unfold(A∗))=A∗. |
For the third-order quaternion tensor A∈Qn1×n2×n3, it should be noted that the definition of A∗ generalizes the definition of A∗ when A is a third-order complex tensor.
If U∗∗QU=U∗QU∗=Innl, then we call U the n×n×l unitary tensor.
Next, we will show some properties for A∗.
Proposition 1. Let A∈Cn1×n2×n3, then diag(^A∗)=(diag(ˆA))∗.
Proof. According to (2.1), we can see that circ(A∗)=(circ(A))∗. From [14], each complex circulant block matrix can be diagonalized by the DFT matrix, i.e.,
(Fn3⊗In1)⋅circ(A)⋅(F∗n3⊗In2)=[ˆA(1)ˆA(2)⋱ˆA(n3)]=diag(ˆA), | (2.4) |
where A∈Cn1×n2×n3. By applying (2.4), we have
diag(^A∗)=(Fn3⊗In2)⋅circ(A∗)⋅(F∗n3⊗In1)=(Fn3⊗In2)⋅(circ(A))∗⋅(F∗n3⊗In1)=(diag(ˆA))∗. |
Proposition 2. Let A∈Qn1×n2×n3, then diag(^A∗)=(diag(ˆA))∗.
Proof. Since ^A∗ is the DFT of A∗, Fn3Fn3=Pn3 and Fn3j=jPn3Fn3, it follows from (2.2) and (2.3) that
unfold(^A∗)=√n3(Fn3⊗In2)unfold(A∗)=√n3(Fn3⊗In2)(unfold(A∗1,i)−(Pn3⊗In2)unfold(A∗j,k)j)=√n3(Fn3⊗In2)⋅unfold(A∗1,i)−√n3(Pn3⊗In2)(Fn3⊗In2)unfold(A∗j,k)j=unfold(^A∗1,i)−(Pn3⊗In2)unfold(^A∗j,k)j, |
which means
diag(^A∗)=diag(^A∗1,i)−(Pn3⊗In2)diag(^A∗j,k)(Pn3⊗In1)j. | (2.5) |
It is shown by [10] that diag(ˆA)=diag(^A1,i)+j(Pn3⊗In1)diag(^Aj,k)(Pn3⊗In2)∈Qn1n3×n2n3. The conjugate transpose of it is (diag(ˆA))∗=(diag(^A1,i))∗−(Pn3⊗In2)(diag(^Aj,k))∗(Pn3⊗In1)j∈Qn2n3×n1n3. From Proposition 1 and Eq (2.5), we can get diag(^A∗)=(diag(ˆA))∗.
We correct two equations in [10] (page 3, line-4 and line-6) as follows:
diag(ˆA)=diag(^A1,i)+j(Pn3⊗In1)diag(^Aj,k)(Pn3⊗In2), |
unfold(ˆA)=unfold(^A1,i)+j(Pn3⊗In1)unfold(^Aj,k). |
It should be noted that, for A=A1,i+jAj,k,ˆA=ˆA1,i+jˆAj,k, the following equations still hold
diag(A)=diag(A1,i)+jdiag(Aj,k), |
diag(ˆA)=diag(ˆA1,i)+jdiag(ˆAj,k). |
And in general, ˆA≠^A1,i+j^Aj,k, or
diag(ˆA)≠diag(^A1,i)+jdiag(^Aj,k). |
Based on Qt-product, we can find that the multiplication operation between tensors obeys an excellent law, similar to matrix multiplication.
Proposition 3. Let A∈Qn1×n2×n3, B∈Qn2×n4×n3, C∈Qn2×n4×n3, and D∈Qn4×n5×n3. Then
(a) (A∗)∗=A;
(b) (B+C)∗=B∗+C∗;
(c) (A∗QB)∗QD=A∗Q(B∗QD);
(d) A∗Q(B+C)=A∗QB+A∗QC;
(e) (B+C)∗QD=B∗QD+C∗QD;
(f) (A∗QB)∗=B∗∗QA∗.
Proof. For the simplicity, we only prove (f). Denote C=A∗QB. By Proposition 2 and Lemma 1,
diag(^C∗)=(diag(ˆC))∗=(diag(^A∗QB))∗=[diag(ˆA)⋅diag(ˆB)]∗=(diag(ˆB))∗⋅(diag(ˆA))∗=diag(^B∗)⋅diag(^A∗). |
Moreover,
diag(^B∗)⋅diag(^A∗)=diag(^B∗∗QA∗), |
thus
diag(^C∗)=diag(^B∗∗QA∗), |
which implies
(A∗QB)∗=B∗∗QA∗. |
The Frobenius norm of a quaternion tensor A is the sum of all norms of its entries, i.e.
∥A∥F=√n1∑i=1n2∑j=1n3∑k=1∣aijk∣2. |
For a tensor A=A1,i+jAj,k, A1,i,Aj,k∈Cn1×n2×n3, its Frobenius norm can also be expressed as
∥A∥2F=∥unfold(A)∥2F=∥unfold(A1,i)∥2F+∥unfold(Aj,k)∥2F. | (2.6) |
According to equality (2.2) and (2.6), it is easy to show that
∥A∥F=1√n3∥diag(ˆA)∥F,A∈Qn1×n2×n3. | (2.7) |
In this section, we will define some generalized inverses and explore their properties.
Definition 3. For an A∈Qn1×n2×n3, if there exists a quaternion tensor X∈Qn2×n1×n3 satisfying:
(1) A∗QX∗QA=A;(2) X∗QA∗QX=X;(3) (A∗QX)∗=A∗QX;(4) (X∗QA)∗=X∗QA; | (3.1) |
then we call X the Moore-Penrose inverse of the tensor A. Also, denote it as A†.
In [10], based on the Qt-product between the two third-order quaternion tensors, the authors derived the SVD decomposition of A∈Qn1×n2×n3.
Lemma 2. Let A∈Qn1×n2×n3. Then A=U∗QS∗QV∗ is the Qt-SVD of quaternion tensor A, where
U.=fold((F∗n3⊗In1)1√n3diag(ˆU)(e⊗In1)),S.=fold((F∗n3⊗In1)1√n3diag(ˆS)(e⊗In2)),V.=fold((F∗n3⊗In2)1√n3diag(ˆV)(e⊗In2)), |
e is an n3-dimensional column vector with all elements being 1.
From Lemma 2, we can derive the SVD decomposition of A†.
Theorem 1. Let the Qt-SVD of quaternion tensor A∈Qn1×n2×n3 be A=U∗QS∗QV∗. Then tensor A has a unique Moore-Penrose inverse
A†=V∗QS†∗QU∗, |
where
U.=fold((F∗n3⊗In1)1√n3diag(ˆU)(e⊗In1)),S†.=fold(1√n3(F∗n3⊗In2)(diag(ˆS))†(e⊗In1)),V.=fold((F∗n3⊗In2)1√n3diag(ˆV)(e⊗In2)). |
Proof. First of all, it can be verified that fold(1√n3(F∗n3⊗In2)(diag(ˆS))†(e⊗In1)) is the Moore-Penrose inverse of S by substituting it into the four equations in Definition 3. Then, obviously, V∗QS†∗QU∗ also satisfies the four equations in Definition 3 as U,V are unitrary tensors. Next, by Proposition 3, using the exactly same method as proving the uniqueness of Moore-Penrose inverse of a matrix, we can show that the Moore-Penrose inverse of a tensor A∈Qn1×n2×n3 is unique.
Next, we list some properties of the Moore-Penrose inverse of a quaternion tensor A∈Qn1×n2×n3.
Proposition 4. Let A∈Qn1×n2×n3. Then
(a) (A†)†=A;
(b) (A†)∗=(A∗)†;
(c) A∗QA†=(A∗)†∗QA;
(d) (A∗QA†)∗=A∗QA†;
(e) EA∗QA=O,A∗QFA=O, where EA=I−A∗QA†, FA=I−A†∗QA;
(f) A† always exists and is unique.
Proof. We only prove (b) as all of those are using the same approach with the proof of matrix.
By Proposition 3, (A∗QB)∗=B∗∗QA∗, thus
A∗∗Q(A†)∗∗QA∗=(A∗QA†∗QA)∗=A∗,(A†)∗∗QA∗∗Q(A†)∗=(A†∗QA∗QA†)∗=(A†)∗,A∗∗Q(A†)∗=(A†∗QA)∗=A†∗QA=(A∗∗Q(A†)∗)∗,(A†)∗∗QA∗=(A∗QA†)∗=A∗QA†=((A†)∗∗QA∗)∗, |
which means (A†)∗ satisfying the definition of the Moore-Penrose inverse of A∗.
Definition 4. Given a tensor A∈Qn1×n2×n3, let A{1,3} denote the set of tensor X∈Qn2×n1×n3, which satisfies Eqs (1), (3) of (3.1). In this case, X∈A{1,3} is called a {1,3}-inverse of A. It can also be written as A(1,3). A(1,4) and A(1) can be defined in the same way.
By verifying the equations in (3.1), we derive the following result, which reveals that A† can also be expressed by A(1,3) and A(1,4).
Corollary 1. Let A∈Qn1×n2×n3. Then A†=A(1,4)∗QA∗QA(1,3).
Here, we actually generalized the result in [15], i.e., for any finite matrix A of complex elements,
A(1,4)AA(1,3)=A†. |
In this section, we will derive general solutions, least-squares solutions, minimum-norm solutions and minimum-norm least-squares solution of the third-order quaternion tensor equation
A∗QX=B | (4.1) |
by some generalized inverses. We first introduce a well-known result of matrix equation:
Lemma 3. (See [16]) For the complex matrix equation
AX=B, | (4.2) |
then:
(a) If (4.2) is consistent, then X=A(1)B is the solution of (4.2), moreover, X=A(1,4)B is the least-norm solution of (4.2), where A(1,4) is the (1,4)− inverse of matrix A.
(b) The matrix equation (4.2) don't have to be consistent. X=A(1,3)B is the least-squares solution of (4.2), where A(1,3) is the (1,3)− inverse of matrix A.
(c) The matrix equation (4.2) don't have to be consistent. X=A†B is the minimum-norm least-squares solution of (4.2), where A† is the Moore-Penrose inverse of matrix A.
Remark 1. The statement also holds when the matrix equation (4.2) is over quaternion skew field.
Next, we will describe our required solutions by some generalized inverses of tensor.
Theorem 2. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. Then X=A(1)∗QB is the solution of the quaternion tensor equation (4.1), when it is consistent.
Proof. By Lemma 1 and (2.4),
A∗QX=B⟺diag(ˆA)⋅diag(ˆX)=diag(ˆB)⟺ˆA(i)ˆX(i)=ˆB(i), |
i=1,⋯,n3. By (a) in Lemma 3 and its Remark 1, for the consistent quaternion matrix equation
ˆA(i)ˆX(i)=ˆB(i). | (4.3) |
If the matrix ˆT(i)∈ˆA(i){1}, then ˆX(i)=ˆT(i)ˆB(i) is the solution of the consistent matrix equation (4.3). Thus, if diag(ˆT)∈(diag(ˆA)){1}, then diag(ˆX)=diag(ˆT)⋅diag(ˆB) is the solution of the consistent quaternion matrix equation diag(ˆA)⋅diag(ˆX)=diag(ˆB). Note that
A∗QX=B⟺diag(ˆA)⋅diag(ˆX)=diag(ˆB). |
Thus, X=T∗QB is the solution of consistent tensor equation A∗QX=B, where T∈A{1}.
Corollary 2. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. The tensor equation (4.1) is consistent if and only if
A∗QA(1)∗QB=B. |
In this case, the general solution is given by
X=A(1)∗QB+(I−A(1)∗QA)∗QY, | (4.4) |
where Y∈Qn2×n4×n3 is arbitrary.
Proof. If A∗QA(1)∗QB=B, then it can be seen that A(1)∗QB is a solution to (4.1). If the tensor equation (4.1) is consistent then there exists X0 such that A∗QX0−B=O. Considering the definition of A(1), we have
A∗QA(1)∗QB−B=A∗QA(1)∗QA∗QX0−B=A∗QX0−B=O. |
Next, we show that (4.4) is the general expression of the solution to (4.1). Firstly, we can verify that X is the solution to (4.1). Secondly, we aim to show that any solution of (4.1) is in the form of (4.4). Assume that X0 is an arbitrary solution to (4.1). Setting Y=X0, then
A(1)∗QB+(I−A(1)∗QA)∗QX0=A(1)∗QB+X0−A(1)∗QB=X0. |
In Corollary 2, if A(1) is replaced by A†, the following result is also true. Since the proof is almost the same with the proof of Corollary 2, thus we omit for simplicity.
Corollary 3. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. Then quaternion tensor equation (4.1) is consistent if only if
A∗QA†∗QB=B. | (4.5) |
When the equation is consistent, then the general solution is
X=A†∗QB+(I−A†∗QA)∗QY, |
where Y is an arbitrary quaternion tensor with appropriate size.
Next, we aim to derive the least-squares solution of the tensor equation (4.1).
We now provide a result for the Frobenius norm of the sum of two third-order tensors.
Theorem 3. Let A∈Qn1×n2×n3, B∈Qn1×n2×n3. Then
∥A+B∥2F=∥A∥2F+∥B∥2F+2n3tr(diag(ˆA∗Q^B∗)). |
Proof. By (2.7) and ∥K∥2F=tr(K∗K), tr(L)=tr(L∗), where K, L are any quaternion matrices and tr(∙) represents the trace of a matrix, we have
∥A+B∥2F=1n3∥diag(ˆA)+diag(ˆB)∥2F=1n3tr((diag(ˆA)+diag(ˆB))∗⋅(diag(ˆA)+diag(ˆB)))=1n3(∥diag(ˆA)∥2F+∥diag(ˆB)∥2F+2tr(diag∗(ˆA)⋅diag(ˆB)))=∥A∥2F+∥B∥2F+2n3tr(diag(^A∗∗QˆB)). |
Theorem 4. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. Then X=A(1,3)∗QB is the least-squares solution of the tensor equation (4.1).
Proof. It follows from Theorem 3
∥A∗QX0−B∥2F=∥(A∗QA(1,3)∗QB−B)+A∗Q(X0−(A(1,3)∗QB))∥2F=∥A∗QA(1,3)∗QB−B∥2F+∥A∗Q(X0−A(1,3)∗QB)∥2F+2n3tr(diag(^M∗∗QˆN)), | (4.6) |
where M=A∗Q(X0−A(1,3)∗QB), N=A∗QA(1,3)∗QB−B and X0∈Qn2×n4×n3 is arbitrary.
The property of generalized inverse A(1,3) gives us
A∗∗Q(A∗QA(1,3)−I)=O. |
Thus
(A∗Q(X0−A(1,3)∗QB))∗∗Q(A∗QA(1,3)∗QB−B)=(X0−A(1,3)∗QB)∗∗QA∗∗Q(A∗QA(1,3)−I)∗QB=O. | (4.7) |
So diag(^M∗∗QˆN)=O. Then we can get
∥A∗QX0−B∥2F=∥A∗QA(1,3)∗QB−B∥2F+∥A∗Q(X0−A(1,3)∗QB)∥2F≥∥A∗QA(1,3)∗QB−B∥2F, |
which means that X=A(1,3)∗QB is the least-squares solution of Eq (4.1).
In solving practical applications, we sometimes need to find solutions for which the norm is minimal. The next theorem provides the mimimum-norm solution of tensor equation (4.1).
Theorem 5. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. Then X=A(1,4)∗QB is the minimum-norm solution of the tensor equation (4.1), when it is consistent.
Proof. Since A(1,4)∈A{1}, by Theorem 2, A(1,4)∗QB is a solution of (4.1), if the tensor equation (4.1) is consistent. Next, we prove X=A(1,4)∗QB is the minimum-norm solution. By Corollary 2, for any solution X0 to (4.1), X0 can be written in the form of X0=A(1,4)∗QB+(I−A(1,4)∗QA)∗QY, with Y∈Qn2×n4×n3. Thus, by Theorem 3,
∥X0∥2F=∥A(1,4)∗QB+(I−A(1,4)∗QA)∗QY∥2F=∥A(1,4)∗QB∥2F+∥(I−A(1,4)∗QA)∗QY∥2F+2n3tr(diag(^M∗∗QˆN)), |
where M=A(1,4)∗QB, N=(I−A(1,4)∗QA)∗QY.
By the property of generalized inverse A(1,4), we have
^M∗∗QˆN=(A(1,4)∗QB)∗∗Q(I−A(1,4)∗QA)∗QY=(A(1,4)∗QA∗QX0)∗∗Q(I−A(1,4)∗QA)∗QY=X∗0∗Q(A(1,4)∗QA)∗∗Q(I−A(1,4)∗QA)∗QY=X∗0∗QA(1,4)∗QA∗Q(I−A(1,4)∗QA)∗QY=X∗0∗Q(A(1,4)∗QA−A(1,4)∗QA∗QA(1,4)∗QA)∗QY=X∗0∗Q(A(1,4)∗QA−A(1,4)∗QA)∗QY=O. |
We conclude that
∥X0∥2F=∥A(1,4)∗QB∥2F+∥(I−A(1,4)∗QA)∗QY∥2F≥∥A(1,4)∗QB∥2F=∥X∥2F. |
Remark 2. In the assumption, the tensor equation is consistent means it has a general solution. The solution don't have to be a minimum-norm solution. So, According to Corollary 3, Theorem 5 can be rewritten as follows: Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. If A∗QA†∗QB=B. Then X=A(1,4)∗QB is the minimum-norm solution of the tensor equation (4.1).
It is well known that the least-squares solution of an equation is not unique, neither is the minimum-norm solution. Then we consider the minimum-norm least-squares solution to this problem.
Theorem 6. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3, and X0∈Qn2×n4×n3. The tensor X0 is the least-squares solutions of (4.1) if and only if X0 is the solution of the consistent tensor equation
A∗QX=A∗QA(1,3)∗QB. | (4.8) |
Proof. "⇒" Assuming X0 is a least-squares solution of the tensor equation (4.1), from Theorem 4, we have
∥A∗QX0−B∥F=∥A∗QA(1,3)∗QB−B∥F=minX∈Qn1×n2×n3∥A∗QX−B∥F. | (4.9) |
From Theorem 3, we have
∥A∗QX0−B∥2F−∥A∗QA(1,3)∗QB−B∥2F=∥A∗Q(X0−A(1,3)∗QB)∥2F+2n3tr(diag(^M∗∗QˆN)), |
where M=A∗QA(1,3)∗QB−B, N=A∗Q(X0−A(1,3)∗QB).
Based on (4.7) and (4.9), ∥A∗Q(X0−A(1,3)∗QB)∥F=0, thus A∗Q(X0−A(1,3)∗QB)=O, which means that X0 is a solution of the tensor equation (4.8).
"⇐" If X0 is a solution of the tensor equation (4.8), note that A∗∗QA∗QA(1,3)=A∗∗Q(A∗QA(1,3))∗=(A∗QA(1,3)∗QA)∗=A∗, then A∗∗QA∗QX0=A∗∗QA∗QA(1,3)∗QB=A∗∗QB.
By Lemma 1 and Proposition 2,
A∗∗QA∗QX0=A∗B⟺(diag(ˆA))∗⋅diag(ˆA)⋅diag(^X0)=(diag(ˆA))∗⋅diag(ˆB), |
which is equivalent to
ˆA(i)∗ˆA(i)ˆX0(i)=ˆA(i)∗ˆB(i),i=1,⋯,n3. |
In other words, ˆX0(i) is the least-squares solution to
ˆA(i)ˆX(i)=ˆB(i),i=1,⋯,n3. |
Or, diag(^X0) is the least-squares solution to
diag(ˆA)⋅diag(ˆX)=diag(ˆB). |
Since
∥A∗QX−B∥F=1√n3∥diag(ˆA)⋅diag(ˆX)−diag(ˆB)∥F. |
Then, we can see that X0 is the least-squares solution of (4.1).
Remark 3. The tensor equation (4.1) always has a least-squares solution, thus by Theorem 6, the tensor equation (4.8) is always consistent.
Theorem 7. Let A∈Qn1×n2×n3, B∈Qn1×n4×n3. The tensor X0=T∗QB is the minimum-norm least-squares solution of the tensor equation (4.1) if and only if T=A†.
Proof. "⇒" If X0=T∗QB is the minimum-norm least-squares solution of the tensor equation (4.1), by Theorem 6, X0 is the minimum-norm solution of Eq (4.8). Then, by Corollary 1 and Theorem 5, we have
X0=A(1,4)∗QA∗QA(1,3)∗QB=A†∗QB, |
which means that T=A†.
"⇐" If T=A†, since A†∈A{1,2,3,4}, it satisfies both the properties of a least-squares solution and minimum-norm solution to the Eq (4.1) by Theorem 4 and Theorem 5.
In this section, we give two numerical examples.
Example 1. Consider the third-order tensor equation A∗QX=B, where A is a 2×2×3 quaternion tensor with frontal slices A(1), A(2), A(3) which are given by
unfold(A)=[A(1)A(2)A(3)]=[5−2i+5j+2k8−2i+j−k8+3j−k−2+3i+3j+6k2i+6j+5k3+3i+7j12+i+3k8−i+3j+2k5+10i+3j+2k2i−4j−k6−i+5k4i+9j], |
and the 2×2×3 quaternion tensor B, with frontal slices B(1), B(2), B(3), which are given by the following unfold form
unfold(B)=[B(1)B(2)B(3)]=[1−6i+3j−9k30−j−2k9i−12j+6k−6i−4j+k10−2i+14k11i+j−k8−i+3j+2ki+18j+k2i−9j+19k1−3j+5k−5i+16j−2k−6+6j+2k]. |
To investigate whether the tensor equation is consistent or not, we check the solvability condition (4.5) in Corollary 3. First, by Theorem 3.1, we get A† via MATLAB as follows:
unfold(A†)=[0.0087+0.0233i+0.0105j+0.0144k0.0134+0.0326i−0.0141j+0.0114k0.0292+0.0206i+0.0010j−0.0092k−0.0156−0.0136i−0.0167j−0.0318k−0.0082−0.0292i−0.0221j+0.0096k−0.0215−0.0010i+0.0138j−0.0129k−0.0070−0.0035i+0.0050j+0.0025k−0.0074−0.0064i−0.0174j+0.0012k−0.0031−0.0137i−0.0075j−0.0408k0.0262−0.0269i+0.0078j+0.0067k0.0185−0.0104i+0.0063j+0.0228k0.0142+0.0127i+0.0027j+0.0146k]. |
Then, we get
unfold(EA∗QB)=[0.0002−0.0010i+0.0005j−0.0016k0.0052+0.0000i−0.0002j−0.0003k0.0000+0.0016i−0.0021j+0.0010k−0.0000−0.0010i−0.0007j+0.0002k0.0009−0.0000i−0.0008j+0.0028k0.0001+0.0009i−0.0002j+0.0003k0.0007−0.0005i+0.0016j+0.0000k−0.0005+0.0001i+0.0021j+0.0003k0.0009−0.0000i−0.0008j+0.0028k0.0001+0.0009i−0.0002j+0.0003k0.0007−0.0005i+0.0016j+0.0000k−0.0005+0.0001i+0.0021j+0.0003k], |
Clearly, EA∗QB is close to O. Therefore, it is almost consistent. By Theorem 7, the minimum-norm solution is X=A†∗QB, and it is given by the following unfold form
unfold(X)=[−0.2586−1.2710i+0.6598j−0.3004k0.5098+0.7523i+0.1790j−0.1183k−0.2554−0.7382i+0.4967j+0.4155k0.8895+0.3581i+0.9405j−0.3567k1.0649−0.4286i−0.0780j−0.2524k−0.2410−0.9762i+0.0943j+0.7470k0.0320+0.4399i−0.0515j+0.8712k0.0811+0.0845i−0.1269j−0.0926k−0.6175+1.0406i−0.0296j+0.4714k−0.4104−0.6945i−0.7305j−0.7121k0.6650+0.3582i−1.1311j−0.2368k0.9305+0.5687i−0.2718j+0.6352k]. |
And we can check that unfold(A∗QX−B)=1.0e−13Z, where
Z=[−0.1410−0.0977i−0.0118j−0.0474k−0.0592−0.1007i−0.0089j−0.0452k−0.0374−0.0755i−0.0355j−0.0563k0.0829−0.0118i−0.1303j−0.0444k0.1133+0.0109i+0.0473j−0.0530k−0.0059−0.0194i−0.0502j+0.1227k−0.0208−0.0059i−0.0689j+0.0015k0.0011−0.0052i−0.0975j+0.0574k−0.0611+0.0602i+0.0268j+0.0649k−0.0059−0.0399i−0.0386j+0.0202k0.0049−0.0296i−0.0022j+0.0015k−0.0040+0.0615i−0.0565j−0.0041k]. |
Example 2. For an original color video X, we take the first four frames of the original color video (see Original Frames in Table 1, the video data is from Densely Annotation Video Segmentation dataset (DAVIS)). Then we noise the color video X by N and get the color video with noises X+N (see the Frames With Noise in Table 1). Now, we disturbed the color video with noise by the tensor A and get C. Now, we aim to restore the original color video X. In color video processing, we generated the disturbing tensor A randomly with its elements in [−30,30]. To restore the color video X, we have to find the minimum-norm least-squares solution to the tensor equation
A∗QX=C, | (5.1) |
Original Frames | Frames With Noise | Restored Frames | |
Frame 1 | ![]() |
![]() |
![]() |
Frame 2 | ![]() |
![]() |
![]() |
Frame 3 | ![]() |
![]() |
![]() |
Frame 4 | ![]() |
![]() |
![]() |
where A,C∈Q400×500×4, X,N∈Q500×400×4 (N is a white noise with a mean of 0 and a standard deviation of 0.01). By Theorem 7, our required minimum-norm least-squares solution is X0=A†C. By computation, we can get the restored color video (see the Restored Frames in Table 1), with
∥X−X0∥F=2.2870e−08. |
We can see from the Table 1 that our restored color video achieves a good accuracy and has a satisfied result.
In this paper, by utilizing the Qt-product and generalized inverses of third-order quaternion tensors, we derive solvability conditions of the third-order quaternion tensor equation A∗QX=B. Also we get the general solution, the least-squares solution, the minimum-norm solution and the minimum-norm least-squares solution of the tensor equation. Finally, two examples demonstrate the theoretical results of the paper.
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
This research was funded by Macao Science and Technology Development Fund (No. 0013/2021/ITP), The Joint Research and Development Fund of Wuyi University, Hong Kong and Macao (2019WGALH20), and The MUST Faculty Research Grants (FRG-22-073-FIE).
The authors declare no competing interests.
[1] |
S. D. Leo, G. Scolarici, Right eigenvalue equation in quaternionic quantum mechanics, J. Phys. A Math. Gen., 33 (2000), 2971–2995. http://dx.doi.org/10.1088/0305-4470/33/15/306 doi: 10.1088/0305-4470/33/15/306
![]() |
[2] | N. L. Bihan, S. J. Sangwine, Quaternion principal component analysis of color images, In: Proceedings of the IEEE Conference on Image Processing (ICIP), 1 (2003), 903–908. http://dx.doi.org/10.1109/ICIP.2003.1247085 |
[3] |
S. J. Sangwine, N. L. Bihan, Quaternion singular value decomposition based on bidiagonalization to a real or complex matrix using quaternion Householder transformations, Appl. Math. Comput., 182 (2006), 727–738. https://doi.org/10.1016/j.amc.2006.04.032 doi: 10.1016/j.amc.2006.04.032
![]() |
[4] | A. K. Smilde, P. Geladi, R. Bro, Multi-way Analysis: Applications in the Chemical Sciences, Hoboken: Wiley, 2005. |
[5] | P. Soto-Quiros, A least-squares problem of a linear tensor equation of third-order for Audio and color image processing, In: 2022 45th International Conference on Telecommunications and Signal Processing, 2022, 59–65. https://doi.org/10.1109/TSP55681.2022.9851367 |
[6] |
L. Reichel, U. O. Ugwu, Tensor Krylov subspace methods with an invertible linear transform product applied to image processing, Appl. Numer. Math., 166 (2021), 186–207. https://doi.org/10.1016/j.apnum.2021.04.007 doi: 10.1016/j.apnum.2021.04.007
![]() |
[7] |
M. E. Guide, A. E. Ichi, K. Jbilou, R. Sadaka, On tensor GMRES and Golub-Kahan methods via the t-product for color image processing, Electron. J. Linear Algebra, 37 (2021), 524–543. https://doi.org/10.13001/ela.2021.5471 doi: 10.13001/ela.2021.5471
![]() |
[8] |
P. Soto-Quiros, Convergence analysis of iterative methods for computing the T-pseudoinverse of complete full-rank third-order tensors based on the T-product, Results Appl. Math., 18 (2023), 100372. https://doi.org/10.1016/j.rinam.2023.100372 doi: 10.1016/j.rinam.2023.100372
![]() |
[9] |
H. Jin, M. Bai, J. Benitez, X. Liu, The generalized inverses of tensors and an application to linear models, Comput. Math. Appl., 74 (2017), 385–397. https://doi.org/10.1016/j.camwa.2017.04.017 doi: 10.1016/j.camwa.2017.04.017
![]() |
[10] |
Z. Z. Qin, Z. Y. Ming, L. P. Zhang, Singular value decomposition of third order quaternion tensors, Appl. Math. Letters, 123 (2022), 107597. https://doi.org/10.1016/j.aml.2021.107597 doi: 10.1016/j.aml.2021.107597
![]() |
[11] |
M. M. Zheng, G. Ni, Approximation strategy based on the T-product for third-order quaternion tensors with application to color video compression, Appl. Math. Letters, 140 (2023), 108587. https://doi.org/10.1016/j.aml.2023.108587 doi: 10.1016/j.aml.2023.108587
![]() |
[12] | X. F. Zhang, T. Li, Y. G. Ou, Iterative solutions of generalized Sylvester quaternion tensor equations, Linear Multilinear Algebra, 2023. https://doi.org/10.1080/03081087.2023.2176416 |
[13] |
X. F. Zhang, W. Ding, T. Li, Tensor form of GPBiCG algorithm for solving the generalized Sylvester quaternion tensor equations, J. Franklin Inst., 360 (2023), 5929–5946. https://doi.org/10.1016/j.jfranklin.2023.04.009 doi: 10.1016/j.jfranklin.2023.04.009
![]() |
[14] | G. H. Golub, C. F. V. Loan, Matrix Computations, Baltimore: Johns Hopkins University Press, 1996. |
[15] | N. S. Urquhart, Computation of generalized inverse matrices which satisfy specified conditions, SIAM Rev., 10 (1968), 216–218. |
[16] | A. Ben-Israel, T. N. E. Greville, Generalized Inverses: Theory and Applications, Berlin: Springer-Verlag, 1974. |
1. | Jian Sun, Xin Liu, Yang Zhang, Quaternion Tensor Completion via QR Decomposition and Nuclear Norm Minimization, 2024, 1070-5325, 10.1002/nla.2608 |
Original Frames | Frames With Noise | Restored Frames | |
Frame 1 | ![]() |
![]() |
![]() |
Frame 2 | ![]() |
![]() |
![]() |
Frame 3 | ![]() |
![]() |
![]() |
Frame 4 | ![]() |
![]() |
![]() |