SlideShare a Scribd company logo
1 of 1
Download to read offline
1) (6 points) In this exercise, you will create the three types of elementary matrices, analyze their
properties and perform elementary row-operations on matrices using elementary matrices. (a)
(Creating the elementary matrices) Write three functions in python: defE1(n,c,i,j) : defE2(n,i,j) : def
E3(n,c,i) : that creates the three elementary matrices E1,E2 and E3. How to define the above
functions? (i) Start with the identity matrix eye (n). (ii) To define E1(n,c,i,j), replace (row j ) of eye (
n) by (row j)+c.(row i ). (iii) To define E2(n,i,j), interchange rows i and j of eye (n). (iv) To define E3
(n,c,i), multiply row i of eye (n) by c. (b) (The elementary row operations) After you have
successfully completed (a), use the elementary matrices E1,E2 and E3 (equivalently, use the
functions you created in (a)) to obtain the three row operations (replacement, interchange and
scaling) on a matrix A. For this, you have to create three functions below: def replace-row (A,c,i,j) :
def switch-rows (A,i,j) : def scale-row (A,c,i) : What are these functions doing? replace-row (A,c,i,j)
adds c times row j to row i in A. switch-rows (A,i,j) switches rows i and j in matrix A. scale-row (A,c,
i) multiplies row i by c in matrix A. How to define the above functions? (I) Use the elementary
matrices E1,E2 and E3 you created above. (II) To define replace-row (A,c,i,j), you just multiply E1(
n,c,i,j) by A. (III) To define switch-rows (A,i,j), you just multiply E2(n,i,j) by A. (IV) To define scale-
row (A,c,i), you just multiply E3(n,c,i) by A.( 2 points) In this exercise, you will use the functions
you created in Exercise 1(b) to obtain the row reduced echelon form of a given matrix. (a) Work
with the following matrix: A=10020203021220353011 Use the functions you created in Exercise
1(b) (they are elementary row operations) on matrix A above to obtain the reduced echelon form of
A. (b) Note that every time you apply elementary row operations on A, you get intermediate
matrices. Output all intermediate matrices until you obtain the reduced echelon form of A. (2
points) Use Exercise 1(b) to determine if the following set of vectors is linearly independent. 120,2
41,361 Show all your outputs/steps.

More Related Content

Similar to 1 6 points In this exercise you will create the three ty.pdf

Basics of Matlab for students and faculty
Basics of Matlab for students and facultyBasics of Matlab for students and faculty
Basics of Matlab for students and facultyAbhishekRanjan17318
 
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra   Lesson 11 – Linear Functions, Part 2 .docxIntroductory Algebra   Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docxmariuse18nolet
 
[Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014][Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014]Mumbai B.Sc.IT Study
 
Exam i(practice)
Exam i(practice)Exam i(practice)
Exam i(practice)PublicLeaks
 
Apoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaApoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaliceo
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxanhlodge
 
Lesson 1 see lesson plans
Lesson 1   see lesson plansLesson 1   see lesson plans
Lesson 1 see lesson plansAngela Phillips
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsSandyPoinsett
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxagnesdcarey33086
 
Final exam g8 2014
Final exam g8 2014Final exam g8 2014
Final exam g8 2014zeinabze
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxDevaraj Chilakala
 

Similar to 1 6 points In this exercise you will create the three ty.pdf (20)

Basics of Matlab for students and faculty
Basics of Matlab for students and facultyBasics of Matlab for students and faculty
Basics of Matlab for students and faculty
 
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra   Lesson 11 – Linear Functions, Part 2 .docxIntroductory Algebra   Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
 
[Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014][Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014]
 
Exam i(practice)
Exam i(practice)Exam i(practice)
Exam i(practice)
 
Midterm
MidtermMidterm
Midterm
 
Adobe
AdobeAdobe
Adobe
 
2013-June: 3rd Semester E & C Question Papers
2013-June: 3rd Semester E & C Question Papers2013-June: 3rd Semester E & C Question Papers
2013-June: 3rd Semester E & C Question Papers
 
3rd Semester Electronic and Communication Engineering (2013-June) Question P...
3rd  Semester Electronic and Communication Engineering (2013-June) Question P...3rd  Semester Electronic and Communication Engineering (2013-June) Question P...
3rd Semester Electronic and Communication Engineering (2013-June) Question P...
 
Qno 3 (a)
Qno 3 (a)Qno 3 (a)
Qno 3 (a)
 
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
 
Apoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaApoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábola
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
 
Lesson 1 see lesson plans
Lesson 1   see lesson plansLesson 1   see lesson plans
Lesson 1 see lesson plans
 
Funções 6
Funções  6Funções  6
Funções 6
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing Equations
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
 
Matlab 1
Matlab 1Matlab 1
Matlab 1
 
Final exam g8 2014
Final exam g8 2014Final exam g8 2014
Final exam g8 2014
 
Ss matlab solved
Ss matlab solvedSs matlab solved
Ss matlab solved
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
 

More from abhayagesignes

1 Las hembras primates siempre invierten en sus cras porq.pdf
1  Las hembras primates siempre invierten en sus cras porq.pdf1  Las hembras primates siempre invierten en sus cras porq.pdf
1 Las hembras primates siempre invierten en sus cras porq.pdfabhayagesignes
 
1 En ciertos pases latinoamericanos durante perodos de.pdf
1  En ciertos pases latinoamericanos durante perodos de.pdf1  En ciertos pases latinoamericanos durante perodos de.pdf
1 En ciertos pases latinoamericanos durante perodos de.pdfabhayagesignes
 
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdfabhayagesignes
 
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdfabhayagesignes
 
