4.4.2.5 Example 5

Let solve the same ode above but with only one IC is given and not both. In other words, if we are given either y(x0)=y0 or y(x0)=y0 only. To see how to handle this method in such case. We know if there are no IC are given, then we use EQ (4) above, which is

(4)0xa0(α,y,y)dα+0ya1(0,β,y)dβ+0ya2(0,0,γ)dγ=c1

And if both initial conditions are given, then we use EQ (3), which is

(3)x0xa0(α,y,y)dα+y0ya1(x0,β,y)dβ+y0ya2(x0,y0,γ)dγ=0

Let see what to do when only one IC is given for the second order ode

yy+y(y1)=0y(0)=0

From problem 4, we found that this match works

(2A)a2=ya1=(y1)a0=0

And now we are given x0,y0 only but we are not given y0. Because of this, we will use (3) and not (4) and use the values for the given x0,y0 where needed and replace y0 by y(0). Hence (3) becomes

x0xa0(α,y,y)dα+y0ya1(x0,β,y)dβ+y(0)ya2(x0,y0,γ)dγ=00+0y(y1)dβ+y(0)yy0dγ=00+(y1)y+y(0)y(0)dγ=0(y1)y=0

Hence y=0 or y=1. But y=1. Solving this gives y=x+c1. using initial conditions y(0)=0 gives c=0. Hence y=x is also a solution. Hence solutions are

y=0y=x

This shows that if we are given even partial initial conditions, then we should use EQ (3) and not EQ (4). The following example gives one more illustration of this.