does the functions have to be equal when graphing
When graphing functions, they each need to be solved for y (or for f(x)).
When graphed, the functions are equal when they intersect.
Can you be more specific, including a particular problem?