When is a function considered undefined? $s(t)= 3/(t+2)^2-6(t+2)+9$
For what value of t is the function s above undefined?
I am unsure when a function in mathematics is undefined or even defined, The answer to this problem is 1 I am looking for a clear explanation simple to understand and in-depth about when functions are undefined, how to check and any methods to distinguish defined from undefined. 
 A: The function $s(t)= 3/(t+2)^2-6(t+2)+9$ is undefined when $t=-2$, because division by $0$ is undefined.  For another example, in the context of real numbers, a function involving a square root would be undefined when the argument of the square root is a negative number.
A: In a function f(x), "x" is the domain. if there is a value of x where you can not work out f(x) it means that f(x) is undefined for that value of x.
Let's analyze an example:
f(x)=a/b
This function is defined for every value of b (with b been a real number) different from zero, remember we can not divide by zero.
In every function where the denominator is zero there is an undefinition.
Another example:
f(x)= square root of x, in this case the function is defined for zero and every positive value of "x", we can not work out a square root of negative numbers, at least no in domain of the real numbers.
So, all you need to do is:
Check the operations in the equation of the function:
+, -, *, powers when the index is an integer; those always can be worked out.
divisions: the values where the divisor is zero are undefinitions.
even roots can not be worked out when the number inside the root is negative therefore, where the expression inside the root is smaller than zero we have undefinitions.
Logarithm: in a logarithm based a of b where "a" is smaller than zero or "a" is equal to 1 or "b" is smaller than zero you can not work out the logarithm, therefore in those places we also have undefinitions.
