I've been looking at all sorts of tutorials and walkthroughs on youtube and math-online, but I really can't get it
Please explain to me like I'm the idiot I am :)
Videos
How do I find domain of function?
What is a function domain?
Can I find the domain of a function with a calculator?
A general method would be this:
Let $$y=\sqrt{t^2+6t}\\y^2=t^2+6t \\ t^2+6t-y^2=0\\t=\frac{-6\pm\sqrt{36+4y^2}}{2}$$
For t to be real, $36+4y^2\ge0\implies y\in \mathbb{R}$
But $y\not\lt0$, since $y$ is equal to the square root of a real number.
So the range of the function will be $[0,\infty)$.
A more specific method for $f(x)=\sqrt{ax^2+bx+c}$ :
First of all, range($R_f$) $\subseteq [0,\infty)$.
The range of $ax^2+bx+c$ is $[-\frac{b^2-4ac}{4a},\infty)$ if $a>0$ and $(-\infty,-\frac{b^2-4ac}{4a}]$ if $a<0$.
So, the range of $f(x)$ will be the square root of bounds of intersection of $[0,\infty)$ and the range for $ax^2+bx+c$.
Here are some of the "common rules" for $f(x)$ to be real:
1. If $f(x) = \frac 1a$, $a\ne 0$.
2. If $f(x)=\sqrt{a}, a\ge0$.
3. If $f(x)=\frac1{\sqrt{a}}, a>0$
4. If $f(x) = \log_yx, x>0,y>0,y\ne1$ (Didn't want to add this rule since it is very specific)
To find domain of a function, $f(x)$, find for what values of $x$, $f(x)$ will be undefined/not real. To find range, the general method is to find $x$ in terms of $f(x)$ and then find values of $f(x)$ for which $x$ is not defined.
Assuming that you are looking at a real function of a real variable you can determine the allowed domain as those values of t that produce a real result for g. In this case you need $t^2 + 6t \ge 0$ otherwise you are trying to get the square root of a negative number. Factorising $t(t+6) \ge 0$ with solutions $t \ge 0$ and $t \le -6$. So the allowed domain is $t \le -6$ and $t \ge 0$. The corresponding range is the values that g ranges over given this domain which can be seen to start from 0 (if $t = 0$ or $t=-6)$ and extend to $+\infty$
This changes if you allow g to be a complex function of a real variable, or a complex function of a complex variable.
The domain of a function is also often specified as a subset of the allowed domain, so you might have a function like g restriced by definition to a range $t \ge 0$.
$f$ is a fraction, and fractions are defined everywhere the denominator is non-zero (which it is). The numerator is defined when $[0,\infty) \cap [1,\infty) = [1,\infty)$, (the square root is defined at $0$), and the denominator is defined for $$ \{x : \sqrt{x} + \sqrt{x-1} \neq 0, \, x\geq 0, x\geq 1\} = [1,\infty) $$ so the domain is $[1,\infty)$.
By this, we should see that $f(0)$ is not defined.
We have $$f(x) = \frac{(\sqrt{x}-\sqrt{x-1} )}{( \sqrt{x}+\sqrt{x-1} )}$$ The domain of $f$ is: $$D_f = \{ x \in \mathbb{R} : (\sqrt{x}+\sqrt{x-1} \ne 0) \wedge (x \ge 0) \wedge (x-1 \ge 0) \}$$
- Let we consider the first inequality: $\sqrt{x}-\sqrt{x-1} \ne 0$
To make the explanation clearer let we consider to negation: $$\sqrt{x}+\sqrt{x-1} = 0 \Leftrightarrow \sqrt{x-1} = -\sqrt{x}$$ Because $(\forall x \in \mathbb{R}): \sqrt{x} \ge 0 \Rightarrow \sqrt{x-1} = -\sqrt{x}$ is not solvable($\sqrt{x-1}$ can not be negative)
The solution is $\emptyset$, because we considered the negation, so we must negate it again what result $\mathbb{R}$ Let $D_1$ denotes the first solution set, so $D_1 = \mathbb{R}$ - Now let consider the second inequality: $x \ge 0$
This inequality is already solved. In analogue to the first case let $D_2$ denotes the second solution set, so $D_2 = [0,+\infty[$ - Now let consider the last inequality: $ x-1 \ge 0 $
$ x-1 \ge 0 \Leftrightarrow x \ge 1 \Leftrightarrow D_3 = [1,+\infty[$
The whole solution $$D_f= D_1 \cap D_2 \cap D_3$$ $$\Leftrightarrow D_f= \mathbb{R} \cap [0,+\infty[ \cap [1,+\infty[$$ $$\Leftrightarrow D_f= [1,+\infty[$$
You're quite right; the book is using the term "domain" incorrectly. What they mean is "the greatest possible subset of the real numbers that could be used as the domain of a function whose values are given by this formula".
As you say, the domain of a function is part of its definition. The "definitions" of $f$ and $g$, in the context of the question, are not definitions at all, but merely equations. I would reformulate the question as: what is the largest domain in $\mathbb{R}$ for which this equation defines a function?