Trouble with changing the fractions into matrix-vector from

27 Views Asked by At

I am curious about is there any way to turn the following expression into more elegant matrix-vector forms? This desired transform could contain a matrix-vector product.

$$f_1=\frac{DGX+KML}{DB-ML\frac{1+KB}{T-GX}},$$ and $$f_2=\frac{DGX+KML}{DB\frac{T-GX}{1+KB}-ML},$$

where all the quantities are real numbers.

You could find that there are some obvious patterns in the two denominators and the numerators are the same. Now I want to re-rewrite the two fractions as a more concise form. Thank you in advance.