Linear Equations — Question 5

PDF ↗

Question 5

Two functions are known to solve the same first-order equation in standard linear form, y′+p(x)y=q(x),x∈ℝ,y'+p(x)y=q(x),\qquad x\in\mathbb R, where p,qp,q are continuous. The functions are y1=x+e−x,y2=x−e−x.y_1=x+e^{-x},\qquad y_2=x-e^{-x}. Tasks

  1. Recover p(x)p(x) and q(x)q(x) from these two solutions. Explain why they are determined at every real xx.

  2. Solve the recovered equation using an integrating factor to obtain all its solutions.

  3. Determine all real constants α,β\alpha,\beta for which αy1+βy2\alpha y_1+\beta y_2 is also a solution of the same nonhomogeneous equation.

  4. Explain why arbitrary sums of solutions need not remain solutions, although the difference of two solutions always satisfies the associated homogeneous equation.

Original worksheet page 1: question and worked solution for 2-1-005
Show solutionHide solution

Question 5 – Solution

Strategy. Subtract the two equations to eliminate the forcing. A nonzero solution difference reveals the coefficient pp.

Step 1: Recover the coefficients. Let d=y1−y2=2e−xd=y_1-y_2=2e^{-x}. Subtraction gives d′+pd=0d'+pd=0, so p=−d′d=1,p=-\frac{d'}d=1, valid for every real xx because dd never vanishes. Using y1′=1−e−xy_1'=1-e^{-x}, q=y1′+y1=1−e−x+x+e−x=x+1.q=y_1'+y_1=1-e^{-x}+x+e^{-x}=x+1. Thus y′+y=x+1\boxed{y'+y=x+1} is uniquely recovered within the stated standard linear form.

Step 2: All solutions. The integrating factor is exe^x, giving (exy)′=(x+1)ex=(xex)′.(e^xy)'=(x+1)e^x=(xe^x)'. Integration yields y=x+Ce−x,C∈ℝ\boxed{y=x+Ce^{-x},\quad C\in\mathbb R}. Substitution confirms y′+y=x+1y'+y=x+1 for every constant.

Step 3: Which combinations work? Write L[v]=v′+vL[v]=v'+v. Linearity gives L[αy1+βy2]=(α+β)(x+1).L[\alpha y_1+\beta y_2]=(\alpha+\beta)(x+1). For this to equal x+1x+1 throughout an interval, we require α+β=1.\boxed{\alpha+\beta=1.} These combinations are x+(α−β)e−xx+(\alpha-\beta)e^{-x} and generate every solution.

Step 4: Nonhomogeneous versus homogeneous. The sum y1+y2=2xy_1+y_2=2x produces L[2x]=2x+2L[2x]=2x+2, not x+1x+1. The difference instead satisfies L[y1−y2]=q−q=0L[y_1-y_2]=q-q=0. Thus differences solve the homogeneous equation; combinations with coefficients summing to one preserve the original forcing.

Original worksheet page 2: question and worked solution for 2-1-005

Original worksheet layout. Use Enlarge or open the PDF for a closer view.