Question #70345

solve: d^2/dx^2 - 2 tan x dy/dx + 5y = e^x sec x
1

Expert's answer

2017-10-02T13:29:07-0400

Answer on Question #70345 - Math - Calculus

Solve: d2ydx22tanxdydx+5y=exsecx\frac{d^2y}{dx^2} - 2\tan x\frac{dy}{dx} + 5y = e^x\sec x

Solution

We are given


d2ydx22tanxdydx+5y=exsecx\frac{d^2y}{dx^2} - 2\tan x\frac{dy}{dx} + 5y = e^x\sec x


Multiply both sides of the equation by cosx\cos x:


cosxd2ydx22sinxdydx+5ycosx=ex\cos x \frac{d^2y}{dx^2} - 2\sin x \frac{dy}{dx} + 5y\cos x = e^x


We will be looking for a solution in the form


u(x)=y(x)cosxu(x) = y(x)\cos x


Find dudx\frac{du}{dx} and d2udx2\frac{d^2u}{dx^2}

dudx=dydxcosxysinx\frac{du}{dx} = \frac{dy}{dx}\cos x - y\sin xd2udx2=ddx(dydxcosxysinx)=d2ydx2cosxdydxsinxdydxsinxycosx=d2ydx2cosx2dydxsinxycosx=d2ydx2cosx2dydxsinxu\frac{d^2u}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\cos x - y\sin x\right) = \frac{d^2y}{dx^2}\cos x - \frac{dy}{dx}\sin x - \frac{dy}{dx}\sin x - y\cos x = \frac{d^2y}{dx^2}\cos x - 2\frac{dy}{dx}\sin x - y\cos x = \frac{d^2y}{dx^2}\cos x - 2\frac{dy}{dx}\sin x - u


Thus, from the last equality we get


d2ydx2cosx2dydxsinx=d2udx2+u\frac{d^2y}{dx^2}\cos x - 2\frac{dy}{dx}\sin x = \frac{d^2u}{dx^2} + u


Substitution of the (3) into the (1) yields


d2udx2+6u=ex\frac{d^2u}{dx^2} + 6u = e^x


Solve this equation. The general solution is the sum of the complementary solution and particular solution. Find the complementary solution by solving


d2udx2+6u=0\frac{d^2u}{dx^2} + 6u = 0


Substitute u=eλxu = e^{\lambda x}

d2dx2(eλx)+6eλx=0\frac{d^2}{dx^2}(e^{\lambda x}) + 6e^{\lambda x} = 0λ2eλx+6eλx=0(λ2+6)eλx=0λ2+6=0λ2=6λ1=i6,λ2=i6\lambda^2 e^{\lambda x} + 6e^{\lambda x} = 0 \Rightarrow (\lambda^2 + 6)e^{\lambda x} = 0 \Rightarrow \lambda^2 + 6 = 0 \Rightarrow \lambda^2 = -6 \Rightarrow \lambda_1 = i\sqrt{6}, \lambda_2 = -i\sqrt{6}


The obtained roots give u1(x)=c1ei6xu_{1}(x) = c_{1}e^{i\sqrt{6} x}, u2(x)=c2ei6xu_{2}(x) = c_{2}e^{-i\sqrt{6} x} as solutions, where c1c_{1} and c2c_{2} are arbitrary constants. The general solution is the sum of u1u_{1} and u2u_{2}:


u(x)=u1(x)+u2(x)=c1ei6x+c2ei6xu(x) = u_{1}(x) + u_{2}(x) = c_{1}e^{i\sqrt{6}x} + c_{2}e^{-i\sqrt{6}x}


Apply Euler's identity eα+iβ=eacosβ+ieasinβe^{\alpha + i\beta} = e^{a}\cos\beta + i e^{a}\sin\beta

u(x)=c1ei6x+c2ei6x=c1(cos(6x)+isin(6x))+c2(cos(6x)isin(6x))==(c1+c2)cos(6x)+i(c1c2)sin(6x)\begin{aligned} u(x) = c_{1}e^{i\sqrt{6}x} + c_{2}e^{-i\sqrt{6}x} &= c_{1}\left(\cos(\sqrt{6}x) + i\sin(\sqrt{6}x)\right) + c_{2}\left(\cos(\sqrt{6}x) - i\sin(\sqrt{6}x)\right) = \\ &= (c_{1} + c_{2})\cos(\sqrt{6}x) + i(c_{1} - c_{2})\sin(\sqrt{6}x) \end{aligned}


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


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


Determine the particular solution to d2udx2+6u=ex\frac{d^2u}{dx^2} + 6u = e^x by the method of undetermined coefficients:

The particular solution to d2udx2+6u=ex\frac{d^2u}{dx^2} + 6u = e^x is of the form


up(x)=a1exu_{p}(x) = a_{1}e^{x}


Substitute the particular solution up(x)u_{p}(x) into the differential equation:


d2dx2(a1ex)+6a1ex=ex\frac{d^2}{dx^2}(a_{1}e^{x}) + 6a_{1}e^{x} = e^{x}a1ex+6a1ex=exa_{1}e^{x} + 6a_{1}e^{x} = e^{x}a1+6a1=17a1=1a1=17a_{1} + 6a_{1} = 1 \Rightarrow 7a_{1} = 1 \Rightarrow a_{1} = \frac{1}{7}


Substitute a1a_{1} into up(x)=a1exu_{p}(x) = a_{1}e^{x}

up(x)=17exu_{p}(x) = \frac{1}{7}e^{x}


The general solution of (4) is


u(x)=uc(x)+up(x)=17ex+c1cos(6x)+c2sin(6x)u(x) = u_{c}(x) + u_{p}(x) = \frac{1}{7}e^{x} + c_{1}\cos(\sqrt{6}x) + c_{2}\sin(\sqrt{6}x)


We find solution of the original equation from the equality (2)


u(x)=y(x)cosxy(x)=1cosxu(x)=1cosx(17ex+c1cos(6x)+c2sin(6x))u(x) = y(x)\cos x \Rightarrow y(x) = \frac{1}{\cos x} u(x) = \frac{1}{\cos x}\left(\frac{1}{7}e^{x} + c_{1}\cos(\sqrt{6}x) + c_{2}\sin(\sqrt{6}x)\right)


Answer: y(x)=1cosx(17ex+c1cos(6x)+c2sin(6x))y(x) = \frac{1}{\cos x}\left(\frac{1}{7}e^{x} + c_{1}\cos(\sqrt{6}x) + c_{2}\sin(\sqrt{6}x)\right)

Answer provided by https://www.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!

Comments

Assignment Expert
20.02.20, 15:20

Dear Deeksha gupta, You are welcome. We are glad to be helpful. If you liked our service, please press a like-button beside the answer field. Thank you!

Deeksha gupta
19.02.20, 18:24

Your site is very helpful for us.Thank you so much

LATEST TUTORIALS
APPROVED BY CLIENTS