How to solve equation
?
,
real matrix;
,
real matrix;
, real column vector, composed by
elements;
, real constant;
The unknown isand it should result equal to
.
Two adjustments to the final line above: first, if B is an nxm matrix then u must be a function fromto
, not
. Second, in the formula
, it is bad form to use the same letter t for both the variable in the function u and the dummy variable in the definite integral. It makes the formula clearer if you write it as
.
In order to make sense of this result, it is helpful to try to separate the analytic and algebraic aspects of the formula. One way to do that is to consider the simple special case that occurs whenThen the matrices become scalars. If we write them as
and
instead of
and
, then the given equation becomes
. . . . . .,. . . .(1),
and the solution is given as
. . . . . .. . . .(2)
You can see straight away that there is something odd about that result. The given information (1) only tells you the single number(given as the value of a definite integral), whereas the solution (2) consists of a function defined on the whole interval
Of course, there is no way that a single number can determine a whole function. So you have to conclude that the formula (2) just consists of one among infinitely many possible functions giving the value
when plugged into the definite integral (1).
The matrix-valued formula in the original problem arises in the same way. There is no way that the given equationcan determine the vector-valued function
proposed as the "solution". All you can say is that the given formula for
is one possible solution, and the only way to establish that is to plug it into the given equation and check that it satisfies it.
I suppose that the reason for choosing the formula (2) is that the denominator is visibly positive and so cannot be zero. Similarly, in the solution proposed for the matrix-valued problem, the bracketed matrix is positive definite and therefore invertible.