[Math] Proving the continuity of a function in its domain

calculuscontinuityderivativeslimits

"Show that the following two functions are continuous in their domain.

$h(x) = xe^{\sin(x)}$

$g(x) = \frac{\sqrt{x^2-9}}{x^2-2}$

So I know that to prove continuity I need to show that $f(a)$ is defined, the limit to a exists, and that the limit is $f(a)$. But I'm not entirely sure how I would do that in this case as the first function has a domain of all real numbers and the second one is defined everywhere except between $-3$ and $3$. So how I prove that it is continuous throughout the domain? I'm only used to proving continuity at a given point.

Any help?

Best Answer

The function $h$ is a product of two continuous function. What about the expoonential factor? This is a composition of two continuous function: an exponential one and the sine. The composition of continuous functions is continuous. Try to handle $g$ in tha similar manner.