#Polynomial question
114 messages · Page 1 of 1 (latest)
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close - Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
We do it using remainder theorm. It involves more of logical thinking than math
So, if u analyze it like this, it will work out
Here Q(x) is the quotient and R(x) is the remainder expression. Since we took a 4 degree polynomial along with Q(x), R(x) must be a 3 degree polynomial(a degree lesser than that)
If u analyze properly, u get r(x) as $x^{3}+2 x^{2} + 1$. I think you can figure it out from here.
TON 618
If you restrict the scope to polynomials of degree less than 4, then sure there should be a unique polynomial P
Otherwise aren't there multiple polynomials fitting any real value for P(40)?
Q(x) can be of any degree. I restricted the expression being multiplied to Q(x).
So its true for all possible polynomials
Nah, you can add any multiple of (x-1)(x-2)(x-9) and the prerequisite is still satisfied, yet the value of P(40) varies
Under either restriction, sure, but neither restriction is given in the problem setting
Unable to parse the channel name
I'd advise you not to, yet
Man u need (x-40) there too. Else Q(x) may take a different value.
Why do I need it?
It does not matter to the values of P(1), P(2) and P(9)
But they've asked P(40). How else will the expression with Q(x) be zero
We don't know Q(x), so the idea is to eliminate it
Extraneous
how else will u eliminate Q(x)
Why do we need to...
to make that term 0
u dont know Q(x)
Look he got it. Love u bro
Exactly, there are infinitely many polynomials that can fit into Q(x), why take 0
Q(x) is not zero. The terms multiplied to it are
Fitting different polynomials in can result in different values for P(40), which satisfy the problem setting all the same
Sorry, the onus is on this:
why pick (x-1)(x-2)(x-9)(x-40) instead of (x-1)(x-2)(x-9)?
In a way you restricted the degree of R(x) to 3, but that isn't required by the problem setting
Coz if we put 40 there, we won't need to worry about the infinitely many values that Q(x) takes
so that when x = 40, (40-40) = 0 and Q(x) is meaningless
That's what I am trying to say for that long
Sorry I am too busy to really evaluate, but you can construct a degree 3 polynomial P using Lagrange polynomials,
where P(1) = 4, P(2) = 17, P(9) = 892 and P(40) = 0
That would satisfy the problem setting all the same
it's not a 4 degree polynomial. Coz Q(x) can have Any degree.
I know, I am saying P(40) is not necessarily 67201
It is necessarily 67201
Lemme explain
@modest stirrup Can you help make a Lagrange interpolation?
Clash of two smart ppl🔥🔥
Degree 3, P(1) = 4, P(2) = 17, P(9) = 892 and P(40) = 0
Give example
oooh
who did bro just spawn
\begin{array}{c} \left(\left(14-\frac{21259 (x-9)}{45942}\right) (x-2)+13\right) (x-1)+4 \ = \ -\frac{21259 x^3}{45942}+\frac{149716 x^2}{7657}-\frac{1948829 x}{45942}+\frac{209260}{7657} \end{array}
Rafain
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
Damn🔥🔥
well its enough to construct a degree 2 polynomial and just multiply it by (x - 40)
Put 40 now
True
No it wouldn't
I generated it with (40, 0) as an input
So its value at 40 is 0
unless we change their values first
because if we just do it blindly, the value at P(1) will get multiplied by -39
True true
anyways we do the old method, we find g_i(x) and sum em up
And yeah I am talking about real coefficients ofc. Don't generate one with imaginary coefficients
What?
Man I am trying to get your eyes open, don't embarrass yourself...
Rationals are real...
I am saying that if u generate another polynomial, do so
There are literally infinitely many polynomials passing through the three given points.
,w -21259/4594240^3 + 149716/765740^2 - 1948829/45942 * 40 + 209260/7657
The rule is that n points uniquely determine a polynomial of degree n - 1.
sry to interupt but i beleive there can be inf possibilities
But there are infinitely many polynomials of degree n or greater that pass through n points.
Thanks guys, please take over from here
I am calm enough to return to work, grateful to yall
g_0(x) = (x - 2)(x - 9)(x - 40)/(1 - 2)(1 - 9)(1 - 40) = -1/312 (x^3 - 51x^2 + 458x - 720)
g_1(x) = (x - 1)(x - 9)(x - 40)/(2 - 1)(2 - 9)(2 - 40) = 1/266 (x^3 - 50x^2 + 409x - 360)
g_2(x) = (x - 1)(x - 2)(x - 40)/(9 - 1)(9 - 2)(9 - 40) = -1/1736 (x^3 - 43x^2 + 122x - 80)
g_3(x) = (x - 1)(x - 2)(x - 9)/(40 - 1)(40 - 2)(40 - 9) = 1/45942 (x^3 - 12x + 29x - 18)
f(x) = 4 g0(x) + 17 g1(x) + 892 g2(x) + 0 g3(x)
shouldve told me to do Newton interpolation
What do you mean "if u analyze properly"? The biggest step, the one that's impossible because it yields infinitely many solutions, is the one you just skip over with a hand wave.
wait whats the problem with the question? you are given three points, you can use it to uniquely define a quadratic. then you plug in x = 40
It's not explicitly stated that P is quadratic.
it is implied
Implied how?
well theres only one definitive answer if you make a quadratic, which is the easiest to make out of all other options. for higher degrees anything can be an answer
so the solution is either "its a trick question, anything can be an answer" or you find the quadratic
And the answer is it's a trick question, or at least poorly written. As written there is no solution, and you always always always solve math problems as written, because if you just start assuming they meant something else you could wind up assuming literally anything.
then its probably the best strategy is to cover both bases and say "well the solution is any value because yadda yadda, but to still get marks i will write down the solution i think you wanted to see"
to both be right and give them what they expect to see
Sure, cover both correctness and prudence
if one's ability allows
welp i guess from here its easy enough to use just Newton or Lagrange interpolation
Just for instance, adding another point to the generator would yield another polynomial, albeit one of higher degree
I am sorry. I did not pay attention to the possibility that there can be infinite polynomials. We will get a unique polynomial for a degree less than 3 only.
degree equal to 2 specifically
All good man, learning opportunities everywhere
Yeah a degree lesser
Yap more, plot one where P(1) = P(2) = P(9) = 0 with degree 2
im just saying that, for example, P(1) = 1, P(2) = 2, P(3) = 3 has a polynomial of degree 1 going through these points
Yeah got what you meant, just messing around
lol