Case 3: Repeated Eigenvalue

> lambda := %? ;

> V1 := vector( 2, [ %? , %? ] );

> V2 := vector( 2, [ x2 , y2 ] );

>

The straight-line solution is:

> Y1 := exp( lambda *t) * convert( V1, matrix );

>

To find a second linearly independent solution we must find any vector [Maple Math] that satisfies [Maple Math] or, equivalently, [Maple Math] .

> sys := geneqns( evalm( A-lambda*I2 ), V2, V1 );

> soln := solve( sys, { x2, y2 } );

> V2 := subs( soln , x2=0, y2=0, evalm(V2) );

>

> Y2 := exp( lambda *t) * ( t * convert( evalm( V1 ), matrix ) + convert( evalm( V2 ) , matrix ) );

>