Problem:
I'd like to find the values of $k$ for which the two lines
$$3x - ky = 5\quad\text{and}\quad (k^2 - 2)x + 3y = 4$$
are perpendicular.
I have been trying to solve this problem for hours, and I haven't found anything similar on YouTube (or at least not in my native language). If someone could please help me, I would greatly appreciate it.
Edit:
I'll add what I've been trying. (Sorry if something is translated badly, my english isn't that good).
I tried to isolate $y$ from the other terms in the equation, resulting in: $$\frac3kx - \frac5k = y$$ $$-\frac{k^2 - 2}3\,x + \frac43 = y$$ Then, I solved for the slopes as $$m_1 = \frac3k\quad\text{and}\quad m_2 = -\frac{k^2 - 2}3$$ and proceeded to multiply them together to obtain the value of $k$ for them to be perpendicular: $$\frac3k\cdot\left(-\frac{k^2 - 2}3\right) = -1$$ This is where I got stuck. When solving the equation, I only obtain one value for $k$, when I should be getting more than one.
I applied distributive:
$$\frac{3(k^2-2)}{3k} = -1$$
And now I don't know what to do. I tried to simplify, but it didn't work. I tried moving the denominator to the other side, so I could do Ruffini after bringing it back as $+ 3k$, but I couldn't find any roots.
Please help
Note that $\frac{3}{-k}\times \frac{k^2-2}{3}=-1$ for perpendicularity.
This gives $\frac{3k^2-6}{-3k}=-1$, which then gives
$k^2-2=k$.
The only numbers that are two less than their squares are
$k=-1$ and $k=2$.