Make a conjecture about y = ax+b

  • Thread starter 5ymmetrica1
  • Start date
  • Tags
    Conjecture
In summary, the conversation is about making a conjecture and proving it through algebra regarding the ratio of x to y in the function y = ax + b. The conversation also includes a discussion on finding the slope of the shortest line from the origin to y = ax + b and the use of derivatives in solving the problem. The final conclusion is that the value of the ratio of x to y is equal to the value of a in the equation y = ax + b.
  • #1
5ymmetrica1
88
0

Homework Statement


I have to make a conjecture about y = ax+b in terms of the ratio of the x coordinate in regards to the y-coordinate of the function.


Homework Equations



y = ax + b

The Attempt at a Solution



So I need to investigate the function like this:

y = ax + b

f(x)=x2+y2

f(x)=x2+(ax+b)(ax+b)

f(x)=x2+a2 x2+2axb+b2

But I'm fairly sure need to get a result that the ratio x/y is equal to a/1
But I usually end up at x/y = 1/a+b
when using the method I've written above.
 
Physics news on Phys.org
  • #2
Hi 5ymmetrica1! :smile:
5ymmetrica1 said:
But I usually end up at x/y = 1/a+b

How do you get that? :confused:

(and what does r2, = x2 + y2, have to do with it anyway??)
 
  • #3
Try to look at (two or maybe more) y-values for different x-values, and see how their differences are.
 
  • #4
tiny-tim said:
Hi 5ymmetrica1! :smile:


How do you get that? :confused:

(and what does r2, = x2 + y2, have to do with it anyway??)

because this relates to an earlier problem I posted and is investigated in the same way which was answered with this
mark.watson said:
Using Calculus:

f(x) = x2 + y2, where y = -2x + 5

so, f(x) = 5x2 - 20x + 25;
therefore, f'(x) = 10x - 20.

If f'(x) = 0 when f(x) is minimum, then

0 = 10x - 20, so x = 2.

Then, y = y(x) = y(2) = -2(2) + 5 = 1.

The coordinate is (2, 1).


NOTE: This agrees with the other "non-Calculus" method I used earlier.

so I have to use this
f(x) = x2 + y2 where y = ax+b

so by expanding and differentiating I have tried several ways and seem to always get to 1/ a+b

but I've noticed that the ratio of the x coordinate/ y coordinate is usually x:1
and this value of x is in most cases the same as the value of 'a'

For example in the function y = -2x+5
the value of x = 2 and y =1
the ratio is 2:1

and I checked with my teacher who said that by doing the same with y= ax+b
I should get to something similar such as a/1

I hope someone can help me here as I'm completely lost and have been stuck on this problem for nearly a week.
 
  • #5
5ymmetrica1 said:
because this relates to an earlier problem I posted …

But that problem asked you to find the position that is closest to the origin (ie to minimise x2 + y2).

This question doesn't, does it? :confused:

What exactly is the question?​
 
  • #6
I have to observe what I noticed when investigating the original function and make a conjecture about it.

Then I'm required to prove this conjecture with algebra.

The only thing I noticed was that in the ratio of x:y, the number of 'x' was usually equal to 'a' in the equation ax+b

So for the function -2x+5 has a ratio of 2:1 since the 'a' value is 2
and for the function -4x+7 has a ratio of 4:1 since the 'a' value is 4
ect.

So by proving this with algebra I need to get a result of a:1
 
  • #7
5ymmetrica1 said:
The only thing I noticed was that in the ratio of x:y, the number of 'x' was usually equal to 'a' in the equation ax+b
You mean that it was approximately equal, I hope.
Under what circumstances (x values) does the accuracy improve? Does this suggest anything about a trend?
 
  • #8
tiny-tim said:
But that problem asked you to find the position that is closest to the origin (ie to minimise x2 + y2).

This question doesn't, does it? :confused:

What exactly is the question?​

ohh, i think i see what the question is now …

