Find the general solution of the given differential equation. y''+y=tan, 0<t<(pi)/2

Bellenik3

Bellenik3

Open question

2022-08-19

Find the general solution of the given differential equation.
y+y=tan
0<t<π2

Answer & Explanation

Sarahi Thomas

Sarahi Thomas

Beginner2022-08-20Added 5 answers

Step 1
We were given the next equation
1) y +y=tant, 0<t<π2
By the theorem 4.7.2, the particular solution of the equation
y +p(t)y+q(t)y=g(t)
is given by
2) Y(t)=y1(t)u1(t)+y2(t)u2(t)
where u1 is given by
3) u1(t)=y2(t)g(t)W[y1, y2](t) dt 
and u2 by
4) u2(t)=y1(t)g(t)W[y1, y2](t) dt 
where y1 and y2 form a fundamental ser of solutions of the corresponding homogeneous equation.
Step 2
The corresponding homogeneous equation is
y +y=0
The roots of its charateristic equation λ2+1=0 are
λ1, 2=±i
Therefore, the homogeneous solution is
5) y=c1cost+c2sin 
Let us check if y1(t)=cos  and y2(t)=sin  form a fundamental set of solutions by finding their Wronskian:
W[y1, y2](t)=|y1(t)y2(t)y1'(t)y2'(t)|
=cost×cost+sint×sint=cos2t+sin2t=1
Which is always non-zero. Therefore, y1 and y2 form a fundamental set of solutions.
Step 3
Let us now find u1 and u2 using (3), (4) and g(t)=tant=sintcost
u1(t)=sint×sint1×cost dt =1cos2tcost dt 
=1cost dt +cost dt =ln(tant+sect)+sin 
u2(t)=cost×sint1×cost dt =sin dt =cos 
From equation (2), we have:
Y(t)=cost×(ln(tant+sect)+sint)sint×cos 
=costln(tant+sect)+costsintsintcos 
Therefore, the particular solution of the equation (1) is Y(t)=costln(tant+sect) 
The general solution is then given by the sum of the homogeneous and the particular solution:
y(t)=c1cost+c2sintcostln(tant+sect)

Macy Villanueva

Macy Villanueva

Beginner2022-08-21Added 3 answers

Step 1
This is non-homogeneous second order differential equation where the solution has the form y=yh+yp where yh is the solution to the associated homogeneous equation and yp is the particular solution.
y+y=tant, o<t<π2
Step 2
First we solve the associated homogeneous equation y+y=0 using the characteristic equation r2+1=0
r2+1=0r2=1r=±i
Thus the solution to the homogeneous equation is
yh=c1cost+c2sin
Step 3
Using variation of parameters, we seek a solution of the form yp=u1(t)sint+u2(t)cos
yp=u1(t)sint+u2(t)cost
yp=(u1sint+u2cost)+(u2costu2sint)
Set u1sint+u2cost=0 then
yp=u1costu2sintu1sintu2cos
For yp to be a solution we must have
yp+yp=u1costu2sint=tan
Step 4
Multiply u1sint+u2cost=0 by sin and u1costu2sint=tan by cos and add the two resulting equations.
u1sint+u2cost=0u1sin2t+u2sintcost=0
u1costu2sint=tantu1cos2t+u2sintcost=costtan
Add and we have u1(sin2t+cos2t)=costtan Thus u1=costtant=sin and hence u1=cos
Step 5
Substitute u1=sin in u1sint+u2cost=0 to solve for u2 and hence u2
u1=sin and u1sint+u2cost=0
sin2t+u2cost=0u2=sin2tcost
=cos2t1cost=costsec and hence
u2=sintln(sect+tant)
yp=u1(t)sint+u2(t)cos(t)
=costsint+[sintln(sect+tant]cos
=costln(sect+tant)
Step 6
Recall that y=yh+yp
y=c1cost+c2sintcostln(sect+tant)

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?