Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given the following graph: graph

I know the trick of finding the linear equation of the function between $A$ to $B$ is the intersection with $Y$ is the constant and the slope is $-\frac{10}{30}$ which means that the linear equation is $y = -\frac{1}{3}x + 100$.

I know that this method can be expanded to finding the linear equation of the function between $B$ and $C$. I can tell that the slope equals to $-\frac{60}{60} = -1$ but how do I find the constant?

share|cite|improve this question
please see answer – dato datuashvili Dec 7 '13 at 14:44
By "splitted", I think you mean "piecewise defined". – JohnD Dec 7 '13 at 14:54
@JohnD and you're correct. As I don't study Math in English I find it hard to translate most of the professional terms. – Georgey Dec 7 '13 at 15:01
up vote 1 down vote accepted

let us take example from $B$ to $C$ ,first of all we have $y=k*x+b$ where $k$ is slope, in your case $k=(30-90)/(90-30)=-1$ so we have $y=-x+b$ now at point $x=30$,$y=90$, so we have


from there $b=120$

so we have


share|cite|improve this answer
You've explained it exactly as it was taught in class when we've learned it. Thanks. – Georgey Dec 7 '13 at 15:03
წარმატებები(good luck in georgian) – dato datuashvili Dec 7 '13 at 15:04

You could plug in a point in the equation to solve for the constant or alternatively, you could use the point-slope form: $$y-y_0=m(x-x_0)$$ where $m$ is the slope and $(y_0,x_0)$ is a point on the line.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.