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
Watch UK's Natural Land Diminish in 100 Seconds | Short Film Showcase
What does the United Kingdom really look like? To get a better sense of proportion, let’s go on a hundred second walk across our nation. Each second of the walk reveals one percent of our lands and how they look from above. Are you ready for the UK in 100…
Safari Live - Day 304 | National Geographic
[Music] This program features live coverage of an African safari and may include animal kills and caucuses. Viewer discretion is advised. Hello everyone, and a very warm welcome to a sunset drive. We are in the Mara Triangle in Kenya, and we have that be…
The Dangers of Shark Nets | When Sharks Attack
For the past 20 years, New South Wales averaged four shark attacks a year. But in 2009, a staggering 17 attacks occurred, with species ranging from white sharks to wobble gong sharks. With such a variety of species behind the spike, investigators focused …
The Harder You Try, The Worse It Gets | Law of Reversed Effort
Have you ever tried petting a cat, but every time you come closer, the cat runs away and keeps watching you from a distance? Then, you walk towards the cat in a second attempt, but it runs away again. When you approach the cat a third time, it flees and d…
Critiquing Startup Websites With Instacart's First Designer
In this video, a special guest and I will be taking a look at companies funded by Y Combinator and giving our feedback on the design of their company’s website. Welcome to Design Review! My guest this week is Zayn Ali. He was the first product designer at…
Extinct Sloth Fossils Discovered In Underwater Cave | National Geographic
[Music] We don’t know how the sloths ended up in the cave. Our working hypothesis is that the sloth entered the cave in order to look for water, uh, and died in those positions. Then what happened was water level then rose, submerging the sloth remains, p…