Background: As a planet orbits around a star, the star's brightness periodically dims as shown in the following picture. By measuring the variation of brightness, we are able to deduce information about the system.
Source: http://blog.timesunion.com/weather/kepler62/2770/
Problem description: To calculate the maximum variation of brightness of a star with an orbiting planet.
Attempted solution:
Let $\ell_\text{max}$ be the brightness of the star (from the earth's POV) when the planet doesn't cross the star and $\ell_\text{min}$ when the planet crosses in its entirety the star. This is the max variation scenario and the variation is given by: \begin{align*} \left(\Delta \ell \right)_\text{max} = \frac{\ell_\text{min} - \ell_\text{max}}{\ell_\text{max}} \end{align*}
When the planet doesn't cross the star: \begin{align*} \ell_\text{max} = \frac{L_\text{star}}{4\pi r_\text{es}^2} \end{align*}
where $r_\text{es}$ is the distance between earth and star (from center to center).
When the planet crosses the star, then the power per $m^2$ that reaches the planet's surface is: \begin{align*} \frac{L_\text{star}}{4\pi r_\text{ps}^2} \end{align*}
where $r_\text{ps}$ is the distance between planet and star. Therefore, the power that is blocked by the entire surface of the planet is: \begin{align*} \frac{L_\text{star}}{4\pi r_\text{ps}^2} \pi R_\text{planet}^2 = \frac{L_\text{star}}{4} \left( \frac{R_\text{planet}}{r_\text{ps}} \right)^2 \end{align*}
The apparent brightness of the star, as seen from earth, will be (EDIT: the way we spread the power loss to the surface of a sphere with radius $r_\text{es}$ is most likely wrong): \begin{align*} \ell_\text{min} &= \ell_\text{max} - \frac{L_\text{star}}{4} \left( \frac{R_\text{planet}}{r_\text{ps}} \right)^2 \frac{1}{4\pi r_\text{es}^2} \\ &= \ell_\text{max} - \frac{\ell_\text{max}}{4} \left( \frac{R_\text{planet}}{r_\text{ps}} \right)^2 \end{align*}
\begin{align*} \left( \Delta \ell \right)_\text{max} = \frac{\ell_\text{min} - \ell_\text{max}}{\ell_\text{max}} = -\frac{1}{4} \left( \frac{R_\text{planet}}{r_\text{ps}} \right)^2 \end{align*}
Question 1: I've come accross some sites on the Internet and they give a result that is $\left(R_\text{planet}/R_\text{star}\right)^2$. Basically they take the ratio of planet's area to star's area without any more detailed calculations.
Which makes me think that my calculations are wrong. Any insights ?
Qestion 2 (added afterwards): Why doesn't the transit depth depend on the distance between the planet and its star (or between us and the planet) ? If the planet was very very close to earth, wouldn't it cause an eclipse of the star ?