I was working on a problem and faced a this system of equations ($y_i$ and $x_i$ are givens)
$$ y_i = \sum_{j=0}^{n} c_j e^{jx_i} \quad0 \le i \le n$$
is there a way to determine this system is solvable or not?
I was working on a problem and faced a this system of equations ($y_i$ and $x_i$ are givens)
$$ y_i = \sum_{j=0}^{n} c_j e^{jx_i} \quad0 \le i \le n$$
is there a way to determine this system is solvable or not?
This is just a Vandermonde matrix (https://en.wikipedia.org/wiki/Vandermonde_matrix). It is invertible if the x_i are distinct.
You get exactly one solution if you have $y_i,x_i$ for $i=0,\dots,n$ (rather than $1,\dots,n$) and the values $z_i=e^{x_i}$ are distinct. (If the $x_i$ are real, this is equivalent to the $x_i$ being distinct.)
If you do have $n+1$ equations consider the $(n+1)\times(n+1)$ Vadermonde matrix:
$$V=(v_{ij})_{i,j=0}^n=(z_i^j)=(e^{jx_i})$$
Then you are seeking the solution to:
$$V\begin{pmatrix}c_0\\c_1\\\vdots\\c_n\end{pmatrix}=\begin{pmatrix}y_0\\y_1\\\vdots\\y_n\end{pmatrix}$$
But if the $z_i$ are distinct, then $V$ is invertible, and you get:
$$\begin{pmatrix}c_0\\c_1\\\vdots\\c_n\end{pmatrix}=V^{-1}\begin{pmatrix}y_0\\y_1\\\vdots\\y_n\end{pmatrix}$$
So, as your question is stated, given $y_i,x_i$ for $i=1,\dots,n$ with $e^{x_i}$ distinct, then you can get infinitely many solutions by picking any pair $x_0,y_0$ so that the $e^{x_0}$ is distinct from the other $e^{x_i}.$
Or, alternatively, you can find a unique solution where $c_n=0$ using $i=1,\dots,n.$
You can get a solution when the $z_i$ are not distinct, but only if $y_i=y_j$ whenever $z_i=z_j.$