This *is* something you can use the quadratic equation to solve, at least partially.

The function #g(j) = ln(j)# has a domain of #(0, infty)#; it is only defined for positive numbers. Your function is #g(x^2 + 2x - 4) = f(x) = ln(x^2 + 2x - 4)#. Thus, it is only defined when #x^2 + 2x - 4 > 0#. (When it is positive.)

We wish to factor #x^2 + 2x - 4# and we do this with the help of the quadratic formula.

#x = (-2 +- sqrt(4 - 4(1)(-4)))/2#

#x = -1 +- sqrt(20)/2#

#x = -1 +- (2sqrt(5))/2 = -1 +- sqrt(5)#

So our factored form is #(x + 1 + sqrt(5))(x + 1 - sqrt(5))#.

We wish to find when this equation is positive. To be positive, either both terms need to be negative or both terms need to be positive.

If both terms are negative, then #x + 1 + sqrt(5) < 0 -> x < -1 - sqrt(5)# and #x + 1 - sqrt(5) < 0 -> x < sqrt(5) - 1#. Both terms are negative when #x < -1 - sqrt(5)#.

Both terms are positive if #x + 1 + sqrt(5) > 0 -> x > -1 - sqrt(5)# and #x + 1 - sqrt(5) > 0 -> x > sqrt(5) - 1#. Both terms are positive when #x > sqrt(5) - 1#.

Thus, #x^2 + 2x - 4 > 0# when #x < -1 - sqrt(5)# and #x > sqrt(5) - 1#. So our domain is #(-infty, -1 - sqrt(5))cup(sqrt(5)-1, infty)#