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

Worked example: separable differential equations | AP Calculus AB | Khan Academy


3m read
·Nov 11, 2024

What we're going to do in this video is get some practice finding general solutions to separable differential equations.

So, let's say that I had the differential equation Dy/Dx, the derivative of y with respect to X, is equal to e^X over y. See if you can find the general solution to this differential equation. I'm giving you a huge hint: it is a separable differential equation.

All right, so when we're dealing with a separable differential equation, what we want to do is get the Y's and the Dy on one side and then the x's and the DXs on the other side. We really treat these differentials kind of like variables, which is a little handwavy with the mathematics, but that's what we will do.

So, let's see. If we multiply both sides by y, we're going to get y * derivative of y with respect to X is equal to e^X. Now, we can multiply both sides by the differential DX. If we multiply both of them by DX, those cancel out and we are left with y * Dy is equal to e^X DX.

Now we can take the integral of both sides, so let us do that. What is the integral of y Dy? Well, here we would just use the reverse power rule. We would increment the exponent, so it's y to the 1, but now when we take the anti-derivative, it will be y^2. Then we divide by that incremented exponent is equal to...

Well, the exciting thing about e^X is its anti-derivative is, and its derivative is e^X. So, we can say it is equal to e^X + C. We can leave it like this if we like; in fact, this right over here, this isn't an explicit function.

Y here isn't an explicit function of X. You could actually say Y is equal to the plus or minus square root of (2 * all of this business), but this would be a pretty general relationship which would satisfy this separable differential equation.

Let's do another example. So, let's say that we have the derivative of y with respect to X is equal to, let's say, it's equal to y^2 * sin(X). Pause the video and see if you can find the general solution here.

So, once again, we want to separate our y's and our x's. Let's see, we can multiply both sides by y to the -2 power. These become one, and then we could also multiply both sides by DX. So, if we multiply DX here, those cancel out and then we multiply DX here.

Now, we're left with y to the -2 power * Dy is equal to sin(X) DX. Now we just can integrate both sides. What is the anti-derivative of y to the -2? Well, once again, we use the reverse power rule.

We increment the exponent, so it's going to be y to the 1, and then we divide by that newly incremented exponent. Dividing by negative 1 would just make this thing negative, so that is going to be equal to...

So, what's the anti-derivative of sin(X)? Well, you might recognize it. If I put a negative there and a negative there, the anti-derivative of negative sin(X) well that's cosine of X. So, this whole thing is going to be negative cosine of X.

Another way to write this: I can multiply both sides by -1, and so these would both become positive. I could write 1/Y is equal to cosine of X.

Actually, let me write it this way: plus C. Don't want to forget the plus C's, plus C. Or, I can take the reciprocal of both sides. If I want to solve explicitly for y, I could get Y is equal to 1 over (sin(X) + C) as our general solution, and we're done.

That was strangely fun!

More Articles

View All
Levels of Wealth (Car Edition)
Your car tells the world how well you’re doing in life. So in this video, we’ll break down what different levels of wealth drive around. Let’s see how high of a level you’ve made it to. Here are levels of wealth: the car edition. Welcome to Alux, the plac…
Leah Culver of Breaker and Tom Sparks of YC Answer Your Questions About Security and Podcasting
All right, so how about we start with some questions from Twitter. I actually think this one might have been on Facebook, so Brady Simpson asked, “How do we deal with the ever-increasing pressure from governments trying to get into devices?” Tom, do you …
How To Turn $25,000 Into A Substantial Return In Real Estate | FT. Scott McGillivray
If you’re an investor and you’re trying to save for retirement, you would put about 50% into stocks and 50% into bonds. But we’re in a very dislocated story about fixed income now. I’ve taken my commercial real estate position from 31% of my portfolio—tha…
The Lasting Scars of War | No Man Left Behind
[Music] When I joined the regiment, you read about SAS history, and um, I can remember uh reading a story about a guy called uh Jordi Silico. He held the record for walking through the desert in North Africa, and it was 100 miles. It was the longest escap…
How your image can MAKE or BREAK you
What’s up you guys, it’s Graham here. So, how important is your image? Now, we all hear that a book shouldn’t be judged by its cover, that we should get to know somebody first and give them a chance, but in reality, this rarely ever happens. Now, whether…
A Fish Called Obama | Sea of Hope: America's Underwater Treasures
We were up at Cure, which is at the, uh, farthest island out in the chain. We were down at 300 feet in an area where we’ve documented every single fish. On this reef is a species known only from the Hawaiian Islands. It’s truly the most unique set of fish…