Zero's question at Yahoo Answers regarding polynomial fitting

In summary: You're like a math magician!In summary, the given information describes a fourth-degree polynomial with x-intercepts of -12, -6, and 6 and a y-intercept of -432. The polynomial is positive only on the interval (-12, -6) and can be written as f(x) = -1/6(x+12)(x+6)(x-6)^2. After expanding, the polynomial is f(x) = -1/6x^4 - x^3 + 18x^2 + 36x - 432.
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

Write a function for the polynomial that fits the following description.?

write a function for the polynomial that fits the following description.

p is a fourth-degree polynomial with x-intercepts -12, -6, and 6 and y-intercept -432;
p(x) is positive only on the interval (-12 , -6 ).

Here is a link to the question:

Write a function for the polynomial that fits the following description.? - Yahoo! Answers

I have posted a link there to this topic so the OP can find my response.
 
Mathematics news on Phys.org
  • #2
Hello Zero,

From the given information, we know the polynomial must have a graph resembling the following:

View attachment 629

Since the function does not pass through the $x$-axis at $x=6$, and it is a quartic, meaning it can have at most 4 roots, we know this root is of multiplicity 2.

Now, in order to have a negative $y$-intercept, we know it must have the form:

$f(x)=-k(x+12)(x+6)(x-6)^2$ where $0<k$

To determine $k$, we may use the information regarding its $y$ intercept as follows:

$f(0)=-k(0+12)(0+6)(0-6)^2=-432$

$-12\cdot6^3k=-432=-2\cdot6^3$

$\displaystyle k=\frac{1}{6}$

Hence:

$\displaystyle f(x)=-\frac{1}{6}(x+12)(x+6)(x-6)^2$

Since we are asked for a polynomial, we should expand it fully to find:

$\displaystyle f(x)=-\frac{1}{6}(x+12)(x-6)(x+6)(x-6)=$

$\displaystyle -\frac{1}{6}(x^2+6x-72)(x^2-36)=$

$\displaystyle -\frac{1}{6}(x^4-36x^2+6x^3-216x-72x^2+2592)=$

$\displaystyle -\frac{1}{6}(x^4+6x^3-108x^2-216x+2592)=$

$\displaystyle -\frac{1}{6}x^4-x^3+18x^2+36x-432$
 

Attachments

  • zero.jpg
    zero.jpg
    5.8 KB · Views: 41
Last edited:
  • #3
MarkFL said:
Hello Zero,

From the given information, we know the polynomial must have a graph resembling the following:

View attachment 629

Since the function does not pass through the $x$-axis at $x=6$, and it is a quartic, meaning it can have at most 4 roots, we know this root is of multiplicity 2.

Now, in order to have a negative $y$-intercept, we know it must have the form:

$f(x)=-k(x+12)(x+6)(x-6)^2$ where $0<k$

To determine $k$, we may use the information regarding its $y$ intercept as follows:

$f(0)=-k(0+12)(0+6)(0-6)^2=-432$

$-12\cdot6^3k=-432=-2\cdot6^3$

$\displaystyle k=\frac{1}{6}$

Hence:

$\displaystyle f(x)=-\frac{1}{6}(x+12)(x+6)(x-6)^2$

Since we are asked for a polynomial, we should expand it fully to find:

$\displaystyle f(x)=-\frac{1}{6}(x+12)(x-6)(x+6)(x-6)=$

$\displaystyle -\frac{1}{6}(x^2+6x-72)(x^2-36)=$

$\displaystyle -\frac{1}{6}(x^4-36x^2+6x^3-216x-72x^2+2592)=$

$\displaystyle -\frac{1}{6}(x^4+6x^3-108x^2-216x+2592)=$

$\displaystyle -\frac{1}{6}x^4-x^3+18x^2+36x-432$

I really dig your ability to present solutions in a clear and concise manner
 

Related to Zero's question at Yahoo Answers regarding polynomial fitting

1. What is polynomial fitting?

Polynomial fitting is a statistical method used to find a curve that best fits a set of data points. It involves finding a polynomial equation that passes through all the given points.

2. How is polynomial fitting different from linear regression?

While linear regression involves finding a straight line that best fits the data points, polynomial fitting allows for more complex curves by using higher order polynomial equations.

3. What are the applications of polynomial fitting?

Polynomial fitting is commonly used in fields such as engineering, economics, and data analysis to model real-world data and make predictions.

4. What is the process of polynomial fitting?

The process of polynomial fitting involves selecting the appropriate degree of the polynomial, finding the coefficients using a mathematical method such as least squares, and then evaluating the resulting curve to determine its accuracy.

5. What are the limitations of polynomial fitting?

Polynomial fitting can be prone to overfitting, where the curve fits the given data points perfectly but does not accurately represent the overall trend of the data. It also requires a significant amount of data points to accurately capture the underlying trend.

Similar threads

  • General Math
Replies
1
Views
742
  • General Math
Replies
19
Views
1K
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
1
Views
942
Replies
3
Views
2K
Replies
6
Views
2K
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
24
Views
843
Back
Top