At a market in Juba, a vendor sells sorghum and dura (millet). Amule buys 2 kg of sorghum and 1 kg of dura for 1,500 SSP. John buys 3 kg of sorghum and 1 kg of dura for 2,200 SSP. Find the price per kilogram of each grain.
Let s = price of sorghum per kg, d = price of dura per kg.
Step 1: Write the equations
2s+1d=1500
3s+1d=2200
Step 2: Form the matrices
A=(2311),B=(15002200)
Step 3: Find the inverse of A
First, find the determinant: det(A)=(2)(1)−(3)(1)=2−3=−1
The inverse formula for a 2×2 matrix (acbd) is:
A−1=ad−bc1(d−c−ba)
So:
A−1=−11(1−3−12)=(−131−2)
Step 4: Multiply by B
x=A−1B=(−131−2)(15002200)
x=((−1)(1500)+(1)(2200)(3)(1500)+(−2)(2200))=(−1500+22004500−4400)=(700100)
So s=700 SSP per kg and d=100 SSP per kg.