Find the domain of the rational function $g(x) = \frac{x^3-2x^2+4x+3}{x^2-4x+3}$. Express your answer as a union of intervals.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Find the domain of the rational function $g(x) = \frac{x^3-2x^2+4x+3}{x^2-4x+3}$. Express your answer as a union of intervals.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
(-\infty, 1) \cup (1, 3) \cup (3, \infty)
Find the domain of the rational function $g(x) = \frac{x^3-2x^2+4x+3}{x^2-4x+3}$. Express your answer as a union of intervals.
train