From ca1a7e1b774c61a0f4b8ea1c28369586712ce35f Mon Sep 17 00:00:00 2001 From: Alexander Molnar <37451552+BTmathic@users.noreply.github.com> Date: Tue, 6 Nov 2018 11:39:12 -0500 Subject: [PATCH] Add content to stub (#34235) Just addition, gave formula and example. --- .../subtracting-fractions/index.md | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/guide/english/mathematics/subtracting-fractions/index.md b/guide/english/mathematics/subtracting-fractions/index.md index a5223078d0..eaf3a163b5 100644 --- a/guide/english/mathematics/subtracting-fractions/index.md +++ b/guide/english/mathematics/subtracting-fractions/index.md @@ -3,13 +3,16 @@ title: Subtracting Fractions --- ## Subtracting Fractions -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - - - -#### More Information: - - +Subtracting fractions is a bit of a misnomer, as +``` +(a/b) - (c/d) = (a/b) + (-c/d), +``` +so there is nothing special going on here, it is just the usual [addition](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/mathematics/adding-fractions/index.md) of fractions. Namely, +``` +(a/b) - (c/d) = (a/b) + (-c/d) = (a*d - b*c)/(d*b). +``` +For example, +``` +1/7 - 3/8 = (1*8 - 7*3)/(7*8) = -13/56. +```