$$y''(t)+y'(t)+\frac {1}{y(t)}=0$$ (by y' and y'' I mean $\frac{dy}{dt}$ and $\frac{d^2y}{dt^2}$)

First, I only know basic-ish Calculus but I'm willing to do some reading. Second, I'd appreciate some help with my (extra?) doubts (marked with "‡"). Third, this and this are kinda similar and I understand how they work but I want the function that multiplies $y''$ to be the same (or a multiple but unless that makes it easier, let's stick with this) as the one that multiplies $y'$. A square in the first derivative $y'$ actually makes sense for what I was trying to do but I'm not sure if it'll simplify things or if these are helpful here:$(yy')'=yy''+y'y'$; $(y'/y)=y''/y-y'^2/y^2$.

My failed attempt(s)---
I know that not all nonlinear DEs are [nicely?] solvable but I just wanna make sure. My issue with this one is that if we integrate both sides in function of $t$ we get $\int \frac{d}{dt}\left(\frac{dy}{dt}\right) dt+\int\frac{dy}{dt}dt+\int\frac {1}{y}dt=0\Rightarrow$ $y'+y+\int\frac {1}{y}dt=0$ and I can't get rid of the last bit ‡[I've heard that you should be cautious with simplifying differentials like dt and dy algebraically but I don't understand why. Can you give me some examples?]. In function of y: $\int \frac{d}{dt}\left(\frac{dy}{dt}\right) dy+\int\frac{dy}{dt}dy+\int\frac {1}{y}dy=0\Rightarrow$ $\int \frac{d}{dt}\left(\frac{dy}{dt}\right) dy+\int\frac{dy}{dt}dy+ln|y|=0$ and I can't get rid of the first two bits. If we multiply the equation by $y$: $$yy''+yy'+1=0$$ Now, to successfully integrate in function of something we need to be able to solve either $\int yy''+yy' dt$ or $\int yy''+yy' dy$. Let's try in function of $t$ first. $\int yy' dt=\int y\frac{dy}{dt}dt=\frac {y^2}{2}+C$, so there's that.

(integrating by parts with the integral I want on the left side and yes, it might be weird but I think it's so much simpler) $\int yy'' dt=yy'-\int y'y' dt$ or $\int yy'' dt=y''\int y dt-\int (y'''\int y dt)dt$

$\int y'y'dt=y'y-\int y''y dt$ Substituting this into the nicer one above: $\int yy'' dt=yy'-(y'y-\int y''y dt)$, which cancels out and makes me sad

Trying to integrate by parts like this also doesn't work:$\int yy''*1 dt$.

Let's try in function of $y$. ‡[Now, for the stuff above, Wolfram Alpha didn't spit out anything useful but it gave me some results for the integrations by parts below I don't think are right. Is my boi WA wrong?] $\int yy' dy=y\int \frac{dy}{dt}dy-\int 1(\int \frac{dy}{dt}dy)dy$ or $\int yy' dy=y'\frac{y^2}{2}-\int \frac{d}{dy}\frac{dy}{dt}\frac{y^2}{2}dy=y'\frac{y^2}{2}-\int \frac{y^2}{2}d\frac{dy}{dt}$ $\int \frac{y^2}{2}*1d\frac{dy}{dt}$=$\frac{y^2}{2}y'-\int \frac{d(y^2/2)}{dy'}y'dy'=\frac{y^2}{2}y'-\int yy' dy$ Substituting above: $\int yy' dy=y'\frac{y^2}{2}-(\frac{y^2}{2}y'-\int yy' dy)$, which leads us to the stunning conclusion that $0=0$. Nevertheless, Wolfram Alpha says that $\int yy' dy=\frac{y^2}{2}y'+C$ but if $y=t^3$, $\int yy' dy=\int t^3(3t^2)d(t^3)=\int t^3(3t^2)(3t^2)dt=\frac{9t^8}{8}+C\neq\frac{3t^8}{2}$. Kinda close, though? It also says that $\int yy'' dy=\frac{y^2}{2}y''+C$ . Using that info to try to solve our equation that's multiplied by $y$, we can only further complicate the problem.

I've tried doing $u=\frac{1}{y}$ and $u=x'$ but those didn't seem to lead anywhere.

[PS: Also, this doesn't come from a textbook or something, I just thought about a Physics thing (which I'm not even sure is reasonable) and got stuck on the math part. I've become more interested in the mathematics behind it than on whether or not it's useful, so the original situation doesn't matter anymore. But do see the comments if you're curious.

PPS: Formatting math expressions is a thing that rhymes with "itch". But thanks for reading!]

  • $\begingroup$ May I ask where this problem came from? It does not look like something one tackles just after a first course in calculus. $\endgroup$ – mickep Apr 24 '18 at 9:40
  • $\begingroup$ (accidentally hit enter to make paragraph)Well, I do know how to solve linear second-order ODEs, for instance but I was wondering about this nonlinear one...which comes from trying to estimate the speed of an electron in a simple battery in the most complicated way possible. (Ok, maybe not the most) Whether it makes sense or not belongs to Physics SE but basically: electromagnetic force=some resistance force (maybe $kv$ or $kv^2$? I know there must be something slowing it down, I just don't know how it slows the electron down) $\frac{kQe}{x^2}-mi v=ma\Rightarrow mx''+mi v-\frac{kQe}{x^2}=0$ $\endgroup$ – Abe Apr 25 '18 at 0:10
  • $\begingroup$ mi was supposed to be $\mu$, EM force - some resistance force=mass times acceleration and, assuming batteries can be simplified like this, k is the constant for the electromagnetic force, x is the position from the reference point of the negative pole, Q is the charge of the negative pole, e is the charge of the electron, $\mu$ is the resistance coefficient and m is the mass of the electron. The ICs that made sense to me were x(0)=0 (reference) and x'(0)=0 (electron starts at rest). However, even though this might be unnecessarily complicated, I'd still like to know what the solutionlookslike $\endgroup$ – Abe Apr 25 '18 at 0:59
  • $\begingroup$ This is soo close but I want $yy''$ not $y'y''$. I'm not sure if that's the right approach, though, since I can't think of a function f(y,y') the derivative (in function of t) of which is yy''. $\endgroup$ – Abe Apr 25 '18 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.