Question #10305

Dear please try to solve by Green Function technique .y"+x y=1,y(0)=y(1)=0 (2) y"+y=x . y'(0)=y'(1)=0 I shall be very thankful to u.best wishes

Expert's answer

1)

y+xy^{*} + x y=1,y(0)=y(1)=0y = 1, y(0) = y(1) = 0

this differential equation has no solutions

2)

Differential equation solutions:


y(x)=xsin(x)+tan(12)cos(x)y(x) = x - \sin(x) + \tan\left(\frac{1}{2}\right) \cos(x)


Solve d2y(x)dx2+y(x)=x\frac{d^2 y(x)}{dx^2} + y(x) = x, such that y(0)=0y'(0) = 0 and y(1)=0y'(1) = 0:

The general solution will be the sum of

the complementary solution and particular solution.

Find the complementary solution by solving d2y(x)dx2+y(x)=0\frac{d^2 y(x)}{dx^2} + y(x) = 0:

Assume a solution will be proportional to eλx\pmb{e}^{\lambda x} for some constant λ\lambda.

Substitute y(x)=eλxy(x) = e^{\lambda x} into the differential equation:


d2dx2(eλx)+eλx=0\frac{d^2}{dx^2}(e^{\lambda x}) + e^{\lambda x} = 0


Substitute d2dx2(eλx)=λ2eλx\frac{d^2}{dx^2}(e^{\lambda x}) = \lambda^2 e^{\lambda x}:


λ2eλx+eλx=0\lambda^2 e^{\lambda x} + e^{\lambda x} = 0


Factor out eλxe^{\lambda x}:


(λ2+1)eλx=0(\lambda^2 + 1) e^{\lambda x} = 0


Since eλx0e^{\lambda x} \neq 0 for any finite λ\lambda, the zeros must come from the polynomial:


λ2+1=0\lambda^2 + 1 = 0


Solve for λ\lambda:


λ=i or λ=i\lambda = i \text{ or } \lambda = -i


The roots λ=±i\lambda = \pm i give y1(x)=c1eixy_{1}(x) = c_{1} e^{i x}, y2(x)=c2eixy_{2}(x) = c_{2} e^{-i x} as solutions, where c1c_{1} and c2c_{2} are arbitrary constants.

The general solution is the sum of the above solutions:


y(x)=y1(x)+y2(x)=c1eix+c2eixy(x) = y_{1}(x) + y_{2}(x) = c_{1} e^{i x} + c_{2} e^{-i x}


Apply Euler's identity eα+iβ=eαcos(β)+ieαsin(β)\pmb{e}^{\alpha + i\beta} = \pmb{e}^{\alpha}\cos(\beta) + i\pmb{e}^{\alpha}\sin(\beta):


y(x)=c1(cos(x)+isin(x))+c2(cos(x)isin(x))y(x) = c_{1} (\cos(x) + i \sin(x)) + c_{2} (\cos(x) - i \sin(x))


Regroup terms:


y(x)=(c1+c2)cos(x)+i(c1c2)sin(x)y(x) = (c_{1} + c_{2}) \cos(x) + i (c_{1} - c_{2}) \sin(x)


Redefine c1+c2c_{1} + c_{2} as c1c_{1} and i(c1c2)i(c_{1} - c_{2}) as c2c_{2}, since these are arbitrary constants:


y(x)=c1cos(x)+c2sin(x)y(x) = c_{1} \cos(x) + c_{2} \sin(x)


Determine the particular solution to d2y(x)dx2+y(x)=x\frac{d^2 y(x)}{dx^2} + y(x) = x by the method of undetermined coefficients:

The particular solution to d2y(x)dx2+y(x)=x\frac{d^2 y(x)}{dx^2} + y(x) = x is of the form:


yp(x)=a1+a2xy_{p}(x) = a_{1} + a_{2} x


Solve for the unknown constants a1a_{1} and a2a_{2}:

Compute d2yp(x)dx2\frac{d^2 y_p(x)}{dx^2}:


d2yp(x)dx2=d2dx2(a1+a2x)=0\begin{array}{l} \frac{d^{2} y_{p}(x)}{dx^{2}} = \frac{d^{2}}{dx^{2}} (a_{1} + a_{2} x) \\ = 0 \end{array}


Substitute the particular solution yp(x)y_{p}(x) into the differential equation:


d2yp(x)dx2+yp(x)=x\frac {d ^ {2} y _ {p} (x)}{d x ^ {2}} + y _ {p} (x) = xa1+a2x=xa _ {1} + a _ {2} x = x


Equate the coefficients of 1 on both sides of the equation:


a1=0a _ {1} = 0


Equate the coefficients of xx on both sides of the equation:


a2=1a _ {2} = 1


Substitute a1a_1 and a2a_2 into yp(x)=a1+a2xy_p(x) = a_1 + a_2x;


yp(x)=xy _ {p} (x) = x


The general solution is:


y(x)=yc(x)+yp(x)=x+c1cos(x)+c2sin(x)y (x) = y _ {c} (x) + y _ {p} (x) = x + c _ {1} \cos (x) + c _ {2} \sin (x)


Solve for the unknown constants using the initial conditions:

Compute dy(x)dx\frac{dy(x)}{dx}:


dy(x)dx=ddx(x+c1cos(x)+c2sin(x))=c1sin(x)+c2cos(x)+1\begin{array}{l} \frac {d y (x)}{d x} = \frac {d}{d x} \left(x + c _ {1} \cos (x) + c _ {2} \sin (x)\right) \\ = - c _ {1} \sin (x) + c _ {2} \cos (x) + 1 \\ \end{array}


Substitute y(0)=0y^{\prime}(0) = 0 into dy(x)dx=c1sin(x)+c2cos(x)+1\frac{dy(x)}{dx} = -c_1\sin (x) + c_2\cos (x) + 1

c2+1=0c _ {2} + 1 = 0


Substitute y(1)=0y^{\prime}(1) = 0 into dy(x)dx=c1sin(x)+c2cos(x)+1\frac{dy(x)}{dx} = -c_1\sin (x) + c_2\cos (x) + 1

sin(1)c1+cos(1)c2+1=0- \sin (1) c _ {1} + \cos (1) c _ {2} + 1 = 0


Solve the system:


c1=cot(1)+csc(1)c2=1\begin{array}{l} c _ {1} = - \cot (1) + \csc (1) \\ c _ {2} = - 1 \\ \end{array}


Substitute c1=cot(1)+csc(1)c_{1} = -\cot (1) + \csc (1) and


c2=1 into y(x)=x+c1cos(x)+c2sin(x):c _ {2} = - 1 \text{ into } y (x) = x + c _ {1} \cos (x) + c _ {2} \sin (x):y(x)=xsin(x)+tan(12)cos(x)y (x) = x - \sin (x) + \tan \left(\frac {1}{2}\right) \cos (x)


Answer provided by AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS