13.6k views
0 votes
4. Write a function p(x) that P(-1) = 6 and p(3) = -2. I P(x) =

User Denis Tsoi
by
4.9k points

1 Answer

2 votes

. Write a function p(x) that P(-1) = 6 and p(3) = -2

we have the ordered pairs

(-1,6) and (3,-2)

step 1

Find the slope

m=(-2-6)/(3+1)

m=-8/4

m=-2

step 2

find the equation of the line in point slope form

y-y1=m(x-x1)

we have

m=-2

(x1,y1)=3,-2)

substitute

y+2=-2(x-3)

y+2=-2x+6

y=-2x+4

therefore

P(X)=-2x+4

Verify

For x=-1

P(-1)=-2(-1)+4=6 -----> is ok

P(3)=-2(3)+4=-2 ----> is ok

User Roman Kiss
by
4.8k points