0
$\begingroup$

The original formula looks like this:

Abs[(b x0^2)/(2 a) - (a y0^2)/(2 b)]/Sqrt[x0^2 + y0^2]

How to get:

Abs[(b^2 x0^2 - a^2 y0^2)/(a b)]/(2 Sqrt[x0^2 + y0^2])
$\endgroup$
1
  • 1
    $\begingroup$ Abs[(b x0^2)/(2 a) - (a y0^2)/(2 b) // Together]/Sqrt[x0^2 + y0^2] $\endgroup$
    – Bill Watts
    Oct 24, 2023 at 7:14

1 Answer 1

4
$\begingroup$

You can do it like this

Together /@ Abs[(b x0^2)/(2 a) - (a y0^2)/(2 b)]/Sqrt[x0^2 + y0^2]
$\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.