06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2. Applications of the Determ<strong>in</strong>ant 137<br />

Example 3.46: Use Cramer’s Rule for Non-Constant Matrix<br />

Solve for z if<br />

⎡<br />

⎣<br />

1 0 0<br />

0 e t cost e t s<strong>in</strong>t<br />

0 −e t s<strong>in</strong>t e t cost<br />

⎤⎡<br />

⎦⎣<br />

x<br />

y<br />

z<br />

⎤<br />

⎡<br />

⎦ = ⎣<br />

⎤<br />

1<br />

t ⎦<br />

t 2<br />

Solution. We are asked to f<strong>in</strong>d the value of z <strong>in</strong> the solution. We will solve us<strong>in</strong>g Cramer’s rule. Thus<br />

∣ 1 0 1 ∣∣∣∣∣<br />

0 e t cost t<br />

∣ 0 −e t s<strong>in</strong>t t 2<br />

z =<br />

1 0 0<br />

0 e t cost e t s<strong>in</strong>t<br />

∣ 0 −e t s<strong>in</strong>t e t cost ∣<br />

= t ((cost)t + s<strong>in</strong>t)e −t ♠<br />

3.2.3 Polynomial Interpolation<br />

In study<strong>in</strong>g a set of data that relates variables x and y, it may be the case that we can use a polynomial to<br />

“fit” to the data. If such a polynomial can be established, it can be used to estimate values of x and y which<br />

have not been provided.<br />

Consider the follow<strong>in</strong>g example.<br />

Example 3.47: Polynomial Interpolation<br />

Given data po<strong>in</strong>ts (1,4),(2,9),(3,12), f<strong>in</strong>d an <strong>in</strong>terpolat<strong>in</strong>g polynomial p(x) of degree at most 2 and<br />

then estimate the value correspond<strong>in</strong>g to x = 1 2 .<br />

Solution. We want to f<strong>in</strong>d a polynomial given by<br />

p(x)=r 0 + r 1 x 1 + r 2 x 2 2<br />

such that p(1)=4, p(2)=9andp(3)=12. To f<strong>in</strong>d this polynomial, substitute the known values <strong>in</strong> for x<br />

and solve for r 0 ,r 1 ,andr 2 .<br />

Writ<strong>in</strong>g the augmented matrix, we have<br />

⎡<br />

p(1) = r 0 + r 1 + r 2 = 4<br />

p(2) = r 0 + 2r 1 + 4r 2 = 9<br />

p(3) = r 0 + 3r 1 + 9r 2 = 12<br />

⎣<br />

1 1 1 4<br />

1 2 4 9<br />

1 3 9 12<br />

⎤<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!