Quadratic Interpolation question

Click For Summary
SUMMARY

The discussion focuses on deriving a quadratic polynomial p(x) = ax² + bx + c using the conditions p(1) = f(1), p'(1) = f'(1), and p''(1) = f''(1) for the function f(x) = xe^(x-1). The user is learning Linear Algebra and seeks to apply the Gauss or Gauss-Jordan methods to solve the system of equations for the coefficients a, b, and c. The challenge lies in incorporating derivatives into the matrix formulation and understanding the arrangement of coefficients within the matrix.

PREREQUISITES
  • Understanding of quadratic polynomials and their derivatives
  • Familiarity with Linear Algebra concepts, specifically matrix operations
  • Knowledge of the Gauss and Gauss-Jordan elimination methods
  • Basic calculus, including differentiation of functions
NEXT STEPS
  • Study the application of Gauss-Jordan elimination in solving systems of equations
  • Learn about constructing and manipulating matrices for polynomial interpolation
  • Explore the properties of derivatives and their role in polynomial approximation
  • Investigate the relationship between coefficients in polynomial equations and their derivatives
USEFUL FOR

Students of Linear Algebra, mathematicians working on polynomial interpolation, and anyone interested in applying matrix methods to solve systems of equations involving derivatives.

doggitz
Messages
3
Reaction score
0
I have to find a system of linear equations to determine a quadratic polynomial

p(x) = ax2+bx+c

Given the conditions:

p(1) = f(1)
p'(1) = f'(1)
p''(1) = f''(1)

where f(x) = xex-1

I know:

p(x) = ax2+bx+c
p'(x) = 2ax +b
p''(x) = 2x

f(x) = xex-1
f'(x) = ex-1 + xex-1
f''(x) = 2ex-1 + xex-1

I am just learning Linear Algebra, and I am in the early Chapters of my book, so I can only use the Gauss method or the Gauss-Jordan method for this matrix. Just to clarify, I am hoping to return to school, so I am trying to learn this on my own.

I understand that the x values are known and I am finding the coefficients values in the matrix operations, but I am a little confused about the column order of the 'a' and 'b' coefficients.

If

Code:
A = | x[SUP]2[/SUP]  x  1  | 
    | x[SUP]2[/SUP]  x  1  | 
    | x[SUP]2[/SUP]  x  1  |

is my matrix "formula" how do I account for the 'a' coefficient "changing order" to the lower order coefficient of x, and what does my matrix look like to solve this problem?

Without the derivatives I am not confused, I would substitute for the 'x' values and set each equation to the corresponding 'y' value and solve the matrix to get the values of the coefficients for 'a' 'b' and 'c'. With the derivative involved I am in need of help.
 
Physics news on Phys.org
This isn't as complicated as you think. f(1)=1 and p(1)=a+b+c. So your first equation is 1=a+b+c. What are the second and third? It's not really about the x's.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
8
Views
1K
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K