Skip to main content

Question 3.6

Solutions

TZ
leumasicOfficial

3 months ago

a) The hint is

j=1jin(xxj)=0\prod_{\substack{j=1\\ j\ne i}}^n (x-x_j)=0

when x=xjx=x_j, where jij\ne i. When x=xix=x_i, the expression becomes

j=1jin(xixj),\prod_{\substack{j=1\\ j\ne i}}^n (x_i-x_j),

which we can make equal to 11 by dividing each factor by itself, which would give

fi(x)=j=1jinxxjxixj.f_i(x)=\prod_{\substack{j=1\\ j\ne i}}^n \frac{x-x_j}{x_i-x_j}.

b) Using the function from a), we can create

f(x)=a1f1(x)+a2f2(x)++anfn(x).f(x)=a_1f_1(x)+a_2f_2(x)+\cdots+a_nf_n(x).

That is a polynomial function of degree n1n-1 since it is a sum of polynomials of degree n1n-1. Moreover, by definition of fi(x)f_i(x), we have that

f(xi)=a1f1(xi)+a2f2(xi)++anfn(xi)=a10+a20++ai1++an0=ai.\begin{align*} f(x_i) &= a_1f_1(x_i)+a_2f_2(x_i)+\cdots+a_nf_n(x_i) \\ &= a_1\cdot 0+a_2\cdot 0+\cdots+a_i\cdot 1+\cdots+a_n\cdot 0 \\ &= a_i. \end{align*}

So the conditions on ff are satisfied.

0
Submit a solution
Optional • Markdown

Sign in to share your solution for this question.

Sign in

Navigate

Q 3.6

Navigate

Q 3.6