How to obtain a polynomial with these conditions?Finding $p'(0)$ for the polynomial of least degree which has a local maximum at $x=1$ and a local minimum at $x=3$What is the minimum degree of a polynomial for it to satisfy the following conditions?Let $P$ be a 4-th degree real polynomial with 5 conditions given. How to compute $P(4)$?Solving polynomial problems with matrices and vectorsForce some polynomial to have certain roots.Find minimal polynomial over $mathbbQ[x]$.Find the constant term of polynomialDetermine polynomial function of degree 4.
How to gently end involvement with an online community?
How is linear momentum conserved in case of a freely falling body?
Changing JPEG to RAW to use on Lightroom?
“T” in subscript in formulas
How to make onclick function execute only once?
Why is there a difference between predicting on Validation set and Test set?
How to check whether a sublist exist in a huge database lists in a fast way?
Can a giant mushroom be used as a material to build watercraft or sailing ships?
To get so rich that you are not in need of anymore money
What does "rel" in `mathrel` and `stackrel` stands for?
Where does learning new skills fit into Agile?
Can RMSE and MAE have the same value?
What are the occurences of total war in the Native Americans?
How do proponents of Sola Scriptura address the ministry of those Apostles who authored no parts of Scripture?
Billiard balls collision
How to maximize the drop odds of the Essences in Diablo II?
"Opusculum hoc, quamdiu vixero, doctioribus emendandum offero."?
How can I unambiguously ask for a new user's "Display Name"?
How long do you think advanced cybernetic implants would plausibly last?
What is a natural problem in theory of computation?
Can an ISO file damage—or infect—the machine it's being burned on?
Prison offence - trespassing underwood fence
What should come first—characters or plot?
Limitations with dynamical systems vs. PDEs?
How to obtain a polynomial with these conditions?
Finding $p'(0)$ for the polynomial of least degree which has a local maximum at $x=1$ and a local minimum at $x=3$What is the minimum degree of a polynomial for it to satisfy the following conditions?Let $P$ be a 4-th degree real polynomial with 5 conditions given. How to compute $P(4)$?Solving polynomial problems with matrices and vectorsForce some polynomial to have certain roots.Find minimal polynomial over $mathbbQ[x]$.Find the constant term of polynomialDetermine polynomial function of degree 4.
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I want to construct a polynomial of degree at least 4 with local maximums at $(-2,1)$ and $(3,4)$ and local minimum at $(1,-2)$. It's easy to draw to have some idea of how $f$ is.
I've tried to solve a linear system with $f(x)=ax^4+bx^3+cx^2+dx+e$
$f(3)=4, f(1)=-2, f(-2)=1$
But I don't know what to do with $f'(x)$ because there are two variables left to solve the system but three local extremes' conditions to fix: $f'(-2)=0, f'(1)=0, f'(3)=0$.
polynomials
$endgroup$
add a comment |
$begingroup$
I want to construct a polynomial of degree at least 4 with local maximums at $(-2,1)$ and $(3,4)$ and local minimum at $(1,-2)$. It's easy to draw to have some idea of how $f$ is.
I've tried to solve a linear system with $f(x)=ax^4+bx^3+cx^2+dx+e$
$f(3)=4, f(1)=-2, f(-2)=1$
But I don't know what to do with $f'(x)$ because there are two variables left to solve the system but three local extremes' conditions to fix: $f'(-2)=0, f'(1)=0, f'(3)=0$.
polynomials
$endgroup$
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
5
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago
add a comment |
$begingroup$
I want to construct a polynomial of degree at least 4 with local maximums at $(-2,1)$ and $(3,4)$ and local minimum at $(1,-2)$. It's easy to draw to have some idea of how $f$ is.
I've tried to solve a linear system with $f(x)=ax^4+bx^3+cx^2+dx+e$
$f(3)=4, f(1)=-2, f(-2)=1$
But I don't know what to do with $f'(x)$ because there are two variables left to solve the system but three local extremes' conditions to fix: $f'(-2)=0, f'(1)=0, f'(3)=0$.
polynomials
$endgroup$
I want to construct a polynomial of degree at least 4 with local maximums at $(-2,1)$ and $(3,4)$ and local minimum at $(1,-2)$. It's easy to draw to have some idea of how $f$ is.
I've tried to solve a linear system with $f(x)=ax^4+bx^3+cx^2+dx+e$
$f(3)=4, f(1)=-2, f(-2)=1$
But I don't know what to do with $f'(x)$ because there are two variables left to solve the system but three local extremes' conditions to fix: $f'(-2)=0, f'(1)=0, f'(3)=0$.
polynomials
polynomials
edited 8 hours ago
J. W. Tanner
14.4k1 gold badge10 silver badges30 bronze badges
14.4k1 gold badge10 silver badges30 bronze badges
asked 9 hours ago
Aarón David Arroyo TorresAarón David Arroyo Torres
2331 silver badge10 bronze badges
2331 silver badge10 bronze badges
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
5
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago
add a comment |
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
5
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
5
5
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
You're right to be concerned. If you have six conditions and five unknowns, you would have to relax one condition and pray that the missing condition is met "accidentally".
One way around it is that your polynomial has to be at least degree four, so there's nothing stopping you from finding a fifth degree polynomial that meets all of those conditions. You have to be sure to double-check your solution to make sure that the turning points are all maxima or minima as you had hoped, though, because sometimes the gods of polynomial interpolation can be fickle.
$endgroup$
add a comment |
$begingroup$
Let $$ f'(x)=(ax+b)(x+2)(x-3)(x-1)$$
Upon integration you find a polynomial for $f(x)$ with parameters $a,b,c$ which could be found by the given information about $f(x)$ such as $f(-2)=1$ and so forth.
$endgroup$
add a comment |
$begingroup$
Let $f(x):=ax^4+bx^3+cx^2+dx+e$, so $f'(x)=4ax^3+3bx^2+2cx+d$ and $f''(x)=12ax^2+6bx+2c$
First off, the derivative of $f$ should vanish for $xin-2,1,3$, so:
$$begincases-32 a + 12 b - 4 c + d=0\ 4 a + 3 b + 2 c + d=0\ 108 a + 27 b + 6 c + d=0endcases$$
The second derivatives should be negative for local maxima and positive for local minima:
$$begincases24 a - 6 b + c<0\ 54 a + 9 b + c<0\6 a + 3 b + c>0endcases$$
Now, the additional conditions give:
$$begincases81 a + 27 b + 9 c + 3 d + e = 4\a + b + c + d + e + 2 = 0\16 a - 8 b + 4 c - 2 d + e =1 endcases$$
Wolfram Alpha says that no solutions exist. I checked by hand, imposing only 5 out of 6 conditions each time, and if my calculations didn't go extremely wrong, there should indeed be no such polynomials.
$endgroup$
add a comment |
$begingroup$
Hint
This makes it way so harder. As the extrema happen at $-2,1,3$, then these must stand as the roots of the 1st order differentiation i.e.$$f'(x)=a(x+2)(x-1)(x-3)g(x)$$ where $g(x)$ is another polynomial that can be taken equal to $1$ in its simplest case. For deciding whether the extrema are minimum or maximum, you can use the 2nd order differentiation test and to obtain $f(x)$ integrate $f'(x)$.
P.S.
If the problem had no solution with $g(x)=1$, try a more general form of $g(x)$.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3333964%2fhow-to-obtain-a-polynomial-with-these-conditions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You're right to be concerned. If you have six conditions and five unknowns, you would have to relax one condition and pray that the missing condition is met "accidentally".
One way around it is that your polynomial has to be at least degree four, so there's nothing stopping you from finding a fifth degree polynomial that meets all of those conditions. You have to be sure to double-check your solution to make sure that the turning points are all maxima or minima as you had hoped, though, because sometimes the gods of polynomial interpolation can be fickle.
$endgroup$
add a comment |
$begingroup$
You're right to be concerned. If you have six conditions and five unknowns, you would have to relax one condition and pray that the missing condition is met "accidentally".
One way around it is that your polynomial has to be at least degree four, so there's nothing stopping you from finding a fifth degree polynomial that meets all of those conditions. You have to be sure to double-check your solution to make sure that the turning points are all maxima or minima as you had hoped, though, because sometimes the gods of polynomial interpolation can be fickle.
$endgroup$
add a comment |
$begingroup$
You're right to be concerned. If you have six conditions and five unknowns, you would have to relax one condition and pray that the missing condition is met "accidentally".
One way around it is that your polynomial has to be at least degree four, so there's nothing stopping you from finding a fifth degree polynomial that meets all of those conditions. You have to be sure to double-check your solution to make sure that the turning points are all maxima or minima as you had hoped, though, because sometimes the gods of polynomial interpolation can be fickle.
$endgroup$
You're right to be concerned. If you have six conditions and five unknowns, you would have to relax one condition and pray that the missing condition is met "accidentally".
One way around it is that your polynomial has to be at least degree four, so there's nothing stopping you from finding a fifth degree polynomial that meets all of those conditions. You have to be sure to double-check your solution to make sure that the turning points are all maxima or minima as you had hoped, though, because sometimes the gods of polynomial interpolation can be fickle.
answered 8 hours ago
Matthew DalyMatthew Daly
2,9181 silver badge21 bronze badges
2,9181 silver badge21 bronze badges
add a comment |
add a comment |
$begingroup$
Let $$ f'(x)=(ax+b)(x+2)(x-3)(x-1)$$
Upon integration you find a polynomial for $f(x)$ with parameters $a,b,c$ which could be found by the given information about $f(x)$ such as $f(-2)=1$ and so forth.
$endgroup$
add a comment |
$begingroup$
Let $$ f'(x)=(ax+b)(x+2)(x-3)(x-1)$$
Upon integration you find a polynomial for $f(x)$ with parameters $a,b,c$ which could be found by the given information about $f(x)$ such as $f(-2)=1$ and so forth.
$endgroup$
add a comment |
$begingroup$
Let $$ f'(x)=(ax+b)(x+2)(x-3)(x-1)$$
Upon integration you find a polynomial for $f(x)$ with parameters $a,b,c$ which could be found by the given information about $f(x)$ such as $f(-2)=1$ and so forth.
$endgroup$
Let $$ f'(x)=(ax+b)(x+2)(x-3)(x-1)$$
Upon integration you find a polynomial for $f(x)$ with parameters $a,b,c$ which could be found by the given information about $f(x)$ such as $f(-2)=1$ and so forth.
answered 8 hours ago
Mohammad Riazi-KermaniMohammad Riazi-Kermani
52.4k4 gold badges27 silver badges73 bronze badges
52.4k4 gold badges27 silver badges73 bronze badges
add a comment |
add a comment |
$begingroup$
Let $f(x):=ax^4+bx^3+cx^2+dx+e$, so $f'(x)=4ax^3+3bx^2+2cx+d$ and $f''(x)=12ax^2+6bx+2c$
First off, the derivative of $f$ should vanish for $xin-2,1,3$, so:
$$begincases-32 a + 12 b - 4 c + d=0\ 4 a + 3 b + 2 c + d=0\ 108 a + 27 b + 6 c + d=0endcases$$
The second derivatives should be negative for local maxima and positive for local minima:
$$begincases24 a - 6 b + c<0\ 54 a + 9 b + c<0\6 a + 3 b + c>0endcases$$
Now, the additional conditions give:
$$begincases81 a + 27 b + 9 c + 3 d + e = 4\a + b + c + d + e + 2 = 0\16 a - 8 b + 4 c - 2 d + e =1 endcases$$
Wolfram Alpha says that no solutions exist. I checked by hand, imposing only 5 out of 6 conditions each time, and if my calculations didn't go extremely wrong, there should indeed be no such polynomials.
$endgroup$
add a comment |
$begingroup$
Let $f(x):=ax^4+bx^3+cx^2+dx+e$, so $f'(x)=4ax^3+3bx^2+2cx+d$ and $f''(x)=12ax^2+6bx+2c$
First off, the derivative of $f$ should vanish for $xin-2,1,3$, so:
$$begincases-32 a + 12 b - 4 c + d=0\ 4 a + 3 b + 2 c + d=0\ 108 a + 27 b + 6 c + d=0endcases$$
The second derivatives should be negative for local maxima and positive for local minima:
$$begincases24 a - 6 b + c<0\ 54 a + 9 b + c<0\6 a + 3 b + c>0endcases$$
Now, the additional conditions give:
$$begincases81 a + 27 b + 9 c + 3 d + e = 4\a + b + c + d + e + 2 = 0\16 a - 8 b + 4 c - 2 d + e =1 endcases$$
Wolfram Alpha says that no solutions exist. I checked by hand, imposing only 5 out of 6 conditions each time, and if my calculations didn't go extremely wrong, there should indeed be no such polynomials.
$endgroup$
add a comment |
$begingroup$
Let $f(x):=ax^4+bx^3+cx^2+dx+e$, so $f'(x)=4ax^3+3bx^2+2cx+d$ and $f''(x)=12ax^2+6bx+2c$
First off, the derivative of $f$ should vanish for $xin-2,1,3$, so:
$$begincases-32 a + 12 b - 4 c + d=0\ 4 a + 3 b + 2 c + d=0\ 108 a + 27 b + 6 c + d=0endcases$$
The second derivatives should be negative for local maxima and positive for local minima:
$$begincases24 a - 6 b + c<0\ 54 a + 9 b + c<0\6 a + 3 b + c>0endcases$$
Now, the additional conditions give:
$$begincases81 a + 27 b + 9 c + 3 d + e = 4\a + b + c + d + e + 2 = 0\16 a - 8 b + 4 c - 2 d + e =1 endcases$$
Wolfram Alpha says that no solutions exist. I checked by hand, imposing only 5 out of 6 conditions each time, and if my calculations didn't go extremely wrong, there should indeed be no such polynomials.
$endgroup$
Let $f(x):=ax^4+bx^3+cx^2+dx+e$, so $f'(x)=4ax^3+3bx^2+2cx+d$ and $f''(x)=12ax^2+6bx+2c$
First off, the derivative of $f$ should vanish for $xin-2,1,3$, so:
$$begincases-32 a + 12 b - 4 c + d=0\ 4 a + 3 b + 2 c + d=0\ 108 a + 27 b + 6 c + d=0endcases$$
The second derivatives should be negative for local maxima and positive for local minima:
$$begincases24 a - 6 b + c<0\ 54 a + 9 b + c<0\6 a + 3 b + c>0endcases$$
Now, the additional conditions give:
$$begincases81 a + 27 b + 9 c + 3 d + e = 4\a + b + c + d + e + 2 = 0\16 a - 8 b + 4 c - 2 d + e =1 endcases$$
Wolfram Alpha says that no solutions exist. I checked by hand, imposing only 5 out of 6 conditions each time, and if my calculations didn't go extremely wrong, there should indeed be no such polynomials.
answered 8 hours ago
Mr. XcoderMr. Xcoder
8794 silver badges21 bronze badges
8794 silver badges21 bronze badges
add a comment |
add a comment |
$begingroup$
Hint
This makes it way so harder. As the extrema happen at $-2,1,3$, then these must stand as the roots of the 1st order differentiation i.e.$$f'(x)=a(x+2)(x-1)(x-3)g(x)$$ where $g(x)$ is another polynomial that can be taken equal to $1$ in its simplest case. For deciding whether the extrema are minimum or maximum, you can use the 2nd order differentiation test and to obtain $f(x)$ integrate $f'(x)$.
P.S.
If the problem had no solution with $g(x)=1$, try a more general form of $g(x)$.
$endgroup$
add a comment |
$begingroup$
Hint
This makes it way so harder. As the extrema happen at $-2,1,3$, then these must stand as the roots of the 1st order differentiation i.e.$$f'(x)=a(x+2)(x-1)(x-3)g(x)$$ where $g(x)$ is another polynomial that can be taken equal to $1$ in its simplest case. For deciding whether the extrema are minimum or maximum, you can use the 2nd order differentiation test and to obtain $f(x)$ integrate $f'(x)$.
P.S.
If the problem had no solution with $g(x)=1$, try a more general form of $g(x)$.
$endgroup$
add a comment |
$begingroup$
Hint
This makes it way so harder. As the extrema happen at $-2,1,3$, then these must stand as the roots of the 1st order differentiation i.e.$$f'(x)=a(x+2)(x-1)(x-3)g(x)$$ where $g(x)$ is another polynomial that can be taken equal to $1$ in its simplest case. For deciding whether the extrema are minimum or maximum, you can use the 2nd order differentiation test and to obtain $f(x)$ integrate $f'(x)$.
P.S.
If the problem had no solution with $g(x)=1$, try a more general form of $g(x)$.
$endgroup$
Hint
This makes it way so harder. As the extrema happen at $-2,1,3$, then these must stand as the roots of the 1st order differentiation i.e.$$f'(x)=a(x+2)(x-1)(x-3)g(x)$$ where $g(x)$ is another polynomial that can be taken equal to $1$ in its simplest case. For deciding whether the extrema are minimum or maximum, you can use the 2nd order differentiation test and to obtain $f(x)$ integrate $f'(x)$.
P.S.
If the problem had no solution with $g(x)=1$, try a more general form of $g(x)$.
answered 8 hours ago
Mostafa AyazMostafa Ayaz
19.6k3 gold badges10 silver badges42 bronze badges
19.6k3 gold badges10 silver badges42 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3333964%2fhow-to-obtain-a-polynomial-with-these-conditions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
I mean the point (x,y)=(1,-2) is a local minumum.
$endgroup$
– Aarón David Arroyo Torres
9 hours ago
$begingroup$
What happens when you write out the linear equations defined by the derivative conditions?
$endgroup$
– Travis
9 hours ago
5
$begingroup$
You want 6 conditions for a 4th order polynomial. I think you have to set 5 and hope you get lucky.
$endgroup$
– Matthew Daly
9 hours ago