are you asked to find the slope of the shortest line from the origin to y = ax + b ?
 
  • #9
tiny-tim said:
ohh, i think i see what the question is now …

are you asked to find the slope of the shortest line from the origin to y = ax + b ?

Yes exactly, but I also need to relate this back to the original function, this question is basically asking.

What did you notice, make a conjecture about it.
Then prove this conjecture with algebra.

To do this I need the slope of the shortest line of y = ax+b
 
  • #10
5ymmetrica1 said:
so I have to use this
f(x) = x2 + y2 where y = ax+b

so by expanding and differentiating I have tried several ways and seem to always get to 1/ a+b

i've done it (now i understand the question), and i don't get that

start by differentiating the distance-squared, and finding the value of x for which that is the minimum,

then put that value of x into ax + b to find y

then find y/x :wink:

show us what you get :smile:
 
  • #11
Do you mean like this?


f(x)=x2+a2 x2+2axb+b2

f '(x) = 2x + 2a(2x) + 2

2x + 2a(2x) + 2 = 0

2x + 2a(2x) = -2

2x = -2 - 2a(2x)

x = -1 - ax

y = a(-1 -ax) + b
 
  • #12
Hi 5ymmetrica1! :smile:

Yes, exactly like that!

Except, your algebra is completely up the spout :redface:
5ymmetrica1 said:
f(x)=x2+a2 x2+2axb+b2

f '(x) = 2x + 2a(2x) + 2

no, that should be 2x + a2(2x) + 2ab :wink:
2x = -2 - 2a(2x)
x = -1 - ax

nooo !

try again :smile:
 
  • #13
Thanks Tim, I've been away from math for a while so my algebra is pretty rusty

so I'm now getting

2x + a2(2x) +2ab = 0

2x + a2(2x) = -2ab

2x = -2ab - a2(2x)

x = -ab - a2x

is this correct?
 
  • #14
(just got up :zzz:)

better! :smile:

but don't you need x on the left and a constant on the right? :wink:
 
  • #15
So you mean I need all the x's on the left and the constant a^2 on the right?
 
  • #16
a2 ?

no :confused:
 
  • #17
well I know 'b' was a constant

or do you mean I need to add a constant 'c' like in anti-differentiation?

I'm confused as well :P
 
  • #18
so I now know I need to get a final result of -a, which proves my original hypothesis that the value of the ratio is equal to the value of a in the equation y = ax+b

and it involves using the equation √x2 + a2x2+2axb+b2

but I'm stuck from here. Can anyone offer me any help here. This assignment is due tomorrow and I'm still stuck on this problem!
 
  • #19
5ymmetrica1 said:
x = -ab - a2x

is this correct?

If the letters confuse you, maybe it's useful setting the constants to a numeric value (e.g. a = 2, b = 3) and first working out the answer with those example values. I.e. maybe try solving
$$x = -2 \cdot 3 - 2^2 x$$
first.
 
  • #20
5ymmetrica1 said:
Thanks Tim, I've been away from math for a while so my algebra is pretty rusty

so I'm now getting

2x + a2(2x) +2ab = 0

2x + a2(2x) = -2ab

2x = -2ab - a2(2x)

x = -ab - a2x

is this correct?
You were close here. As Tim said, you need to get the x's all on one side and the constants on the other. Only the red term doesn't depend on x. It's the constant, not a2, you want on the righthand side.

Go back to your second equation (the one in blue) because it has all the terms with x on the lefthand side and the constant on the righthand side. Divide out the common factor of 2, and then try solve for x again.
 
  • Like
Likes 1 person
  • #21
You mean like this?

x=−2⋅3−2 2 x

-2(3) -22x = x

-2(3) = 22(2x)

-6 = 4(2x)

8x = -6

x = -6/8 = -3/4
 
Last edited:
  • #22
vela said:
You were close here. As Tim said, you need to get the x's all on one side and the constants on the other. Only the red term doesn't depend on x. It's the constant, not a2, you want on the righthand side.

