Methods for find common roots of two functions

1.7k Views Asked by At

Are there any methods for finding the common roots of two functions? I would like to know if such a method exists, which doesn't involve finding all the roots of both functions.

While I'd like to find one which can be applied to any two functions, I'm also interested in methods that only consider specific cases, such as finding the common real roots of two polynomial functions.

1

There are 1 best solutions below

4
On BEST ANSWER

The common roots of two real functions $f(x)$ and $g(x)$ are the roots of $f(x)^2 + g(x)^2$.


To see why this is true, first notice that if $f(x) = g(x) = 0$, then $f(x)^2 = g(x)^2 = 0$, and the sum must also be zero.

Now suppose $f(x)^2 + g(x)^2 = 0$. Remember $f(x)^2 \geq 0$ and $g(x)^2 \geq 0$. The only way the sum of two nonnegative numbers can be zero is if the nonnegative numbers are both zero. Thus $f(x)^2 = 0$ and $g(x)^2 = 0$. This implies $f(x) = 0$ and $g(x) = 0$.