Question #295402

Solve by the method of variation of of parameter y''+y=secx

Expert's answer

Solution:

Given y′′+y=sec⁡xy^{\prime \prime}+y=\sec x .

The auxilary equation is r2+1=0r^{2}+1=0

Then, r2=±i⇒r=−i,r=i.r^{2}=\pm i \Rightarrow r=-i, r=i .

Thus, the general solution is, yc=c1cos⁡x+c2sin⁡x.y_{c}=c_{1} \cos x+c_{2} \sin x .

Here, y1(x)=cos⁡xy_{1}(x)=\cos x  and y2(x)=sin⁡xy_{2}(x)=\sin x .

Then, y1′(x)=−sin⁡x and y2′(x)=cos⁡x.y_{1}^{\prime}(x)=-\sin x\ and\ y_{2}^{\prime}(x)=\cos x .

Find the Wronskian of y1(x)=cos⁡xy_{1}(x)=\cos x  and y2(x)=sin⁡x.y_{2}(x)=\sin x .

W=∣cos⁡xsin⁡x−sin⁡xcos⁡x∣=cos⁡2x+sin⁡2x=1\begin{aligned} W &=\left|\begin{array}{cc} \cos x & \sin x \\ -\sin x & \cos x \end{array}\right| \\ &=\cos ^{2} x+\sin ^{2} x \\ &=1 \end{aligned}

Here, f(x)=sec⁡x.f(x)=\sec x .

u=−∫f(x)y2(x)W(x)dx and v=∫f(x)y1(x)W(x)dxu=−∫sec⁡xsin⁡x1dx and v=∫sec⁡xcos⁡x1dx\begin{aligned} &u=-\int \frac{f(x) y_{2}(x)}{W(x)} d x \text { and } v=\int \frac{f(x) y_{1}(x)}{W(x)} d x \\ &u=-\int \frac{\sec x \sin x}{1} d x \quad \text { and } v=\int \frac{\sec x \cos x}{1} d x \end{aligned}

u=−∫tan⁡xdx and v=∫1dxu=ln⁡(cos⁡x) and v=x\begin{array}{ll} u=-\int \tan x d x & \text { and } v=\int 1 d x \\ u=\ln (\cos x) & \text { and } v=x \end{array}

Thus, the particular solution is,

yp=cos⁡xln⁡(cos⁡x)+xsin⁡xy_{p}=\cos x \ln (\cos x)+x \sin x

Therefore, the general solution of the given differential equation is,

y=yc+ypy=c1cos⁡x+c2sin⁡x+cos⁡x(ln⁡(cos⁡x))+xsin⁡x\begin{aligned} &y=y_{c}+y_{p} \\ &y=c_{1} \cos x+c_{2} \sin x+\cos x(\ln (\cos x))+x \sin x \end{aligned}


LATEST TUTORIALS
APPROVED BY CLIENTS