If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## Precalculus

### Course: Precalculus>Unit 7

Lesson 2: Using matrices to represent data

# Using matrices to represent data: Networks

Matrices are basically tables of numeric values. But you may be surprised at how many real-world situations you can model with this structure. Here, for example, we represent a network of bus routes between cities. Created by Sal Khan.

## Want to join the conversation?

• What is a node?
• Nodes and edges are concepts in graph theory. Graphs are used to model relations between objects. Each object is represented by a node. When two objects are related to each other, their nodes are connected by an edge.
• Now, this is cool and all, but would anyone actually use matrices like this in real life? If so, plz tell me how/when.
If not, plz can someone tell me what other things matrices are useful for in real life?
(1 vote)
• Matrics (from what I know) are used to plot graphs and statistics but can also represent data in the real world like population, fertility rates and more. There are many uses to matrics and it can vary throughout different fields so if these aren't enough examples, I suggest looking up its uses within different working environments/fields
• I know its not the point, but what a terrible design, you end up with a load of buses in city 2 you don't need
• You're right, the design could be improved to minimize the number of unnecessary buses in City 2. One possible solution could be to implement a more flexible system, where buses are dynamically allocated based on demand. For example, buses could be dispatched from City 1 to City 2 only when there are enough passengers to justify the trip. Alternatively, the system could use smaller, more efficient vehicles that are better suited to the expected passenger load, which would help to reduce waste and improve overall efficiency. Ultimately, the best design will depend on the specific needs and constraints of the system, as well as the available technology and resources.
(1 vote)
• Is matrix the same idea as two-way table?
It looks like two-way table to me.
(1 vote)
• It is Representation of data in rectangular form so it can have any dimension