f ( x ) = i = 1 ∑ 5 0 ( x + 2 i − 1 ) ( x + 2 i )
Let f ( x ) be defined as the function above. Denote S as the sum of the roots of f ( x ) and P as the product of its roots. Find ⌊ S + P ⌋ .
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.
That's a very systematic and organized explanation. Wonderful work!
Same method. :)
That's 2 i = 1 ∑ 5 0 i not 2 i = 1 ∑ 5 0 1 in the third line. Otherwise - great post.
Log in to reply
Thanks for reading through and like the solution.
Your solution looks very organised but I am new to this and cant even understand what you are doing after third line. Anyway nice solution.
If we expand the summation , we get, f ( x ) = ( x + 1 ) ( x + 2 ) + ( x + 3 ) ( x + 4 ) + ( x + 5 ) ( x + 6 ) + ⋯ ⋯ + ( x + 9 9 ) ( x + 1 0 0 ) Little bit of simplifying and we get, f ( x ) = 5 0 x 2 + x ( 1 + 2 + 3 + ⋯ ⋯ + 9 9 + 1 0 0 ) + ( 1 × 2 + 3 × 4 + 5 × 6 + ⋯ ⋯ + 9 9 × 1 0 0 ) So, sum of the roots is negative of coefficient of x divided by coefficient of x 2 , S = − 5 0 1 + 2 + 3 + 4 + ⋯ ⋯ + 9 9 + 1 0 0 = − 5 0 n = 1 ∑ 1 0 0 n = − 1 0 1 And product is equal to coefficient of term independent of x divided by coefficient of x 2 , P = 5 0 1 × 2 + 3 × 4 + ⋯ ⋯ + 9 9 × 1 0 0 = 5 0 n = 1 ∑ 5 0 ( 2 n − 1 ) ( 2 n ) = 5 0 n = 1 ∑ 5 0 4 n 2 − 2 n = 5 0 4 n = 1 ∑ 5 0 n 2 − 2 n = 1 ∑ 5 0 n = 5 0 6 4 ( 5 0 ) ( 5 1 ) ( 1 0 1 ) − 2 2 ( 5 0 ) ( 5 1 ) = 3 3 8 3 Now , S = − 1 0 1 and P = 3 3 8 3 . Addind them and taking its floor , ⌊ S + P ⌋ = ⌊ ( − 1 0 1 ) + 3 3 8 3 ⌋ = 3 2 8 2
It would be better to clarify how you simplified the calculations for S and P . Bonus question: What would the answer be if the summation is changed to: i = 1 ∑ 5 0 ( x + 2 i − 2 ) ( x + 2 i − 1 ) ( x + 2 i ) ?
I see this isn't just an original problem, it's a certified Original problem. Nice.
Log in to reply
Thanks a lot Jake :).
Log in to reply
Nice problem. Are you safe in Chennai Flood?
Log in to reply
@Dev Sharma – Hey, I am in Visakhapatnam, Andhra Pradesh ! So definitely safe XD.
Log in to reply
@Venkata Karthik Bandaru – Oh. I am SORRY. I thought you live in Tamil Nadu.
In Response to the Challenge Master Bonus Question
Let the given function be f ( x ) = i = 1 ∑ 5 0 ( x + 2 i − 2 ) ( x + 2 i − 1 ) ( x + 2 i ) . Then, we need to find ⌊ S + P ⌋ , where S denotes sum of roots and P denotes product of roots of f ( x ) .
Solution :-
Expanding the summation, f ( x ) = x ( x + 1 ) ( x + 2 ) + ( x + 2 ) ( x + 3 ) ( x + 4 ) + ⋯ ⋯ + ( x + 9 8 ) ( x + 9 9 ) ( x + 1 0 0 ) .
We easily see that there are 5 0 groupings of cubic terms like [ x ( x + 1 ) ( x + 2 ) ] , [ ( x + 2 ) ( x + 3 ) ( x + 4 ) ] , . . . . . . , [ ( x + 9 8 ) ( x + 9 9 ) ( x + 1 0 0 ) ] , and so after summing up all these, we get the coefficient of x 3 as 5 0 .
For the coefficient of x 2 , we see that it is ( 0 + 1 + 2 ) + ( 2 + 3 + 4 ) + ( 4 + 5 + 6 ) + ⋯ ⋯ + ( 9 8 + 9 9 + 1 0 0 ) = i = 1 ∑ 5 0 ( 6 n − 3 ) = 7 5 0 0 .
As we are only concerned with the sum of the roots and product of the roots of the cubic, it is not necessary to compute the coefficient of x in f ( x ) .
For the constant term, we see that it is ( 0 × 1 × 2 ) + ( 2 × 3 × 4 ) + ⋯ ⋯ + ( 9 8 × 9 9 × 1 0 0 ) = i = 1 ∑ 5 0 ( 2 i − 2 ) ( 2 i − 1 ) ( 2 i ) = i = 1 ∑ 5 0 8 i 3 − 1 2 i 2 + 4 i = 8 ( 2 5 × 5 1 ) 2 − ( 5 1 × 1 0 1 × 1 0 0 ) + ( 1 0 0 × 5 1 ) = 1 2 4 9 5 0 0 0 .
Hence, we can now calculate S and P from the Vieta Formula :-
S = c o e f f . o f x 3 − ( c o e f f . o f x 2 ) = 5 0 − 7 5 0 0 = ( − 1 5 0 )
P = c o e f f . o f x 3 − c o n s t a n t = 5 0 − 1 2 4 9 5 0 0 0 = ( − 2 4 9 9 0 0 ) .
Hence, ⌊ S + P ⌋ = − 2 5 0 1 5 0
Log in to reply
You @ mentioned me somewhere. Did u delete your comment. Nice explanation btw.
Log in to reply
Thanks you. I actually mentioned you so that you can proofread my solution, to make sure I didn't make the same mistake again :). Yes, I did delete that comment.
Problem Loading...
Note Loading...
Set Loading...
f ( x ) = i = 1 ∑ 5 0 ( x + 2 i − 1 ) ( x + 2 i ) = i = 1 ∑ 5 0 ( x 2 + ( 4 i − 1 ) x + ( 4 i 2 − 2 i ) ) = ( i = 1 ∑ 5 0 1 ) x 2 + ( 4 i = 1 ∑ 5 0 i − i = 1 ∑ 5 0 1 ) x + 4 i = 1 ∑ 5 0 i 2 − 2 i = 1 ∑ 5 0 i = 5 0 x 2 + ( 4 [ 2 ( 5 0 ) ( 5 1 ) ] − 5 0 ) x + 4 ( 6 ( 5 0 ) ( 5 1 ) ( 1 0 1 ) ) − 2 ( 2 ( 5 0 ) ( 5 1 ) ) = 5 0 x 2 + 5 0 5 0 x + 1 6 9 1 5 0
Using Vieta's formulas, we note that:
S = − 5 0 5 0 5 0 = − 1 0 1 and P = 5 0 1 6 9 1 5 0 = 3 3 8 3
⇒ ⌊ S + P ⌋ = ⌊ − 1 0 1 + 3 3 8 3 ⌋ = 3 2 8 2