A deceivingly difficult differential equation.

  Рет қаралды 117,035

Michael Penn

Michael Penn

Күн бұрын

🌟Support the channel🌟
Patreon: / michaelpennmath
Merch: teespring.com/...
My amazon shop: www.amazon.com...
🟢 Discord: / discord
🌟my other channels🌟
Course videos: / @mathmajor
non-math podcast: / @thepennpavpodcast7878
🌟My Links🌟
Personal Website: www.michael-pen...
Instagram: / melp2718
Randolph College Math: www.randolphcol...
Research Gate profile: www.researchga...
Google Scholar profile: scholar.google...
🌟Suggest a problem🌟
forms.gle/ea7P...

Пікірлер: 271
@txikitofandango
@txikitofandango 2 жыл бұрын
I hear a lot of talk about how easy it is to "abuse Leibniz notation" so I'd love to see a video that explains 1. Why it's an "abuse" 2. Why it works nonetheless 3. When it doesn't work
@hybmnzz2658
@hybmnzz2658 2 жыл бұрын
Check the chain rule for second derivatives, things are really only nice for first order derivatives. The theory of Differential forms show why treating differentials algebraicly works in many instances anyway.
@jamesgoodman5102
@jamesgoodman5102 2 жыл бұрын
I've written about why Leibniz notation does/doesn't work quite a lot, so I'll just condense it down into the key points. Math stack exchange Q 21199 is a great page to see the key points and references. We immediately see that considering Leibniz notation as a fraction fails, on a naive level, because dy and dx are not true numbers. They do represent real numbers brought, in the limit, to zero, but if they were simply 0, then dy/dx must be 0/0, which is, of course, undefined. So, at an intro real analysis level, we'd tend to abandon that fraction view and opt for a standard analysis view that dy/dx is y'(x), and not a fraction but a function defined by a limit in terms of y(x). It also can be said to fail in practice when we get equations that wouldn't be true if "dy" and "dx" (or similar terms) were objects in their own right. If f(x,y) is a function of 2 variables, then dy/dx = (- df/dx)/(df/dy), where the RHS "d"s are for partial derivatives. Multiplying that out as if all terms were algebraic variables, we see dy/dx = - dy/dx, with an uninvited minus sign. So, evidently, there's some problems that you might want to avoid. But at the same time, it works incredibly well as a heuristic, e.g., for the inverse function theorem (dy/dx = 1/[dx/dy] ), differential equations (dy/dx = ... --> \int dy = \int ... dx ), and so on. So, while these can be reframed in terms of standard analysis and avoiding the fraction heuristic entirely, there must be some interesting math going on that makes the heuristic possible and more than just an abuse of notation. (Likewise, for Euler's imaginative math, it may have been "illogical" and unjustified by the framework at the time but later frameworks could accommodate it. For instance, expanding sin(x) as a product over its roots was later justified by Weierstrass.) And indeed, we do see that there's some good justifications. One is, as Joji mentions above, differential forms. Another is nonstandard analysis and considering dy and dx as infinitesimal hyperreals that are "equivalent", in one sense, to the real number 0, but do not introduce the 0/0 problem.
@hassanalihusseini1717
@hassanalihusseini1717 2 жыл бұрын
When I studied physics in Germany many years ago my maths professor had it "verboten".
@chrislankford7939
@chrislankford7939 2 жыл бұрын
Loosey-goosey definitions of dx, etc, are also useful for deriving physical equations like Navier-Stokes from a shell balance. For rigor, you would need a finite element and then take the limit as that element becomes infinitesimal. For chump derivation after you've been doing it for years, you can just call the element's thickness dz, for example. In this case, you need to be careful to know your spherical/cylindrical geometry when applicable.
@TheEternalVortex42
@TheEternalVortex42 2 жыл бұрын
It pretty much always works (assuming you are doing something reasonable, not like (dy/dx)^2 = (dy)^2/(dx)^2 or whatever) for single variable functions.
@amirb715
@amirb715 2 жыл бұрын
as mentioned by others, just multiply the initial equation by y' and take the first integral and you get (y')^2=2A-2exp(y) which is straightforward to solve. for that just follow the last 4 minutes of the video
@davidblauyoutube
@davidblauyoutube 2 жыл бұрын
Agree. Any time I see a second order non-linear diffeq, my first thought is "can I multiply by y' and integrate immediately?"
@Noam_.Menashe
@Noam_.Menashe 2 жыл бұрын
Exactly. Surprisingly, you also get this same equation by "abuse" of notation and writing y" as y'*(dy'/dy).
@timstigation9620
@timstigation9620 2 жыл бұрын
that's what I tried too; all in all, it eliminated like one substitution from the whole process, so just a slight optimization 😅
@usa19114
@usa19114 2 жыл бұрын
wait how did you get 2A- 2exp(y) in the RHS
@leif1075
@leif1075 2 жыл бұрын
@@davidblauyoutube I don't see why anyone would think kf that ever..it's out of nowhere..and why would anyone use the t substitution he dkes in thenvideo..I don't see why anyone would think of that ?? And wait if you multiply by y you camt separate the variables or how? And hiw .you can't integrate y prime multiplied by y double prime when you don't know the value for either of them..
@joshuatilley1887
@joshuatilley1887 2 жыл бұрын
This equation is in the form of Newton's second law with force -e^y. It comes from a potential energy e^y and we thus get by conservation of energy E=1/2y'^2+e^y, with E a constant.
@RizkyMaulanaNugraha
@RizkyMaulanaNugraha 2 жыл бұрын
Nice to see another person who thinks alike.
@yoseftreitman7226
@yoseftreitman7226 Жыл бұрын
Still need a way to explicitly get y as a function of t (or x), though.
@joshuatilley1887
@joshuatilley1887 Жыл бұрын
@@yoseftreitman7226 the energy conservation equation is a separable first order ODE, so that can be solved by standard methods
@yoseftreitman7226
@yoseftreitman7226 Жыл бұрын
@@joshuatilley1887 Well, no, not all first-order separable ODE's can be solved explicitly using standard methods. (Consider y' = sin(t)/t, for example.) I don't doubt that you've seen something I'm missing (I haven't watched the full video) but just reducing the problem to a first-order equation does not make it easy to solve explicitly in closed form by hand.
@frenchimp
@frenchimp Жыл бұрын
@@yoseftreitman7226 The point is this is a perfectly standard type of equation and all you have to do is use the standard method.
@milesman1001
@milesman1001 Жыл бұрын
When I applied to UCSB, I submitted a paper on a generalization of this, where I showed that we can almost always solve y^(n)=ay^b or y^(n)=ae^(by) for all n. I think it’s a big part of why I got into my program!
@milesman1001
@milesman1001 Жыл бұрын
Also over the past couple of weeks I came up with conditions for families F of functions such that y^(n)=f(y) with f in F can be solved by y’=g(y) for some g in F
@noedeverchere2833
@noedeverchere2833 Жыл бұрын
Incredible!! Could I know more on this?
@milesman1001
@milesman1001 Жыл бұрын
@@noedeverchere2833 You can probably work through it yourself. Let y^(n)=ay^b. Then make a “guess” that y’=cy^d. Then if you differentiate with respect to x, you get y’’=cdy^(d-1)y’=c^2dy^(2d-1). Then repeat this step until you get to y^(n) and set the two sides equal. You will almost always be able to solve (c,d) in terms of (a,b). The strategy is similar for y^(n)=ae^(by). Let me know if you have any questions.
@AriosJentu
@AriosJentu 2 жыл бұрын
Multiply initial equation with 2y', and then integrate, we got 1st order ODE: y'^2 + 2e^y = C, which is separable equation, if move 2e^y to the RHS, and take a square root (don't forget about +-). Separate and then integrate, and we get a solution for this equation.
@thomashoffmann8857
@thomashoffmann8857 2 жыл бұрын
2y' looks like an integrating factor
@adandap
@adandap 2 жыл бұрын
Yes, that was equivalent to my approach, which was to set u =y', so y" = u' = u (du/dy) = 1/2 d(u^2)/dy, which takes you to the same place. Yours is more direct. :)
@AriosJentu
@AriosJentu 2 жыл бұрын
@@adandap yes, this is also technique of integrating equations without an argument (autonomous DEs), make "y" is a new variable, and y' is a new function of variable "y", like u(y) = y'
@ianfowler9340
@ianfowler9340 2 жыл бұрын
I did the same thing. Just grunt work with partial fractions from there. Similar technique for Hooke's Law.
@IntelR
@IntelR 2 жыл бұрын
As a physicists, that's the first thing that I thought about
@sinecurve9999
@sinecurve9999 2 жыл бұрын
12:45 Are there not solutions on the negative branch of the u = w² substitution as well?
@yunoewig3095
@yunoewig3095 2 жыл бұрын
Yeah, lots of solutions left out…
@ShapelessMonstrosity
@ShapelessMonstrosity 2 жыл бұрын
I think it ends up not being a necessary consideration, as it ultimately just gets absorbed into the arbitrary constant A (if you follow where the negative sign would go, it ends up outside the integral, whose antiderivative starts with arbitrary constant 1/A). And in terms of the substitution for z, you end up squaring z after undoing the substitution anyway, so it ultimately doesn't matter there either. It would have been nice to address that branch explicitly though. As well as all of the occasions on which we divided by variables or arbitrary constants that could be 0, and discussed the possible values of the arbitrary constants (especially when B=e^b, which significantly limits the possible values of B).
@edwardlulofs444
@edwardlulofs444 2 жыл бұрын
Wow, we're not in kindergarten math anymore. There were few techniques to solve DEs that were NOT used. I love DE. But I wonder who found this solution first and how long it took them to find it. Thank you. Well presented.
@whatelseison8970
@whatelseison8970 2 жыл бұрын
But I haven't finished my juice! 😭 Also, I need a nap. I'm going back to kindergarten.
@edwardlulofs444
@edwardlulofs444 2 жыл бұрын
@@whatelseison8970 A student who I was tutoring on zoom fell asleep. They apologized. I said "No apology needed, I can't learn when I'm sleepy."
@chrislankford7939
@chrislankford7939 2 жыл бұрын
No eigenvalues, 0/10!
@edwardlulofs444
@edwardlulofs444 2 жыл бұрын
@@chrislankford7939 "Turning it into an eigenvalue problem is left to the student." Shall we create some for the other comment readers?
@frenchimp
@frenchimp 2 жыл бұрын
This is totally standard but the video explains nothing. It's a particle moving in a potential U = e^-y.
@mathflipped
@mathflipped 2 жыл бұрын
I wasn't fond of differential equations when I was a student. But there are definitely some cool problems in this area. Great video, Michael!
@jordanweir7187
@jordanweir7187 2 жыл бұрын
Wow that seems like an immensely powerful technique towards the middle, where the multiple substitutions allow you to change it from y in terms of x, to something in terms of something, but with a much simpler eqn that can be integrated more easily, i bet theres more uses for this strategy
@The1RandomFool
@The1RandomFool 2 жыл бұрын
I multiplied by 2y' in the beginning instead, and integrated the equation with respect to x. I then used separation of variables. In the integral, I used a hyperbolic trig substitution in place of partial fraction decomposition. I got an answer in terms of a natural logarithm of a hyperbolic secant in the end, after simplification.
@gregoireclement5359
@gregoireclement5359 2 жыл бұрын
Your videos on differential equations definitely are my favorite!
@lianggong7814
@lianggong7814 Жыл бұрын
For a physics student, this is just a Newton equation. By using kinetic energy theorem, one can fastly get (y')^2=C-2e^y. Then separate the variables and do the integral.
@JamesLewis2
@JamesLewis2 2 жыл бұрын
A simpler solution method starts by multiplying both sides by 2y', from which, on antidifferentiating both sides with respect to x, (y')^2+2e^y=A^2; then y'=sqrt(A^2-2e^y) is separable, but still a few substitutions are required to find the indefinite integral of 1/sqrt(A^(2)-2e^y) with respect to y, and then there will still be difficulty in solving the resulting equation for y in terms of x.
@ІгорСапунов
@ІгорСапунов Жыл бұрын
Standard autonomous equation substitution y'=p(y) leads to p^2=A^2-2exp(y). Then sub t=ln(y) leads to equation you solved at the end of the video
@hu5116
@hu5116 8 ай бұрын
That was absolutely amazing! A complete review of differential equations in one video. :-)
@goodplacetostop2973
@goodplacetostop2973 2 жыл бұрын
18:41
@renscience
@renscience 11 ай бұрын
Love watching these videos. The tricks and rigor are fun. Always reminds me of endless weekends chewing on problems like this. Thanks Shawn
@Rakoth69
@Rakoth69 2 жыл бұрын
Oh nice, i solved almost exactly the same equation while i was studying in university, it was just y''=e^y. General method we were taught to solve equations y''=f(y): make a substitution y'=p(y) => y''=p'*y'=p'*p, so we got first order ODE with separable variables: p'*p=f(y).
@kenbrady119
@kenbrady119 2 жыл бұрын
I continue to wish that, after these amazing derivations you would show us what the (family of) functions look like.
@andrewhone3346
@andrewhone3346 8 ай бұрын
I agree, ODEs are much easier to understand when you draw pictures.
@Noam_.Menashe
@Noam_.Menashe 2 жыл бұрын
I solved a very similar equation once, y"=e^(2y), with ln(sec(x)) being the obvious solution. I don't remember the general form. I used a different trick, I multiplied both sides by y', and from there integrated both sides with respect to x. You can pretty easily get a separable equation form that.
@s4623
@s4623 2 жыл бұрын
12:31 I think we need some explanation of why we only keep the positive root, such as that once you have a negative definite t your exp(y) make no solution in reals or something.
@briangronberg6507
@briangronberg6507 Жыл бұрын
The “abuse” of Leibniz notation seems to be aligned with my intuitive notion that the derivative of a function is a measure of how sensitive the value of that function is to change given some arbitrarily small change in x. This also aligns with the definition of a derivative as delta y / delta x as delta x approaches 0. I’ve been told that my intuitions are “on the right track,” but not quite accurate-effectively I’m describing a ratio of differentials instead of a derivative. Where am I mistaken? For context, I’m only familiar with single variable calculus and the most basic of ODEs.
@rockapedra1130
@rockapedra1130 Жыл бұрын
Wow. Didn't see that crazy answer coming!
@adamding3873
@adamding3873 Жыл бұрын
Each step seems to make sense but using the substitution from beginning makes things much more complicated than necessary. y'' = e^y -> y' * y'' = e^y * y' -> 1/2 * ( (y')^2 )' = (e^y)' -> 1/2 * (y')^2 = e^y + A, A as constant. -> y' = sqrt(A - 2*e^y) . This degrades the equation to first derivative. From here, you can substitute t = e^y , and get the same result.
@egoreremeev9969
@egoreremeev9969 Жыл бұрын
wait, it's not that difficult. what about the hamiltonian thing: y'' + e^y = 0 | * y' y' y'' + y' e^y = 0 | integrate (y'^2)/2 + e^y = E - first integral we moved from second order to first order differential equation, you can split the variables like so dy/dx = sqrt(2E - 2e^y) dy/sqrt(2E - 2e^y) = dx and then try to calculate this integral, wolfram gives the same looking answer (because tanh^-1 is log in disguise) but actually, there's another trick, if one considers u = e^y then u'' = (y'' + (y')^2) * e^y add two first equations and get (y'' + (y')^2) + 3e^y = 2E multiply by e^y u'' + 3u^2 = 2E*u do the first integral thing again (u')^2/2 + u^3 - E u^2 = H this one is easier to integrate, but it would give 3 constants, maybe some of them are dependent on each-other, maybe there's a mistake somewhere
@АлексейДёмин-л7р
@АлексейДёмин-л7р 2 жыл бұрын
I took part in iepho, there was some tasks about humidity with formulas looking like answer and even worse :)
@renesperb
@renesperb 2 жыл бұрын
In the general case of the equation y''+f[y] = 0 one has ( y ')^2 + 2F[y] = const as a first integral . Here F[y] is the antiderivative of f[y]. From there one can go on and find an explicit solution in number of cases .
@AndrewRedchenko
@AndrewRedchenko 2 жыл бұрын
There is one more magnificient but pretty known method of solving of such DE, which can help to solve this for several minutes. I can give a clue: use the fact, that DE contains no x other than in derivatives.
@bernarddoherty4014
@bernarddoherty4014 Жыл бұрын
At about 15:15 you say... "We're really into the weeds here" that's the under statement of the week. Lol! I finally got out of the weeds with the help of a coast guard rescue helecoptor! Lol. Weeds and lots of mud! Followed everything to the end however. Lots of plodding through the weeds but I found my way out! Very nice trip! Lol.
@35571113
@35571113 2 жыл бұрын
That "w" substitution is a neat and pretty general technique!
@DavesMathVideos
@DavesMathVideos 2 жыл бұрын
For some reason I was thinking about this differential equation last week. Very nice video!
@ultrametric9317
@ultrametric9317 8 ай бұрын
This is a very, very interesting example! The form (a+x)/(a-x) comes up again and again in relativity (e.g. in the formula for aberration, and in general because linear fractional transformations of the complex plane are mapped onto Lorentz transformations in spacetime). Also of interest is approximating e^y by 1 + y, then you get the equation for a forced oscillation (with constant forcing term).
@carlosharmes2378
@carlosharmes2378 2 жыл бұрын
Thanx a lot for the substitution variables in this one! 😉
@Happy_Abe
@Happy_Abe 2 жыл бұрын
What about W= - sqrt(u) Why are we only looking at positive roots of u
@wohargRadu
@wohargRadu 2 ай бұрын
For every differential equation y'' = f(y) always start by multiplying by 2.y' and integrate. You get (y')² on left side and you only get to integrate 2.y'.f(y) to get a first order differential equation which can always be solved because otherwise this would not be an exercice :)
@benheideveld4617
@benheideveld4617 2 жыл бұрын
Getting a feeling for the resulting function when we set all constants of integration to 1: y(x) = ln2-|x| for large |x| with a nicely rounded apex that crosses the y axis at -ln2
@pwmiles56
@pwmiles56 2 жыл бұрын
You can get to 13:53 a lot quicker! [I see a few others found this] y'' = -exp(y) Multiply both sides by y' y'y'' = -y'exp(y) Both sides are perfect differentials. (y'^2)'/2 = -(exp(y))' Integrate... y'^2 = 2(-exp(y) + c) y' = sqrt(2(c - exp(y))) This is separable dx = dy/sqrt(2(c - exp(y))) Only the integral is left x = int(dy/sqrt(2(c - exp(y))) Substitute t = exp(y), dt = t*dy x = int(dt/[t*sqrt(2(c - t))])
@alexandershalashov1966
@alexandershalashov1966 Жыл бұрын
I agree with physicists here: for any U(y) equation y' '+dU(y)/dy=0 is immediately reduced to the first order ODE using its integral (1/2) (y')^2+U(y)=cons (energy). This is a standard straightforward way of solving such problems.
@shophaune2298
@shophaune2298 2 жыл бұрын
Can you not further simplify the answer by breaking down the ln? y = ln(2A^2 B e^AX) - ln((1+Be^AX)^2) = AX + ln(2A^2 B) - 2 ln(1+Be^AX). I guess sadly the 1+ in that last logarithm stops any more simplification, but...
@ecoidea100
@ecoidea100 2 жыл бұрын
The substitution w(t)=t' is quite surprising, it resembles something called an hodograph trransformation.
@numericalcode
@numericalcode 8 ай бұрын
Very nice example
@Sokobansolver
@Sokobansolver 2 жыл бұрын
Not sure if actually THAT involved or just showing off.
@arbel8160
@arbel8160 Жыл бұрын
It's funny to think that technically you can do this with no substitutions
@sil1235
@sil1235 2 жыл бұрын
Nice problem! I was just wondering how we can assume the constant to be A^2 without knowing it must be non-negative, but we know that since the constant is u/t^2+2t and u>=0, t>0 because u=w^2,t=e^y. Also factoring out t^2 of the square root and simplifying sqrt(t^2)=t wouldn't work without knowing t is non-negative.
@idjles
@idjles 2 жыл бұрын
if y''+exp(x)=0 then y''(x)
@edwardlulofs444
@edwardlulofs444 2 жыл бұрын
The classic test for correctness is to put the solution into the DE. However, your question is deeper than that. I bet that you can see that there might be more math buried in there that can be found. You raised a very good question.
@Vladimir_Pavlov
@Vladimir_Pavlov 2 жыл бұрын
y(x)= - 2*ln [cosh(C1*x+C2)/(sqrt(2)*| C1|)] . here C1≠0 and C2 are arbitrary constants. The answer was received manually, analytically. That, the answer is correct, you can verify, for example, using MATHCAD.
@spicymickfool
@spicymickfool 2 жыл бұрын
y''+e^y=0 => y'^2+2e^y=c_1 => y'=sqrt(c_1-2e^y) => dy/sqrt(c_1-2e^y)=dx. End up with hyperbolic tangent?
@andrewhone3346
@andrewhone3346 8 ай бұрын
This is the stationary solution of the Liouville field theory u_{tt} - u_{xx}=exp(u), a PDE for u(x,t) which you can also solve exactly.
@mtiganik
@mtiganik 2 жыл бұрын
That is some hard math over there! Loved how you did it. I would definitely could not do it
@renesperb
@renesperb Жыл бұрын
There is a much shorter way to get the solution using the first integral (y')^2+2*Exp[y]= const. One only has to use first the new dependent variable u[x] = Exp[y[x]-yo] , yo=value at x= 0 ,and then realize that the integral of 1/(u √(1-u) is arth[√(1-u). The rest is easy.
@henrikstenlund5385
@henrikstenlund5385 Жыл бұрын
This can be solved in less than one minute by multiplying the equation by y' and directly integrating it twice, using a known tabularized integral.
@CasualGraph
@CasualGraph 2 жыл бұрын
So I've noticed that, say, 2nd order differential equations will have 2 constants which show up in the solution (A and B in this case). Is there some particular reason for this? Like, are solutions to a differential equation always some sort of manifold with dimension equal to the order of the equation embedded into some space of functions or something?
@laprankster3264
@laprankster3264 2 жыл бұрын
To explain it simply, the order of the derivative determines how many times one would have to integrate and therefore the number of constants of integration the function needs. For example if one solves the equation d3y/dx3=0, then integrating both sides once produces a constant (which I’ll call A) to make d2y/dx2=A. Integrating again produces another constant B and gives the equation dy/dx=Ax+B. And then the last integration gives the function y=(A/2)(x^2)+Bx+C.
@krabkrabkrab
@krabkrabkrab 2 жыл бұрын
As others have pointed out, this is familiar in physics. Let p=y', then a Hamiltonian H(p,y)=p^2/2+e^y gives equations y' = partialH/partial p = p and p' = -partialH/partialy = -e^y, so y''=p'=-e^y. p is momentum and e^y is a potential. H is conserved because x, the independent variable doesn't appear; dH/dx=partial H/partialx = 0, so y'^2/2+e^y= constant and this is a separable equation; just one integral to go. I guess my point is that I was surprised that it's characterized as "deceivingly difficult". But I love your channel anyway, Penn.
@juangustavowouchuk4801
@juangustavowouchuk4801 Жыл бұрын
Hi Michael, my name is Gustavo and have recently discovered your videos and soon became a follower. I am a theoretical physicist, and enjoy a lot with mathematical problems like the ones you post regularly. Regarding the diff eqn of this video, I've thought in making y= ln f(x) instead. It seems to give a different non linear equation that involves f' and f^2. But I did not pursue this way in any detail yet. Anyway, this is just a comment. Besides this, whatever you can show about the Riemann's Zeta function, it'll be great. Am a fan of Riemann., especially what regards his famous function. Keep posting interesting videos. As a theoretical physicist am interested also in functional equations, as they appear in my research. All the best.
@deltalima6703
@deltalima6703 2 жыл бұрын
Must be a bunch of things that we cancelled out of the denomenator that therefore cannot be equal to zero. Is it safe to lose track of these?
@garyhuntress6871
@garyhuntress6871 2 жыл бұрын
is there a physical system that is modeled by y'' + e^y = 0?
@anshumanagrawal346
@anshumanagrawal346 2 жыл бұрын
Probably not but could be
@Alex_Deam
@Alex_Deam 2 жыл бұрын
Looks similar to a simplification of the Poisson-Boltzmann equation, which has a lot of applications apparently
@yoxnod
@yoxnod 2 жыл бұрын
It is a variant of so-called stationary thermal explosion equation, if you are interested, look for Frank-Kamenetskii.
@andrewhone3346
@andrewhone3346 8 ай бұрын
It's the stationary solution of Liouville field theory, a classical version of one of the simplest quantum field theories. If I remember rightly this PDE also appears in differential geometry. You can replace e^y by sinh y or sin y, which gives sinh-Gordon or sine-Gordon, and you can also do e^y -e^{-2y} which is called the Tsitzeica equation. All these cases are explicitly solvable, in a certain sense (the ODEs, and the PDEs they are reduced from).
@danielmilyutin9914
@danielmilyutin9914 2 жыл бұрын
Conservation of energy! There is a trick: d^2(y)/dx^2 = d/dx(dy/dx) = d/dy(dy/dx) * dy/dx = d/dy(y') y' = d/dy(y'^2/2) Thus, d/dy(y'^2/2) + e^y = 0 and we can integrate this in terms of y. y'^2/2 + e^y = C1 y' = +-sqrt(2*C1 - 2*e^y) This turns into integration +- Int dy/sqrt(2*C1 - 2*e^y) = x + C2 Integral seems solvable. See thread.
@danielmilyutin9914
@danielmilyutin9914 2 жыл бұрын
Disclaimer. This is more a proof that integral is solvable. Not a total solution. And I could do mistakes but I hope I didn't. Let us denote 2*C1 as A We do substitution u = A - 2*e^y. du = -2*e^y * dy = (u-A)*dy we get Int du/[(u-A)sqrt(u)] =2 Int dv/(v^2-A) where v = sqrt(u) if A is positive or zero or negative we get different options. (+) for positive A= a^2: 2 Int dv/(v^2-a^2) =1/a ln(abs( (v-a)/(v+a))) = x + C2 so abs( (v-a)/(v+a) ) = exp(a*x + C2*a) (0) 2 Int dv/(v^2) = -1/v = x + C2 (-) for positive A= -a^2: 2 Int dv/(v^2+a^2) =1/a atan(v/a) = x + C2 all cases look solvable in terms of v. Then we do back transformation for each case: v->u->y. Note. We could use sqrt(A) in complex sence to do all cases in one step.
@lih3391
@lih3391 2 жыл бұрын
The trick is actually the same as having u(y(x))=y'(x). Differentiating both sides with respect to x, you get u'(y)*y'=y''->u'u=y'' u'=d/dy(dy/dx)=du/dy and u=dy/dx Its much easier at least for me to think about it this way instead of switching dx's and dy's
@danielmilyutin9914
@danielmilyutin9914 2 жыл бұрын
@@lih3391 do as you please 🙂
@jeremyredd4232
@jeremyredd4232 2 жыл бұрын
Edit: Everything bracketed below is all wrong. I apparently forgot how to factor, and even then it wouldn't work. I should not try to solve things in my head while eating lunch. I do have a question about the y``=y`(dy`/dy) "abuse". Is it that because with the chain rule you are treating it like a functional so that y` has the form f[y(x)] and Leibniz rule is for functions of the form f(y,x)? At least with the calculus of variations I'm pretty sure there is no difference between f(y,x) and f[y(x)] (at least that's what quantum field theory books say). I'm pretty sure you get all the same infinitesimal generators with either function space. Are they just isomporphic to each other? {I'm pretty sure this is seperable in the following manner, (d/dx-ie^y/y)(d/dx+ie^y/y)y=0. The 1st order diff eq of each root gives an answer of the form y=ln(ix+C). I think at the end of the day using Euler's identity, this is the same solution, but a much more simple method.}
@digxx
@digxx Жыл бұрын
Hell, that was complicated with all the substitutions.. Probably easier would have been to realize that after the substitution t=exp(y), the ode reads (with t'=dt/dx) d/dx t'/t=-t 2 * t'/t * d/dt t'/t = -2 d/dt (t'/t)^2 = -2 (t'/t)^2=-2f+A^2.
@stmmniko7836
@stmmniko7836 2 жыл бұрын
Thank you for maing my birthday even better :D
@edreeves6440
@edreeves6440 3 ай бұрын
What happened to the +/- when taking the square root?
@Vladimir_Pavlov
@Vladimir_Pavlov 2 жыл бұрын
An ordinary differential equation from the family "not containing x explicitly" . Standard reduction of the order of the equation by one substitution y'(x) = p(y(x)), then y"(x)=d(y' (x) )/dx=dp(y(x))/dx =dp(y)/dy * dy(x)/dx = dp(y)/dy *p. y'' +e^y=0 => p*dp/dy = -e^y => 2p*dp=-2 e^ydy => p^2 = -2 e^y +C0 (C0>0) => p ≡ dy/dx = ±sqrt (C0 - 2*e^y) => dy/sqrt (C0 - 2*e^y) =± dx => 1/(sqrt(2))* e^(-y/2)dy/sqrt(C0/2 *e^(-y)-1) =± dx . Denote t ^2 =C0/2 *e^(-y) => [2/sqrt(C0)]*(- dt)/sqrt(t^2-1)=± dx => dt/sqrt(t^2-1)= (sqrt(C0)/2)* (± dx). Denote C1≡ sqrt(C0)/2 >0 , then t= sqrt(2)*C1*e^(-y/2). dt/sqrt(t^2-1)=±C1 dx => ln(t+sqrt(t^2 -1)) =± C1*x+ C2. t+sqrt(t^2-1) = exp(±C1*x+C2)=> sqrt(t^2-1) = exp(±C1*x+C2)-t. t^2-1 = [exp(±C1*x+C2)]^2 -2*exp(±C1*x+C2)*t +t^2. t= {[exp(±C1*x+C2)]^2 +1}/[exp(±C1*x+C2)]= {exp(±C1*x+C2) +[-exp(±C1*x+C2) ]}/2= = cosh[exp(±C1*x+C2)]. sqrt(2)*C1*e^(-y/2)=cosh[exp(±C1*x+C2)]. Answer: y(x)= -2*ln[cosh[exp(±C1*x+C2)/(sqrt(2)*C1)], C1>0, C2 - arbitrary constant, or y(x)= -2*ln[cosh[exp(C1*x+C2)/(sqrt(2)*|C1|)], here C1≠0, C2 - arbitrary constants.
@sharpnova2
@sharpnova2 2 жыл бұрын
the word 'deceptively': "am i a joke to you?"
@samuelmarger9031
@samuelmarger9031 2 жыл бұрын
Dang, the end is so satisfying!
@Etothe2iPi
@Etothe2iPi 2 жыл бұрын
2:45 (e^y)' = y'e^y = -y'y'' = -1/2 (y'^2)' => e^y = -1/2 y'^2 +c, which is a separable first order DE.
@hasanjakir360
@hasanjakir360 8 ай бұрын
12:32 why is not the sqrt plus-minus?
@dj_laundry_list
@dj_laundry_list 2 жыл бұрын
I tried to solve by integrating y'' to get y', but it doesn't seem integral exp(f(x)) dx has a solution
@draaagoo7799
@draaagoo7799 Жыл бұрын
i used laplace transform but i think this is also a wonderful way to solve it
@nathankirby6459
@nathankirby6459 Жыл бұрын
How did he get the ln(1-(z/A)) - ln(1+(z/A)) thing? Help Please
@sandorMrBeen
@sandorMrBeen Жыл бұрын
What about multiplying the ORIGINAL equation by y prime? You can integrate than immediately and spare a lot of work....
@jessejordache1869
@jessejordache1869 2 жыл бұрын
I don't understand how you cleared the denominator. Wait, did you put t on the other side of the equal sign and then multiply both by t^2? Obviously. But you did it without thinking or showing what you were doing, which makes me think there's a simplification rule I don't know.
@andrycraft69
@andrycraft69 2 жыл бұрын
At the beginning, shouldn't we say that t can't be equal to zero, since it appears in the denominator? Also, can we safely assume this or does it require more work?
@xizar0rg
@xizar0rg 2 жыл бұрын
t = exp(y), and the exponential function is always non-zero. If y is only Real, this should be obvious (positive number to a power won't ever be zero). If y is complex, separate it into real and complex parts; again real part can't be zero, complex part can only be zero if both Sine and Cosine are simultaneously zero, which never happens. (edited to add thumbnail of proof.)
@andrycraft69
@andrycraft69 2 жыл бұрын
@@xizar0rg Right. I haven't thought of that. Thanks.
@Fred-yq3fs
@Fred-yq3fs 2 жыл бұрын
The t substitution is pretty natural. But using the chain rule to transform the equation from smth involving derivatives in x to derivatives in t is really clever. You have to be intentional, you have to want to change a derivative term in x to a derivative in t because all the rest of the equation is in t. That's a leap. The integrand step is technical. One could use the general solution to first order equations. It works just as well. It is less technical, but also less elegant. The other substitutions are obvious and the calculations follow. It's lengthy, but nothing hard. A more rigorous proof would take care of the fact you can divide by t (obvious, but still worth mentioning), and actually write A^2 for the integration constant. In a first approach, you would not write A^2, you'd do it after a first attempt and wishing you had a square. Same kind of deal with the integration to ln functions involving Abs(), you have to discuss the sign. It's easy but it should be done. You can use the hyperbolic tangent function rather than deal with these asymmetrical exp. Given A and B are constants (depending on initial conditions), one can rewrite them to convenience (while still paying attention when factoring things) You then arrive at y = ln ( 2*F^2 / cosh^2(F*x + E) ) Playing with hyperbolic derivatives and identities, it's a 4 liners to do a sanity check that y'' = -exp(y) This was great fun.
@alexeycanopus1707
@alexeycanopus1707 2 жыл бұрын
Does the equation have the unique solution if y(0)=0, y’(0)=c? The equation seems to have 2 coefficients B.
@alexeycanopus1707
@alexeycanopus1707 2 жыл бұрын
Probably, I was wrong. I guess B should be below 1 and therefore only one solution
@srijanraghunath4642
@srijanraghunath4642 2 жыл бұрын
This was great and here’s my try on the ode: Differentiate both sides of the initial ode to get y’’’+e^y y’=0 but y’’=-e^y so y’’’=y’’y’. We can then say u=y’ to get u’’=u’u and then integrate both sides so that u’=(x^2+4C^2)/2 which means (1/2C)arctan(u/2C)=x/2+K or u=2Ctan(Cx+2kC)=y’ which means y=A+ln(sec^2(Cx+2kC)). We then substitute this back into our initial ode to find information on some constants. Finding y’’ and e^y gives us that 2C^2=-e^A which means C=(i/sqrt(2))exp(A/2)). We then let B=exp(A/2)/sqrt(2) so that A=ln(2B^2) and we get y=ln(2B^2)+ln(sec^2(Bix+2kiB))=ln(2B^2sech^2(Bx+2kB)). So y is of the form y=ln(2B^2sech^2(Bx+P)) which I think is what u got but I didn’t write out sech in terms of e
@Alex_Deam
@Alex_Deam 2 жыл бұрын
There were integrals in this, so maybe 'integral suggester' was the right name after all!
@VerSalieri
@VerSalieri 2 жыл бұрын
Is it really? I dont think that was a good place to stop. It’s screaming to be simplified!! Damn it, now I gotta do it myself. I loved it btw. Thank you for the amazing content.
@Vladimir_Pavlov
@Vladimir_Pavlov 2 жыл бұрын
y(x)= - 2*ln [cosh(C1*x+C2)/(sqrt(2)*| C1|)] . here C1≠0 and C2 are arbitrary constants. The answer was received manually, analytically. That. that the answer is correct, you can verify. for example. using MATHCAD.
@CGMossa
@CGMossa 2 жыл бұрын
Where does this minus come from at 14:48
@krisbrandenberger544
@krisbrandenberger544 2 жыл бұрын
@15:29: It would've been easier to rewrite the integral as 1/A*(Ln(A-z)-Ln(A+z)).
@nablahnjr.6728
@nablahnjr.6728 2 жыл бұрын
how ironic, i stumbled upon this eq with a right handside of the form y''+a*exp(y)=x yesterday
@lombeelo8780
@lombeelo8780 2 жыл бұрын
I was solving equations like this in another way: 1. The substitution is y'=p(y) => y'' = dp/dx = dp/dy * dy/dx= p' * y' = p'p 2. Thus, the equation is p'p + e^y = 0, it is a separable equation 3. y = -ln (1/2 p^2) 4. p = y' => p = dy/dx => dx = dy/p 5. (from 3) dy = - 2/p 6. dx = -2/(p^2) 7. x = 2/p 8. p = 2/x 8. substitute p in (3) : y = - ln (2/(x^2)) Simple
@GuilhermeBelmont
@GuilhermeBelmont Жыл бұрын
at 15:04, how did dt/t vanish?
@tkucs
@tkucs 2 жыл бұрын
This can be done easier (as some of the suggestions below agree), multiply both sides by y' and integrate to get (1/2) (y')^2 + exp(y) = K, for some positive constant. Now you can separate variables to get: dy/Sqrt(K-exp(y)) = + or - sqrt(2) dx. Now make a substitution u = sqrt(K-exp(y)), which gives dy/u = 2du/(u^2-K), so we have 2du/(u^2-K) = + or - sqrt(2) dx, which we can easily integrate by writing 2/(u^2-K) = (1/sqrt(K)) ( 1/(u-sqrt(K)) - 1/(u+sqrt(K)) ), giving log() integrals. Finally solving back for y from u, gives the general solution for arbitrary constants K and C resulting from the last integration.
@anshumanagrawal346
@anshumanagrawal346 2 жыл бұрын
How come you can assume w to be positive?
@threstytorres4306
@threstytorres4306 2 жыл бұрын
Hey Dr.Penn can you solve this functional and differential eqn; Find F(x) from Real Numbers to the Real Numbers such that: F(F'(x)) = F'(F(x))
@elkincampos3804
@elkincampos3804 2 жыл бұрын
If F'(x)=f(x). F is solution. This casa F(x)=A*e^x
@surem8319
@surem8319 2 жыл бұрын
f(x) = exp(x) is the "obvious" solution and by inserting x^n you can find that only n=+-1 works corresponding to f(x) = x and f(x) = 1/x. Do not know how to prove if these are all of them. Any hint?
@elkincampos3804
@elkincampos3804 2 жыл бұрын
@@surem8319 Also solution, f(x)= n^(1-n)x^n, for all n. And f(x)= A*x+A-A^2.
@nikoivan2580
@nikoivan2580 Жыл бұрын
That's a good place to stop...
@milencenov6421
@milencenov6421 2 жыл бұрын
At some point, I was worried that you'd run out of letters for your substitutions... :)
@O_Capivara
@O_Capivara 2 жыл бұрын
Could we call 2A^2B at the end as a new Constant?
@randomlife7935
@randomlife7935 2 жыл бұрын
This is really not difficult if you notice that x is not explicitly present in the equation. Then you can have the substitution: p=y' y"=(dp/dx)(dy/dy) y"=(dy/dx)(dp/dy) y"=pdp/dy Then you will have a simple first order differential equation.
@_.LZ._
@_.LZ._ 5 ай бұрын
Bro this took me seconds to solve, just multiply by y' and then you get ((y')²/2 +e^y)'
@mitchu9677
@mitchu9677 2 жыл бұрын
1:21 someone being murdered in the background
@xevira
@xevira 2 жыл бұрын
I've said it before and I'll say it again... My Diff Eq instructor from years ago said at the beginning of the semester for Diff Eq that during the course of semester and any other times we deal with differential equations, one question will fill your mind: What were these people smoking? And he has not been wrong at all.
@epimaths
@epimaths 2 жыл бұрын
Phương trình vi phân cấp 2.
@boffo25
@boffo25 2 жыл бұрын
Just multiply everiting by y' and integrate. No substitution needed
@aryanmishra1413
@aryanmishra1413 Жыл бұрын
Please do y"=sin(y)
@radonato
@radonato 2 жыл бұрын
Ouch.
@apdj94
@apdj94 2 жыл бұрын
I am NOT ready for next semester 😂
@LowellBoggs
@LowellBoggs Жыл бұрын
So where did x enter the equation? you just declared y to be dependent on x with no explanation - so I asked watching.
@aweebthatlovesmath4220
@aweebthatlovesmath4220 2 жыл бұрын
0:02 loved that second 😅.
@pedropasquini4311
@pedropasquini4311 2 жыл бұрын
I have a suggestion of problem: find f(x) such that f(f(x)) = e^x
@eeee69
@eeee69 2 жыл бұрын
this could be interesting because it might motivate him to make a video on functional square roots in general
@usptact
@usptact 2 жыл бұрын
This diff eq is one big abuse of replacement of variables :)
The most interesting differential equation you have seen.
21:16
Michael Penn
Рет қаралды 135 М.
A nice suggested differential equation
11:41
Michael Penn
Рет қаралды 51 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 59 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 7 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
A deceivingly difficult differential equation
16:52
Michael Penn
Рет қаралды 248 М.
a nice product from Ramanujan -- featuring 3 important constants!
20:54
a very interesting differential equation
21:26
Michael Penn
Рет қаралды 114 М.
Is x^x=0 solvable?
9:55
blackpenredpen
Рет қаралды 152 М.
Line Integrals Are Simpler Than You Think
21:02
Foolish Chemist
Рет қаралды 63 М.
Integrating the impossible
21:56
Michael Penn
Рет қаралды 25 М.
When a mathematician gets bored
10:18
Maths 505
Рет қаралды 44 М.
Non-linear differential equations have strange solutions!
13:46
Michael Penn
Рет қаралды 42 М.
Why Runge-Kutta is SO Much Better Than Euler's Method #somepi
13:32
a beautiful differential equation
15:29
Michael Penn
Рет қаралды 40 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 59 МЛН