MATH383: A first course in differential equationsJanuary 27, 2019

Test 1 Solution

Solve the following problems (3 course points each). Present a brief motivation of your method of solution. Explicitly state any conditions that must be met for solution procedure to be valid. Organize your computation and writing so the solution you present is readily legible. No credit is awarded for statement of the final answer to a problem without presentation of solution procedure.

Study the following test solution to familiarize yourself with the formulation of succint, correct answers to mathematical problems. The presentation of each solution is repeated with additional comments highlighted in dark red. These comments present the motivation underlying answer formulation. Remember: your main goal is demonstrate understanding of mathematical concepts, not to just present a final answer. Always ask yourself: “how do I show knowledge of this topic?”, not “what is the answer to this problem?”.

  1. Verify for c y(x)=c2+cx+2c+1 satisfies

    y'=-x-2+x2+4x+4y2 (1)

    on some open interval. Identify the open interval. Verify that y1=-x(x+4)/4 also satisfies (1) on some open interval. Identify the interval.

    Solution. A DEy'=f(x,y) has a solution over some open rectangle R=(a,b)×(c,d) if f(x,y) is continuous in y over R. If fy(x,y)=f/y is also continuous in R the DE has a unique solution. Compute

    fy=y(-x-2+x2+4x+4y2)=12y(x2+4x+4y)=1x2+4x+4y,

    and note that fy is not continuous when x2+4x+4y=0.

    Verify that y(x)=c2+cx+2c+1 is a solution. Compute:

    y'=c, x2+4x+4y=x2+4x+4(c2+cx+2c+1)=x2+4(x+c)+[2(c+1)]2=[x+2(c+1)]2
    y'=c=-x-2+[x+2(c+1)]22=-x-2+x+2(c+1)2=c.?

    To obtain the linear function y(x)=cx+(c+1)2 as a solution, the initial condition could be chosen as x=0, y=(c+1)2, and R=(0,1)×((c+1)2,).

    Verify that y1=-x(x+4)/4 is a solution. Compute:

    y1'=-12x-1,x2+4x+4y1=x2+4x-x(x+4)=0,
    y'=-12x-1=-x-2+02=-12x-1.?

    To obtain y1 as a solution, choose initial condition y(0)=0, and R=(0,1)×(0,-).

    Commented solution. A DEy'=f(x,y) has a solution over some open rectangle R=(a,b)×(c,d) if f(x,y) is continuous in y over R [show knowledge of the solution existence theorem]. If fy(x,y)=f/y is also continuous in R the DE has a unique solution [show knowledge of the solution uniqueness theorem, relevant here because you are asked to show that two solutions verify the DE]. Compute

    fy=y(-x-2+x2+4x+4y2)=12y(x2+4x+4y)=1x2+4x+4y,

    and note that fy is not continuous when x2+4x+4y=0. [Carry out the computations suggested by the existence and uniqueness theorems, identify possibility of non-unique solution].

    Verify that y(x)=c2+cx+2c+1 is a solution. Compute [carry out calculus computations]:

    y'=c, x2+4x+4y=x2+4x+4(c2+cx+2c+1)=x2+4(x+c)+[2(c+1)]2=[x+2(c+1)]2
    y'=c=-x-2+[x+2(c+1)]22=-x-2+x+2(c+1)2=c.?

    To obtain the linear function y(x)=cx+(c+1)2 as a solution, the initial condition could be chosen as x=0, y=(c+1)2, and R=(-1,1)×((c+1)2,). [Choose some arbitrary domain that selects the monotone increasing branch]

    Verify that y1=-x(x+4)/4 is a solution. Compute[carry out calculus computations]:

    y1'=-12x-1,x2+4x+4y1=x2+4x-x(x+4)=0,
    y'=-12x-1=-x-2+02=-12x-1.?

    To obtain y1 as a solution, choose initial condition y(0)=0, and R=(-1,1)×(0,-). [Choose some arbitrary domain that contains the monotone decreasing branch]

  2. Use variation of parameters and separation of variables to solve

    xy'-2y=x6y+x2.

    Solution. Solve the homogeneous problem xy'-2y=0

    y'y=2xyh(x)=x2.

    By variation of parameters, seek solution of form y(x)=u(x)yh(x)=x2u(x)

    x(x2u)'-2x2u=x6x2(u+1)x3u'=x4u+1(u+1)u'=x
    (u+1)du=xdx+c2(u+1)2=x2+cu=-1±x2+c.

    Equation has multiple solutions since in y'=f(x,y)=2y/x+x5/(y+x2), f is not continuous when y+x2=0.

    Commented solution. Solve the homogeneous problem xy'-2y=0 [show knowledge of variation of parameters first step: solve the homogeneous problem]

    y'y=2xyh(x)=x2.

    By variation of parameters, seek solution of form y(x)=u(x)yh(x)=x2u(x) [show knowledge of variation of parameters second step: assume solution is a modification of yh]

    x(x2u)'-2x2u=x6x2(u+1)x3u'=x4u+1(u+1)u'=x
    (u+1)du=xdx+c2(u+1)2=x2+cu=-1±x2+c.

    [Carry out calculations]. Equation has multiple solutions since in y'=f(x,y)=2y/x+x5/(y+x2), f is not continuous when y+x2=0.[Show recognition of possible multiple solutions]

  3. Find all (x0,y0) for which the initial value problem

    y'=x2+y2ln(xy),y(x0)=y0

    has a solution on some open interval that contains x0.

    Solution. A solution exists for an interval x(a,b), over f(x,y)=(x2+y2)/ln(xy) would be continuous in y. The function f is discontinuous at points (x0,y0) when ln(x0y0)=0y0=1/x0, or when x0=0 or when y0=0, and is undefined for x0y0<0. A solution will exist in some interval (0,a) with a>x0 for x0>0, and also in some interval (b,0) with b<x0 for y0<0,y01/x0, x0<0.

    Commented solution. A solution exists for an interval x(a,b), over f(x,y)=(x2+y2)/ln(xy) would be continuous in y [state theorem for solution existence]. The function f is discontinuous at points (x0,y0) when ln(x0y0)=0y0=1/x0, or when x0=0 or when y0=0, and is undefined for x0y0<0 [identify points where existence theorem conditions are not met]. A solution will exist in some interval (0,a) with a>x0 for x0>0, and also in some interval (b,0) with b<x0 for y0<0,y01/x0, x0<0 [find intervals that avoid discontinuous f].

  4. Find all functions N such that (ln(xy)+2ysinx)dx+N(x,y)dy=0 is exact.

    Solution. The differential M(x,y)dx+N(x,y)dx is exact if My=Nx, hence

    Nx=My=1y+2sinxN=xy-2cosx+f(y),

    with f some arbitrary function of y.

    Commented solution. The differential M(x,y)dx+N(x,y)dx is exact if My=Nx [state condition for an exact differential], hence

    Nx=My=1y+2sinxN=xy-2cosx+f(y),

    with f some arbitrary function of y [carry out calculation].