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

Worked example: separable equation with an implicit solution | Khan Academy


2m read
·Nov 11, 2024

We're given a differential equation right over here: cosine of y + 2, this whole thing times the derivative of y with respect to x is equal to 2x. We're given that for a particular solution, when x is equal to 1, y of 1 is equal to zero. We're asked, what is x when y is equal to π?

The first thing I like to look at when I see a differential equation is, is it separable? Can I get all the y's and dy on one side, and can I get all the x's and dx's on the other side? This one seems like it is. If I multiply both sides by dx, where you can view dx as the X differential of an infinitely small change in x, well then you get cosine of y + 2 * dy is equal to 2x * dx.

So just like that, I've been able to— all I did is I multiplied both sides of this times dx, but and I was able to separate the y's and the dy from the x's and the dx's. Now I can integrate both sides. So if I integrate both sides, what am I going to get?

The anti-derivative of cosine of y with respect to y is sine of y. Then the anti-derivative of two with respect to y is 2y. That is going to be equal to—well, the anti-derivative of 2x with respect to x is x^2. We can't forget that we could say a plus a different constant on either side, but it serves our purpose just to say plus C on one side.

So this is a general solution to this separable differential equation, and then we can find the particular one by substituting in when x is equal to 1, y is equal to 0. Let's do that to solve for C. So we get, or when y is equal to 0, x is equal to 1.

So sine of 0 + 2 * 0— all I did is I substituted in the zero for y— is equal to x^2. Well now, x is 1, so sine of 0 + C. Well, sine of 0 is 0, 2 * 0 is 0— all of that’s just going to be zero. So we get 0 is equal to 1 + C, or C is equal to -1.

So now we can write down the particular solution to this differential equation that meets these conditions. So we get, let me write it over here: sine of y + 2y is equal to x^2 - 1.

Now, what is x when y is equal to π? So sine of π + 2π is equal to x^2 - 1. Sine of π is equal to 0, and so we get—let's see, we can add one to both sides and we get 2π + 1 is equal to x^2.

Or we could say that x is equal to the plus or minus square root of 2π + 1. So I would write the plus or minus square root of 2π + 1, and we're done.

More Articles

View All
Connecting period and frequency to angular velocity | AP Physics 1 | Khan Academy
What we’re going to do in this video is continue talking about uniform circular motion. In that context, we’re going to talk about the idea of period, which we denote with a capital T, or we tend to denote with a capital T, and a very related idea, and th…
Classifying figures with coordinates | Analytic geometry | High school geometry | Khan Academy
We’re told that parallelogram A B C D has the following vertices, and they give us the coordinates of the different vertices. They say, “Is parallelogram A B C D a rectangle, and why?” So pause this video and try to think about this on your own before we …
What I wish I knew as a Teenager
What’s up you guys? It’s Graham here. So, all right, here we go. This topic has been requested a lot lately. So when you ask, you shall receive. Here’s exactly what I wish I knew as a teenager. From all my videos, I really feel like this one is especially…
Long Distance KISSING and more! LÜT #22
Starry night socks and a gun that shoots ketchup onto your food. It’s episode 22 of LÜT. First, let’s break the ice… or let the ice do the breaking itself as a hammer. Of course, this hammer lets you open bottles. When you pour out the contents, be sure i…
15 Things Mentally Strong Men Don’t Do
You can tell if a man is mentally strong within a few minutes of meeting him. The way he speaks to you, the way he speaks about other people, and the things he says about himself will immediately let you know if this is a confident, self-assured person th…
Jessica Livingston Shares 9 Things She Learned From Founding YC
Thank you all for braving this heatwave and coming here on a Saturday afternoon. We’re really excited. This is actually the fifth year we’ve done the Female Founders Conference and our first time in New York, so I’m very happy to be here and have you all …