Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question:(M) Let \({{\rm{P}}_4}\) have the inner product as in Example 5, and let \({p_{0,}}{p_{1,\,}}{p_2}\)be the orthogonal polynomials from that example. Using your matrix program, apply the Gram–Schmidt process to the set\(\left\{ {{p_0},{p_{1\,}},{p_2},{t^3},{t^4}} \right\}\) to create an orthogonal basis for \({{\rm{P}}_4}\).

Short Answer

Expert verified

The new orthogonal polynomials are multiple of \( - 17t + 5{t^3}\)and\(72 - 155{t^2} + 35{t^4}\) .

Step by step solution

01

Use the given information

Let matrix A defines the basis \(A = \left\{ {{p_0},{p_1},{p_2},{t^3},{t^4}} \right\}\).

From example (5), polynomial vectors are:

\({p_0} = \left( {\begin{array}{*{20}{c}}1\\1\\1\\1\\1\end{array}} \right)\),\({p_1} = \left( {\begin{array}{*{20}{c}}{ - 2}\\{ - 1}\\0\\1\\2\end{array}} \right)\),\({p_2} = \left( {\begin{array}{*{20}{c}}2\\{ - 1}\\{ - 2}\\{ - 1}\\2\end{array}} \right)\)

Use the following steps to find the associated values for the obtained data in MATLAB.

  1. Formulate the matrix A using the polynomials \(\left\{ {{p_0},{p_1},{p_2}} \right\}\) and enter it in the tab,as \(\left( {\left( {\begin{array}{*{20}{c}}1&{ - 2}&4&1&1\\1&{ - 1}&1&1&1\\1&{\,\,\,0}&0&1&1\\1&{\,\,\,1}&1&1&1\\1&{\,\,\,2}&4&1&1\end{array}} \right)} \right)\).
  2. Run the command “gramschmidt(A)”.
  3. Press ENTER.

By using the matrix program, then new orthogonal polynomials are obtained as multiple of \( - 17t + 5{t^3}\)and\(72 - 155{t^2} + 35{t^4}\) .

02

Scale the polynomials

To obtain the small values of integers of the polynomials at \( - 2, - 1\), 0, 1 and 2, the polynomials must be scaled.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Find a \(QR\) factorization of the matrix in Exercise 12.

Compute the quantities in Exercises 1-8 using the vectors

\({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\rm{ }}{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right),{\rm{ }}{\mathop{\rm w}\nolimits} = \left( {\begin{aligned}{*{20}{c}}3\\{ - 1}\\{ - 5}\end{aligned}} \right),{\rm{ }}{\mathop{\rm x}\nolimits} = \left( {\begin{aligned}{*{20}{c}}6\\{ - 2}\\3\end{aligned}} \right)\)

  1. \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} ,{\rm{ }}{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} ,\,\,{\mathop{\rm and}\nolimits} \,\,\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}\)

Find an orthogonal basis for the column space of each matrix in Exercises 9-12.

10. \(\left( {\begin{aligned}{{}{}}{ - 1} & 6 & 6 \\ 3 & { - 8}&3\\1&{ - 2}&6\\1&{ - 4}&{ - 3}\end{aligned}} \right)\)

Compute the quantities in Exercises 1-8 using the vectors

\({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\rm{ }}{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right),{\rm{ }}{\mathop{\rm w}\nolimits} = \left( {\begin{aligned}{*{20}{c}}3\\{ - 1}\\{ - 5}\end{aligned}} \right),{\rm{ }}{\mathop{\rm x}\nolimits} = \left( {\begin{aligned}{*{20}{c}}6\\{ - 2}\\3\end{aligned}} \right)\)

8. \(\left\| {\mathop{\rm x}\nolimits} \right\|\)

In Exercises 1-4, find the equation \(y = {\beta _0} + {\beta _1}x\) of the least-square line that best fits the given data points.

4. \(\left( {2,3} \right),\left( {3,2} \right),\left( {5,1} \right),\left( {6,0} \right)\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free