Coincide Tangent Lines

Geometry Level 2

The function f ( x ) f(x) is defined for real constants a , a, b , b, c , c, and d : d:

f ( x ) = x 4 + a x 3 + b x 2 + c x + d . f(x)=x^4+ax^3+bx^2+cx+d.

The graph of the function is shown below.

Given that the tangent lines at ( 1 , f ( 1 ) ) \big(1,f(1)\big) and at ( 5 , f ( 5 ) ) \big(5,f(5)\big) coincide, what is the value of a + b ? a+b?


The answer is 34.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

7 solutions

Chan Lye Lee
Oct 25, 2018

Let the common tangent be y = m x + n y=mx+n . As it intersects with y = f ( x ) y=f(x) , we consider the equation f ( x ) = m x + n f(x)=mx+n , or equivalently x 4 + a x 3 + b x 2 + ( c m ) x + ( d n ) = 0 x^4+ax^3+bx^2+(c-m)x+(d-n)=0

From the conditions, we know that x = 1 x=1 and x = 5 x=5 are the repeated roots, so the above equation can be written as ( x 1 ) 2 ( x 5 ) 2 = 0 \left(x-1\right)^2\left(x-5\right)^2=0 . Expand it and we will obtain x 4 12 x 3 + 46 x 2 60 x + 25 = 0 x^4-12x^3+46x^2-60x+25=0 .

Compare the coefficients of x 3 x^3 and x 2 x^2 , we have a = 12 a=-12 and b = 46 b=46 . Then a + b = 34 a+b=\boxed{34} .

Note that the values of c c and d d may be arbitrary.

This method is very impressive.

Abha Vishwakarma - 2 years, 7 months ago

Great question!

David Vreken - 2 years, 7 months ago

Yup, impressive; very elegant! I scribbled full a whole A4 paper and even needed two tries :/.

Carlo Wood - 2 years, 7 months ago

How do you know one and 5 are the repeated roots.

aaryan vaishya - 2 years, 7 months ago

Log in to reply

It's a quartic equation so there are at most 4 roots. After subtracting the tangent line, the resulting graph is both zero and has a derivative that is zero in both 1 and 5. You need two roots (or a repeated root) for that to happen. If it wasn't a repeated root then the derivative wouldn't be zero (aka, the tangent line wouldn't be tangent).

Carlo Wood - 2 years, 7 months ago

Log in to reply

I see.I think you meant quartic equation.

aaryan vaishya - 2 years, 7 months ago

Log in to reply

@Aaryan Vaishya Yes, sorry. I edited my reply so now it says 'quartic', thanks :)

Carlo Wood - 2 years, 7 months ago

Isn'it possible that some roots are complex ?

Jjango Jjango - 2 years, 7 months ago

Log in to reply

OK, got it. These roots are also extremums, so of a degree greater than than 1

Jjango Jjango - 2 years, 7 months ago

Log in to reply

Not quite. More accurately, because the graph is tangential, we know that it must have the form A ( x ) × ( x 1 ) 2 A(x) \times (x-1)^2 and likewise B ( x ) × ( x 5 ) 2 B(x) \times (x-5)^2 . The only monic quartic that satisfies this condition is ( x 1 ) 2 ( x 5 ) 2 (x-1)^2 (x-5)^2 .

Calvin Lin Staff - 2 years, 7 months ago

I integrated 4 ( x 1 ) ( x 3 ) ( x 5 ) 4(x-1)(x-3)(x-5) and got the answer.

X X - 2 years, 7 months ago

Log in to reply

Is the answer come from some coefficient? or you integrate it from some x = a x=a to x = b x=b ? More importantly, why so?

Chan Lye Lee - 2 years, 7 months ago

Log in to reply

If the slope of the tangent lines is 0, then f ( 1 ) = f ( 5 ) = 0 f'(1)=f'(5)=0 and f ( 1 ) = f ( 5 ) f(1)=f(5) .

