Solving y+xy'=a(1+xy) y(\frac 1a)=-a

esbagoar7kh

esbagoar7kh

Answered question

2022-04-22

Solving
y+xy=a(1+xy)
y(1a)=a

Answer & Explanation

Felicity Carter

Felicity Carter

Beginner2022-04-23Added 16 answers

Step 1
Well, it is not hard to see that we rewrite your DE in the following form:
1) y(x)+(1ax)y(x)x=ax
Now, let:
2) μ(x):=exp{1axx dx}=xexp(ax)
When we multiply both sides by μ(x), use the fact that
exp(ax)(1ax)=ddx(xexp(ax))
and apply the reverse product rule we end up with:
3) ddx(xexp(ax)y(x))=aexp(ax)
Integrate both sides with respect to x:
4) xexp(ax)y(x)=Cexp(ax)
Dividing both sides by μ(x):
5) y(x)=Cexp(ax)1x
So, we can solve for C:
6) y(1a)=Cexp(a1a)11a=a(Ce1)=aC=2e
So, we end up with:
7) y(x)=2eexp(ax)1x=2exp(ax)eex=2exp(ax)ex1x

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?