[Math] How to know which function is greater than the other without drawing them

areacalculusfunctionsgraphing-functionsintegration

Two functions

In other words, what is a a conventional way to know if the function $f(x)$ is greater than $g(x)$, taking into account that sometimes they exchange the highest position after intersecting.

Thus a more specific question could be: How to know on each range, which function is greater than the other?

Best Answer

Compute the roots of $h(x)=f(x)-g(x)$.

Then you know what intervalls are interesting.

Those intervalls are a finite number for most excercises you encounter, or have a very easy to recognize pattern (like sin(x)-cos(x) ).

Then check with values inside those intervalls, wether f(x)>g(x) or vice versa.

Can you explain why this works?

Related Question