If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Writing a differential equation

Differential equations describe relationships that involve quantities and their rates of change. See how we write the equation for such a relationship.

Want to join the conversation?

  • winston default style avatar for user Dylan
    What exactly is the k in the equation mean? Sal said it is a proportionality constant, but I couldn't figure out exactly what that meant.
    (50 votes)
    Default Khan Academy avatar avatar for user
  • leafers seedling style avatar for user Parker Mowery
    How will you know what the relation is without being told like this? Would the relationship have to be experimentally tested and from there create the equation?
    (14 votes)
    Default Khan Academy avatar avatar for user
    • male robot hal style avatar for user Chim Richalds
      Yes, this information will usually be determined from gathering a few data points to establish a function. In school the relationship is usually given to you at first, but later on you should be able to determine on your own given data points - in this case; speeds for different times.
      (16 votes)
  • blobby green style avatar for user Gaurav
    At Sal says that option 2 is especially strange. I know it is not the right answer to this question but, is it possible for a function to be inversely proportional to the square of its input. If so, can I get some examples?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • leafers ultimate style avatar for user Phil P
      Option 2 describes a function that's inversely proportional to the square of its output, not its input, but yes - both are possible.

      For option 2:
      S(t) = k / S^2 { which means the same as S(t) = k / [S(t)]^2 }
      Multiplying both sides by [S(t)]^2:
      [S(t)]^3 = k
      S(t) = k^(1/3)
      Or, in other words, S(t) is constant for all t.

      An example of a function that is inversely proportional to the square of its input would be
      S(t) = k / t^2 { which is actually option 3! }
      (13 votes)
  • blobby green style avatar for user 212tiemeyerc
    What does it mean when it says proportional? I don't understand if that means to multiply or divide, it feels incomprehensible.
    (4 votes)
    Default Khan Academy avatar avatar for user
    • stelly green style avatar for user The #1 Pokemon Proponent
      When we say x is directly proportional to y, we mean that as x increases, y increases and as x decreases, y decreases. This can be alternatively written as x/y = constant.
      Direct proportionality is represented by x ∝ y (or) x = ky where k is a constant. x∝y can be crudely read as x is proportional to y.

      Now, when we say x is inversely proportional to y, we mean that as x increases, y decreases and as x decreases, y increases. This can be rewritten as xy = constant.

      This is represented by x ∝ 1/y.

      NOTE: The above are only 2 examples of proportionality. There are infinite kinds of proportionality. For example, in an adiabatic process (a thermodynamics concept in physics), pressure of an ideal monoatomic gas is inversely proportional to the five-third (5/3) power of volume.
      That is, P∝V^(-5/3)
      (11 votes)
  • duskpin tree style avatar for user arikrahman300
    Why does Sal use k instead of just 1?
    (5 votes)
    Default Khan Academy avatar avatar for user
  • leafers ultimate style avatar for user Andrew Escobedo
    Isn't the derivative of a position function a velocity function?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user Liang
    for the speed, can we represent it as S/t here? if no, why not
    (1 vote)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user cossine
      you can though it is done more in non-rigorous setting.

      You can think of ds/dt as fraction where both ds, dt are infinitesimally small numbers. Technically speaking, there some issues with having infinitesimally numbers but you can ignore this.

      The key point here is we taking the "difference in the distances" and dividing that by the "difference of time".

      This is not convey in S/t. So give example let a 100m rate in 20 seconds.

      Than the average speed is (100-0)/(20-0). We take difference across two points (0, 0) and (20, 100)
      (3 votes)
  • mr pink red style avatar for user Joe.Villafana
    Should I have known that speed is distance over time? I wouldn't have known that w/o looking it up. I'm pretty far along in my academic career but there's a lot of things I feel like it's assumed that I should have memorized but never did. I remembered there was a relation between speed, distance time but I still had to look it up. It's one thing to know something, it's another to commit things to memory.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user nele.labrenz
    How did you come up with inversely proportional being a fraction? I get that if I have something linear like 3x, you make the inverse by changing the numerator and denominator which makes 1/3x.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user 212
    have I to get calculus course before this course ?; because I forget most of things about calculus.
    (1 vote)
    Default Khan Academy avatar avatar for user

Video transcript

- [Instructor] Particle moves along a straight line. Its speed is inversely proportional to the square of the distance, S, it has traveled. Which equation describes this relationship? So I'm not even gonna look at these choices, and I'm just gonna try to parse the sentence up here and see if we can come up with an equation. So they tell us its speed is inversely proportional, to what? To the square of the distance, S, it has traveled. So S is equal to distance. S is equal to distance. And how would we denote speed then, if S is distance? Well speed is the rate of change of distance with respect to time. So our speed would be the rate of distance with respect to time. The rate of change of distance with respect to time. So this is going to be our speed. So now that we got our notation, S is the distance, the derivative of S with respect to time is speed. We can say the speed which is d, capital S, dt, is inversely proportional. So it's inversely proportional, I wrote a proportionality constant, over what? It's inversely proportional to what? To the square of the distance! To the square of the distance it has traveled. So there you go, this is an equation that I think is describing a differential equation, really that's describing what we have up here. Now let's see, let's see what, which of these choices match that. Well actually this one is exactly what we wrote. The speed, the rate of change of distance with respect to time, is inversely proportional to the square of the distance. Now just to make sure we understand these other ones, let's just interpret them. This is saying that the distance, which is a function of time, is inversely proportional to the time squared. That's not what they told us. This is saying that the distance is inversely proportional to the distance squared. That one is especially strange. And this is saying that the distance with respect to time, the change in distance with respect to time, the derivative of the distance with respect to time, dS/dt or the speed, is inversely proportional to time squared. Well that's not what they said, they said it's inversely proportional to the square of the distance it has traveled. So we like that choice.