Diff equation by diagonalization

In summary, the student attempted to solve the equation dx/dt = Ax where A is not diagonalizable and was unsuccessful. They found that it was simpler to solve the equation as two equations, and found the desired solution of x= (D-Ct)et.
  • #1
EvLer
458
0

Homework Statement


solve initial value problem for the equation dx/dt = Ax where A =
[1 -1]
[0 1]
x(0) = [1, 1]T

x(t) = S*elambda*t*S -1*x(0)
where S is diagonal matrix, lambda is eigenvalue;

The Attempt at a Solution


I tried to diagonalize it, but I get one eigenvalue =1 mult 2 and I don't have enough eigenvectors to get S!
Am I missing something? and how do i solve it?

Thanks
 
Physics news on Phys.org
  • #2
The solution to [itex]dx/dt = Ax[/itex] for scalar x is [itex]x=\exp(At)x_0[/itex]. This extends to multiple dimensions with [itex]exp(At) = \sum_r A^r t^r/r![/itex]
 
  • #3
ok, so you are saying that A does not have to be diagonalizable for a solution to exist?

I am trying to see relations to the diagonalization
 
  • #4
?? Every linear equation has solutions! Where did you get the idea that the matrix had to be diagonalizable?

Diagonalizable makes it easier but when a matrix is not diagonalizable you can still get the "Jordan Normal form".

The simplest way to solve this equation is two treat it as two equations:
dx/dt= x- y, dy/dt= y, since they are "partially disconnected": you can solve for y immediately: from dy/dt= y, y= Cet. Then the second equation becomes dx/dt= x- Cet or dx/dt- x= -Cet. That has integrating factor e-t: multiplying the equation by e-t give e-tdx/dt- e-tx= d(e-tx)/dt= e-t(Cet)= C. Integrating, e-tx= Ct+ D so x= Ctet+ Det. With x(0)= D= 1 and y(0)= C= 1, we have x(t)= tet+ et, y(t)= et.

Putting that back into matrix form that is x(t)= [tet+ et, et].
 
  • #5
This is a linear equation of the form [itex]d\vec x/dt = \mathbf A \vec x[/itex]. If A and x were scalars, the solution would obviously be [itex]x=\exp(At)x(0)[/itex]. This is true for matrices as well:

[tex]\vec x \exp(\mathbf At) \vec x(0)[/tex]

where [itex]\exp(At)[/itex] is the matrix exponential

[tex]\exp(At) = \sum_{n=0}^\infty \frac{A^n t^n}{n!}[/tex]

Writing

[tex]\mathbf A = \mathbf 1_{2x2} - \mathbf B[/itex]

where

[tex]\mathbf 1_{2x2}[/tex] is the [itex]2x2[/itex] identity matrix and

[tex]\mathbf B \equiv \bmatrix 0 & 1 \\ 0 & 0 \endbmatrix[/tex]

Then

[tex]\mathbf A^2 = \mathbf 1_{2x2} - 2\mathbf B[/tex]

and in general

[tex]\mathbf A^n = \mathbf 1_{2x2} - n\mathbf B[/tex]

Thus

[tex]\exp(At) =\mathbf 1_{2x2}\sum_{n=0}^\infty \frac{t^n}{n!} - \mathbf B \sum_{n=1}^\infty \frac{t^n}{(n-1)!}[/tex]

Simplifying,

[tex]\exp(At) =\mathbf 1_{2x2}\exp t - \mathbf B t\exp t[/tex]

The desired solution is

[tex]\vec x(t) =(\mathbf 1_{2x2}\exp t - \mathbf B t\exp t)\bmatrix 1 \\ 1\endbmatrix = \bmatrix 1-t\\1\endbmatrix \exp t[/tex]
 
  • #6
HallsofIvy said:
The simplest way to solve this equation is two treat it as two equations:
dx/dt= x- y, dy/dt= y, since they are "partially disconnected": you can solve for y immediately: from dy/dt= y, y= Cet. Then the second equation becomes dx/dt= x- Cet or dx/dt- x= -Cet. That has integrating factor e-t: multiplying the equation by e-t give e-tdx/dt- e-tx= d(e-tx)/dt= e-t(Cet)= C.

There is a sign error here. That should be d(e-tx)/dt = -C

Integrating, e-tx= Ct+ D so x= Ctet+ Det. With x(0)= D= 1 and y(0)= C= 1, we have x(t)= tet+ et, y(t)= et.

Putting that back into matrix form that is x(t)= [tet+ et, et].

With the correct sign, integrating yields e-tx= D-Ct, so x= (D-Ct)et. With x(0)=y(0)=1, C=D=1, so x(t)= et-tet, y(t)= et. In matrix form,
[tex]\vec x(t) = \bmatrix e^t-te^t \\ e^t\endbmatrix[/tex]
 
  • #7
Thanks for the correction. One of these days, I really need to learn arithmetic!
 

What is "Diff equation by diagonalization"?

"Diff equation by diagonalization" refers to a method used in solving differential equations by converting them into a diagonal form. This method is particularly useful for solving systems of linear differential equations with constant coefficients.

Why is diagonalization useful in solving differential equations?

Diagonalization allows us to simplify the process of solving differential equations by reducing them into a set of simpler equations that can be solved independently. This makes it easier to find solutions and understand the behavior of the system.

What are the steps involved in solving a differential equation by diagonalization?

The steps involved in solving a differential equation by diagonalization are:
1. Find the eigenvalues and eigenvectors of the matrix associated with the differential equation.
2. Use the eigenvectors to construct the matrix P.
3. Find the inverse of P and multiply it with the original matrix to get a diagonal matrix.
4. Use this diagonal matrix to solve the differential equation.

What types of differential equations can be solved using diagonalization?

Diagonalization can be used to solve systems of linear differential equations with constant coefficients. It is also applicable to certain types of non-linear differential equations, such as the Riccati equation and the Lotka-Volterra equation.

What are some applications of diagonalization in science and engineering?

Diagonalization has various applications in science and engineering, such as in the study of population dynamics, control systems, and quantum mechanics. It is also used in solving differential equations in physics, chemistry, and biology.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
94
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
525
  • Calculus and Beyond Homework Help
Replies
5
Views
527
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
302
  • Calculus and Beyond Homework Help
Replies
4
Views
841
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
914
  • Calculus and Beyond Homework Help
Replies
10
Views
371
Back
Top