HSC Class 12 Commerce · Full subject cheat sheet
Mathematics & Statistics (Part II) — Last-Day Sheet
8 of 8 chapters ready. Bento grid with concepts, formulas, examples, and memory tricks.
How agents earn commission, how trade & cash discounts cut bills, and how banks discount bills before maturity.
Big picture flow
- 01Agents & Brokerage
- 02List → Invoice → Net Price
- 03Bill Dates (+3 Grace Days)
- 04P.W. & T.D.
- 05Bank Discount & Gain
3 days
Grace days added to nominal due date
B.D. > T.D.
Bank discount always exceeds true discount
B.G. = B.D. − T.D.
Banker's gain equals interest on T.D.
S.D. = P.W. + T.D.
Sum due equals present worth plus true discount
Agents and commission
Commission=100Rate×Total Sales e.g. 5% commission on ₹15,000 sales = (5/100) × 15,000 = ₹750.
Total Income=Salary+Commission Net Remittance=Sales−Total Commission e.g. ₹55,000 sales with 5% + 2% del credere ⇒ remits ₹51,150.
Commission is on sales; broker charges both sides; del credere guarantees payment.
Trick: Broker = Bridge between two sides (fees from both); Del credere = Debt guarantee for extra fee.
Trade and cash discount
Invoice Price=List Price−Trade Discount e.g. List ₹55,000 less 10% trade discount ⇒ Invoice = ₹49,500.
Net S.P.=Invoice Price−Cash Discount e.g. Invoice ₹49,500 less 5% cash discount ⇒ Net S.P. = ₹47,025.
Loss=Cost Price−Net S.P. Deduct trade discount on list price first, then cash discount on invoice price.
Trick: Think of a two-step bill: Trade discount cuts the List price to Invoice price; Cash discount cuts Invoice price to Net price.
Bill dates and true discount
S.D.=P.W.+T.D. e.g. If P.W. = ₹5,000 and T.D. = ₹250 ⇒ Sum Due = ₹5,250.
T.D.=100P.W.×n×r e.g. P.W. ₹23,000 for 6 mo at 8% ⇒ T.D. = (23000×0.5×8)/100 = ₹920.
P.W.=100+nr100×S.D. e.g. S.D. ₹5,250, n=0.5 yr, r=10% ⇒ P.W. = ₹5,000.
==Legal due date = Nominal + 3 days; T.D. is simple interest on P.W.==
Trick: Think of a bill like a loan in reverse: P.W. is today's principal, T.D. is its interest, and S.D. is the final amount.
Banker's discount and gain
B.D.=100S.D.×n×r e.g. S.D. ₹64,800 for 3 mo at 5% ⇒ B.D. = (64800×0.25×5)/100 = ₹810.
C.V.=S.D.−B.D. e.g. F.V. ₹18,000 with B.D. ₹432 ⇒ Cash Value = ₹17,568.
B.G.=B.D.−T.D.=100T.D.×n×r e.g. T.D. ₹800 for 3 mo at 5% ⇒ B.G. = 810 − 800 = ₹10.
S.D.=B.G.B.D.×T.D. e.g. B.D. ₹8,160, T.D. ₹8,000, B.G. ₹160 ⇒ S.D. = ₹4,08,000.
B.D. is interest on F.V.; ==B.G. = B.D. − T.D.== = interest on T.D.
Trick: T.D. sits on P.W., B.D. sits on F.V., and B.G. sits on T.D. — three parallel simple-interest ladders.
Trade Discount vs Cash Discount
VSBasis
Trade Discount
Cash Discount
Base Price
Trade Discount:Calculated on catalogue / list price.
Cash Discount:Calculated on invoice price (after trade cut).
Who Gets It
Trade Discount:Allowed to all buyers to push bulk orders.
Cash Discount:Given only for prompt / cash payment.
Billing Sequence
Trade Discount:Deducted first to get Invoice Price.
Cash Discount:Subtracted from invoice price to get Net S.P.
True Discount vs Banker's Discount
VSBasis
True Discount (T.D.)
Banker's Discount (B.D.)
Principal Used
True Discount (T.D.):Simple interest on Present Worth (P.W.).
Banker's Discount (B.D.):Simple interest on Face Value (F.V.).
Relative Size
True Discount (T.D.):Always smaller than Banker's Discount.
Banker's Discount (B.D.):Always larger than True Discount.
Practical Role
True Discount (T.D.):Exact theoretical interest value.
Banker's Discount (B.D.):Actual bank charge; Cash Value = F.V. − B.D.
How insurance shares property and life risk via proportional claims, and how annuities and sinking funds value periodic cash flows.
Big picture flow
- 01Policy vs Property Value
- 02Claim = (Policy/Property) × Loss
- 03Scale r & n for Sub-Annual
- 04Immediate vs Annuity Due
- 05Sinking Fund Target
1 year
Standard period for fire, marine, and accident policies
Claim ≤ Loss
Principle of indemnity caps claim at actual economic loss
m = 2, 4, 12
Periods per year (half-yearly, quarterly, monthly)
C(1 + i)
Replaces C to convert immediate annuity into annuity due
General and life insurance
Premium=100Rate of Premium×Policy Value e.g. Policy ₹40,00,000 at 5% premium ⇒ Premium = ₹2,00,000.
Claim=Property ValuePolicy Value×Loss e.g. Car ₹5.4L insured for ₹4.5L, damage ₹2.4L ⇒ Claim = ₹2,00,000.
Agent Commission=100Rate×Premium e.g. Premium ₹80,000 with 12% agent commission ⇒ ₹9,600.
Premium is on policy value; ==Claim = (Policy Value / Property Value) × Loss==.
Trick: Under-insure your shop and the insurer under-pays your claim in the exact same fraction.
Annuity types and compounding
i=100r e.g. Rate r = 10% p.a. compounded annually ⇒ i = 0.10.
i=400r,N=4n e.g. 8% p.a. quarterly for 2 yrs ⇒ i = 0.02, N = 8 quarters.
End = Immediate; Start = Annuity Due; scale r down by m and n up by m.
Trick: Immediate waits till the END of each month like a salary; Annuity Due is DUE at the START like house rent.
Immediate annuity
A=iC[(1+i)n−1] e.g. C=₹5,000, r=4%, n=3, (1.04)³=1.1249 ⇒ A = ₹15,612.50.
P=iC[1−(1+i)−n] e.g. C=₹20,000, r=10%, n=3, (1.1)⁻³=0.7513 ⇒ P = ₹49,740.
A=P(1+i)n e.g. P=₹20,000, r=10%, n=4, (1.1)⁴=1.4641 ⇒ A = ₹29,282.
P1−A1=Ci e.g. P=₹4,000, A=₹8,000, i=0.10 ⇒ C = ₹800.
Immediate annuity pays at period end; remember ==1/P − 1/A = i/C==.
Trick: Future A uses positive power (1+i)^n - 1 (grows up); Present P uses negative power 1 - (1+i)^(-n) (shrinks back).
Annuity due and sinking fund
A′=iC(1+i)[(1+i)n−1] e.g. C=₹2,000, r=10%, n=4, (1.1)⁴=1.4641 ⇒ A' ≈ ₹10,210.
P′=iC(1+i)[1−(1+i)−n] e.g. C=₹5,000/qtr, 16% p.a., n=4, (1.04)⁻⁴=0.8548 ⇒ P' = ₹18,876.
A=iC[(1+i)n−1] e.g. Target ₹9,50,000 in 12 yrs at 5% ⇒ C = ₹59,673.40/yr.
Replace C with C(1+i) for annuity due; sinking fund target = Cost − Scrap.
Trick: Annuity Due is just Immediate Annuity wearing a (1+i) jacket because every rupee enters one period early.
Immediate Annuity vs Annuity Due
VSBasis
Immediate Annuity
Annuity Due
Payment Timing
Immediate Annuity:Paid at the end of each period.
Annuity Due:Paid at the start of each period.
Accumulated Value
Immediate Annuity:A = (C/i)[(1+i)^n − 1].
Annuity Due:A' = [C(1+i)/i][(1+i)^n − 1].
Present Value
Immediate Annuity:P = (C/i)[1 − (1+i)^(−n)].
Annuity Due:P' = [C(1+i)/i][1 − (1+i)^(−n)].
Common Example
Immediate Annuity:Sinking fund deposits or loan EMIs.
Annuity Due:Apartment rent or advance deposits.
Accumulated Value (A) vs Present Value (P)
VSBasis
Accumulated Value (A)
Present Value (P)
Time Reference
Accumulated Value (A):Total worth at the end of n periods.
Present Value (P):Lump-sum worth ==today (t = 0)==.
Exponent Sign
Accumulated Value (A):Uses positive power (1 + i)^n.
Present Value (P):Uses negative power (1 + i)^(−n).
Link Formula
Accumulated Value (A):A = P(1 + i)^n.
Present Value (P):P = A(1 + i)^(−n).
Effect of Higher Rate
Accumulated Value (A):Higher interest rate increases future value A.
Present Value (P):Higher discount rate lowers present value P.
How least squares fits two straight regression lines through (x̄, ȳ) using b_YX and b_XY to predict X or Y.
Big picture flow
- 01Find x̄, ȳ or Raw Sums
- 02Compute b_YX & b_XY
- 03Write Lines Through (x̄, ȳ)
- 04Verify Signs & b_YX·b_XY ≤ 1
|r| ≤ 1
Correlation magnitude bound; r² = b_YX · b_XY ≤ 1
b_YX · b_XY = r²
Product of regression coefficients equals r squared
b_YX + b_XY ≥ 2r
AM-GM inequality when b_YX, b_XY, r are positive
(x̄, ȳ)
Point where both regression lines always intersect
Concept and least squares
Y^=a+bX e.g. Line Y = 2 + 0.75X predicts Y = 9.5 when X = 10.
∑yi=na+b∑xi,∑xiyi=a∑xi+b∑xi2 Two lines exist because Y on X minimizes vertical errors while X on Y minimizes horizontal errors.
Trick: Least squares penalizes big misses harshly by squaring errors before adding them up.
Regression lines and coefficients
bYX=∑(xi−xˉ)2∑(xi−xˉ)(yi−yˉ)=n∑xi2−(∑xi)2n∑xiyi−(∑xi)(∑yi) e.g. cov(X,Y) = 12, σ_X = 4 ⇒ b_YX = 12/16 = 0.75.
bXY=∑(yi−yˉ)2∑(xi−xˉ)(yi−yˉ)=n∑yi2−(∑yi)2n∑xiyi−(∑xi)(∑yi) e.g. r = 0.5, σ_X = 4, σ_Y = 3 ⇒ b_XY = 0.5×(4/3) = 2/3.
Y−yˉ=bYX(X−xˉ),X−xˉ=bXY(Y−yˉ) e.g. x̄=25, ȳ=20, b_YX=0.375 ⇒ Y = 0.375X + 10.625.
Second subscript always goes in the denominator of b_YX and b_XY.
Trick: In b_YX, the second letter X goes to the bottom (denominator); in b_XY, the second letter Y goes to the bottom.
Properties of coefficients
r=±bYX⋅bXY e.g. b_YX = −1.5, b_XY = −1/6 ⇒ r = −√(0.25) = −0.5.
0≤bYX⋅bXY≤1 e.g. b_YX = 1.6 and b_XY = 0.8 gives 1.28 > 1 ⇒ inconsistent.
∣bYX+bXY∣≥2∣r∣ e.g. b_YX = 0.2, b_XY = 0.4, r = 0.5 ⇒ 0.6 < 1.0 ⇒ inconsistent.
Check consistency using same signs, product ≤ 1, and |b_YX + b_XY| ≥ 2|r|.
Trick: Three musketeers: b_YX, b_XY, and r always march with the same sign, and one cannot let the other cross 1 together.
Origin shift and solving lines
U=hX−a,V=kY−b bYX=hkbVU,bXY=khbUV e.g. U=(X−50)/10, V=(Y−100)/5 ⇒ b_YX = (5/10)b_VU = 0.5 b_VU.
Solve the two lines for (x̄, ȳ); test b_YX · b_XY ≤ 1 to label each line.
Trick: Origin shift is free (no factor); scale shift flips back with k/h for Y on X.
Regression of Y on X vs X on Y
VSBasis
Line of Y on X
Line of X on Y
Purpose
Line of Y on X:Estimates dependent Y from given X.
Line of X on Y:Estimates dependent X from given Y.
Minimized Error
Line of Y on X:Minimizes vertical squared errors Σ(y_i − ŷ_i)².
Line of X on Y:Minimizes horizontal squared errors Σ(x_i − x̂_i)².
Line Equation
Line of Y on X:Y − ȳ = b_YX(X − x̄).
Line of X on Y:X − x̄ = b_XY(Y − ȳ).
Slope Formula
Line of Y on X:b_YX = cov(X,Y)/σ_X² = r(σ_Y/σ_X).
Line of X on Y:b_XY = cov(X,Y)/σ_Y² = r(σ_X/σ_Y).
Change of Origin vs Change of Scale
VSBasis
Change of Origin
Change of Scale
Transformation
Change of Origin:u = X − a, v = Y − b (constant shift).
Change of Scale:U = (X − a)/h, V = (Y − b)/k.
Effect on b_YX, b_XY
Change of Origin:Invariant: b_YX = b_VU and b_XY = b_UV.
Change of Scale:Not invariant: b_YX = (k/h)b_VU.
Effect on r
Change of Origin:Unchanged: r(X,Y) = r(U,V).
Change of Scale:Magnitude unchanged when h, k > 0.
When Used
Change of Origin:Reduces large numbers without rescaling b.
Change of Scale:Used when data share common factors h, k.
How chronological data split into T, S, C, I components and smooth trends via moving averages or least squares.
Big picture flow
- 01Identify T, S, C, I Components
- 02Pick Additive vs Multiplicative
- 03Smooth via Moving Averages
- 04Shift t → u (Σu = 0) for Trend
- 05Plug Future u to Forecast
4 components
Secular Trend (T), Seasonal (S), Cyclical (C), Irregular (I)
≤ 1 year
Repeat period for seasonal variation (S)
4 cycle phases
Prosperity, recession, depression, and recovery
Σu = 0
Origin shift condition simplifying least squares
Components of time series
Time series definitionSecular trend (T)Seasonal variation (S)Cyclical variation (C)Irregular variation (I)
Four components = Secular Trend (T), Seasonal (S), Cyclical (C), Irregular (I).
Trick: T-S-C-I: Trend is the long road, Season is the yearly weather, Cycle is the multi-year economy wave, Irregular is a sudden pothole.
Additive and multiplicative models
Xt=Tt+St+Ct+It e.g. T=40, S=+5, C=+2, I=−1 ⇒ X_t = 40 + 5 + 2 − 1 = 46.
Xt=Tt⋅St⋅Ct⋅It e.g. T=40, S=1.10, C=1.05, I=1.0 ⇒ X_t = 46.2.
Additive assumes independence (same units); Multiplicative does not (unit-free S, C, I).
Trick: Additive adds same-unit blocks (fixed seasonal height); Multiplicative scales by % (growing seasonal waves).
Graphical and moving averages
First k-moving average=kx1+x2+⋯+xk e.g. 3-yr average of 12, 15, 18 = (12 + 15 + 18)/3 = 15 at yr 2.
Even k needs 2-unit centering; moving averages lose end years and cannot forecast by equation.
Trick: Odd k lands right on a middle year; Even k lands in the gap between years, so a 2-step average pulls it back onto a year.
Least squares trend line
yt=a′+b′u e.g. y_t = 17.375 + 0.7202u with u = 9 (1984) ⇒ y = 23.86.
a′=n∑yt,b′=∑u2∑uyt e.g. n=8, Σy=139, Σu²=168, Σuy=121 ⇒ a'=17.375, b'=0.7202.
Shift t to u so ==Σu = 0; then a' = Σy/n and b' = Σ(uy)/Σu²==.
Trick: Odd n puts 0 in the middle; Even n skips 0 and steps by 2 (..., -3, -1, +1, +3, ...).
Moving Average vs Least Squares
VSBasis
Moving Averages
Least Squares
Core Approach
Moving Averages:Mechanical smoothing of k consecutive observations.
Least Squares:Objective mathematical line y_t = a + bt.
End-Period Values
Moving Averages:Loses (k−1)/2 trend values at both ends (odd k).
Least Squares:Computes trend values for every time period.
Forecasting Ability
Moving Averages:Gives no equation; cannot forecast future periods.
Least Squares:Provides an equation to forecast future values.
Best Use Case
Moving Averages:Eliminating uniform cycles when k matches cycle length.
Least Squares:Fitting linear trends objectively for forecasting.
Additive vs Multiplicative Model
VSBasis
Additive Model
Multiplicative Model
Model Equation
Additive Model:X_t = T_t + S_t + C_t + I_t.
Multiplicative Model:X_t = T_t × S_t × C_t × I_t.
Independence
Additive Model:Assumes components are independent.
Multiplicative Model:Does not assume independence (more realistic).
Component Units
Additive Model:All four share the same data units.
Multiplicative Model:T_t in data units; S, C, I are unit-free ratios.
Seasonal Swing
Additive Model:Seasonal swing stays constant as T changes.
Multiplicative Model:Seasonal swing grows or shrinks with data level.
How specialized averages track price, quantity, and value changes via Laspeyres, Paasche, Fisher, and CLI.
Big picture flow
- 01Pick Base (0) & Current (1)
- 02Find Σp₀q₀, Σp₁q₀, Σp₀q₁, Σp₁q₁
- 03Compute L, P, D-B, Fisher, M-E
- 04Compute CLI via ΣIW / ΣW
100
Standard index value assigned to the base period (0)
4 sums
Σp₀q₀, Σp₁q₀, Σp₀q₁, Σp₁q₁ compute L, P, D-B, F, M-E
F ≤ D-B
Geometric mean (Fisher) never exceeds arithmetic mean (D-B)
W = p₀q₀
Base-year expenditure weight linking Family Budget CLI to L
Basics and simple aggregates
P01=∑p0∑p1×100 e.g. Σp₁ = 150, Σp₀ = 120 ⇒ P₀₁ = (150/120) × 100 = 125.
Q01=∑q0∑q1×100 e.g. Σq₁ = 66, Σq₀ = 60 ⇒ Q₀₁ = (66/60) × 100 = 110.
V01=∑p0q0∑p1q1×100 e.g. Σp₁q₁ = 260, Σp₀q₀ = 200 ⇒ V₀₁ = (260/200) × 100 = 130.
P01=∑p0w∑p1w×100 e.g. Σp₁w = 240, Σp₀w = 200 ⇒ P₀₁ = (240/200) × 100 = 120.
Current (1) over Base (0) × 100; P uses p, Q uses q, V uses p·q.
Trick: Current goes on top (1), Base sits at the bottom (0) — just like standing on the ground floor (0) to reach floor 1.
Laspeyres and Paasche indices
P01(L)=∑p0q0∑p1q0×100 e.g. Σp₁q₀ = 120, Σp₀q₀ = 100 ⇒ P₀₁(L) = 120.
P01(P)=∑p0q1∑p1q1×100 e.g. Σp₁q₁ = 175, Σp₀q₁ = 140 ⇒ P₀₁(P) = 125.
Laspeyres uses q₀ (10/00); Paasche uses q₁ (11/01).
Trick: L comes before P in the alphabet, and 0 comes before 1 — so L weights by q_0, P weights by q_1.
D-B, Fisher, M-E and Walsh
P01(D-B)=21(∑p0q0∑p1q0+∑p0q1∑p1q1)×100 e.g. L = 120, P = 125 ⇒ P₀₁(D-B) = (120 + 125)/2 = 122.5.
P01(F)=∑p0q0∑p1q0×∑p0q1∑p1q1×100 e.g. L = 120, P = 125 ⇒ P₀₁(F) = √(120 × 125) ≈ 122.47.
P01(M-E)=∑p0(q0+q1)∑p1(q0+q1)×100 e.g. Sums (120 + 175)/(100 + 140) × 100 = 295/240 × 100 ≈ 122.92.
P01(W)=∑p0q0q1∑p1q0q1×100 e.g. Weight each price by √(q₀q₁), then divide Σp₁√(q₀q₁) by Σp₀√(q₀q₁) × 100.
==D-B = (L+P)/2; Fisher = √(L×P)==; M-E adds L and P sums.
Trick: D-B takes A.M. of L and P; Fisher takes G.M. of L and P; M-E adds sums; Walsh uses root of q_0*q_1.
Cost of living index (CLI)
CLI=∑p0q0∑p1q0×100 e.g. Σp₁q₀ = 435, Σp₀q₀ = 300 ⇒ CLI = (435/300) × 100 = 145.
CLI=∑W∑IW,I=p0p1×100 e.g. ΣIW = 1590, ΣW = 12 ⇒ CLI = 1590/12 = 132.5.
==CLI = Σ(IW)/ΣW for Family Budget, and equals Laspeyres== for Aggregative Expenditure.
Trick: Family Budget replaces p_1 q_0 with I * W because I * (p_0 q_0) = 100 * p_1 q_0!
Laspeyres vs Paasche Price Index
VSBasis
Laspeyres' Index
Paasche's Index
Weight Used
Laspeyres' Index:Uses base-year quantities q₀.
Paasche's Index:Uses current-year quantities q₁.
Formula
Laspeyres' Index:P₀₁(L) = (Σp₁q₀ / Σp₀q₀) × 100.
Paasche's Index:P₀₁(P) = (Σp₁q₁ / Σp₀q₁) × 100.
Inflation Bias
Laspeyres' Index:Tends to overstate price rise (fixed basket).
Paasche's Index:Tends to understate price rise (new basket).
Data Requirement
Laspeyres' Index:Needs q₀ only once; easy to compute.
Paasche's Index:Requires fresh q₁ data every period.
Dorbish-Bowley vs Fisher Ideal Index
VSBasis
Dorbish-Bowley's Index
Fisher's Ideal Index
Average Type
Dorbish-Bowley's Index:Arithmetic mean of L and P.
Fisher's Ideal Index:Geometric mean of L and P.
Formula
Dorbish-Bowley's Index:P₀₁(D-B) = [P₀₁(L) + P₀₁(P)] / 2.
Fisher's Ideal Index:P₀₁(F) = √[P₀₁(L) × P₀₁(P)].
Relative Size
Dorbish-Bowley's Index:Always >= Fisher (AM >= GM).
Fisher's Ideal Index:Always <= D-B; lies between L and P.
Status
Dorbish-Bowley's Index:Simple midpoint between L and P.
Fisher's Ideal Index:Known as Fisher's Ideal Index.
How to model resource limits as linear inequalities and find the optimal profit or cost at corner points.
Big picture flow
- 01Define Decision Variables x, y
- 02Write Objective Z & Constraints
- 03Plot Lines & Origin Shading
- 04Find Corner Points (Vertices)
- 05Test Z at All Corners
x ≥ 0, y ≥ 0
Non-negativity constraints keeping solutions in quadrant I
≤ vs ≥
At most / up to gives ≤; at least / minimum gives ≥
Corner points
Optimum Z always occurs at a vertex of the feasible region
2 tied corners
Infinitely many optimal solutions lie along the joining edge
LPP components and formulation
Optimize Z=c1x+c2y e.g. Profit ₹45/tricycle, ₹65/bicycle ⇒ Max Z = 45x + 65y.
a1x+b1y≤d1(or ≥d1) e.g. Max 120 hrs on Machine A (6 hrs/x, 4 hrs/y) ⇒ 6x + 4y ≤ 120.
x≥0,y≥0 e.g. Production counts cannot be negative ⇒ x ≥ 0, y ≥ 0.
Write variables, Z (Max/Min), ≤ or ≥ constraints, and x ≥ 0, y ≥ 0.
Trick: Decision variables = What you choose; Objective = What you chase (Max profit / Min cost); Constraints = Rules you obey.
Convex sets and feasible region
ax+by≤corax+by≥c e.g. (0, 0) in 2x + 3y ≤ 18 gives 0 ≤ 18 (true) ⇒ shade origin side.
Feasible region is always convex, and optimum Z sits at a corner vertex.
Trick: Think of a balloon vs a crescent: a straight string between any two dots stays inside a convex set.
Graphical corner point method
c/ax+c/by=1 e.g. 2x + 3y = 18 ⇒ x/9 + y/6 = 1 gives intercepts (9, 0) and (0, 6).
Plot intercepts, check (0, 0) for shading, solve corners, evaluate Z.
Trick: 4 steps: Lines by intercepts -> Shade common region -> Solve corners -> Test Z at corners.
Optimal and special cases
Zopt=Z(x∗,y∗) e.g. Corners (0,0),(5,0),(3,4),(0,6) give Max Z = 9(3)+13(4) = 79 at (3, 4).
Two tied corners give infinite solutions on that edge; unbounded regions can lack a finite max.
Trick: Tie at two corners = whole edge wins; Open-top region = Max runs away to infinity.
Feasible vs Optimal Solution
VSBasis
Feasible Solution
Optimal Solution
Definition
Feasible Solution:Any (x, y) satisfying all constraints.
Optimal Solution:Feasible (x*, y*) giving the best Z.
Where Located
Feasible Solution:Anywhere inside or on the feasible region.
Optimal Solution:At a corner vertex (or edge if tied).
How Many Exist
Feasible Solution:Usually infinitely many points in shaded area.
Optimal Solution:Unique vertex, edge-infinite, or none.
Role of Z
Feasible Solution:Does NOT need to maximize or minimize Z.
Optimal Solution:Maximizes or minimizes Z = ax + by.
Maximization vs Minimization LPP
VSBasis
Maximization LPP
Minimization LPP
Typical Goal
Maximization LPP:Maximize profit or output Z.
Minimization LPP:Minimize cost or diet expense Z.
Common Constraints
Maximization LPP:Mostly ≤ (available hours, budget).
Minimization LPP:Mostly ≥ (minimum nutrients, demand).
Typical Region
Maximization LPP:Usually bounded polygon near origin (0, 0).
Minimization LPP:Often unbounded away from origin.
Unbounded Behaviour
Maximization LPP:Usually has no finite maximum if unbounded.
Minimization LPP:Can still have a finite minimum at a vertex.
How the Hungarian method matches n tasks 1-to-1 at minimum cost, and Johnson's rule orders jobs on machines.
Big picture flow
- 01Balance & Convert Max → Min
- 02Row & Column Min Subtraction
- 03Cover Zeros (Stop if Lines = n)
- 04Johnson's Rule (A Front, B Back)
- 05Build In-Out Table for T & Idle
x_ij ∈ {0, 1}
Each worker gets 1 job and each job gets 1 worker
Lines = n
Condition confirming an optimal zero-assignment exists
min(A) ≥ max(B)
Or min(C) ≥ max(B) to reduce 3 machines to 2
Idle_M = T − Σt_M
Machine idle time equals elapsed time minus work sum
Assignment and Hungarian method
j=1∑nxij=1,i=1∑nxij=1,xij∈{0,1} e.g. 4 workers × 4 tasks ⇒ choose 4 cells (exactly 1 per row & col).
Hungarian = Row subtract, Col subtract, Min lines to cover zeros; stop when ==lines = n==.
Trick: Row min -> Col min -> Cover zeros -> If lines < n, shrink uncovered by k and fatten intersections by k.
Special assignment cases
cij′=r,smax(crs)−cij e.g. Max entry 46 in profit matrix ⇒ cell 37 becomes 46 − 37 = 9.
Balance with 0s, convert max via (max − entry), block forbidden with ∞, sum from original table.
Trick: Short table? Pad with 0s. Maximization? Subtract from biggest number. Forbidden cell? Put infinity.
Sequencing n jobs on 2 machines
InB(job k)=max(OutA(job k), OutB(job k−1)) e.g. Job IV finishes A at 20 while B finished III at 19 ⇒ In_B = 20.
IdleM=T−∑tM,i e.g. T = 21 hrs, ΣA_i = 20 hrs ⇒ Idle_A = 21 − 20 = 1 hr.
Min on A goes front, min on B goes back; In_B = max(Out_A, prev Out_B).
Trick: A stands for Ahead (front of queue); B stands for Back (end of queue).
Sequencing n jobs on 3 machines
min(Ai)≥max(Bi)ormin(Ci)≥max(Bi) e.g. min(A) = 3, min(C) = 5, max(B) = 5 ⇒ min(C) ≥ max(B) holds.
Gi=Ai+Bi,Hi=Bi+Ci e.g. Job with A = 3, B = 4, C = 6 ⇒ G = 7, H = 10.
Check min(A)≥max(B) or min(C)≥max(B); sequence on ==G=A+B, H=B+C==; time on A, B, C.
Trick: Middle machine B must be no slower than the fastest end machine (min A or min C >= max B); merge A+B and B+C.
Assignment vs Sequencing Problem
VSBasis
Assignment Problem
Sequencing Problem
Core Decision
Assignment Problem:Who gets which job (1-to-1 matching).
Sequencing Problem:In what order n jobs run on machines.
Solution Method
Assignment Problem:Hungarian Method (row/col zero reduction).
Sequencing Problem:Johnson's Rule + In-Out time table.
Main Objective
Assignment Problem:Minimize total cost/time (or max profit).
Sequencing Problem:Minimize total elapsed time T & idle time.
Special Trick
Assignment Problem:Add dummy 0 row/col if rows ≠ columns.
Sequencing Problem:Merge 3 machines via ==G = A+B, H = B+C==.
2-Machine vs 3-Machine Sequencing
VSBasis
2 Machines (A → B)
3 Machines (A → B → C)
Reduction Check
2 Machines (A → B):Always solvable directly for order A → B.
3 Machines (A → B → C):Needs min(A) ≥ max(B) or min(C) ≥ max(B).
Sequence Step
2 Machines (A → B):Apply Johnson's rule on min{A_i, B_i}.
3 Machines (A → B → C):Apply Johnson's rule on ==G = A+B, H = B+C==.
Elapsed Time Table
2 Machines (A → B):Built directly on Machines A and B.
3 Machines (A → B → C):Must use original A, B, C (never G, H).
Failure Condition
2 Machines (A → B):Never fails under standard assumptions.
3 Machines (A → B → C):Method fails if neither condition holds.
How random outcomes map to numbers, and how discrete, continuous, Binomial, and Poisson models find probabilities.
Big picture flow
- 01Classify Discrete vs Continuous
- 02Verify Σp_i = 1 or ∫f(x)dx = 1
- 03Find c.d.f. F(x), Mean & Var(X)
- 04Pick Binomial B(n,p) vs Poisson P(m)
Σp_i = 1
Sum of all discrete p.m.f. probabilities must equal 1
P(X = c) = 0
Single-point probability is always 0 for continuous r.v.
E(X) = np > npq
In Binomial B(n, p), Mean always exceeds Variance
E(X) = Var(X) = m
In Poisson P(m), Mean and Variance both equal m
Random variables
X:S→R e.g. Tossing 2 coins: X(HH) = 2, X(HT) = X(TH) = 1, X(TT) = 0.
Counting gives discrete r.v.; measurement over an interval gives continuous r.v.
Trick: Discrete = Count on fingers (0, 1, 2, ...); Continuous = Measure on a scale (any decimal in an interval).
Discrete r.v.: p.m.f., c.d.f. & variance
∑pi=1,F(x)=P(X≤x) e.g. p = [0.1, k, 2k, 2k, k] sums to 1 ⇒ 6k = 0.9 ⇒ k = 0.15.
E(X)=∑xipi e.g. Fair die (1..6, each 1/6) ⇒ E(X) = (1+2+3+4+5+6)/6 = 3.5.
Var(X)=E(X2)−[E(X)]2=∑xi2pi−μ2 e.g. 3 coin tosses (heads): E(X²)=3, E(X)=1.5 ⇒ Var = 3 − 2.25 = 0.75.
Check ==Σp_i = 1; E(X) = Σx_i p_i; Var(X) = Σx_i²p_i − [E(X)]²==.
Trick: Mean is the balance point; Variance is Mean of Squares minus Square of Mean.
Continuous r.v.: p.d.f. & c.d.f.
f(x)≥0,∫abf(x)dx=1 e.g. f(x) = kx on (0, 2): ∫₀² kx dx = 2k = 1 ⇒ k = 1/2.
P(c<X<d)=∫cdf(x)dx=F(d)−F(c) e.g. f(x) = 3x² on (0, 1) ⇒ P(1/2 < X < 1) = 1 − (1/2)³ = 7/8.
F(x)=∫axf(t)dt e.g. f(x) = 3x² on (0, 1) ⇒ F(x) = x³ for 0 < x < 1.
Total integral of f(x) = 1; integrate c to d for P(c < X < d), a to x for F(x).
Trick: Continuous probability = Area under the curve; a single point has zero width, so P(X = c) = 0.
Binomial distribution
P(X=x)=nCxpxqn−x e.g. B(10, 0.2): P(X = 1) = ¹⁰C₁ (0.2)¹ (0.8)⁹.
E(X)=np,Var(X)=npq e.g. B(10, 0.4): E(X) = 4, Var(X) = 10 × 0.4 × 0.6 = 2.4.
E(X)>Var(X) e.g. E(X) = 6, Var(X) = 4.2 ⇒ q = 4.2/6 = 0.7, p = 0.3, n = 20.
X ~ B(n, p) has p.m.f. ⁿC_x pˣ qⁿ⁻ˣ, ==Mean = np, Var = npq==.
Trick: Divide Variance by Mean (npq / np) and q drops right into your lap!
Poisson distribution
P(X=x)=x!e−mmx e.g. m = 2, e⁻² = 0.1353 ⇒ P(X = 2) = (0.1353 × 4)/2 = 0.2706.
E(X)=m,Var(X)=m e.g. If P(X = 1) = P(X = 2) in P(m) ⇒ m = 2, so E(X) = Var(X) = 2.
e.g. 10 accidents in 50 days ⇒ daily average m = 10/50 = 0.2.
X ~ P(m) has p.m.f. e⁻ᵐ mˣ / x!, ==Mean = m, Variance = m==.
Trick: Poisson is balanced: Mean = Variance = m; Binomial tilts: Mean > Variance.
Binomial vs Poisson Distribution
VSBasis
Binomial B(n, p)
Poisson P(m)
Trials & Range
Binomial B(n, p):Fixed n Bernoulli trials (x = 0, 1, ..., n).
Poisson P(m):Unbounded counts in an interval (0, 1, 2, ...).
Parameters
Binomial B(n, p):Two parameters n and p (with q = 1 − p).
Poisson P(m):Single parameter m > 0 (m = np for large n).
p.m.f. Formula
Binomial B(n, p):P(X = x) = ⁿC_x pˣ qⁿ⁻ˣ.
Poisson P(m):P(X = x) = (e⁻ᵐ mˣ) / x!.
Mean vs Variance
Binomial B(n, p):Mean > Variance (np > npq).
Poisson P(m):==Mean = Variance = m==.
Discrete vs Continuous Random Variable
VSBasis
Discrete r.v.
Continuous r.v.
Possible Values
Discrete r.v.:Countable values (e.g. 0, 1, 2, ...).
Continuous r.v.:Uncountable real interval (a, b).
Density / Mass Rule
Discrete r.v.:p.m.f. p_i = P(X = x_i), always ≤ 1.
Continuous r.v.:p.d.f. f(x) ≥ 0 (can exceed 1).
Total Condition
Discrete r.v.:Σp_i = 1.
Continuous r.v.:∫ₐᵇ f(x) dx = 1.
Point Probability
Discrete r.v.:P(X = c) can be positive (> 0).
Continuous r.v.:==P(X = c) = 0==; area gives interval prob.