What is f ( x ) , if it is a straight line going through ( 2 , 4 ) and ( 3 , − 2 ) ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Your solution seems interesting, but I am not able to completely comprehend it, could you please provide a little bit of the way to get the boxed equation, I have just started learning coordinate geometry in school.
Log in to reply
@Vinayak Srivastava, so what you're saying is that you have a hard time understanding how the curve x 1 − x 0 y 1 ⋅ ( x − x 0 ) goes through ( x 0 , 0 ) and ( x 1 , y 1 ) . Right?
Log in to reply
Yes, I mean to say what is the derivation of that equation.
@Vinayak Srivastava I added a visual proof and added more details. How is it?
We can determine the gradient of our line by using the formula m = x 2 − x 1 y 2 − y 1 : m = 3 − 2 − 2 − 4 = 1 − 6 = − 6 Now, our equation for our line looks like y = − 6 x + c but we need to find c . For this, we can use one of our coordinates (I used the first one) to determine the value of our unknown constant: y = − 6 x + c sub in x = 2 and y = 4 4 ⟹ 4 ⟹ c = − 6 ( 2 ) + c = − 1 2 + c = 4 + 1 2 = 1 6 Now we can form our equation and it is y = − 6 x + 1 6
Hi @James Watson , I saw that you made an explanation before I even did! I just wanted to point out that I created a completely different solution in case you'd like to see it.
Log in to reply
i like your other solution quite a lot! more interesting than the traditional way!
Than you! It' even possible to do this trick if you want to find a polynomial of any degree since you can decide at what x value the output becomes 0 . Just use this: a ( x − x 1 ) ( x − x 2 ) ( x − x 3 ) . . .
Same method, so I won't write a solution.
Typo : − 6 = 6
The equation for a straight line is given by f ( x ) = y = m x + c , where m is the gradient and c is the y -intercept of the straight line. Since the two points ( 2 , 4 ) and ( 3 , − 2 ) satisfy the equation, we have:
{ 4 = 2 m + c − 2 = 3 m + c . . . ( 1 ) . . . ( 2 ) ⟹ ( 2 ) − ( 1 ) : − 6 = m . Putting m = − 6 in ( 1 ) , ⟹ 4 = − 1 2 + c ⟹ c = 1 6 .
Therefore, f ( x ) = − 6 x + 1 6 .
Problem Loading...
Note Loading...
Set Loading...
A way to do this, which was not seen in high school, is to sum up a function g ( x ) going through ( 2 , 0 ) and ( 3 , − 2 ) with another function h ( x ) going through ( 2 , 4 ) and ( 3 , 0 ) .
In other words:
With a bit of math and logic, you can notice that if a function goes through points ( x 0 , 0 ) and ( x 1 , y 1 ) , then it will be expressed as:
Knowing that m = x 1 − x 0 y 1 is the slope and that x 0 outputs as 0 .
Now that we identified the two functions, you get:
g ( x ) = 3 − 2 − 2 ⋅ ( x − 2 ) )
h ( x ) = 2 − 3 4 ⋅ ( x − 3 ) )
f ( x ) = g ( x ) + h ( x )
= ( 3 − 2 − 2 ⋅ ( x − 2 ) ) + ( 2 − 3 4 ⋅ ( x − 3 ) )
= − 2 ( x − 2 ) − 4 ( x − 3 )
= − 2 x + 4 − 4 x + 1 2