If A and B are n times n matrices. Find the cost of calculating A^2+BAB

Khadija Wells

Khadija Wells

Answered question

2020-12-21

If A and B are n×n matrices. Find the cost of calculating A2+BAB

Answer & Explanation

funblogC

funblogC

Skilled2020-12-22Added 91 answers

Step 1
According to the given information,
It is required to determine the cost of calculating A2+BAB
where A and B are n×n matrices.
Step 2
The cost of multiplying two square matrices of order n×n is n3
cost of A2=n3
cost of BAB=(BA)B
cost of BAB=n3+n3
thus,
cost of A3+BAB=n3+n3+n3
cost of A3+BAB=3n3
Jeffrey Jordon

Jeffrey Jordon

Expert2022-01-23Added 2605 answers

Answer is given below (on video)

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?