フィルターのクリア

Looking for an identity or process to break one function into to

1 回表示 (過去 30 日間)
CD
CD 2019 年 2 月 8 日
コメント済み: Walter Roberson 2019 年 2 月 8 日
Would like to go from here:
(A'*C - B*C) / (A + B) to
A'*C/A - B*C/(A*(A+B))
Can anyone name this identity or process which pulls A'*C/A out of (A'*C - B*C) / (A + B) as shown above?
Thank you.
  1 件のコメント
CD
CD 2019 年 2 月 8 日
I should have been more clear. I forgot to point out that there is a value "A" and value "A' " where A' = 1 -A.
I've tested this in excel:
A A' B C
0.2 0.8 2 3
(A'C - BC) / (A + B)
-1.636
A'C/A - BC/(A(A+B)
-1.636

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 2 月 8 日
False. Suppose A = 5 and B = 11 then
>> syms C
>> (5*C - 11*C)/(5+11)
ans =
-(3*C)/8
>> 5*C/5 - 11*C/(5*(5+11))
ans =
(69*C)/80
Not even the same sign.
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 2 月 8 日
Consider
(Ap*C - B*C)/(A + B) = Ap*C/A - B*C/(A*(A + B))
multiply both sides by A/C to get
(Ap*C - B*C)*A/((A + B)*C) = (Ap*C/A - B*C/(A*(A + B)))*A/C
On both sides, the C cancel in the top and bottom. On the right side th A cancel on the top and bottom
(Ap - B)*A/(A + B) = Ap - B/(A + B)
normalize the right side into a fraction
(Ap - B)*A/(A + B) = (A*Ap + Ap*B - B)/(A + B)
discard the denominator
(Ap - B) * A = A*Ap + Ap*B - B
expand
Ap*A - A*B = A*Ap + Ap*B - B
cancel Ap*A on both sides:
-A*B = Ap*B - B
factor right side:
-A*B = (Ap-1)*B
Ap is 1-A so (Ap-1)*B is (1-A-1)*B = -A*B which is the left hand side. Therefore the two sides are equal -- except for the cases where A=-B or A = 0 or C = 0, which would have to be examined more carefully to avoid multiplication or division by 0 giving false equations.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by