PROBLEM SOLVING MATRIX Practice

Table of contents

  1. Problem solving: 1. School supply inventory
  2. Combining two matrices
  3. Matrix multiplication: School meals

1. Problem solving: 1. School supply inventory

1.1 School supply inventory

This section demonstrates how to calculate the total sales for each branch of a school supply store using matrix multiplication. It involves multiplying an inventory matrix by a price matrix to find the total revenue generated by each branch 1.

  • Inventory matrix (A): Represents the number of notebooks and pens sold by three branches.
  • Branch 1 sold 25 notebooks and 35 pens.
  • Branch 2 sold 50 notebooks and 20 pens.
  • Branch 3 sold 40 notebooks and 30 pens.
  • Price matrix (P): Represents the price of a notebook and a pen.
  • Notebook price: ₱25
  • Pen price: ₱10 1.

To find the total sales for each branch, the inventory matrix (A) is multiplied by the price matrix (P). The resulting matrix shows the total sales amount for each branch 1.

BranchInventory (Notebooks, Pens)Price (Notebook, Pen)Total Sales
Branch 1——₱1,300
Branch 2——₱975
Branch 3——₱1,450
  • School supply inventory: Multiplying the inventory matrix A by the price matrix P yields the total sales for each branch. For Branch 1, the calculation is (25 notebooks * ₱25/notebook) + (35 pens * ₱10/pen) = ₱625 + ₱350 = ₱975 1.

1.2 Student attendance

This subsection deals with calculating the total attendance for different sections over a period of three days using matrices 1.

  • Attendance matrix (A): Represents the number of students present in two sections over three days.
  • Section 1 attendance: 38 on Monday, 40 on Tuesday, 39 on Wednesday.
  • Section 2 attendance: 35 on Monday, 37 on Tuesday, 40 on Wednesday 1.

The problem asks to find the total attendance for each section. This would typically involve summing the elements across each row of the attendance matrix 1.

2. Combining two matrices

2.1 Combining sales data

This section explains how to add two matrices that represent sales data from different cafeterias. The resulting matrix shows the combined sales of sandwiches and drinks for both cafeterias 2.

  • Cafeteria A sales matrix (A): Records the number of sandwiches and drinks sold during morning and afternoon breaks.
  • Morning sandwiches: 35
  • Morning drinks: 40
  • Afternoon sandwiches: 20
  • Afternoon drinks: 25.
  • Cafeteria B sales matrix (B): Records the number of sandwiches and drinks sold during morning and afternoon breaks.
  • Morning sandwiches: 25
  • Morning drinks: 30
  • Afternoon sandwiches: 20
  • Afternoon drinks: 15 2.

To find the combined sales, matrix A is added to matrix B. The resulting matrix, A + B, will have the same dimensions as A and B, with each element representing the sum of the corresponding elements from A and B 2.

  • Combining sales data: Adding matrix A and matrix B results in a new matrix where each element is the sum of the corresponding elements in A and B. For example, the total morning sandwiches sold by both cafeterias is the sum of the morning sandwich sales from Cafeteria A and Cafeteria B 2.

2.2 Matrix subtraction for inventory

This part of the section covers matrix subtraction to determine the number of items sold from a bookstore's inventory 2.

  • Beginning inventory matrix (A): Shows the initial stock of four types of items.
  • Item 1: 120
  • Item 2: 100
  • Item 3: 80
  • Item 4: 75.
  • Remaining inventory matrix (B): Shows the stock of the same four items at the end of the week.
  • Item 1: 85
  • Item 2: 70
  • Item 3: 50
  • Item 4: 40 2.

Subtracting matrix B from matrix A (A - B) will yield a matrix where each element represents the number of units sold for each item 2.

📝 If the beginning inventory (A) for Item 1 is 120 and the remaining inventory (B) for Item 1 is 85, then the number of Item 1 sold is 120−85=35120 - 85 = 35 2.

2.3 Matrix scalar multiplication for expenses

This subsection explains how to use scalar multiplication to adjust expected expenses 2.

  • Weekly expenses matrix (A): Lists the amounts spent weekly on four categories.
  • Expense 1: 500
  • Expense 2: 400
  • Expense 3: 300
  • Expense 4: 250 2.

The organization expects its expenses to double. This is achieved by multiplying each element in the expenses matrix (A) by a scalar value of 2 2.

  • Matrix scalar multiplication for expenses: Multiplying the weekly expenses matrix A by the scalar 2 will give the new expected expenses. For Expense 1, the new amount is 500 * 2 = 1000 2.

3. Matrix multiplication: School meals

3.1 Calculating ingredient needs

This section uses matrix multiplication to calculate the total kilograms of rice and vegetables required for preparing school meals. It involves multiplying a matrix representing ingredient requirements per meal type by a matrix representing the number of meals to be prepared 3.

  • Ingredient requirements matrix (A): Shows the kilograms of rice and vegetables needed for Regular and Special meals.
  • Regular meal: 2 kg rice, 3 kg vegetables.
  • Special meal: 2 kg rice, 2 kg vegetables.
  • Number of meals matrix (B): Shows the number of Regular and Special meals planned.
  • Regular meals: 50
  • Special meals: 30 3.

To find the total kilograms of rice and vegetables needed, matrix A is multiplied by matrix B. The resulting matrix will show the total amount of each ingredient required 3.

Meal TypeRice (kg)Vegetables (kg)
Regular23
Special22
Meal TypeNumber of Meals
Regular50
Special30
  • Calculating ingredient needs: Multiplying the ingredient requirements matrix A by the number of meals matrix B determines the total kilograms of rice and vegetables. For total rice, the calculation is (2 kg rice/Regular meal * 50 Regular meals) + (2 kg rice/Special meal * 30 Special meals) = 100 kg + 60 kg = 160 kg 3.

3.2 Determining total profit

This subsection uses matrix multiplication to calculate the total profit for each week based on the production of notebooks and planners 3.

  • Production matrix (A): Represents the number of notebooks and planners produced over two weeks.
  • Week 1: 100 notebooks, 80 planners.
  • Week 2: 120 notebooks, 100 planners.
  • Profit per unit matrix (P): Represents the profit for each notebook and planner.
  • Profit per notebook: ₱20
  • Profit per planner: ₱30 3.

To find the total profit for each week, the production matrix (A) is multiplied by the profit per unit matrix (P). The resulting matrix will show the total profit earned in each week 3.

  • Determining total profit: Multiplying the production matrix A by the profit per unit matrix P calculates the total profit for each week. For Week 1, the total profit is (100 notebooks * ₱20/notebook) + (80 planners * ₱30/planner) = ₱2000 + ₱2400 = ₱4400 3.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also