Solve x2dx2d2y(x)+xdxdy(x)+9y(x)=0, such that y(1)=2 and y′(1)=0:Assume a solution to this Euler-Cauchy equation will be proportional to xλ for some constant λ. Substitute y(x)=xλ into the differential equation:x2dx2d2(xλ)+xdxd(xλ)+9xλ=0 Substitute dx2d2(xλ)=λ(λ−1)xλ−2 and dxd(xλ)=λxλ−1x2xλ+9xλ=0 Factor out xx:(λ2+9)xλ=0 Assuming x=0, the zeros must come from the polynomial:x2+9=0 Solve for λ:λ=3i or λ=−3i
fThe roots x=±3i give y1(x)=c1x3i,y2(x)=c2x−3i 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)=c1x3i+c2x−3i Using xλ=eλlog(x), apply Euler’s identity eα+iβ=eαcos(β)+ieαsin(β):y(x)=c1(cos(3log(x))+isin(3log(x)))+c2(cos(3log(x))−isin(3log(x))) Regroup terms:y(x)=(c1+c2)cos(3log(x))+i(c1−c2)sin(3log(x)) Redefine c1+c2 as c1 and i(c1−c2) as c2, since these are arbitrary constants:y(x)=c1cos(3log(x))+c2sin(3log(x)) Solve for the unknown constants using the initial conditions: Compute dxdy(x):dxdy(x)=dxd(c1cos(3log(x))+c2sin(3log(x)))=−x3c1sin(3log(x))+x3c2cos3log(x)) Substitute y(1)=2 into y(x)=cos(3log(x))c1+sin(3log(x))c2:c1=2
Substitute y′(1)=0 into dxdy(x)=−x3sin(3log(x))c1+x3cos(3log(x))c2:3c2=0 Solve the system:c1=2c2=0 Substitute c1=2 and c2=0 into y(x)=cos(3log(x))c1+sin(3log(x))c2: Answer:y(x)=2cos(3log(x))
Comments