Go back to your second equation (the one in blue) because it has all the terms with x on the lefthand side and the constant on the righthand side. Divide out the common factor of 2, and then try solve for x again.

so I get

x + a2x = -ab

a2(2x) = -ab

2x = -ab / a2 = -b/a

x = (-b/a)/2
 
  • #23
No, that's not right. ##x+a^2x## isn't equal to ##a^2(2x)##. For instance, if a=2, you'd have ##x+a^2x = x+4x = 5x## whereas ##a^2(2x) = 8x##.

When you add, say, x and 3x, you get 4x. How do you come up with the 4? You add the coefficients. In your problem, a2 is part of the coefficient.
 
  • #24
so x + a^2(x) would be 2a^2(x)?
 
  • #25
No. That's no different than what you wrote before. What's the coefficient of the first term? Of the second term? What do you get when you add them together?
 
  • #26
I know how to do it with numbers but the a^2 is confusing me, if I have a^2 amounts of (x) and I add (x)
x is the coefficient in the first and second term isn't it? if I add x and x together I have 2x

:confused:
 
  • #27
No, the coefficient is everything but the x.
 
  • #28
so x + a^2(x) = a^2(x)
I hope so anyway or I'm going to bury my head in the sand :cry:
 
  • #29
Hi 5ymmetrica1! :smile:
5ymmetrica1 said:
so x + a^2(x) would be 2a^2(x)?
5ymmetrica1 said:
I know how to do it with numbers but the a^2 is confusing me, if I have a^2 amounts of (x) and I add (x)
x is the coefficient in the first and second term isn't it? if I add x and x together I have 2x

:confused:

hmm … you're really bad at this algebra thing, aren't you?

x + a2x is the same as 1(x) + a2(x)

forget the word "coefficient"

look up the "distributive law" :wink:
 
  • #30
tiny-tim said:
Hi 5ymmetrica1! :smile:



hmm … you're really bad at this algebra thing, aren't you?

x + a2x is the same as 1(x) + a2(x)

forget the word "coefficient"

look up the "distributive law" :wink:

Actually I've been away from my studies for a long time due to some health issues and have been struggling to get myself back to where I was 6 months ago, I have finals coming up too which is worrying!

Is my last post correct?
 
  • #31
5ymmetrica1 said:
Actually I've been away from my studies for a long time due to some health issues and have been struggling to get myself back to where I was 6 months ago, I have finals coming up too which is worrying!

Is my last post correct?

No, it's not. x+(a^2)x=(1+a^2)x. Don't you see why? Follow tiny-tim's clue about 'distributive law'.
 
  • Like
Likes 1 person
  • #32
Dick said:
No, it's not. x+(a^2)x=(1+a^2)x. Don't you see why? Follow tiny-tim's clue about 'distributive law'.

Thanks, yes I understand why now.

so x = -ab / (1+a2) ?
 
  • #33
5ymmetrica1 said:
so x = -ab / (1+a2) ?

yup! :smile:

so y = … ?

and the slope = … ? :wink:
 
  • #34
tiny-tim said:
yup! :smile:

so y = … ?

and the slope = … ? :wink:

y = a(-ab/(1+a2)) + b

I think this works? But I'm still not sure how I get -a from this answer
 
  • #35
5ymmetrica1 said:
y = a(-ab/(1+a2)) + b

I think this works? But I'm still not sure how I get -a from this answer

you seem to be frightened by algebra

grit your teeth and expand a(-ab/(1+a2)) and you should see how -a pans out :wink:
 
  • Like
Likes 1 person

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
264
  • Calculus and Beyond Homework Help
Replies
1
Views
493
  • Calculus and Beyond Homework Help
Replies
2
Views
540
  • Calculus and Beyond Homework Help
Replies
3
Views
278
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
Replies
10
Views
275
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
20
Views
453
Back
Top