marinyork said:
Use the two trigonometric identities Cos(2x)=cos^2(x)-sin^2(x) and 1=sin^2(x)+cos^2(x).
So
Cos(2x)=Cos^2(x)-(1-cos^2(x))
Cos(2x)=2Cos^2(x)-1
So
-1/4(Cos(2x)Sec(x)
=-1/4(2Cos^2(x)-1)sec(x)
=-1/4(2Cos^2(x)-1)/cos(x)
=-1/4(2Cos(x) -1/cos(x)
=-1/4(2Cos(x) +(1/4)Sec(x)
It took a while to follow, but yes
And so the general solution becomes:
y = CSec(x) - 1/2 Cos(x) + 1/4 Sec(x)
Apply the initial condition y(0)=1/2
The particular solution comes out as:
y = Sec(x) - 1/2 Cos(x) as required
I'm still at a loss as to why the general solution above is not in agreement with the given g.s. of :
y = C Sec(x) - 1/2 Cos(x)
Although I feel that if C is an arbitrary constant, then:
CSec(x)+1/4 Sec(x) = DSec(x) where D is now an arbitrary constant, trying to show it on paper is another matter!
Thanks for the help. Much appreciated.
Michael