Skip to content
← All questions

How do you represent a system of linear equations as a matrix product Ax=b?

In Ax=b, rows of A contain the equation coefficients, x lists the unknowns, and b lists the constants. The dimensions must match.

Conditions

  • The system is linear.
  • Dimensions of the coefficient matrix, variable vector, and constant vector are compatible.

Reasoning, step by step

  1. Construct matrix A where each row contains the coefficients of the variables for one equation.
  2. Construct vector x listing the unknown variables.
  3. Construct vector b listing the constant terms from the right-hand side of each equation.
  4. Ensure the dimensions of A, x, and b align for matrix multiplication.

Example

The script states: 'In Ax=b, rows of A contain the equation coefficients, x lists the unknowns, and b lists the constants. The dimensions must match.'

Common misconceptions

  • Placing constants in matrix A instead of vector b.
  • Ignoring dimension mismatches between the number of equations and variables.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗
Meet the concept

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.