< Return to Video

1520 9 5 4 Mixing Problem HD 1080 WEB H264 4000

  • Not Synced
    Let's take a look at a mixing problem.
  • Not Synced
    In this example, we have a tank
  • Not Synced
    that initially (at our starting time)
    holds 100 liters of pure water.
  • Not Synced
    And what we've got coming in is,
    we've got brine that has salt in it,
  • Not Synced
    and the concentration of salt is
    0.5 kilograms of salt for every liter,
  • Not Synced
    and that's coming into the tank
    at a rate of 4 liters per minute.
  • Not Synced
    The big assumption
    we're making here —
  • Not Synced
    and this, in real life,
    is not 100% realistic --
  • Not Synced
    but we're assuming that as soon
    as that brine enters the tank,
  • Not Synced
    it is immediately mixed perfectly
    in with whatever is already in there.
  • Not Synced
    Then that mixture is draining out
    at a rate of 3 liters per minute.
  • Not Synced
    Now, what makes this different
  • Not Synced
    from the mixing problem that we saw
    in the separable equation section is,
  • Not Synced
    the rate of liquid leaving the tank
    isn't the same as the rate coming in.
  • Not Synced
    So in one of the worksheet
    problems from a previous section,
  • Not Synced
    we had the liquid leaving
    the tank at the same rate,
  • Not Synced
    and when we did that,
  • Not Synced
    we ended up with a
    separable differential equation.
  • Not Synced
    In this case, because the liquid is
    leaving the tank at a different rate,
  • Not Synced
    we're going to end up with a linear
    differential equation instead.
  • Not Synced
    So one thing we need is,
  • Not Synced
    we have to figure out
    what we're even solving for.
  • Not Synced
    And basically what we want
    to do is, we want to find y of t.
  • Not Synced
    And what that's going to represent is,
  • Not Synced
    it's going to be the amount
    of salt in the tank at time t.
  • Not Synced
    After t minutes have gone by,
    how much salt is in the tank?
  • Not Synced
    One thing we know right away
  • Not Synced
    is that the tank initially
    had pure water in it.
  • Not Synced
    That tells us our initial value is 0.
  • Not Synced
    There's no salt in the tank
    at time 0; it's pure water.
  • Not Synced
    One other thing that's
    going to happen with this is,
  • Not Synced
    every minute that goes by,
  • Not Synced
    think about the amount
    of liquid in this tank.
  • Not Synced
    If it was leaving at the same rate
    that it was coming in,
  • Not Synced
    that would stay constant.
  • Not Synced
    But every minute that goes by,
  • Not Synced
    one extra liter is coming in
    that doesn't get drained out.
  • Not Synced
    The total amount of liquid in the tank
    is actually changing as time goes by.
  • Not Synced
    So it's not going to stay 100 liters.
  • Not Synced
    The amount of liquid in the tank
  • Not Synced
    is going to be 100 liters plus
    1 liter for every minute that goes by.
  • Not Synced
    Since t represents
    the number of minutes,
  • Not Synced
    I'm just going to write that as 100 plus t,
  • Not Synced
    and that's the number of liters of liquid
  • Not Synced
    that are going to be in
    this tank at any given time.
  • Not Synced
    Now, in real life, eventually,
  • Not Synced
    we'd reach a point where
    this process can't continue
  • Not Synced
    because the tank only has physically
    enough room for a certain amount.
  • Not Synced
    That's something to bear in mind.
  • Not Synced
    But for our purposes,
  • Not Synced
    we'll assume that we're
    early enough in the process
  • Not Synced
    that this model will
    make sense and will hold.
  • Not Synced
    So one thing that we found out
    in previous sections is,
  • Not Synced
    if we want to know what dy [over] dt is
  • Not Synced
    (that would be the change
    in the amount of salt),
  • Not Synced
    We have to figure out what rate
    of salt is coming into the tank,
  • Not Synced
    and then we have to subtract
    the rate that salt is leaving the tank.
  • Not Synced
    The rate that salt is coming in
  • Not Synced
    is actually pretty
    straightforward to calculate.
  • Not Synced
    Each liter that comes
    in has half a kilogram (0.5 kg)
  • Not Synced
    and there's 4 liters
    coming in every minute.
  • Not Synced
    If we just multiply those
    two numbers together,
  • Not Synced
    we'll end up with 0.5
    times 4, which is 2.
  • Not Synced
    If you actually look at units here,
    it's kilograms per liter,
  • Not Synced
    and then we're multiplying
    that by 4 liters per minute.
  • Not Synced
    The liters actually cancel
  • Not Synced
    and we're going to end up
    with 2 kilograms/minute.
  • Not Synced
    That's the rate of salt
    coming into the tank.
  • Not Synced
    Every minute,
    2 kilograms of salt come in.
  • Not Synced
    Now, initially, basically
    no salt is going to leave
  • Not Synced
    because the water at the beginning
    is almost purely water.
  • Not Synced
    But as it gradually gets saltier,
  • Not Synced
    then some of that salt
    is going to leave the tank
  • Not Synced
    when this brine is drained.
  • Not Synced
    In order to figure out the rate out
  • Not Synced
    (this is the one that takes
    a little bit more thinking,)
  • Not Synced
    we have to figure out
  • Not Synced
    the concentration of
    salt in the current liquid,
  • Not Synced
    and then we have to multiply
    that by the rate that it's leaving,
  • Not Synced
    which is 3 liters per minute.
  • Not Synced
    Well, the concentration of salt
  • Not Synced
    is just the number of kilograms of salt
    divided by the total amount of liquid.
  • Not Synced
    We know that there are y kilograms
    in the tank at any given time
  • Not Synced
    and we could divide that
    by the amount of liquid,
  • Not Synced
    which is 100 plus t liters,
  • Not Synced
    and that would tell us
    our concentration:
  • Not Synced
    it's y kilograms per 100 plus t liters.
  • Not Synced
    This is the biggest difference
  • Not Synced
    between what we're
    doing in this section
  • Not Synced
    compared to when
    these two rates match.
  • Not Synced
    If these were the same rate,
    we could just say y divided by 100
  • Not Synced
    because the amount of liquid
    in the tank would stay constant.
  • Not Synced
    But because of this extra
    t that gets added in,
  • Not Synced
    this is what's going to
    make it no longer be a—
  • Not Synced
    It's no longer going to
    be a separable equation.
  • Not Synced
    It'll be a linear equation.
  • Not Synced
    So we've got our concentration,
    which is y over 100 plus t
  • Not Synced
    (technically, that is kilograms per liter),
  • Not Synced
    and it's exiting at a rate
    of 3 liters per minute,
  • Not Synced
    so liters are going to cancel.
  • Not Synced
    And once again, this is going
    to be kilograms per minute.
  • Not Synced
    That's the same units
    that the rate in was.
  • Not Synced
    So we can subtract, multiply these,
    we'll get 3y over 100 plus t.
  • Not Synced
    This is the differential equation
    that we're going to try to solve.
  • Not Synced
    This actually is a linear differential
    equation, and to see that,
  • Not Synced
    we actually might want to
    rearrange the terms a little bit.
  • Not Synced
    In the standard form for
    a linear differential equation,
  • Not Synced
    dy [over] dt is by itself.
  • Not Synced
    Then if I move this over,
  • Not Synced
    instead of writing it
    as 3 over 100 plus t,
  • Not Synced
    I'm going to write it as
    3 over 100 plus t, multiplied by y,
  • Not Synced
    and then that's going to equal 2.
  • Not Synced
    So in this form, dt is by itself.
  • Not Synced
    This function right here
    is playing the role of P.
  • Not Synced
    It's not a function of x,
    but it's a function of t.
  • Not Synced
    That's our independent variable this time,
    and then that's playing the role of Q.
  • Not Synced
    Just like what we've done
    for the other examples,
  • Not Synced
    we're going to use this to
    find an integrating factor.
  • Not Synced
    We're going to multiply everything
    by that integrating factor,
  • Not Synced
    and that should turn the left side
    of the equation into a product rule.
  • Not Synced
    That's something that we can invert
    and then eventually solve for y.
  • Not Synced
    All right, so here's our first order
    linear differential equation.
  • Not Synced
    It is already in standard form
    because we did that already,
  • Not Synced
    and that function right there
    is playing the role of P.
  • Not Synced
    This time, it's a function of t
    instead of x, it’s 3 over 100 plus t,
  • Not Synced
    and our integrating factor
  • Not Synced
    is always given by e to the
    integral of the function P,
  • Not Synced
    which in this case is e to the
    integral of 3 over 100 plus t.
  • Not Synced
    And like the previous example,
    we can take that 3 out if we want.
  • Not Synced
    If you want to go through
    the full steps here,
  • Not Synced
    this is-- technically could be
    done by using a substitution.
  • Not Synced
    But if u is 100 plus t,
    du is just 1 times dt.
  • Not Synced
    We don't have to worry about
    an extra factor appearing here,
  • Not Synced
    and this integral is just going to end up
    being the natural log of 100 plus t.
  • Not Synced
    In this example, we're assuming that
    t is positive since it represents time.
  • Not Synced
    Also, 100 plus t was
    the total number of liters
  • Not Synced
    in the tank at any given time,
  • Not Synced
    so we are assuming that
    that will never be negative.
  • Not Synced
    You won't have a negative
    amount of liquid in the tank.
  • Not Synced
    Like we did before,
  • Not Synced
    we can utilize that property of logarithms
  • Not Synced
    that lets us take this coefficient
  • Not Synced
    and turn it into a power
    within the logarithm itself.
  • Not Synced
    It will be the natural log
    of 100 plus t cubed.
  • Not Synced
    And e and natural log are inverses,
    so once those cancel out,
  • Not Synced
    that tells us that the integrating
    factor we need to use
  • Not Synced
    is 100 plus t to the 3rd power.
  • Not Synced
    Now the next step is going to be
  • Not Synced
    to multiply everything
    by that integrating factor.
  • Not Synced
    And if we did it right, the left side of
    the equation should be a product rule.
  • Not Synced
    We've got our integrating
    factor times dy [over] dt.
  • Not Synced
    and when we multiply our next thing
    by the integrating factor,
  • Not Synced
    we're going to have
    3 times 100 plus t cubed,
  • Not Synced
    but that gets divided by 100 plus t.
  • Not Synced
    So that's just going to become
    3 times 100 plus t squared
  • Not Synced
    because one of the
    100 plus t’s from the top
  • Not Synced
    will cancel this one on the bottom.
  • Not Synced
    Then the right side of the equation
  • Not Synced
    becomes 2 times 100
    plus t to the 3rd.
  • Not Synced
    The whole purpose
    of the integrating factor
  • Not Synced
    is to try to make the left side of
    the equation become a product rule.
  • Not Synced
    If the integrating factor itself is f,
    then that really is f prime.
  • Not Synced
    And if y is g, dy [over] dt is g prime.
  • Not Synced
    That means this
    really is a product rule.
  • Not Synced
    This is the derivative
    with respect to t of f times g
  • Not Synced
    and f is 100 plus t to the 3rd
  • Not Synced
    and g is just y, and that's equal
    to the right side of the equation.
  • Not Synced
    Now that we've got our product rule
    on the left side of the equation,
  • Not Synced
    we can integrate it to make
    the derivative go away,
  • Not Synced
    so integrate with respect to t,
  • Not Synced
    and that will equal the integral
    of the right side of the equation,
  • Not Synced
    also with respect to t.
  • Not Synced
    The derivative of an integral cancels out.
  • Not Synced
    That leaves us with 100
    plus t to the 3rd times y.
  • Not Synced
    And then for this integral,
  • Not Synced
    this is another one where you
    could do a full U-substitution.
  • Not Synced
    If u is 100 plus t, then du is just dt.
  • Not Synced
    The antiderivative of
    something to the 3rd,
  • Not Synced
    the power just goes up by one
    and then you divide by 3.
  • Not Synced
    Since there's no chain rule
    issue with the inside
  • Not Synced
    (the derivative of the inside is 1),
  • Not Synced
    you basically just treat this
    as if it was our variable.
  • Not Synced
    We're going to end up with 2
  • Not Synced
    and then that's going to be
  • Not Synced
    times one fourth [1/4]
    100 plus t to the 4th power,
  • Not Synced
    and then we're going to have our constant.
  • Not Synced
    But instead of running 2 times 1/4,
    let's just call that one half [1/2].
  • Not Synced
    Now, if we wanted a general solution,
  • Not Synced
    we would divide everything
    right now by 100 plus t to the 3rd.
  • Not Synced
    But because we have
    an initial condition here,
  • Not Synced
    we can actually find
    our constant right now
  • Not Synced
    or you can get the general solution
    first and then solve for C.
  • Not Synced
    It does not matter, but in this case,
  • Not Synced
    I've already got it almost
    to the form C equals,
  • Not Synced
    so let's just use this version.
  • Not Synced
    We were told the initial amount
    of salt in the tank was 0.
  • Not Synced
    So when t is 0, y is also 0.
  • Not Synced
    We're going to have 100 plus t.
    [corrects self] Oops, t is 0,
  • Not Synced
    times y, which is also 0,
  • Not Synced
    and that's going to equal
    1/2 of 100 plus 0 to the 4th.
  • Not Synced
    That's what C is.
  • Not Synced
    This is all 0, that goes away.
  • Not Synced
    And 100 to the 4th is—
  • Not Synced
    basically, we just need to keep
    adding zeros to this thing,
  • Not Synced
    so let's think about that.
  • Not Synced
    100 to the 4th would be 100
  • Not Synced
    and then two more zeros is 100 squared.
  • Not Synced
    Two more zeros is 100 to the 3rd,
  • Not Synced
    and then two more zeros
    is 100 to the 4th.
  • Not Synced
    That's a lot of zeros,
    and then that gets multiplied by 1/2.
  • Not Synced
    It's 1/2 of, let's see, 100 million.
  • Not Synced
    so that's what C is.
  • Not Synced
    That means that C is half of that,
    so it's 50 million.
  • Not Synced
    You can even leave it as
    1/2 of 100 to the 4th if you prefer,
  • Not Synced
    but that's what this ends up being.
  • Not Synced
    So that's our constant.
  • Not Synced
    And now that we know what that is
    (so we just figured out C),
  • Not Synced
    now we can solve the equation for y.
  • Not Synced
    For space reasons,
    I'm going to try to fit it in here.
  • Not Synced
    We're going to have y equals,
  • Not Synced
    and if we take this expression right here
  • Not Synced
    and we divide by
    100 plus t to the 3rd,
  • Not Synced
    then all but one of the
    100 plus t’s will cancel.
  • Not Synced
    We'll have 1/2, 100 plus t.
  • Not Synced
    Then the constant
    we got was 50 million
  • Not Synced
    and that is going to be divided
    by this 100 plus t to the 3rd,
  • Not Synced
    or we could write it as multiplying it
    by 100 plus t to the negative 3rd,
  • Not Synced
    and that would be okay as well.
  • Not Synced
    But what this equation tells us is,
  • Not Synced
    it tells us how much salt in kilograms
    is going to be in our tank at any time,
  • Not Synced
    at least as long as
    this model is realistic.
  • Not Synced
    As the tank fills up,
  • Not Synced
    eventually will reach a point
    where this won't work anymore,
  • Not Synced
    but it should describe what happens
  • Not Synced
    for at least the first
    however-many minutes
  • Not Synced
    that we want to know
    something about it.
  • Not Synced
    That would be the solution
    to this differential equation.
Title:
1520 9 5 4 Mixing Problem HD 1080 WEB H264 4000
Video Language:
English
Duration:
14:53

English subtitles

Revisions Compare revisions