Case 1 : adding fractions with like denominators if A = 2/3 and B = 5/3 , then A + B is simply (A + B) / Common Denominator i.e in our case we'll have (2 + 5) / 3 = 7/3 .
Case 2 : adding fractions with dislike or different denominators if A = 2/5 and B = 3/7, then A + B is given by following steps -
- Step 1 : Take the LCM of both the denominators let's call them d1 and d2, l = LCM(d1, d2). In our case we'll have l = LCM(5,7) = 35.
- Step 2 : Take the numerator of first number and multiply it with L/d1 . In our example l/d1 = 35 / 5 = 7.
- Step 3 : Repeat the Step2 for the second numerator and multiply it with L/d2 i.e 35 / 7 = 5.
- Step 4 : Add the results of Step 2 and Step 3. Now we'll have the numerator as (2 * 7 + 3 * 5) = 29.
- Step 5 : Now the final fraction after addition would be numerator from step 4 by lcm of both the denominators. finally we'll have our fraction as 29 / LCM(d1, d2) = 29 / 35.
Enter the fractions A and B to add them.
Note: both A and B should be of the form a/b where a & b both not equal to zero