I say that division by $0$ is defined, that it can yield multiple results in different contexts. People need to stop treating $0$ as a number or an integer for it is not! It is a place holder, the empty or null set. First lets start with what the operation of division or a fraction is! It is the inverse or opposite operation of multiplication; simple enough!. What is multiplication? It is the repetitive operation of addition! What is addition? Addition is a 1 dimensional linear transformation specifically translation!
Consider this: we have an arbitrary point $p(n)$ where n is any value. A point itself is similar to but different than a vector. A point itself can have an infinite amount of dimensional coordinates but the point itself is $0$ dimensional where it has no association or awareness of any other point, direction (rotation), or dimensions. Once you introduce a second point and you associate the two, then you have a line segment that has distance, displacement or length. The addition or subtraction which is horizontal linear translation of two points that creates that line segment transforms those two points into a single 1 dimensional vector. A vector does not become $2D$ until it is introduce to another vector that has a separation by a angle of some degree. So at minimum you need 3 points at different locations to create at minimum two different vectors to where one of those points becomes a vertex or intersection between two line segments, lines or vectors.
So what does points, vectors, lines, rotations and different dimensional spaces have to do with division by $0$ and whether it is undefined or defined? Everything!
To explain this we need to understand some geometry, some algebra and some trigonometry and the relationships of vectors and angles.
Things need to know:
- Slope of a line:
$$m = \frac{rise}{run} = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\sin\theta}{\cos\theta} = \tan\theta$$
- If a slope has the form $\frac{n}{d}$ then its perpendicular or the line orthogonal to it is its negative reciprocal as in $-\frac{d}{n}$
- If $\tan\theta$ represents the slope of the line according to $\theta$ where $\theta$ is the angle above the horizontal in standard position then we can say that the perpendicular must be:
$$-\frac{\cos\theta}{\sin\theta} = -\cot\theta$$
- Both the $\sin$ and $\cos$ have a domain of $\mathbb R$ and a range of $[-1,1]$, they are circular functions or are continuous and repeat forever with a period of $2\pi$ making them periodic wave functions.
- Pythagorean Theorem & Equation of Circle Are The Same
$$A^2 + B^2 = C^2$$ $$X^2 + Y^2 = r^2$$
- The relationship between the cosine of the angle between two vectors: $$\cos\theta = \frac{\vec a \cdot \vec b}{|\vec a||\vec b|}$$
When we think of slope and its definition that we are referring to it is the rate of the increase of height or elevation over distance. So when the ground that we walk on is perfectly flat and we have $0$ elevation we have $0$. To demonstrate this use the Unit Circle and the coordinate pairs on the circle $(x,y) = (\cos\theta, \sin\theta)$ and the vector or line has a length of $1$. So when their is $0$ rise the $\sin\theta$ is $0$ so the equation of the slope of the line or the tangent is as follows: $\frac{0}{\cos\theta} = 0$. This simply means we have no elevation but we have any amount of horizontal translation.
Now when we rotate the line $CCW$ around the unit circle and we take a pit stop at $45°$ or $\frac{pi}{4}$ we end up with a slope of $1$.
This takes the form of: $$\tan\theta = \frac{\sin\theta}{\cos\theta} = \frac{ \frac{\sqrt{2}}{2} } { \frac{\sqrt{2}}{2} } = 1$$
So here we are going up 1 in height for every one in length. So far so go.
Let's continue to rotate this vector in the same direction and make a pit stop at $90°$ or $\frac{pi}{2}$.
In conventional math teachings and what many of us have been taught was oh-no we have a problem; vertical slope is undefined due to division by $0$.
I say we don't have a problem and that it is not undefined. Why?
Well it was okay to say we had $0$ rise with infinite horizontal translation resulting in $0$ slope. And now that we are at its perpendicular that slope isn't defined?
In the first case we had $$\frac{\sin\theta}{\cos\theta} = \frac{0}{\cos\theta} = 0$$ but now that we have the opposite where we have no run but we do have rise we can not seem to defined this? $$\frac{\sin\theta}{\cos\theta} = \frac{\sin\theta}{0} =$$ $$? ... undefined$$
This is vertical slope and because of these assessments it also causes us to treat the tangent and cotangent to be undefined at specific values because of division by $0$.
However by definition of words and thought and sound intuition we know that our height is always increasing, but we are no longer moving horizontally. This is infinite slope or vertical slope. This is well defined if you ask me. Let's remove the $0$ for a moment and consider the following with some arbitrary variables.
If the slope = $\tan = \frac{\sin}{\cos}$ then its negative reciprocal must be $-\frac{\cos}{\sin} = -\cot$
So if the slope of a horizontal line is $0$ in the form of $\frac{0}{\cos}$ then to find the negative reciprocal to get its perpendicular we have to say that: Instead of using $0$ directly I will use the angle of the trig function that evaluates to $0$ since it has a valid range and domain to produce this value of $0$.
$$-1 = \frac{n}{d} * -\frac{d}{n}$$
Let $$\frac{n}{d} = \frac{\sin\left(0°\right)}{\cos}$$ and $$-\frac{d}{n} = -\frac{\cos}{\sin\left(0°\right)}$$
then
$$-1 = \frac{\sin\left(0°\right)}{\cos} * -\frac{\cos}{\sin\left(0°\right)}$$
Initially this would appear to produce $-1 = 0 * 0$ if you multiplied the fractions out which wouldn't make any sense. However when you look closely the two $\sin$ functions without any known input values intuitively cancel each other out leaving you with $-1 = -\frac{\cos\theta}{\cos\theta}$. Let's prove this by looking at the dot product of two vectors and applying trig substitutions. Let's consider this: $p1 = (0,0), p2 = (1,0), p3 = (0,1)$ which are the three points on the unit circle that would make a right triangle with the axis being the perpendicular. We need two vectors $\vec A \vec B$ and in this case we need the vectors to be $\vec A = p2 - p1$ and $\vec B = p3 - p1$ and this will give us the vectors as: $\vec A = (1,0)$ and $\vec B = (0,1)$.
If we take the dot product of these two vectors and divide them by their magnitudes it should look like this:
$$\cos\theta = \frac{\vec A(1,0) \cdot \vec B(0,1)}{|\vec A||\vec B|}$$
and this simplifies to: $$\cos\theta = \frac{0}{1} \implies \arccos(0) = 90°$$
Now that we have a relationship with $\arccos$ and we know that the these vectors do in fact intersect each other at a $90°$ angle making them perpendicular and orthogonal to each other, they are also both a normal to each other since their magnitudes or the length of these vectors both have an absolute value of $1$.
We know through trigonometry that there are relationships between the trig functions and since slope is defined as the $\tan$ of the angle $\theta$ above the horizontal in standard angle form where the vertical vector or leg that creates the right angle on the right side of the triangle with $\theta$ being the vertex on the left when the trig functions are used within the context of the unit circle with the unit circle being defined by the equation $X^2 + Y^2 = C^2 = X^2 + Y^2 = 1$. Since the radius vector of the unit circle has a magnitude of length $1$ we can apply some of these relationships between the $\sin$ and the $\cos$ to convert from one to the other based on the fact that the natural graphs of the two are a $\pm90°$ angle or a $\pm\frac{\pi}{2}$ radians horizontal translations of each other. We can use this to substitute back into the equation where we found the negative reciprocal of the horizontal normal vector with a magnitude of $1$.
NOTE: Before I do the substitution I will make the statement here that the sign of the vectors in this case only implies opposite direction or reflection of symmetry or the rotation of either $180°$ degrees or $\pi$ radians about a fixed point and in this case the fixed point is $(0,0)$. The reason I state this is because $\vec A$ that starts at the point $(0,0)$ and points to the point $(1,0)$ has the positive direction stemming out from $(0,0)$ while another vector $-\vec A$ starts at the point $(0,0)$ and points to the point $(-1,0)$ again stemming out from $(0,0)$. This relationship of vectors $\vec A$ and $-\vec A$ are the same exact vector when vector $\vec A$ is rotated $180°$ or $\pi$ radians the point at the end of the initial vector before the rotation located at $(1,0)$ is the same exact point that ends up at $(-1,0)$ along with all the points of the line or vector in between the fixed point $(0,0)$ and vector $\vec A$. This is evident by two supporting functions, the first was already used once but with different values and that is the relationship of $\cos\theta$ and the dot product between vectors $\vec A$ and $-\vec A$ which will yield $-1$; also if you take the $\arccos(-1)$ it will evaluate to $180°$ of rotation which is also the angle measure of any and all $1D$ Cartesian Linear Lines of the form $y = mx + b$. The second supporting function is the definition of the circumference of a circle $c = 2\pi r$ and since $r = 1$ this simplifies to $2\pi$ which also happens to be the period of the $sine$ and $cosine$ functions. Now that we have $2\pi$ which measures the arc length around the circle when the radius $r = 1$ when we divide that in half it gives us $\pi$ radians or $180°$.
Let's now apply the substitution of the $\sin$ and $\cos$ functions in order to remove the component of the fractional part of the $\tan$ that represents the axis directional component of vertical slope.
Given that when $-1$ is applied to the $\arccos()$ function and returns a value of $180°$ and that the first or left fraction represents the slope of a line whose slope is $0$ and that the second or the right negative fraction represents the slope of the line that is perpendicular to the first shown again here:
$$-1 = \frac{\sin\left(0°\right)}{\cos} * -\frac{cos}{\sin\left(0°\right)}$$
and knowing the trigonometric Cofunction identities with $$\sin\left(\frac{\pi}{2} - \theta \right) = \cos\theta$$
and
$$\cos\left(\frac{\pi}{2} - \theta \right) = \sin\theta$$
we can use these to make that substitution and since $\sin(0) = 0$ and it is found in the negative reciprocal we need to substitute all $\sin()$ functions with $\cos()$ functions
$$-1 = \frac{\cos(\frac{\pi}{2} - \theta)}{\cos\theta} * \frac{\cos\theta}{\cos(\frac{\pi}{2} - \theta)}$$
If we partially ignore the negative sign attached to the $-1$ on the left hand side of the equation since it only implies the facing direction of the vector as in right versus left we can see that $$|-1| = \frac{\cos(\frac{\pi}{2} - \theta)}{\cos\theta} * \frac{\cos\theta}{\cos(\frac{\pi}{2} - \theta)}$$ still holds true.
Conclusion To sum this up when a slope is $0$ it is the numerator or the rise component that is $0$ which means it has no slope for there is no rise in height and this is okay. When the slope is vertical slope we are normally taught that it is undefined because of division by $0$. However without using values and just using real life concepts since mathematics is supposed to model real life concepts when we do have vertical slope I say that it is very much defined. It is the opposite of $0$ slope from the rise being $0$ in the numerator and when slope is vertical we now have $0$ run or horizontal displacement but we are ever increasing in the up and down direction does imply that the slope is not $0$ but the slope is infinite or the $\lim$ approaches $\infty$ just like the horizontal component of $0$ slope approaches $\infty$. Imagine walking down an alley between two skyscrapers and that the alley represents the relationship of different translations between different inclines of slope. At first the ground is level so there is no slope then the alley has a hill and the slope is $1$ this means perfect rise over run as the increase in elevation is equivalent to the change in horizontal translation where the angle above the horizon is $45°$ and $\tan(45°) = 1$. Then the ground levels out again with $0$ slope and is flat and horizontal. Then all of a sudden you can go no farther because there is another skyscraper in front of you, there is no turning left or right, and there is no going back. The outside wall of the building has a ladder and you begin to climb up. Now you have $0$ horizontal translation and continuous vertical translation for each rung of the ladder you climb. There for vertical slope is defined as it is always 100% straight up, orthogonal, perpendicular and normal to $0$ or horizontal slope.
One thing to be aware of is if you have the unit circle with 2 fixed points one at $(0,0)$ and one at $(1,0)$ and your third point can move freely along the circumference of the unit circle we can make 3 vectors to form a triangle. We do this in the first quadrant so that the initial right triangle is in standard position. Two of the vectors will always equal 1 and initially the first vector will be composed of the first 2 fixed points. The 2nd vector will virtually start off as the same exact vector of the fixed vector but it will rotate about the origin around the unit circle. The 3rd vector initially doesn't exist or is the $\vec 0$ since this has a tail at $(1,0)$ that will remain fixed but will have its head tracing around the unit circle with the rotating vector radius. This vector will change its length at each interval of rotation. Now imagine the right triangle in standard position with a $45°$ angle and the rotating radius with a slope of 1 this will end up being the hypotenuse. This radius vector will remain the hypotenuse until it coincides with the $Y-axis$. Once it does and the angle becomes $90°$ and the once standard position of the right angle no longer exists on the right side of the triangle as the intersection of the axis now becomes your new right angle for only this measure of degree and when $\theta$ also equals $270°$. The radius vector that was the hypotenuse no longer is and the variable length vector now becomes the new hypotenuse with a length of $\sqrt 2$. When the two radius vectors are in this position or when the rotating vector is at $(0,-1)$ both of these right triangles yields the maximum area of any triangle that can be made by the unit circle while having two legs with a magnitude of its radius. Another peculiar thing to notice here is when we have this reversed right triangle such that the angle of rotation is at $90°$ degrees and we take the origin point $(0,0)$ and reflect it over this
new hypotenuse it will give us the point $(1,1)$ which is outside of the unit circle. This creates a perfect unit square with an area of $1$, this also shows the relationship of the Pythagorean Theorem that pertains to triangles and how it relates to the equation of the Unit Circle, and this is also one of its proofs.
So in this context of linear transformations, rotations, slope etc., division by $0$ is defined as it represents vertical or infinite slope. Now in other contexts division by $0$ may represent other things such as $0,1,\infty,D.N.E.(Does Not Exist)$ We have to remember that $0$ is not really a number nor an integer. It is a place holder and has no value as it represents the empty or null set, an approach to infinity or even infinity itself. $0$ in its purest form is only a character, digit or glyph.
How to explain this to a 2nd grader? Hmm, good luck as you seen what I had to do to prove all of the massed printed text books wrong!
Edit -Additional things to consider.
Since we already seen that $\tan(45°)$ or $\frac{\sin(45°)}{\cos(45°)} = 1$ let's consider the very first expression or equation that we are taught $1 + 1 = 2$. Since all integer values can be represented as fractions we can do this as well: Ant that is to substitute values of $1$ with the appropriate trig functions with the appropriate angles and this would give us...
$$1 + 1 = 2 \implies \tan(45°) + \tan(45°) = 2 * \tan(45°)$$
which can also mean:
$$1 + 1 = 2 \implies \frac{\sin(45°)}{\cos(45°)} + \frac{\sin(45°)}{\cos(45°)} = 2 * \frac{\sin(45°)}{\cos(45°)}$$
This holds true because the definition of slope is $\frac{\delta y}{\delta x}$
which is a fraction. So one can see that all numbers are in fact a form of slope including the approach to $\pm\infty$. So I tend to believe in this particular context that slope in the form of $\frac{\sin\theta}{\cos\theta}$ where the $\sin$ does not evaluate to $0$ and the $\cos$ does, the yielding result would be $\pm\infty$.
Added Note - Also some might say well it yields both $\pm\infty$ so it still has more than one answer so it still has to be undefined. This is a wrong assumption or assessment. It depends on the direction of the angle or rotation. If you angle $\theta$ is either $90°$ or $-270°$ then the answer is obviously $+\infty$ or vertical slope that is straight up and if your angle $\theta$ is either $-90°$ or $270°$ then it is $-\infty$ or vertical slope and it is straight down, and don't forget to count they periodicity of higher valued angles which would be $\theta + 180° * n$ where $n$ is some integer $>=1$ or $0$. This also works as a function because even though there are two inputs that give you a single output it is the nature of the $\sin()$ and $\cos()$ functions that gives this behavior of the slope of the line. This duality is due to the equation of a circle $x^2 + y^2 = r^2$ or the Pythagorean Theorem $A^2 + B^2 = C^2$.