Q. 76

Question

Curve Fitting Find the function f(x)=ax3+bx2+cx+d for which f(-2)=-10, f(-1)=3, f(1)=5, and f(3)=15

Step-by-Step Solution

Verified
Answer

f(x)=x3-2x2+6

1Step 1. Given information

We have been given:

f(-2)=-10, f(-1)=3, f(1)=5 and f(3)=15

We have to find f(x)=ax3+bx2+cx+d.

2Step 2. Put x = - 2 in the function f ( x ) = a x 3 + b x 2 + c x + d .

a(2)3+b(2)2+c(2)+d=108a+4b2c+d=10

3Step 3. Put x = - 1 in the function f ( x ) = a x 3 + b x 2 + c x + d .

a(1)3+b(1)2+c(1)+d=3a+bc+d=3

4Step 4. Put x = 1 in the function f ( x ) = a x 3 + b x 2 + c x + d .

a(1)3+b(1)2+c(1)+d=5a+b+c+d=5

5Step 5. Put x = 3 in the function f ( x ) = a x 3 + b x 2 + c x + d .

a(3)3+b(3)2+c(3)+d=1527a+9b+3c+d=15

6Step 6. Write the system of equations and corresponding augmented matrix

8a+4b2c+d    =10a+bc+d    =3a+b+c+d    =527a+9b+3c+d    =15The corresponding augmented matrix is:84211011113111152793115

7Step 7. Perform elementary row operations

R1R311115111138421102793115R2R2+R1;R3R3+8R1;R4R427R1111150202801269300182426120R3R36R2;R4R4+9R2:11115020280063180024848

8Step 8. Perform more row operations

R212R2;R4R4+4R3:111150101400631800020120R313R3;R4120R4:11115010140021600016

9Step 9. Solve for a,b,c and d

a+b+c+d    =5b+d    =42cd    =6d    =6d=6(3):2c6=6c=0(2):b+6=4b=2(1):a2+6=5a=1

Therefore, the function will be f(x)=x3-2x2+6.