4

I'm trying to find a straightforward calc solution to this question. I found an algebraic solution but I don't think it's the quickest way to do it. Thanks in advance!

Find the linear function $g(x)=mx+b$ whose graph is tangent to the graph of $f(x)=x^4-6x^3+13x^2-10x+7$ at two points.

Here's my algebraic solution: Let $(x_1,f(x_1))$ and $(x_2,f(x_2))$ be the points where $g(x)$ is tangent to $f(x)$. Let's form the function $h(x)=f(x)−g(x)$, so $h(x)=x^4−6x^3+13x^2−(10+m)x+7−b$. The zeros of $h(x)$ are $x=x_1$ and $x=x_2$and we also know that $h(x)≥0$ for all $x$. What's nice is that $h(x)$ can also be written as $h(x)=(x−x_1)^2(x−x_2)^2$. We can expand this to get $h(x)=x^4−2(x_1+x_2)x^3+(x^2_1+4x_1x_2+x^2_2)x^2−2(x^2_1x_2+x_1x^2_2)x+x^2_1x^2_2$. By comparing the two forms of $h(x)$ we can get that $x_1=1$ and $x_2=2$ (or vice versa) and therefore $m=2$ and $b=3$. I want to see a calc solution since this question appeared on a calc test.

  • 6
    You might post this algebraic solution, so that responders don't repeat what you already know. – B. Goddard Jul 06 '17 at 00:22
  • 1
    Let $(x_1, f(x_1))$ and $(x_2, f(x_2)$ be the points where $g(x)$ is tangent to $f(x)$. Let's form the function $h(x)=f(x)-g(x)$, so $h(x)=x^4-6x^3+13x^2-(10+m)x+7-b$. The zeros of $h(x)$ are $x=x_1$ and $x=x_2$ and we also know that $h(x) \geq 0$ for all $x$. What's nice is that $h(x)$ can also be written as $h(x)=(x-x_1)^2(x-x_2)^2$. We can expand this to get $h(x)=x^4-2(x_1+x_2)x^3+(x_1^2+4x_1x_2+x_2^2)x^2-2(x_1^2x_2+x_1x_2^2)x+x_1^2x_2^2$. By comparing the two forms of h(x) we can get that $x_1=1$ and $x_2=2$ (or vice versa) and therefore $m=2$ and $b=3$. – MC Delta T Jul 06 '17 at 01:12
  • Why reach for calculus? Algebra works just fine. Most of us will favor that approach. – Oscar Lanzi Jul 06 '17 at 02:06
  • This was an extra credit question on a calc test. I wanted to know how one would go about it using calc. These solutions are all great but they are just variations of the algebra one I posted above. I wanted to see a calc one. – MC Delta T Jul 06 '17 at 02:25
  • 2
    I think in both @OscarLanzi's and my solution the calculus resides in recognizing that if a function and its derivative vanishes at a point, the point has a root of multiplicity >1. – ziggurism Jul 06 '17 at 02:53
  • Since this was extra credit maybe they threw a curve. They were testing your ability to find the best technique instead of just plugging into formulas. – Oscar Lanzi Jul 06 '17 at 12:38
  • I was thinking that a calc solution might involve the mean value theorem. – MC Delta T Jul 06 '17 at 15:14

2 Answers2

3

Let $h(x)=f(x)-g(x)$ be the distance between the functions. Note that $h(x)$ is a monic quartic polynomial. If the tangent line $g(x)$ intersects the graph of $f(x)$ at $x=c$ and $x=d$, then $h(x)$ must vanish $x=c$ and $x=d$, so the monomials $x-c$ and $x-d$ divide $h(x)$.

Additionally, since the derivatives of $f(x)$ and $g(x)$ match at $x=c$ and $x=d$, the derivative of $h'(x)$ must vanish there as well. This means $h(x)$ must be divisible by at least $(x-c)^2$ and $(x-d)^2$. The only such monic quartic is $h(x)=(x-c)^2(x-d)^2$.

Thus we are seeking $c$ and $d$ such that

$$(x-c)^2(x-d)^2=x^4-2(c+d)x^3+(c^2+d^2-4cd)x^2-2(cd^2+c^2d)x+c^2d^2\\=x^4-6x^3+13x^2-10x+7-(mx+b)$$

So from the cubic term we have $c+d=3$, and the quadratic term gives $c^2+d^2-4cd=13.$ Substitution yields a quadratic with solutions $c=1,2$. Then $12=m+10$ so $m=2$, and $7-b=4$ so $b=3.$ Thus $g(x) = 2x+3.$

ziggurism
  • 16,756
2

One solution is a variation on the familiar concept of completing the square.

You have $f(x)=x^4-6x^3+13x^2-10x+7$ and you are seeking a linear function $g(x)=mx+b$ such that the difference $f(x)-g(x)$ has a pair of doubly degenerate zeroes. That makes the difference a squared quantity:

$f(x)-g(x)=x^4-6x^3+13x^2-(m+10)x+(7-b)=(x^2+a_1x+a_0)^2$

Now just expand the square and equate terms of like degree, back substituting previously determined quantities in each case. The solution practically jumps out at you with no resistance:

Degree 4: $1=1$ of course

Degree 3: $2a_1=-6$, thus $a_1=-3$

Degree 2: $2a_0+(a_1)^2=13$, thus $a_0=2$

Degree 1: $2a_0a_1=-(m+10)$, thus $m=2$

Degree 0: $(a_0)^2=7-b$, thus $b=3$

So $g(x)=mx+b=2x+3$.

In general you expect real values for all the parameters when you put in a real quartic function. But the points of tangency could have imaginary coordinates. Here they exist in the real plane because the squared quantity, $(x^2+a_1x+a_0)^2$, has real zeroes.

Oscar Lanzi
  • 39,403