how to tell a fraction in denominator or numerator should be substituted with its integer equivalent

256 Views Asked by At

Suppose we have equations as follows (A, C and B are all integers and $\gcd$=greatest common divisor). $$R_1 = \frac{A\times C}{B} \hspace{2cm} R_2 = \frac{A\times\frac{C}{\gcd(B,C)}}{\frac{B}{\gcd(B,C)}}$$ Now If I'm not making any mistake $R_2$ can mean two fractions, one named $R_3$ of which the numerator and denominator are in order the integer results of $A\times\frac{C}{\gcd (B,C)}$ and $\frac{B}{\gcd (B,C)}$ expressions and one named $R_4$ that is $\frac{A\times C\times\gcd (B,C)}{B\times\gcd (B,C)}$ , although $R_3$ and $R_4$ are equivalent but I want $R_2$ notation to illustrate $R_3$ so is there any kind of operator or something that I can use to tell fractions in numerator and denominator of $R_2$ should be substituted with their integer equivalents, specially when I'm writing in Microsoft word?

1

There are 1 best solutions below

0
On BEST ANSWER

ok the part I was hoping I didn't make a mistake actually I did, $R_2$ means $R_4$ and not $R_3$, $R_3$ is a fraction equivalent to $R_2$, the solution is to use variables of integer type so expressing R2 in the correct way as I intend is as it follows:

$$ integer1=\frac{C}{\gcd (B,C)} \hspace{2cm} integer2=\frac{B}{\gcd (B,C)} $$ $$ R_2=\frac{A\times integer1}{integer2} $$