Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6823619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:48:14+00:00 2026-05-26T21:48:14+00:00

I am new to world of matrix, sorry for this basic question I could

  • 0

I am new to world of matrix, sorry for this basic question I could not figure out:

I have four matrix (one unknown).

Matrix X

x <- c(44.412, 0.238, -0.027, 93.128, 0.238, 0.427, -0.193, 0.673, 0.027, 
     -0.193, 0.094, -0.428, 93.128, 0.673, -0.428, 224.099)

X <- matrix(x, ncol = 4 )

Matrix B : need to be solved , 1 X 4 (column x nrows), with b1, b2, b3, b4 values

Matrix G

g <- c(33.575, 0.080, -0.006, 68.123, 0.080, 0.238, -0.033, 0.468, -0.006, 
-0.033, 0.084, -0.764, 68.123, 0.468, -0.764, 205.144)

G <- matrix(g, ncol = 4)

Matrix A

a <- c(1, 1, 1, 1) # one this case but can be any value 
A <- matrix(a, ncol = 1)

Solution:

B = inv(X) G A  # inv(X) is inverse of the X matrix multiplied by G and A 

I did not know how to solve this properly, particularly inverse of the matrix. Appreciate your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:48:14+00:00Added an answer on May 26, 2026 at 9:48 pm

    I’m guessing that Nick and Ben are both teachers and have even greater scruples than I do about doing other peoples’ homework, but the path to a complete solution was really so glaringly obvious that it didn’t make a lot of sense not to tae the next step:

    B = solve(X) %*% G %*% A 
    > B
                 [,1]
    [1,] -2.622000509
    [2,]  7.566857261
    [3,] 17.691911600
    [4,]  2.318762273
    

    The QR method of inversion can be invoked by supplying an identity matrix as the second argument:

    > qr.solve(G, diag(1,4))
                    [,1]             [,2]          [,3]             [,4]
    [1,]  0.098084556856 -0.0087200426695 -0.3027373205 -0.0336789016478
    [2,] -0.008720042669  4.4473233701790  1.7395207242 -0.0007717410073
    [3,] -0.302737320546  1.7395207241703 13.9161591761  0.1483895429511
    [4,] -0.033678901648 -0.0007717410073  0.1483895430  0.0166129089935
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am relatively new to world of programming. I have a few performance questions:
I am new to iPhone world. I have developed an application, which I would
I'm new to the world of XML. I'm not sure which way to build
I'm new to asp world, and I have to keep my new job :)
I am new to Hibernate world. It may be a silly question, but I
I just don't seem to be able to figure this out in my head.
In order to make this question easier to describe I have provided the following
just a quick question, if I have a matrix has n rows and m
First of all I'm new to the C# world. I just started this year
still new to the world of linq, and i need some help flatening a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.