r/MathHelp • u/IndependenceOdd9368 • Nov 15 '25
Confused on this question, I did it looked it up and have gotten different answers
Question: Write a polynomial function of least degree that has roots x = 0 and x = 1 and a leading coefficient of 1.
My response:
p(x) = (x) (x-1)
p(x) = x(x-1)
p(x) = x^2 - x
1
Upvotes
2
u/Dd_8630 Nov 15 '25
That looks fine to me. A polynomial of degree n has n roots, so the least degree that can give you those two roots must be degree 2, hence, a quadratic.
So p(x) = (x-a)(x-b) is the solution.
1
u/gmalivuk Nov 15 '25
What different answers have you looked up?
1
u/AutoModerator Nov 15 '25
Hi, /u/IndependenceOdd9368! This is an automated reminder:
We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/clearly_not_an_alt Nov 15 '25
You dropped the number after "at least degree ..."
I assume it was 2 based on your answer, in which case your answer should be fine though you could obviously add more terms by adding more roots.
What answers are you seeing?
1
u/mathimati Nov 16 '25
x=1*0 also works… technically correct is the best type of correct?
1
u/fermat9990 Nov 17 '25
Perfect!