Diff equation by diagonalization

  • Thread starter Thread starter EvLer
  • Start date Start date
  • Tags Tags
    Diagonalization
Click For Summary
SUMMARY

The discussion focuses on solving the initial value problem for the differential equation dx/dt = Ax, where A is the matrix [[1, -1], [0, 1]] and the initial condition is x(0) = [1, 1]T. The solution involves using the matrix exponential, exp(At), which can be computed even if A is not diagonalizable by employing Jordan Normal form. The final solution is expressed as x(t) = [e^t - te^t, e^t]T, derived through separating the equations and integrating with the correct sign adjustments.

PREREQUISITES
  • Understanding of differential equations and initial value problems
  • Familiarity with matrix exponentials and their properties
  • Knowledge of Jordan Normal form for non-diagonalizable matrices
  • Ability to perform integration and apply integrating factors
NEXT STEPS
  • Study the properties of matrix exponentials in depth
  • Learn about Jordan Normal form and its applications in differential equations
  • Explore techniques for solving systems of linear differential equations
  • Practice integrating factors in various differential equation contexts
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are dealing with systems of differential equations, particularly those involving matrix methods and initial value problems.

EvLer
Messages
454
Reaction score
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
The solution to dx/dt = Ax for scalar x is x=\exp(At)x_0. This extends to multiple dimensions with exp(At) = \sum_r A^r t^r/r!
 
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
 
?? 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].
 
This is a linear equation of the form d\vec x/dt = \mathbf A \vec x. If A and x were scalars, the solution would obviously be x=\exp(At)x(0). This is true for matrices as well:

\vec x \exp(\mathbf At) \vec x(0)

where \exp(At) is the matrix exponential

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

Writing

\mathbf A = \mathbf 1_{2x2} - \mathbf B[/itex]<br /> <br /> where<br /> <br /> \mathbf 1_{2x2} is the 2x2 identity matrix and<br /> <br /> \mathbf B \equiv \bmatrix 0 &amp;amp; 1 \\ 0 &amp;amp; 0 \endbmatrix<br /> <br /> Then<br /> <br /> \mathbf A^2 = \mathbf 1_{2x2} - 2\mathbf B<br /> <br /> and in general<br /> <br /> \mathbf A^n = \mathbf 1_{2x2} - n\mathbf B<br /> <br /> Thus<br /> <br /> \exp(At) =\mathbf 1_{2x2}\sum_{n=0}^\infty \frac{t^n}{n!} - \mathbf B \sum_{n=1}^\infty \frac{t^n}{(n-1)!}<br /> <br /> Simplifying,<br /> <br /> \exp(At) =\mathbf 1_{2x2}\exp t - \mathbf B t\exp t<br /> <br /> The desired solution is<br /> <br /> \vec x(t) =(\mathbf 1_{2x2}\exp t - \mathbf B t\exp t)\bmatrix 1 \\ 1\endbmatrix = \bmatrix 1-t\\1\endbmatrix \exp t
 
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,
\vec x(t) = \bmatrix e^t-te^t \\ e^t\endbmatrix
 
Thanks for the correction. One of these days, I really need to learn arithmetic!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
9
Views
2K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K