yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Worked example: separable differential equation (with taking exp of both sides) | Khan Academy


3m read
·Nov 11, 2024

What we're going to do in this video is see if we can solve the differential equation: the derivative of y with respect to x is equal to x times y. Pause this video and see if you can find a general solution here.

So, the first thing that my brain likes to do when I see a differential equation is to say, hey, is this separable? And when I say separable, can I get all the y's and dy's on one side and all the x's and dx's on the other side? You can indeed do that if we treat our differentials like if we could treat them like algebraic variables, which is fair game when you're dealing with differential equations like this.

We could multiply both sides by dx. So, multiply both sides by dx and we could divide both sides by y. Let me move this over a little bit so we have some space. So, we could also multiply both sides by 1 over y, 1 over y. And what that does is these dx's cancel out, and this y and 1 over y cancels out.

We are left with, let me write all the things in terms of y on the left-hand side in blue. So, we have 1 over y dy is equal to, and then I'll do all this stuff in orange. We have: is equal to... we're just left with an x and a dx, x dx. And then we’ll want to take the indefinite integral of both sides.

Now, what's the antiderivative of 1 over y? Well, if we want it in the most general form, this would be the natural log of the absolute value of y, and then this is going to be equal to the antiderivative of x, which is x squared over 2. And then we want to put a constant on either side; I'll just put it on the right-hand side plus c. This ensures that we're dealing with the general solution.

Now, if we want to solve explicitly for y, we could raise e to both sides power. Another way to think about it is if this is equal to that, then e to this power is going to be the same thing as e to that power.

Now, what does that do for us? Well, what is e to the natural log of the absolute value of y? Well, I'm raising e to the power that I would have to raise e2 to get to the absolute value of y. So, the left-hand side here simplifies to the absolute value of y, and we get that as being equal to...

Now, we could use our exponent properties. This over here is the same thing as e to the x squared over 2 times e to the c. I am just using our exponent properties here. Well, e to the c we could just view that as some other type of constant; this is just some constant c.

So, we could rewrite this whole thing as c e e to the x squared over 2. Hopefully, you see what I'm doing there. I just use my exponent properties: e to the sum of two things is equal to e to the first thing times e to the second thing.

And I just said, well, e to the power of some constant c we could just relabel that as, let's call that our blue c. And so, this simplifies to blue c times e to the x squared over 2.

Now, we still have this absolute value sign here, so this essentially means that y could be equal to... We could write it this way: y could be equal to plus or minus c e e to the x squared over 2.

But once again we don't know what this constant is; I didn't say that it was positive or negative. So, when you say a plus or minus of a constant here, you could really just subsume all of this. I'll just call this with red c, so we could say that y is equal to... I’ll just rewrite it over again for fun: y is equal to red c, not the red c, but a red z times e to the x squared over 2.

This right over here is the general solution to the original separable differential equation.

More Articles

View All
STRANGE but GENIUS Caterpillar Speed Trick - Smarter Every Day 93
[music] Hey, it’s me Destin. Welcome back to Smarter Every Day. I’m in Caleb’s room. Caleb is a science fair winner, so he is legit, and you dropped the cat in the cat drop video right? Yes. And we had a deal right? I paid you with something. What did …
Bertie Gregory's Favorite Moments | Animals Up Close | Disney+ | National Geographic
Devil Ray, Devil Ray, wow, it looks cool! Mother Nature has gifted me with so many incredible encounters and animals up close, and these are some of my favorite moments from this series. A real highlight for me in the Galapagos: but these guys can rack up…
How to learn any language by yourself- Language tips from a polyglot
Therefore today I have an ultimate guide for learning a language at home. So step one is obviously picking a language. When it comes to picking a language, it’s important to pick a language that you enjoy because if you don’t enjoy that language, it’s go…
Interpret a quadratic graph | Quadratic functions & equations | Algebra 1 | Khan Academy
Katie throws a ball in the air for her dog to chase. The function f models the height of the ball in meters as a function of time in seconds after Katie threw it. We could see that right over here this is our function f. So at time t equals zero, the hei…
Kinetic energy | Physics | Khan Academy
What’s common between your morning hot coffee and a beautiful song coming from a guitar? To answer that question, we need to explore what kinetic energy is, and that’s what we’ll do in this video. But let’s zoom out a little bit. What exactly is energy t…
A tour inside the vampish G450 of @sandracorinna #sckaviation#gulfstreamG450
How much did it cost you to do the complete airplane? Over 5.5 million? Wow, wow, wow! I mean, you like it? It’s amazing! I don’t know if I feel like James Bond or Dr. Evil; it’s unbelievable. Catwoman? Oh, Catwoman! Sorry, tell me about it. I went for …