2Thanks
• 1 Post By darthjavier
• 1 Post By HallsofIvy

# Thread:

1. ## equation of a line - help

Hi,

I'm stuck on a problem and I need help... I'm supposed to find the general equation of a line (Ax+By+C=0) from two points. I did a couple of these problems and everything went well but not for this one... so here goes:

points: (-sqrt(2)/2, sqrt(2)/2), (1/2, sqrt(3)/2)

We are given the answer but I can't figure out how to get there... Here is the answer:

(sqrt(3) - sqrt(2))x - (1 + sqrt(2))y + (sqrt(2) + sqrt(6)) / 2 = 0

Anyone can help me with the steps to get to this answer?

This is my first post so go easy on me if there is a better way to format equations (just tell me how to).

Thanks!

2. ## Re: equation of a line - help

Hi

You have these points: $\left(-\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right); \left(\frac{1}{2},\;\frac{}{\sqrt{3}}{2}\right)$

The slope of the line is: $\mathrm{m}=\dfrac{\frac{\sqrt{3}}{2}-\frac{\sqrt{2}}{2}}{\frac{1}{2}+\frac{\sqrt{2}}{2} }$

Now consider a general point $\mathrm{(x,\;y)}$ of this line, which must have the same slope:

$\mathrm{m=\dfrac{\frac{\sqrt{3}}{2}-\frac{\sqrt{2}}{2}}{\frac{1}{2}+\frac{\sqrt{2}}{2} }=\dfrac{y-\frac{\sqrt{2}}{2}}{x+\frac{\sqrt{2}}{2}}}$

Now you got it

Greetings

3. ## Re: equation of a line - help

Hi and thanks for your answer.

I'm pretty new to maths so what might seem obvious for you is still a mystery for me

I did understand the slope formula but I can't see why the y difference (sqrt(3) - sqrt(2)) transfers to the A variable in Ax+By+C=0 (same thing for the x difference that becomes B...) Also, how you get the C variable from these differences is beyond me.

Sorry if this is too much explanation to have me understand something simple but I just don't get it

Thanks

4. ## Re: equation of a line - help

$\mathrm{m}$ is the slope

$\mathrm{m=\dfrac{\frac{\sqrt{3}}{2}-\frac{\sqrt{2}}{2}}{\frac{1}{2}+\frac{\sqrt{2}}{2} }=\dfrac{y-\frac{\sqrt{2}}{2}}{x+\frac{\sqrt{2}}{2}}}$

or

$\mathrm{m=\dfrac{\frac{\sqrt{3}}{2}-\frac{\sqrt{2}}{2}}{\frac{1}{2}+\frac{\sqrt{2}}{2} }=\dfrac{y-\frac{\sqrt{3}}{2}}{x-\frac{1}{2}}}$

Now multiply in each side

$\\\mathrm{\dfrac{\frac{\sqrt{3}}{\rlap{/}2}-\frac{\sqrt{2}}{\rlap{/}2}}{\frac{1}{\rlap{/}2}+\frac{\sqrt{2}}{\rlap{/}2}}=\dfrac{y-\frac{\sqrt{3}}{2}}{x-\frac{1}{2}}}}\\\mathrm{x(\sqrt{3}-\sqrt{2})-\dfrac{\sqrt{3}}{2}+\dfrac{\sqrt{2}}{2}=y(1+\sqrt{ 2})-\dfrac{\sqrt{3}}{2}-\dfrac{\sqrt{6}}{2}}\\\mathrm{x(\sqrt{3}-\sqrt{2})-y(1+\sqrt{2})+\dfrac{\sqrt{2}+\sqrt{6}}{2}}=0$

$\mathrm{A=\sqrt{3}-\sqrt{2}}$

$\mathrm{B=-(1+\sqrt{2})}$

$\mathrm{C=\dfrac{\sqrt{2}+\sqrt{6}}{2}}$

5. ## Re: equation of a line - help

You give the equation as Ax+ By= C. Do you realize those numbers are not "unique"? You could multiply the entire equation by any constant. You could, for example, Divide the entire equation by C to get (A/C)x+ (B/C)y= 1. Rewriting that as A'x+ B'y= 1 (A'= A/C and B'= B/C), putting $x= -\sqrt{2}/2$, $y= \sqrt{2}/2$ we have $\frac{\sqrt{2}}{2}A'+ \frac{\sqrt{2}}{2}B'= 1$ and multiplying both sides by $\frac{2}{\sqrt{2}}= \sqrt{2}$, $A'+ B'= \sqrt{2}$.

Now put x= 1/2, $y= \sqrt{3}{2}$ in the equation: $A'/2+ \sqrt{3}B'/2= 1$ so that $A'+ \sqrt{3}B'= 2$. Now, subtracting the previous equation from that, the A' is eliminated: $(\sqrt{3}- \sqrt{2})B'= 1$. Solve that for B', then put that into either of the previous equations.

6. ## Re: equation of a line - help

Thank you very much guys, that was very helpful (a lot more than my exercise book). Looks like I still have some basics to grasp, but with some help like this, I'll get there eventually

Cheers!
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 20, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9493470191955566, "perplexity_flag": "middle"}