If an object is projected with vertical speed given as
[tex]v_v[/tex]
now the time of flight of the object that time in which it comes back on ground
[tex]\Delta y = v_v t + \frac{1}{2}(-g)t^2[/tex]
now here we will have
[tex]0 = v_v t - \frac{1}{2}gt^2[/tex]
[tex]t = \frac{2v_v}{g}[/tex]
now the range of projectile is given as
[tex]R = horizontal\: speed \times time[/tex]
[tex]R = v_h(\frac{2v_v}{g}[/tex]
now here we know that
[tex]v_v = v_0 sin\theta[/tex]
[tex]v_h = v_0 cos\theta[/tex]
now the range is given as
[tex]R = \frac{2(vsin\theta)(vcos\theta)}{g}[/tex]
[tex]R = \frac{v^2sin2\theta}{g}[/tex]
now in order to have maximum range we can say
[tex]sin2\theta = 1 [/tex]
[tex]2\theta = 90^0[/tex]
so we will have
[tex]\theta = 45 ^0[/tex]
so now we can say
[tex]v_v = v_h = \frac{v_0}{\sqrt2}[/tex]
so both speed must be same to have maximum horizontal range