Linear equations of first order. Solve the initial-value problem on the specified interval {y}'+{y} tan{{x}}= sin{{2}}{x}{o}{n}{left(-frac{1}{{2}}pi,frac{1}{{2}}piright)} text{with} {y}={2} text{when} {x}={0}.

Rui Baldwin

Rui Baldwin

Answered question

2021-01-31

Linear equations of first order.
Solve the initial-value problem on the specified interval y+ytanx=sin2x on(12π,12π) with y=2 when x=0.

Answer & Explanation

bahaistag

bahaistag

Skilled2021-02-01Added 100 answers

From the given linear differential equation, P(x)=tanx and Q(x)=sin2x.
Therefore, the integrating factor is given by
(x)=0xtantdt=[lncost]0x=lncosx.
So that, the solution is given by
y=2cosx+cosx1x(cost)1sin2tht
=2cosx+cosx1x(cost)1(2sintcost)dt
=2cosx+cosx1xsintdt
=2cosx+cosx[cost]0x
=2cosx+cosx(1cosx)
=4cosx2cos2x.
We can verify the function is the solution of the initial-value periblem since it satisfies the differential equation and the initial condition.

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?