MATH528Oct 17, 2018

Midterm examination

Instructions: Exam is closed book. Present your answers legibly, show and briefly comment steps in your solution.

  1. Find the general solution of the following ODEs:

    1. y'+2.5y=1.6x

    2. y'-0.4y=29sinx

    3. 25yy'-4x=0

    Classify each equation. ( 3×2 points = 6 points)

    Solution.

    1. y'+2.5y=1.6x is a linear, first-order, explicit, inhomogeneous ODE. Solution of homogeneous equation y'+2.5y=0 is y(x)=ce-2.5x. Apply variation of parameters, y(x)=c(x)e-2.5x to find general solution of inhomogeneous equation

      y'+2.5y=c'e-2.5x=1.6xc(x)=1.6xe2.5xc(x)=1.6xe2.5xdx+a,

      and integration by parts udv=uv-vdu, u=x, dv=d(12.5e2.5x) gives

      c(x)=1.62.5(xe2.5x-e2.5xdx)+a=1.62.5(x-12.5)e2.5x+a=1.6(0.4x-0.16)e2.5x+a.

      General solution is

      y(x)=1.6(0.4x-0.16)+ae-2.5x.
    2. y'-0.4y=29sinx is a linear, first-order, explicit, inhomogeneous ODE. Solution of homogeneous equation y'-0.4y=0 is y=ce0.4x. Use method of undetermined coefficients to seek general solution as

      y(x)=ce0.4x+asinx+bcosx.

      Replacing,

      y'-0.4y=(a-0.4b)cosx-(b+0.4a)sinx=29sinxa-0.4b=0,b+0.4a=-29
      a=0.4b,1.16b=29b=-291.16=-25,a=-292.9=-10

      and find the general solution

      y(x)=ce0.4x-10sinx-25cosx.
    3. 25yy'-4x=0, is a non-linear, first-order, implicit, separable, inhomogeneous ODE. Direct integration gives

      252y2-2x2=cy=±15c+4x2.
  2. Solve the IVP y'''-y''-y'+y=0, y(0)=0,y'(0)=1,y''(0)=0. (3 points)

    Solution. Third-order, constant-coefficient, linear ODE. Trying solution of form y(x)=erx, the characteristic equation

    r3-r2-r+1=(r-1)(r2-1)=0

    results with roots r1,2=1 (double root), r3=-1. The general solution is

    y(x)=c1ex+c2xex+c3e-x.

    Applying initial conditions gives

    c1+c3=0,c1+c2-c3=1,c1+2c2+c3=0c1=12,c2=0,c3=-12

    so the solution is

    y(x)=12(ex-e-x)=sinhx
  3. Find the general solution and determine the type of critical points of the system

    y1'=3y1+4y2 y2'=3y1+2y2 .

    (3 points)

    Solution. Solve the eigenproblem, AX=XΛ

    A=( 3 4 3 2 ),det(A-λI)=(3-λ)(2-λ)-12=λ2-5λ-6=(λ-6)(λ+1)=0λ1=-1,λ2=6.
    A-λ1I=( 4 4 3 3 )x1=( 1 -1 ),A-λ2I=( -3 4 3 -4 )x2=( 4 3 ),
    Λ=( -1 0 0 6 ),X=( x1 x2 )=( 1 4 -1 3 ),X-1=17( 3 -4 1 1 ).

    The system y'=Ay=XΛX-1y, is equivalent to z'=Λz, with z=X-1y and solution

    z(x)=( c1e-x c2e6x ),y=Xz=( 1 4 -1 3 )( c1e-x c2e6x )=( c1e-x+4c2e6x -c1e-x+3c2e6x )=( e-x 4e6x -e-x 3e6x )( c1 c2 ).

    Since det(A)0, the only solution of y'=0 is y=0, and the origin is a saddle point (one positive, one negative eigenvalue of A).