2
$\begingroup$

I have this equation

k = (a b c t)/(Sqrt[(f + t)^2])

and I want to set

p = t/(t + f)

In which way I can eliminate t/(t+f)?

I tried this:

FullSimplify[K, TransformationFunctions -> {(# /. t/(t + f) -> p &), Automatic}]

But it did not work.

$\endgroup$
1
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$
    – Michael E2
    Commented Jan 27, 2016 at 3:38

2 Answers 2

4
$\begingroup$
Eliminate[{
  k == (a b c t)/(Sqrt[(f + t)^2]),
  p == t/(t + f)
  },
 {t, f}]
a^2 b^2 c^2 p^2 == k^2
$\endgroup$
2
$\begingroup$
k = (a b c t)/(Sqrt[(f + t)^2]);

Assuming that {t > 0, p > 0}

Simplify[k /. t + f -> t/p, {t > 0, p > 0}]

(*  a b c p  *)

Or,

Simplify[k /. f -> t (1 - p)/p, {t > 0, p > 0}]

(*  a b c p  *)

Or, assuming {0 <= p < 1, f > 0}

Simplify[k /. t -> f p/(1 - p), {0 <= p < 1, f > 0}]

(*  a b c p  *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.