I expected the graph has reflection symmetry, and its line of symmetry will be x = 3 x=3 , so I supposed f ( 3 ) = 0 f'(3)=0 .

Thus I integrated ( x 1 ) ( x 5 ) ( x 3 ) (x-1)(x-5)(x-3) and got x 4 12 x 3 + 46 x 2 60 x + C 4 \frac{x^4-12x^3+46x^2-60x+C}4 .

Because the coefficent of x 4 x^4 is 1, so I took f ( x ) = x 4 12 x 3 + 46 x 2 60 x + C f(x)=x^4-12x^3+46x^2-60x+C .

(If we add g ( x ) = m x + n g(x)=mx+n to f ( x ) f(x) , the tangent lines will still concide, so just as you said, c c and d d doesn't matter.)

X X - 2 years, 7 months ago

Log in to reply

@X X IMO, the biggest gap in your solution is that there is no clear reason why a line of symmetry is necessary for the conditions to hold.

While that is a true result (e.g. if follows from Chan's observation of what the function looks like), you will need to provide more justification.

Calvin Lin Staff - 2 years, 7 months ago

Wow, this is an awesome solution!

And it generalizes very easily for a common tangent line at any two values p p and q q : a = 2 ( p + q ) a = -2(p+q) and b = p 2 + q 2 + 4 p q b = p^2 + q^2 + 4pq with c c and d d both free.

Matthew Feig - 2 years, 7 months ago

Exact solution

Tehzeeb Zuhra - 2 years, 7 months ago

-54 is the correct answer prove me wrong.

Ali Abi Nassif - 2 years, 7 months ago

Log in to reply

54 34 -54 \neq 34 \qquad \blacksquare

Carlo Wood - 2 years, 7 months ago

Log in to reply

This made up my day.

Aldiputera Laksamana - 2 years, 7 months ago

Log in to reply

@Aldiputera Laksamana Thug life hhh

Hani Haddad - 2 years, 7 months ago

This is a great question

Sanjoy Chakraborty - 2 years, 7 months ago

Great solution

Hani Haddad - 2 years, 7 months ago

But why not (x-1)*(x-5)^3 ??

Hani Haddad - 2 years, 7 months ago

Log in to reply

Because it's a tangent line, those solutions only touch the tangent line, so they must have multiplicity 2.

Jerry McKenzie - 2 years, 7 months ago
Chew-Seong Cheong
Oct 26, 2018

Let the gradient of the straight line and hence that at ( 1 , f ( 1 ) ) (1, f(1)) and ( 5 , f ( 5 ) ) (5, f(5)) be m m . Then

{ m = f ( 5 ) f ( 1 ) 5 1 = 156 + 31 a + 6 b + c . . . ( 1 ) m = f ( 1 ) = 4 + 3 a + 2 b + c . . . ( 2 ) m = f ( 5 ) = 500 + 75 a + 10 b + c . . . ( 3 ) \begin{cases} m = \dfrac {f(5)-f(1)}{5-1} = 156 + 31a + 6b + c & ...(1) \\ m = f'(1) = 4 + 3a + 2b + c & ...(2) \\ m = f'(5) = 500+ 75a + 10b + c & ...(3) \end{cases}

{ ( 1 ) = ( 2 ) : 7 a + b = 38 . . . ( 4 ) ( 2 ) = ( 3 ) : 9 a + b = 62 . . . ( 5 ) \implies \begin{cases} (1) = (2): \quad 7a + b = - 38 & ...(4) \\ (2)=(3): \quad 9a + b = - 62 & ...(5) \end{cases}

From ( 5 ) ( 4 ) : 2 a = 24 a = 12 (5) - (4): \ 2a = -24 \implies a = - 12 . From ( 2 ) : 84 + b = 38 b = 46 (2): \ - 84 + b = -38 \implies b = 46 . Therefore, a + b = 12 + 46 = 34 a+b = -12+46 = \boxed{34} .

This is how I did it too.

Zac Mann - 2 years, 7 months ago

I also did it this way too. But I do like Chan Lye Lee's solution quite a bit more.

Dave Wiggins - 2 years, 7 months ago
Christoph Cox
Nov 6, 2018

I calculated the first derivative and set them to be equal to each other

f ( x ) = 4 x 3 + 3 a x 2 + 2 b x + c f'(x) = 4x^3 + 3ax^2 + 2bx + c

f ( 1 ) = 4 + 3 a + 2 b + c f'(1) = 4 + 3a + 2b + c

f ( 5 ) = 500 + 75 a + 10 b + c f'(5) = 500 + 75a + 10b + c

500 + 75 a + 10 b + c = 4 + 3 a + 2 b + c 500 + 75a + 10b + c = 4 + 3a + 2b + c

I then calculated the second derivative and set them to be equal to each other.

f ( x ) = 12 x 2 + 6 a x + 2 b f''(x) = 12x^2 + 6ax + 2b

f ( 1 ) = 12 + 6 a + 2 b f''(1) = 12 + 6a + 2b

f ( 5 ) = 300 + 30 a + 2 b f''(5) = 300 + 30a + 2b

From here, we solve the system of equations
500 + 75 a + 10 b + c = 4 + 3 a + 2 b + c 500+75a+10b+c = 4+3a+2b+c

300 + 30 a + 2 b = 12 + 6 a + 2 b 300 + 30a + 2b = 12 + 6a + 2b

We get
a = 12 a=-12

b = 46 b = 46

a + b = 34 . a + b = \boxed{34}.

Would this method always work?

Moderator note:

Note: Over all polynomials (and more generally, all functions), it is not true that if the tangent lines are the same, then the second derivatives are equal. However, when restricted to quartics, this turns out to be a happy coincidence.

The key is that, as pointed out by Chan Lye Lee, the quartic has the form

f ( x ) = A ( x j ) 2 ( x k ) 2 + m x + n , f(x) = A(x-j)^2 (x-k)^2 + mx + n,

where the identical tangent lines are at ( j , f ( j ) ) \left( j, f(j) \right) and ( k , f ( k ) ) \left( k, f(k) \right) .

Then, since the second derivative is only affected by ( x j ) 2 ( x k ) 2 (x-j)^2(x-k)^2 , we can conclude that with respect to the line of symmetry at x = i + j 2 x=\frac{ i+j} { 2} , the first derivatives are negative of each other and so the second derivatives are equal to each other.

In addition, we can show this algebraically by calculating the second derivative: f ( x ) = 2 ( j 2 + 4 j k 6 j x + k 2 6 j x + 6 x 2 ) . f''(x) = 2 ( j^2 + 4jk - 6jx + k^2 - 6jx + 6x^2).
From here, we obtain f ( j ) = f ( k ) = 2 ( j k ) 2 f''(j) = f''(k) = 2 ( j-k)^2 . This makes it seem like a random coincidence, so I prefer the symmetry argument.

dang it i equated the first derivatives i should have equated the second derivatives because they make the equations easier

Krishna Karthik - 2 years, 7 months ago

good method

Krishna Karthik - 2 years, 7 months ago

I think the same way as you but b always give me 30 no 46, even when I solve the system of equations using a calculator

Roberto Narvaez Hernández - 2 years, 7 months ago

Looks like b could be anything. It drops out of the equation. I highly doubt that this method is valid. You should be equating first derivatives like Chew-Seong did.

Dave Wiggins - 2 years, 7 months ago

Log in to reply

This is a unique coincidence in the case of quartics. See my note in the solution.

Calvin Lin Staff - 2 years, 7 months ago

Yes. I had first thought: how would equating the second derivatives give you a correct answer and how are the second derivatives a at f(5) and f(1) equal?

thanks for clarifying my doubts, Mr. Lin

Krishna Karthik - 2 years, 7 months ago
Rocco Dalto
Nov 5, 2018

f ( x ) = x 4 + a x 3 + b x 2 + c x + d f ( x ) = 4 x 3 + 3 a x 2 + 2 b x + c f(x) = x^4 + ax^3 + bx^2 + cx + d \implies f'(x) = 4x^3 + 3ax^2 + 2bx + c

f ( 5 ) = 500 + 75 a + 10 b + c f'(5) = 500 + 75a + 10b + c and f ( 1 ) = 4 + 3 a + 2 b + c f'(1) = 4 + 3a + 2b + c and using the coordinates of the given points the slope

m = 624 + 124 a + 24 b + 4 c 4 m = \dfrac{624 + 124a + 24b + 4c}{4}

f ( 5 ) = m = f ( 1 ) 2000 + 300 a + 40 b = 624 + 124 a + 24 b f'(5) = m = f'(1) \implies 2000 + 300a + 40b = 624 + 124a + 24b and 16 + 12 a + 8 b = 624 + 124 a + 24 b 16 + 12a + 8b = 624 + 124a + 24b

\implies

11 a + b = 86 11a + b = -86

7 a b = 38 -7a - b = 38

a = 12 \implies a = -12 and b = 46 a + b = 34 b = 46 \implies a + b = \boxed{34} .

We know that f'(1) = f'(5). Solving this equation you obtain that 9a+b = -62. We know from the graph attached to the task that f(1) and f(5) lay on the same line. Thanks to it we can calculate f(5) as f(1)+4 f'(1). If you compare f(5) with f(1)+4 f'(1) you will obtain another relationship between a and b - 7a+b = -38. Now you have two equations from which you can easily calculate that a = -12 and b = 46, so a+b = 34.

Nico Adams
Nov 11, 2018

If we can find ONE function with this property, we can get a+b from that. The simplest is

f ( 1 ) = f ( 5 ) = 0 f(1)=f(5)=0 and

f ( 1 ) = f ( 5 ) = 0 f'(1)=f'(5)=0

If a polynomial has a factor (x-n)^2, then its value and slope are 0 at x=n. Thus,

f ( x ) = ( x 1 ) 2 ( x 5 ) 2 f(x) = (x-1)^2 * (x-5)^2

works here. It expands to

f ( x ) = x 4 12 x 3 + 46 x 2 60 x + 25 f(x)=x^4 - 12x^3 + 46x^2 - 60x + 25

where a+b = 34

We can then generalize to say that ANY polynomial with a=-12, b=46 has this property, and no others do.

  • f ( x ) + d f(x) + d would just translate f(x) upwards, preserving the tangent line. Thus d can have any value

  • f ( x ) + c x f(x) + cx would change the tangent line's slope, but preserve the line. Thus c can have any value

  • f ( x ) + b x 2 , f ( x ) + a x 3 f(x) + b'x^2, f(x) + a'x^3 (where a' and b' are different from a and b) would change the function's slope unevenly at every point, so that f'(1) would not equal f'(5):

f ( 1 ) = a + b f'(1) = a' + b'

f ( 5 ) = 25 a + 5 b f'(5) = 25a' + 5b'

There is no combination of a' and b' that would make these values of f'(x) equal except a'=b'=0. a and b MUST be exactly -12 and 46 respectively.

It's easy to see that the dotted line corresponds to g ( x ) = x g(x) = x and the problem is telling us that f f and g g are tangent at x = 1 , 5 x=1, 5 (i.e. each of these values should be a double root of the difference of the polynomials). So we have that f g f-g is a monic polynomial (leading coefficient is 1) that has a double root at 1 and at 5. Therefore:

f ( x ) g ( x ) = 1 × ( x 1 ) 2 ( x 5 ) 2 = x 4 12 x 3 + 46 x 2 59 x + 25 f(x) - g(x) = 1\times(x-1)^2(x-5)^2 = x^4-12x^3+46x^2-59x+25

And since g ( x ) = x g(x) = x we see that a = 12 , b = 46 a = -12, b = 46 . Therefore a + b = 34 a + b = 34

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...