Express X-Y intercept line equation with Latex ?

jojoba26 shared this question 11 years ago
Answered

Move point A alone X axis , or move point B alone Y axis

the line equation changes accordingly.

But as the point A move to (0,0), the line equation is :

 x    y

--- + --- =1 (for example)

 0    5

it is not correct.

Is it possible to combine "if " statement and Latex to avoid the situation.


any help will be appreciated!


http://learn.jhsh.tpc.edu.tw/~smath/mathtec/mathtec.htm

https://ggbm.at/533483

Comments (3)

photo
1

You could define another text for example T4="x=0" and then use the "if" statement

T5=If[x(A) == 0, T4, T1].

Then hide T1 and T4 and put T5 where you like.


Oskar

photo
1

hello

in spain the expression

 x-1   y-3

--- = --- (for example) is considered OK

 0    5


simply we explain to student that 0 in denominator means 0 for numerator (in this case x-1=0)

in your case x=0 (your form do not let vertical line except x=0)


the position of number in geometry equations is understand only as a form for to get the data of a geometry figure not for to calculate with fractions


saludos

photo
1

Thank you

I modify it, and the denominator is no longer 0

:confused:

https://ggbm.at/533499

© 2020 International GeoGebra Institute