simple way to define a polynomial from given points.
say you have 3 point; \((x_o,y_o),(x_1,y_1),(x_2,y_2)\) set up a polynomial of the form:\[y=y_o+c_1(x-x_o)+c_2(x-x_o)(x-x_1)\]
Does this include the normal straight line thingy too?
yes
i think this has something o do with derivatives too :/
to do*
i thought of it last night while playing about with series
But this demonstration is for 3 points.
for 2 points, use the first 2 terms and it becomes the line eqatuon\[y=y_o+c_1(x-x_o)\] \[y-y_o=c_1(x-x_o)\]look familiar?
each term is the product of a constant and the zeroed out xs of the pther points
(2,3) (5,8) y = 3 + c(x-2) ; when x=2, y=3 when x=5, we want y=8 8 = 3 + c(5-2) 8 - 3= c(3) 5/3= c y = 3 + (5/3) (x-2)
my mind had wandered last night to those "find a quadratic equation that fits these 3 points" ... and its always a pain to go thru system of equations methods to me
i can also define any sequence of "given numbers" with a similar method
i Really like this,
Haha that's the point-slope form :-D
thanks, its a short tutorial but fun nonetheless lol
give me a list of say 3 or 4 random numbers and lets see if i can define an expression for them :)
ok so , i have three points, \[\{(-1,1) , (1,1) , (1,3)\}\]
that will form a parabola that is "sideways" since you have 2 x values that are the same
just invert the point to (y,x) and itll work the same
|dw:1344603408652:dw|
Join our real-time social learning platform and learn together with your friends!