1
$\begingroup$

we're supposed to write a small program that calculates the intersections of $a(x-1)-by=0$ and $x^2+4y^2=3$. So far that's not such a big deal. I successfully calculate both points for all $b \ne 0$ (since $0=(4\frac{a^2}{b^2}+1)x^2-8\frac{a^2}{b^2}x+4\frac{a^2}{b^2}-3$). But we're also supposed to give the intersection(s) for $b=0$, which is what I have no idea of.

Thanks for any help :)

  • 0
    @Cristian thanks... thats just too straight-forward ! @_@2012-09-18

1 Answers 1

2

Perhaps, instead of comment I should've written it as my answer.

EDIT:

Suppose $a\neq 0$. If $b=0$, then $a(x−1)=0$ from the 1st equation. Hence, $x=1$ no matter what $a$ is. Then, the 2nd eq becomes $4y^2=2$ from where you get $y=\pm \sqrt{\frac{1}{2}}$.

If $a=0$ and $b=0$, then $a(x-1)-by=0$ for all $x\in \mathbb{R}$. In particular, it is true for $x=y$. Then, you get $y=x=\pm \sqrt{\frac{3}{5}}$.

  • 0
    @RickyDemer what do you think?2012-09-18