Asked by Cassidy
I'm having a hard time figuring out a quadratic model for this data.
x y
----------
1 3
2 13
3 31
4 57
5 91
6 133
How do I go about doing this?
Is there a website that could help me?
x y
----------
1 3
2 13
3 31
4 57
5 91
6 133
How do I go about doing this?
Is there a website that could help me?
Answers
Answered by
MathMate
First show that this is a quadratic relationship by taking differences and second differences:
y dy d<sup>2</sup>y
3 10 8
13 18 8
31 26 8
57 34 8
91 42 8
133
If the second difference is constant, it is a quadratic relationship.
Assume the quadratic model as:
f(x)=ax<sup>2</sup> + bx + c
then
f(x+1)=a(x+1)^2+b(x+1)+c
and
f(x+1)-f(x)=2ax+b+a
Similarly,
f(x+2)-f(x+1)=2ax+b+3a
f(x+3)-f(x+2)=2ax+b+5a
....
Thus, the second difference = 2a
2a=8
a=4
By substituting values of x and a into one of the formulas, b can be found
for x=1,
dx=10
2ax+b+a=10
b=-2
Substitute a and b in f(1), we get
2(1)<sup>2</sup>-2(1)+c=3
c=1
Thus
f(x)=4x<sup>2</sup>-2x+1
check:
f(1)=3
f(3)=31
f(6)=133
y dy d<sup>2</sup>y
3 10 8
13 18 8
31 26 8
57 34 8
91 42 8
133
If the second difference is constant, it is a quadratic relationship.
Assume the quadratic model as:
f(x)=ax<sup>2</sup> + bx + c
then
f(x+1)=a(x+1)^2+b(x+1)+c
and
f(x+1)-f(x)=2ax+b+a
Similarly,
f(x+2)-f(x+1)=2ax+b+3a
f(x+3)-f(x+2)=2ax+b+5a
....
Thus, the second difference = 2a
2a=8
a=4
By substituting values of x and a into one of the formulas, b can be found
for x=1,
dx=10
2ax+b+a=10
b=-2
Substitute a and b in f(1), we get
2(1)<sup>2</sup>-2(1)+c=3
c=1
Thus
f(x)=4x<sup>2</sup>-2x+1
check:
f(1)=3
f(3)=31
f(6)=133
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.