A differential equation is given as x (t + 2) + 3x (t + 1) + 2x (t) =0; x(0) = 0, x(1) = 1. The solution of this equation will be:
The given equation is a linear, homogeneous difference equation with constant coefficients:
\begin{equation*} x(t + 2) + 3x (t + 1) + 2x (t) =0 \end{equation*}
with initial conditions \(x(0) = 0\) and \(x(1) = 1\). We assume that the variable \(t\) refers to the discrete time index, often denoted by \(k\). So we can rewrite the equation as:
\begin{equation*} x(k + 2) + 3x (k + 1) + 2x (k) =0 \end{equation*}
To solve this type of equation, we use the characteristic equation method.
We assume a solution of the form \(x(k) = r^k\). Substituting this into the difference equation:
\begin{equation*} r^{k+2} + 3r^{k+1} + 2r^k = 0 \end{equation*}
Since \(r^k\) cannot be zero for a non-trivial solution, we can divide the entire equation by \(r^k\):
\begin{equation*} r^2 + 3r + 2 = 0 \end{equation*}
This is the characteristic equation. We can solve this quadratic equation by factoring:
\begin{equation*} (r + 1)(r + 2) = 0 \end{equation*}
The roots of the characteristic equation are \(r_1 = -1\) and \(r_2 = -2\).
Since the roots are distinct and real, the general solution of the difference equation is given by:
\begin{equation*} x(k) = C_1 r_1^k + C_2 r_2^k \end{equation*}
Substituting the roots \(r_1 = -1\) and \(r_2 = -2\):
\begin{equation*} x(k) = C_1 (-1)^k + C_2 (-2)^k \end{equation*}
Here, \(C_1\) and \(C_2\) are constants determined by the initial conditions.
We are given the initial conditions \(x(0) = 0\) and \(x(1) = 1\). We substitute these values into the general solution:
For \(k=0\), \(x(0) = 0\):
\begin{equation*} x(0) = C_1 (-1)^0 + C_2 (-2)^0 = 0 \end{equation*}
\begin{equation*} C_1 (1) + C_2 (1) = 0 \end{equation*}
\begin{equation*} C_1 + C_2 = 0 \quad (*)\end{equation*}
For \(k=1\), \(x(1) = 1\):
\begin{equation*} x(1) = C_1 (-1)^1 + C_2 (-2)^1 = 1 \end{equation*}
\begin{equation*} C_1 (-1) + C_2 (-2) = 1 \end{equation*}
\begin{equation*} -C_1 - 2C_2 = 1 \quad (**)\end{equation*}
Now we have a system of two linear equations with two variables \(C_1\) and \(C_2\):
From the first equation, we can express \(C_1\) as \(C_1 = -C_2\).
Substitute this into the second equation:
\begin{equation*} -(-C_2) - 2C_2 = 1 \end{equation*}
\begin{equation*} C_2 - 2C_2 = 1 \end{equation*}
\begin{equation*} -C_2 = 1 \end{equation*}
\begin{equation*} C_2 = -1 \end{equation*}
Now substitute the value of \(C_2\) back into \(C_1 = -C_2\):
\begin{equation*} C_1 = -(-1) = 1 \end{equation*}
Substitute the values of \(C_1 = 1\) and \(C_2 = -1\) back into the general solution \(x(k) = C_1 (-1)^k + C_2 (-2)^k\):
\begin{equation*} x(k) = 1 \cdot (-1)^k + (-1) \cdot (-2)^k \end{equation*}
\begin{equation*} x(k) = (-1)^k - (-2)^k \end{equation*}
This is the specific solution that satisfies the given difference equation and initial conditions. The options use the notation \(x(KT)\) or \(x(k)\), which corresponds to our \(x(k)\).
Let's compare our derived solution \(x(k) = (-1)^k - (-2)^k\) with the given options:
| Step | Description | Equation/Method |
|---|---|---|
| 1 | Assume solution form | \(x(k) = r^k\) |
| 2 | Substitute into difference equation | \(r^{k+n} + a_1 r^{k+n-1} + \dots + a_n r^k = 0\) |
| 3 | Find characteristic equation | \(r^n + a_1 r^{n-1} + \dots + a_n = 0\) |
| 4 | Solve for roots (\(r_i\)) | Factoring, Quadratic Formula, etc. |
| 5 | Write general solution based on roots | Depends on root types (real, complex, repeated) |
| 6 | Apply initial conditions | Solve for constants (\(C_i\)) |
| 7 | Write specific solution | Substitute \(C_i\) into the general solution |
Difference equations can be classified based on various properties:
Solving linear homogeneous difference equations with constant coefficients using the characteristic equation is a standard technique, analogous to solving linear homogeneous differential equations with constant coefficients.
The Green's function for the differential equation \(\rm\frac{d^2x}{dt^2}\) + x = f(t), satisfying the initial conditions x(0) = \(\rm\frac{dx}{dt}\) (0) = 0, is
G(t, τ) = \(\begin{cases}0 & \text { for } \quad 0<\rm t<\tau \\ \sin (\rm t−\tau) & \text { for } \quad \rm t>\tau\end{cases}\)
The solution of the differential equation when the source f(t) = θ(t) (the Heaviside step function) is
Complimentary function of the differential equation \({x^2}\frac{{{d^2}y}}{{d{x^2}}} + 4x\frac{{dy}}{{dx}} + 2y = {e^{{x^2}}}\)
If y = \(\rm\left(\frac{1}{x}\right)^x \), then value of \(\rm e^e\left(\frac{d^2 y}{d x^2}\right)_{x=e}\) is:
If \(f\left( x \right) = \frac{{ax + b}}{{cx + d}}\) and f(f(x)) = x then