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
15 Life Changing Books Everyone Must Read
People read books for different reasons. Some do it for entertainment, others to kill time, and many others because they seek to improve their lives. A good book is meant to teach us something new about the world and to bring a unique perspective into our…
"Where Love Is Illegal": Chronicling LGBT Stories of Love and Discrimination (Part 2) | Nat Geo Live
I was in Lagos, Nigeria in 2014 when I heard about five young men in the north of the country who faced the death penalty for committing gay acts. They were in the Sharia Law controlled part of the country. So I went up to see them. Fortunately, by the ti…
How a bill becomes a law | US government and civics | US government and civics | Khan Academy
In other videos, we have first started talking about the legislative branch of the United States federal government. We talk about how it has two houses: the Senate, which has 100 members (two per state, two times fifty), and the House of Representatives,…
The Technological Singularity
Up until I was like 15, the way I found new music was through friends or songs that you hear in the background on my favorite TV shows or movies. This could be a really slow process, if you, like me, have a somewhat unconventional taste in music. So it wa…
Hypothesis test for difference in proportions example | AP Statistics | Khan Academy
We are told that researchers suspect that myopia, or nearsightedness, is becoming more common over time. A study from the year 2000 showed 132 cases of myopia in 400 randomly selected people. A separate study from 2015 showed 228 cases in 600 randomly sel…
Dividing a decimal by a whole number example
Let’s see if we can compute what 1.86 divided by 2 is. And like always, pause this video and have a go at it. I’ll give you a hint: see if you can think about 1.86 as a certain number of hundredths, and then divide that by 2. All right, now let’s work th…