First, note that \(x = 0\) is not a solution to \(e^x - kx^2 = 0\) since \(e^0 = 1 \neq 0\). Therefore, we can rewrite the equation as:
\[ k = \frac{e^x}{x^2} \]
Let \(f(x) = \dfrac{e^x}{x^2}\) defined for all \(x \neq 0\). The number of distinct real roots corresponds to the number of points of intersection between the curve \(y = f(x)\) and the horizontal line \(y = k\).
Differentiating \(f(x)\) using the quotient rule:
\[ f'(x) = \frac{e^x \cdot x^2 - e^x \cdot 2x}{x^4} = \frac{e^x x(x - 2)}{x^4} = \frac{e^x(x - 2)}{x^3} \]
Setting \(f'(x) = 0\) yields the single stationary point at \(x = 2\), where:
\[ f(2) = \frac{e^2}{2^2} = \frac{e^2}{4} \]
Now consider the behavior of \(f(x)\) on each separate branch of its domain:
1. On the interval \((-\infty, 0)\):
Both \((x - 2) < 0\) and \(x^3 < 0\), which means \(f'(x) = \frac{e^x(x - 2)}{x^3} > 0\). Thus, \(f(x)\) is strictly increasing.
As \(x \to -\infty\), \(f(x) \to 0^+\), and as \(x \to 0^-\), \(f(x) \to +\infty\).
By the Intermediate Value Theorem, for any \(k > 0\), the line \(y = k\) intersects this branch exactly once.
2. On the interval \((0, \infty)\):
For \(0 < x < 2\), \(x - 2 < 0\) and \(x^3 > 0\), so \(f'(x) < 0\) (strictly decreasing from \(+\infty\) to \(\frac{e^2}{4}\)).
For \(x > 2\), \(x - 2 > 0\) and \(x^3 > 0\), so \(f'(x) > 0\) (strictly increasing from \(\frac{e^2}{4}\) to \(+\infty\)).
Hence, \(f(2) = \frac{e^2}{4}\) is a local (and global positive) minimum on \((0, \infty)\).
- If \(k < \frac{e^2}{4}\), there are no intersections on \((0, \infty)\).
- If \(k = \frac{e^2}{4}\), there is exactly one intersection at \(x = 2\).
- If \(k > \frac{e^2}{4}\), there are exactly two distinct intersections on \((0, \infty)\).
Combining both intervals:
- For \(k \le 0\), there are 0 real roots since \(f(x) > 0\) everywhere.
- For \(0 < k < \frac{e^2}{4}\), there is 1 negative root and 0 positive roots (1 total).
- For \(k = \frac{e^2}{4}\), there is 1 negative root and 1 positive root (2 total).
- For \(k > \frac{e^2}{4}\), there is 1 negative root and 2 positive roots (3 distinct real roots in total).
Thus, the equation has exactly three distinct real roots if and only if \(k > \dfrac{e^2}{4}\).