Skip to main content

`y' + y/x = xsqrt(y)` Solve the Bernoulli differential equation.

Bernoulli equation has form `y'+P(x)y=Q(x)y^alpha.` We can convert any such equation into linear equation differential equation by using substitution `z=y^(1-alpha).` To learn more about this method of solving Bernoulli equation check out the links below.


We will show a somewhat different method which can also be used for solving linear equations.


`y'+y/x=x sqrt(y)`


Make substitution `y=uv` `=>` `y'=u'v+uv'`


`u'v+uv'+(uv)/x=x sqrt(uv)` 


`v(u'+u/x)+uv'=x sqrt(uv)`                                                                (1)


Let us now assume that the expression in brackets equals zero (we can choose almost anything instead of zero, but this makes the calculation easier) in order to calculate `u.`


`u'+u/x=0`


`u'=-u/x`


`(du)/u=-dx/x`


Integrating both sides yields


`ln u=-ln x`


`ln u=ln x^-1`


`u=x^-1`


Plugging that into (1) gives


`x^-1 v'=x sqrt(x^-1 v)`


Now we multiply by `x` to get only `v'` on the left hand side. 


`v'=x^2x^(-1/2)sqrt v`


`v'=x^(3/2)sqrt v`


`(dv)/sqrt v=x^(3/2)dx`


Integrating the above equation gives us


`2sqrt v=(2x^(5/2)+C)/5`


Divide by 2 and square the whole equation in order to get `v.`


`v=(x^5+2Cx^(5/2)+C^2)/25`


Now we just plug the obtained `u` and `v` into the substitution to get the final result.


`y=x^-1 cdot (x^5+2Cx^(5/2)+C^2)/25`  


`y=(x^5+2Cx^(5/2)+C^2)/(25x)`  `lArr` The general solution. 

Comments

Popular posts from this blog

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

Is 'efficate' a word in English?

I routinely hear the word "efficate" being used. For example, "The most powerful way to efficate a change in the system is to participate." I do not find entries for this word in common English dictionaries, but I do not have an unabridged dictionary. I have checked the OED (I'm not sure if it is considered unabridged), and it has no entry for "efficate". It does have an entry for "efficiate", which is used in the same way. Wordnik has an entry for "efficate" with over 1800 hits, thus providing some evidence for the frequency of use. I personally like the word and find the meaning very clear and obvious when others use it. If it's not currently an "officially documented" word, perhaps its continued use will result in it being better documented.