Are There Closed Form Versions for Cubic Polynomials with 3 or 4 Points?

  • Thread starter Thread starter hotvette
  • Start date Start date
  • Tags Tags
    Cubic Forms
Click For Summary
SUMMARY

This discussion addresses the existence of closed form solutions for cubic polynomials that pass through three or four specific points. It is established that while a unique cubic polynomial can be derived for four points using the Lagrange polynomial formula, the same does not apply for three points, where an infinite number of cubic polynomials can exist. The provided formulas for cubic polynomials through one, two, and four points are detailed, emphasizing the uniqueness of the cubic polynomial for four points and the flexibility of cubic forms for fewer points.

PREREQUISITES
  • Understanding of cubic polynomials and their general forms
  • Familiarity with Lagrange interpolation for polynomial fitting
  • Knowledge of polynomial degree and uniqueness in interpolation
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study Lagrange interpolation in detail for polynomial fitting
  • Explore the properties of cubic polynomials in algebra
  • Research the implications of polynomial uniqueness in interpolation
  • Learn about numerical methods for polynomial approximation
USEFUL FOR

Mathematicians, computer scientists, and students studying polynomial interpolation and numerical analysis will benefit from this discussion.

hotvette
Homework Helper
Messages
1,001
Reaction score
11
Here's an interesting question. I'm aware of closed forms of cubic polynomials that go through 1 or 2 specific (x,y) points. Are there closed form versions for 3 or 4 points?

1 pt: y = a(x-x_0)^3 + b(x-x_0)^2 + c(x-x_0) + y_0

2 pt: y = a(x-x_0)^2(x-x_1)\ +\ b(x-x_0)(x-x_1)^2 \ +\ \frac{y_0(x-x_1)^3}{(x_0-x_1)^3} \ +\ \frac{y_1(x-x_0)^3}{(x_1-x_0)^3}

3 pt: y = \ ?

4 pt: y = \ ?

I don't think there are.
 
Last edited:
Mathematics news on Phys.org
Given any 4 points in the plane, there exist a unique cubic polynomial whose graph goes through those 4 points. Given 1, 2, or 3 points, there exist an infinite number of different cubics passing through those points. In your first example, yes, different choices for a, b, c give different cubics through (x_0,y_0). In your second example, different choices for a and b give different cubics through (x_0,y_0) and (x_1,y_1). (I think you don't really need the cubes in the last two fractions.)

For 3 points, what's wrong with
y= a(x-x_0)(x-x_1)(x-x_2)+\frac{y_0(x-x_1)(x-x_2)}{(x_0-x_1)(x_0-x_2)}+ \frac{y_1(x-x_0)(x-x_2)}{(x_1-x_0)(x_1-x_2)}+ \frac{y_2(x-x_0)(x-x_1)}{(x_2-x_1)(x_2-x_0)}

for 4 points, the unique cubic is given by the LaGrange polynomial
y= \frac{y_0(x-x_1)(x-x_2)(x-x_3)}{(x_0-x_1)(x_0-x_2)(x_0-x_3)}+\frac{y_1(x-x_0)(x-x_2)(x-x_3)}{(x_1-x_0)(x_1-x_2)(x_1-x_3)}+\frac{y_2(x-x_0)(x-x_1)(x-x_3)}{(x_2-x_0)(x_2-x_1)(x_2-x_3)}+\frac{y_3(x-x_0)(x-x_1)(x-x_2)}{(x_3-x_0)(x_3-x_1)(x_3-x_2)}
 
Thanks! I should have known the 4-pt. verison. Lagrange. Of course. The 3-pt version I haven't seen before. And you are right, don't need cubes in the last two fractions for the 2-pt version. Thanks.
 
Last edited:
For the 3 pt version, I just extended what you did with 1 and 2 pts! The fractions are, of course, the Lagrange formula for a quadratic through the three points and the first term is a cubic that is 0 at each given point.
 
Looking at it all now, it makes perfect logical sense. Thanks.
 
Actually, the same 4-pt form can be used for all situations (0 fixed points - 4 fixed points). See attachment.
.
 

Attachments

Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
4K
  • · Replies 0 ·
Replies
0
Views
423
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K