FACTOID # 86: Mexican women spend 15.3% of their life in ill health.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Method of successive substitution

In modular arithmetic, the method of successive substitution is a method of solving problems of simultaneous congruences by using the definition of the congruence equation.


For example, consider the simple set of simultaneous congruences

x ≡ 3 (mod 4)
x ≡ 5 (mod 6)

Now, for x ≡ 3 (mod 4) to be true, x=3+4j for some integer j. Substitute this in the second equation

3+4j ≡ 5 (mod 6)

since we are looking for a solution to both equations.


Subtract 3 from both sides (this is permitted in modular arithmetic)

4j ≡ 2 (mod 6)

We simplify be dividing by the greatest common divisor of 4,2 and 6. Division by 2 yields:

2j ≡ 1 (mod 3)

The Euclidean multiplicative inverse of 2 mod 3 is 2. After multiplying both sides with the inverse, we obtain:

j ≡ 2 × 1 (mod 3)

or

j ≡ 2 (mod 3)

For the above to be true: j=2+3k for some integer k. Now substitute back into 3+4j and we obtain

x=3+4(2+3k)

Expand out

x=11+12k

to obtain the solution

x ≡ 11 (mod 12)

In general:

  • write the first equation in its equivalent form
  • substitute it into the next
  • continue until the last equation
  • back substitute, then simplify
  • rewrite back in the congruence form


If the moduli are coprime, the chinese remainder theorem gives a straightforward formula to obtain the solution.


See also


  Results from FactBites:
 
D. Glossary (1512 words)
Understanding descriptors is a key to a deep understanding of Python because they are the basis for many features including functions, methods, properties, class methods, static methods, and reference to super classes.
method that returns the iterator object itself so every iterator is also iterable and may be used in most places where other iterables are accepted.
There are the local, global and builtin namespaces as well as nested namespaces in objects (in methods).
NationMaster - Encyclopedia: Simultaneous equations (1361 words)
A common technique is the substitution method: Isolate the variable in one of the equations, and substitute that expression where that variable appears in another equation.
A common technique is the substitution method: try to solve one of the equations for one of the variables and substitute the result into the other equations, thereby reducing the number of equations and the number of variables by 1.
Another method is by plotting the equations on a graph, because the two equations represent straight lines in coordinate geometry and the coordinates of their point of intersection are the values of x and y that are true for both of them.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.