1 Classify each of the following as either experimentalin.pdf
1  Classify each of the following as either experimentalin.pdf1  Classify each of the following as either experimentalin.pdf
1 Classify each of the following as either experimentalin.pdfabhayagesignes
 
1 Amylase and DNase are both extracellular enzymes Which .pdf
1  Amylase and DNase are both extracellular enzymes Which .pdf1  Amylase and DNase are both extracellular enzymes Which .pdf
1 Amylase and DNase are both extracellular enzymes Which .pdfabhayagesignes
 
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdfabhayagesignes
 
1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdfabhayagesignes
 
1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdfabhayagesignes
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdfabhayagesignes
 
1 30 points Methanol is a very poisonous substance caus.pdf
1  30 points Methanol is a very poisonous substance caus.pdf1  30 points Methanol is a very poisonous substance caus.pdf
1 30 points Methanol is a very poisonous substance caus.pdfabhayagesignes
 
1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdfabhayagesignes
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdfabhayagesignes
 
1 When pitching your company to a Venture Capitalist wha.pdf
1   When pitching your company to a Venture Capitalist wha.pdf1   When pitching your company to a Venture Capitalist wha.pdf
1 When pitching your company to a Venture Capitalist wha.pdfabhayagesignes
 
1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdfabhayagesignes
 
1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdfabhayagesignes
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdfabhayagesignes
 
1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdfabhayagesignes
 
1 What is Netmakers current business performance look.pdf
1      What is Netmakers current business performance look.pdf1      What is Netmakers current business performance look.pdf
1 What is Netmakers current business performance look.pdfabhayagesignes
 
1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdfabhayagesignes
 

More from abhayagesignes (20)

1 Las hembras primates siempre invierten en sus cras porq.pdf
1  Las hembras primates siempre invierten en sus cras porq.pdf1  Las hembras primates siempre invierten en sus cras porq.pdf
1 Las hembras primates siempre invierten en sus cras porq.pdf
 
1 En ciertos pases latinoamericanos durante perodos de.pdf
1  En ciertos pases latinoamericanos durante perodos de.pdf1  En ciertos pases latinoamericanos durante perodos de.pdf
1 En ciertos pases latinoamericanos durante perodos de.pdf
 
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
 
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
 
1 Classify each of the following as either experimentalin.pdf
1  Classify each of the following as either experimentalin.pdf1  Classify each of the following as either experimentalin.pdf
1 Classify each of the following as either experimentalin.pdf
 
1 Amylase and DNase are both extracellular enzymes Which .pdf
1  Amylase and DNase are both extracellular enzymes Which .pdf1  Amylase and DNase are both extracellular enzymes Which .pdf
1 Amylase and DNase are both extracellular enzymes Which .pdf
 
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
 
1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf
 
1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf
 
1 30 points Methanol is a very poisonous substance caus.pdf
1  30 points Methanol is a very poisonous substance caus.pdf1  30 points Methanol is a very poisonous substance caus.pdf
1 30 points Methanol is a very poisonous substance caus.pdf
 
1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
 
1 When pitching your company to a Venture Capitalist wha.pdf
1   When pitching your company to a Venture Capitalist wha.pdf1   When pitching your company to a Venture Capitalist wha.pdf
1 When pitching your company to a Venture Capitalist wha.pdf
 
1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf
 
1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf
 
1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf
 
1 What is Netmakers current business performance look.pdf
1      What is Netmakers current business performance look.pdf1      What is Netmakers current business performance look.pdf
1 What is Netmakers current business performance look.pdf
 
1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf
 

Recently uploaded

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 

Recently uploaded (20)

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

1 6 points In this exercise you will create the three ty.pdf

  • 1. 1) (6 points) In this exercise, you will create the three types of elementary matrices, analyze their properties and perform elementary row-operations on matrices using elementary matrices. (a) (Creating the elementary matrices) Write three functions in python: defE1(n,c,i,j) : defE2(n,i,j) : def E3(n,c,i) : that creates the three elementary matrices E1,E2 and E3. How to define the above functions? (i) Start with the identity matrix eye (n). (ii) To define E1(n,c,i,j), replace (row j ) of eye ( n) by (row j)+c.(row i ). (iii) To define E2(n,i,j), interchange rows i and j of eye (n). (iv) To define E3 (n,c,i), multiply row i of eye (n) by c. (b) (The elementary row operations) After you have successfully completed (a), use the elementary matrices E1,E2 and E3 (equivalently, use the functions you created in (a)) to obtain the three row operations (replacement, interchange and scaling) on a matrix A. For this, you have to create three functions below: def replace-row (A,c,i,j) : def switch-rows (A,i,j) : def scale-row (A,c,i) : What are these functions doing? replace-row (A,c,i,j) adds c times row j to row i in A. switch-rows (A,i,j) switches rows i and j in matrix A. scale-row (A,c, i) multiplies row i by c in matrix A. How to define the above functions? (I) Use the elementary matrices E1,E2 and E3 you created above. (II) To define replace-row (A,c,i,j), you just multiply E1( n,c,i,j) by A. (III) To define switch-rows (A,i,j), you just multiply E2(n,i,j) by A. (IV) To define scale- row (A,c,i), you just multiply E3(n,c,i) by A.( 2 points) In this exercise, you will use the functions you created in Exercise 1(b) to obtain the row reduced echelon form of a given matrix. (a) Work with the following matrix: A=10020203021220353011 Use the functions you created in Exercise 1(b) (they are elementary row operations) on matrix A above to obtain the reduced echelon form of A. (b) Note that every time you apply elementary row operations on A, you get intermediate matrices. Output all intermediate matrices until you obtain the reduced echelon form of A. (2 points) Use Exercise 1(b) to determine if the following set of vectors is linearly independent. 120,2 41,361 Show all your outputs/steps.