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 CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by