Computational methods are numerical techniques used to solve mathematical problems that may not have exact solutions or are too complex for analytical methods. These techniques are widely applied in computer science, engineering, economics, and applied mathematics.
1. Linear Programming Problem (LPP)
LPP is a method to maximize or minimize a linear objective function subject to linear constraints.
General Form:
![]()
Subject to constraints:
![]()
Applications: resource allocation, production planning, transport scheduling.
(i) Graphical Solution (for 2 variables)
- Plot the constraints on a graph.
- Find the feasible region.
- Evaluate the objective function
at corner points. - Maximum/minimum value lies at a corner point.
2. Solution of LPP by Simplex Method (up to 3 variables)
Used when there are more than 2 variables.
Steps:
- Convert inequalities to equalities (introduce slack variables).
- Set up the initial simplex tableau.
- Iteratively pivot to improve objective function.
- Stop when no further improvement is possible.
3. Solution of System of Linear Equations
(i) Gauss Elimination Method
- Converts the system into upper triangular form, then applies back substitution.
Example:
→ Solution: ![]()
(ii) Gauss-Seidel Method
- Iterative method: start with initial guesses, update repeatedly until convergence.
- Often used for large systems.
(iii) Matrix Inversion Method
For
, solution is:
![]()
Where
is the inverse of the coefficient matrix.
4. Solving Non-Linear Equations
(i) Bisection Method
- Root-finding method that repeatedly divides an interval in half.
- If
and
have opposite signs, a root lies in
.
Midpoint formula:
![]()
(ii) Newton-Raphson Method
- Faster root-finding method.
- Formula:
![]()
- Requires derivative and a good initial approximation.
Example: Find
using ![]()
Start
:
![]()
Applications
- Engineering: stress analysis, electrical circuits.
- Computer Science: optimization, scheduling.
- Economics: cost minimization, profit maximization.
- Science: solving complex models in physics and chemistry.
Key Takeaways
- LPP deals with optimization under constraints: graphical (2 variables) and simplex (≥3 variables).
- Gauss elimination → direct method; Gauss-Seidel → iterative method.
- Matrix inversion gives exact solutions when inverse exists.
- Bisection method → simple, always convergent, but slower.
- Newton-Raphson method → fast, requires derivative and good initial guess.
- Computational methods are essential for large-scale real-world problems without exact algebraic solutions.