SOLUTION: Show that the straight line {{{x+y=p}}} will intersect the curve {{{x^2-6x+y^2-8y+4=0}}} at two distinct point if {{{p^2-14p+7<0}}}. {{{I }}} need {{{ STEPS}}}. THANKS!

Algebra ->  Quadratic Equations and Parabolas -> SOLUTION: Show that the straight line {{{x+y=p}}} will intersect the curve {{{x^2-6x+y^2-8y+4=0}}} at two distinct point if {{{p^2-14p+7<0}}}. {{{I }}} need {{{ STEPS}}}. THANKS!      Log On


   



Question 709188: Show that the straight line x%2By=p will intersect the curve x%5E2-6x%2By%5E2-8y%2B4=0 at two distinct point if p%5E2-14p%2B7%3C0. I+ need +STEPS. THANKS!
Answer by jsmallt9(3758) About Me  (Show Source):
You can put this solution on YOUR website!
We will start by solving the line's equation for x:
x = p - y
Then we will substitute this expression for x into the other equation:
x%5E2-6x%2By%5E2-8y%2B4=0
%28p+-+y%29%5E2-6%28p+-+y%29%2By%5E2-8y%2B4=0
Next we simplify:
p%5E2-2py+%2B+p%5E2-6p%2B6y%2By%5E2-8y%2B4=0
Combining like terms:
p%5E2-2py+%2B+2y%5E2-6p%2B-2y%2B4=0
Next we will get this equation in standard ay%5E2%2Bby%2Bc=0 form of a quadratic. Rearranging the terms so that the y%5E2 is in front, the two y terms are together and the other terms are at the end (Change to addition and then use the Commutative Property):
2y%5E2+%2B+%28-2py%29+%2B+%28-2y%29+%2Bp%5E2+%2B+%28-6p%29+%2B4=0
Group the y terms (Associative Property):
2y%5E2+%2B+%28%28-2py%29+%2B+%28-2y%29%29+%2Bp%5E2+%2B+%28-6p%29+%2B4=0
Factor out y:
2y%5E2+%2B+y%2A%28%28-2p%29+%2B+%28-2%29%29+%2Bp%5E2+%2B+%28-6p%29+%2B4=0
To make it look more like the "by" of the standard form I'll use the Commutative Property to move the y in back of what we factored:
2y%5E2+%2B+%28%28-2p%29+%2B+%28-2%29%29y+%2B+p%5E2+%2B+%28-6p%29+%2B4=0
Group the "other terms" (Associative Property):
2y%5E2+%2B+%28%28-2p%29+%2B+%28-2%29%29y+%2B+%28p%5E2+%2B+%28-6p%29+%2B4%29=0
We now have the standard form with...
a = 2
b = ((-2p) + (-2))
c = %28p%5E2+%2B+%28-6p%29+%2B4%29

A quadratic equation in standard form will have two real solutions if its discriminant, b%5E2-4ac, is positive. IOW:
b%5E2-4ac+%3E+0
Replacing the a, b and c in this inequality with the expressions we found earlier we get:
%28%28-2p%29+%2B+%28-2%29%29%5E2+-4%282%29%28p%5E2+%2B+%28-6p%29+%2B4%29+%3E+0
Simplifying...

4p%5E2+%2B+8p+%2B+4+-4%282%29%28p%5E2+%2B+%28-6p%29+%2B4%29+%3E+0
4p%5E2+%2B+8p+%2B+4+%2B+%28-4%282%29%28p%5E2+%2B+%28-6p%29+%2B4%29%29+%3E+0
4p%5E2+%2B+8p+%2B+4+%2B+%28-8%29%28p%5E2+%2B+%28-6p%29+%2B4%29%29+%3E+0
4p%5E2+%2B+8p+%2B+4+%2B+%28-8p%5E2%29+%2B+48p+%2B+%28-32%29+%3E+0
-4p%5E2+%2B+56p+%2B+%28-28%29+%3E+0
Each term is divisible by 4 (or -4). Since the problem is looking for an expression with a positive p%5E2 we'll divide by -4. (Of course we must remember the rule that says when you divide an inequality by a negative number you must also reverse the inequality at the same time.) Dividing by -4 (and reversing the inequality) we get:
p%5E2+%2B+%28-14p%29+%2B+7+%3C+0
which is equivalent to what the problem asked you to show, i.e. p%5E2+-14p+%2B+7+%3C+0

In summary, we have shown that if p%5E2+-14p+%2B+7+%3C+0 then the discriminant (of the quadratic equation we got when we substituted in for x) will be positive. And if the discriminant is positive then there are two real solutions. And these two solutions represent the y coordinates of the points of intersection. So there will be two points of intersection if p%5E2+-14p+%2B+7+%3C+0.