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

Current time:0:00Total duration:10:45

Now that we have a
visual sense of what this common tangent
with a positive slope would look like, let's see if
we get some constraints on it, especially constraints on
its slope and y-intercept. So this line that I
drew in the last video here in pink-- it would have the
form y is equal to mx plus b. It's a line where m is the
slope and b is the y-intercept. Now, let's think about
what constraints there would have to be on m and b if
this is tangent to the circle. And you might be tempted
to break out some calculus and figure out the slope at
any point alongside a circle, but there's an
easier way to do it. You just have to realize that if
a line is tangent to a circle, it will only intersect
that circle at one point. Let me show you what
I'm talking about. So this is the line. What I want to do
is figure out where this equation and the equation
of the circle intersect. That's we'll focus
on this video. And then, we'll do the same
thing for the hyperbola. So we have y is equal to mx plus
b is the equation of the line. The circle-- they give us
the equation up here. x squared plus y squared
minus 8x is equal to 0. So the circle is x squared
plus y squared minus 8x is equal to 0. So what we can do
is we can substitute this expression over here-- we
can substitute this in for y. And then we can figure out what
are the constraints on m and b so that we only have one
solution to the intersection where we only
intersect at one point. So to do that-- actually,
let's substitute for y squared. So if y is equal to
this, let's square that. We'll get y squared. I'm just squaring the
expression for the line. y squared is going
to equal m squared x squared plus 2mbx
plus b squared. All I did is I squared
this expression here. And I did that so that now we
can substitute this whole thing right in here for y squared. And the expression for the
x point for our intersection is going to be x squared
plus all of this business. That's the y squared. Plus m squared x squared
plus 2mbx plus b squared minus 8x is equal to 0. And if we wanted to write this
as a quadratic in terms of x, this would be-- so our x squared
terms are these two terms. We could write this
as-- let's see. Let's write this as m squared
plus 1 times x squared, right? m squared times 1
times x squared. And then our x terms are
this one and this one. So then we have plus
2mb minus 8 times x. And then, we just
have this b term-- this b squared, the constant
term right over here. And I'll do that in orange. So plus b squared is equal to 0. So if we knew m and b, if we
knew the equation of this line, this would just be a
straight up quadratic. You could use the
quadratic formula to figure out the x values--
where they intersect. Now, what's neat about this
is we know that they only have to intersect in one point. Remember, the quadratic
formula-- negative b plus or minus the square
root of b squared minus 4ac. All of that over 2a. And don't get this b confused
with the y-intercept b. This is just from the
quadratic formula. That's the quadratic
formula over there. This will only have one
solution if this over here is equal to 0. Because you're just
adding and subtracting 0, so you're only going
to get one solution. So when a line is
tangent to a circle, it can only intersect
in one point. Or another way to
think about it-- this will only
have one solution. If a line intersects any other
type of non-tangent line, a non-tangent line would
do something like that. It would either have two
solutions, in which case, this is a positive value, or
it won't intersect at all. And then, this will
have no solutions, which means that b squared minus
4ac would be a negative number. So we know that this
is a tangent line. So we only have one solution,
or b squared minus 4ac is equal to 0. So what's b squared
minus 4ac over here? Well, this is our
b when we think in terms of the
quadratic formula. And remember, don't
get that b confused with the b of the y-intercept. I'm just thinking of the
quadratic formula here. So let's do this. Let's take this squared. So I'm just going to
rewrite this expression and set it equal
to 0, because we know there's only one solution. So we have 2mb minus 8 squared. And then you have
minus 4 times a, which is m squared plus 1,
times c, is b squared. And so this is going to
have to be equal to 0 if this is truly a tangent line. So let's see any type
of interesting things that we can get out here. If we can express b
as a function of m, that's a good place to start. So let's try to do that. So let's see. If we expand this out,
this becomes 4m squared. Let me do that in
the same blue so you know what I'm expanding out. This part over here
becomes 4m squared b squared minus 2 times
8 is-- 2 times negative 8 is negative 16. Multiply that times 2, so
it's negative 32mb-- I'm just squaring this over
here-- plus 64. So that is that term over there,
expanded, minus 4 times-- well, I could just expand
everything out. Minus 4 times m squared b
squared minus 4 times 1 times b squared is all going
to be equal to 0. And then, lucky for us, some
of these terms cancel out. 4mb squared. Negative 4mb squared. And let's see. We could actually divide both
sides of this equation by 4, and we get negative
8mb plus-- we're dividing everything by 4--
so plus 16 minus b squared is equal to 0. And now, we can solve
for b in terms of m using the quadratic
formula again. So now we would
have a constraint, or we would essentially
know what our y-intercept is going to be in
terms of our slope. And then, we can do
that for the hyperbola. And then, we could
essentially say, well, it's the same line
so the y-intercepts have to be the same. And then, we can
solve for the slope. So let's do that. And you'll see that over
the next few videos. Let me just write this in a
form that we would recognize. This is the same thing. Let me just multiply
this equation right here-- both
sides by negative 1. So then it would
become b squared plus 8mb minus 16 is equal to 0. I just multiplied
this by negative 1 and just rearranged the terms. Now let's solve for
b in terms of m. So b is going to be equal
to negative 8m plus or minus the square root of
this term squared. So it's 8 squared m squared
minus 4 times a, which is just 1, times c, which is
16-- minus 4 times negative 16. So you could view this
as plus 4 times 16. All of that over 2a. Well, a here just 2. All of that over 2. Now, this is going to be equal
to negative 8m plus or minus-- now, this is 64. This is 64. So you could factor
out the 64 from here, but when you take the
square root of it, it's going to be 8 times
m squared plus 1, right? If you took the 8 in,
you'd have to square it. So it becomes 64. And the 64 times
m squared plus 64, which is exactly what
you had up there. All of that over 2. And then, we can simplify it. This is equal to negative
4m plus or minus 4 times the square root of
m squared plus 1. So this is a possible b,
given that the line is tangent to the circle. Now, let's just think
about this a little bit. If we add 4, we're
definitely going to have-- well, let's
think about it for second. If we look at the line up
here, the way I drew it-- we want a positive slope. And in order to do that--
the way I drew it-- you have to have a
positive y-intercept. Let me just write it this way. This is a positive b,
a positive y-intercept. So we want this value. We want to think about the
y-intercept that is positive. Now, m is going to be positive. We know from the
problem that we're looking for positive slope. So m is positive. So negative 4, this whole term
here, is going to be negative. So our only chance
of being positive is if we add 4 times this
expression right over here. And actually, if
you look at it, it will be positive, because this
is greater than m squared. So the square root of that's
going to be greater than m, so 4 times this is going
to be greater than 4m. So if we add, it's
going to be positive. So we want to only look at b
is equal to negative 4m plus 4 times the square root
of m squared plus 1. I'll leave you there
for this video. In the next video, we're going
to do the exact same thing for the hyperbola realizing
that the line will only intersect at one point. And then, since
it's the same line, we know that their b's
have to be the same. In the next video,
we're going to get b is equal to some
other function of m. We're going to get
that in the next video. And then, we can set
them equal to each other and solve for our m. And then, when once
you solve for an m, you also have solved for the b. And we'll have our line.