1)
y∗+x y=1,y(0)=y(1)=0
this differential equation has no solutions
2)
Differential equation solutions:
y(x)=x−sin(x)+tan(21)cos(x)
Solve dx2d2y(x)+y(x)=x, such that y′(0)=0 and y′(1)=0:
The general solution will be the sum of
the complementary solution and particular solution.
Find the complementary solution by solving dx2d2y(x)+y(x)=0:
Assume a solution will be proportional to eeλx for some constant λ.
Substitute y(x)=eλx into the differential equation:
dx2d2(eλx)+eλx=0
Substitute dx2d2(eλx)=λ2eλx:
λ2eλx+eλx=0
Factor out eλx:
(λ2+1)eλx=0
Since eλx=0 for any finite λ, the zeros must come from the polynomial:
λ2+1=0
Solve for λ:
λ=i or λ=−i
The roots λ=±i give y1(x)=c1eix, y2(x)=c2e−ix as solutions, where c1 and c2 are arbitrary constants.
The general solution is the sum of the above solutions:
y(x)=y1(x)+y2(x)=c1eix+c2e−ix
Apply Euler's identity eeα+iβ=eeαcos(β)+ieeαsin(β):
y(x)=c1(cos(x)+isin(x))+c2(cos(x)−isin(x))
Regroup terms:
y(x)=(c1+c2)cos(x)+i(c1−c2)sin(x)
Redefine c1+c2 as c1 and i(c1−c2) as c2, since these are arbitrary constants:
y(x)=c1cos(x)+c2sin(x)
Determine the particular solution to dx2d2y(x)+y(x)=x by the method of undetermined coefficients:
The particular solution to dx2d2y(x)+y(x)=x is of the form:
yp(x)=a1+a2x
Solve for the unknown constants a1 and a2:
Compute dx2d2yp(x):
dx2d2yp(x)=dx2d2(a1+a2x)=0
Substitute the particular solution yp(x) into the differential equation:
dx2d2yp(x)+yp(x)=xa1+a2x=x
Equate the coefficients of 1 on both sides of the equation:
a1=0
Equate the coefficients of x on both sides of the equation:
a2=1
Substitute a1 and a2 into yp(x)=a1+a2x;
yp(x)=x
The general solution is:
y(x)=yc(x)+yp(x)=x+c1cos(x)+c2sin(x)
Solve for the unknown constants using the initial conditions:
Compute dxdy(x):
dxdy(x)=dxd(x+c1cos(x)+c2sin(x))=−c1sin(x)+c2cos(x)+1
Substitute y′(0)=0 into dxdy(x)=−c1sin(x)+c2cos(x)+1
c2+1=0
Substitute y′(1)=0 into dxdy(x)=−c1sin(x)+c2cos(x)+1
−sin(1)c1+cos(1)c2+1=0
Solve the system:
c1=−cot(1)+csc(1)c2=−1
Substitute c1=−cot(1)+csc(1) and
c2=−1 into y(x)=x+c1cos(x)+c2sin(x):y(x)=x−sin(x)+tan(21)cos(x)
Answer provided by AssignmentExpert.com