The exact analytical probability function is presented for the random walk with a perfect mirror under the constant external field in one dimension. Unlike the field-free solution, the symmetry around the boundary is broken by the external field and the fundamental function is not given by a simple form. We prove the solution by mathematical induction method and numerical simulations. Monte Carlo simulations can be replaced by the function without statistical noise. Based on this function, we also obtain the solution for the continuum diffusion-influenced reaction, which is shown to be superior to the known solution especially for the system with a strong external field.