A constant function g won't work. Here is an example which shows why. All my examples will use ordinary Lebesgue measure, and X=some subset of the real line, in fact, X=some subset of [tex](0,\infty)[/tex]. Draw pictures of all these examples!
Example: [tex]f(x)=1/x^2[/tex] on [tex]X=(1,\infty)[/tex]. f_n doesn't matter too much, but let's say
[tex]f_n(x)=f\cdot\chi_{[1,n]}[/tex] where [tex]\chi_A[/tex] denotes the characteristic function of A (i.e., 1 on A and 0 elsewhere).
Then f is integrable, i.e. [tex]\int|f|<\infty[/tex] but the space [tex]X=(1,\infty)[/tex] doesn't have finite measure, so (nonzero) constant g won't be integrable.
-----
OK, so can you use DCT anyway with a different g? I know two main versions of DCT. Version 1 requires a single dominating function g that dominates all the f_n simultaneously. Version 2 only requires a sequence of dominating functions g_n.
Version 1 is certainly in your book and/or notes. Look to see if you have Version 2 available:
DCT 2: Suppose g_n is a sequence of integrable functions, lim g_n=g (a.e.), g is integrable, f_n is a sequence of measurable functions, [tex]|f_n|\le g_n[/tex], lim f_n=f (a.e.), and
[tex]\lim\int g_n=\int g[/tex]
Then [tex]\lim\int f_n=\int f[/tex]
Here is an example which shows that Version 1 (with a single g) is not going to work:
Example: [tex]X=(0,\infty)[/tex], [tex]f_n(x)=\frac1n\cdot\chi_{[n,n+1]}[/tex] and [tex]f\equiv0[/tex]. Note that [tex]\int f_n=1/n[/tex]
Any g that would dominate all f_n simultaneously would have [tex]\int g\ge\sum_{n=1}^{\infty} \frac1n=\infty[/tex]
-----
Version 2 will work. Do you have it available to use?