Find the value of the sum in the expression

Amelia

New Member
Joined
Sep 12, 2014
Messages
5
Consider the matrix below. Calculate the expression using Excel. What is the value of the sum of the diagonal elements? a11 + a22.


16736sw.jpg



Could somebody help me with this question please?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Amelia

New Member
Joined
Sep 12, 2014
Messages
5
Thanks for the answer. I did the calculation using the function: =SUM(MMULT({Matrix_1};{Matrix_2})) and resulted in the value 4.
Can anyone tell me if this is wrong?
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Thanks for the answer. I did the calculation using the function: =SUM(MMULT({Matrix_1};{Matrix_2})) and resulted in the value 4.
Can anyone tell me if this is wrong?

This looks like home work. Try to calculate what you need first manually. How the calculation is done is described in any introduction to linear algebra, showing calculations with matrices.
 
Upvote 0

Amelia

New Member
Joined
Sep 12, 2014
Messages
5
No, it's not. I don't have computer class in high school. I'm just training a little of Excel with lists of exercises. But thanks for your help anyway.
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
No, it's not. I don't have computer class in high school. I'm just training a little of Excel with lists of exercises. But thanks for your help anyway.

Good idea. What results are you expecting to see with those matrices? Are you multiplying or adding?
 
Upvote 0

Amelia

New Member
Joined
Sep 12, 2014
Messages
5
Certainly I hope to see an addition, as in the end of this question says 'a11+a22'..
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Certainly I hope to see an addition, as in the end of this question says 'a11+a22'..

Still not very clear.

The following shows adding two matrices you have shown:


740-272
113142

<COLGROUP><COL style="WIDTH: 48pt" span=8 width=64><TBODY>
</TBODY>

First matrix is located in A2:B3, the second in D2:E3, and the result matrix obtained by addition in G2:H3.

In G2 enter and copy down:

=A2+D2

In H2 enter and copy down:

=B2+E2

If you mean by adding 'a11+a22' the sum of G2 and H3 of the third matrix wit as result 9...

Control+shift+enter, not just enter:

=SUM(N(OFFSET(G2,ROW(INDIRECT("1:2"))-1,ROW(INDIRECT("1:2"))-1)))

which is derived from the link I quoted earlier.
 
Upvote 0

Amelia

New Member
Joined
Sep 12, 2014
Messages
5
Now I understand your explanation. This is really complicated to understand, I mean what the question asks.
This range of cells in which the question says: 'a11+a22'... It was totally confused to me!
But I think your explanation is correct. You have very good logical reasoning.
Thanks, you helped me a lot, really.
 
Last edited:
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Now I understand your explanation. This is really complicated to understand, I mean what the question asks.
This range of cells in which the question says: 'a11+a22'... It was totally confused to me!
But I think your explanation is correct. You have very good logical reasoning.
Thanks, you helped me a lot, really.

You are welcome.
 
Upvote 0

Forum statistics

Threads
1,190,652
Messages
5,982,124
Members
439,756
Latest member
alice128

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top