#In need of help with basic algebra.
307 messages · Page 1 of 1 (latest)
is this 45 (decimal point) (concatenate that with a) or 45 times a
45 times a
how would you solve it?
Need to go smaller than that, presumably
if 45a is a perfect square, then 5a is a perfect square
or perhaps more usefully, a/5 is a perfect square
What does this mean, and where do we go from here?
then a must be 5*n^2 where n is an integer, right?
then 45a = 225n^2 = b^2
and b gotta be negative
ahhhh, 45a is 3^2 x 5a^2
yep
so b = -15n
I'm stuck again...
I'm stuck back at this, what's the next step?
^
since 45 = 3^2 * 5 * a, a must have a 5 in its prime factorization to make that 5 into a 25,
and the rest of the factors pair up
since b is an integer, so 45a is a perfect square
wait, why is this?
why must it become a 5^2?
like lets say a isnt divisible by 5
well then 45a has exactly 5^1 in its prime factorization
and it cant be a perfect square
since all the prime powers need to be even
so for 45a to be equal to a square of an integer, it needs to be written as x^2 x y^2 x z^2 etc?
the squares of other numbers give us squares?
sure
if a is a multiple of 5
in fact, a needs to have an odd number of 5's in its prime factorization
why
because there's already a 5, and a 5 would let us write it as a square by becoming even?
because 45a needs an even number of 5s in its prime factorization
and the 45 has 1
so the a needs an odd number
maybe this is not a helpful way to understand
so to be equal to the square of an integer, 45a needs to be written as x^2
for us to convert 45 into a x^2, we need another 5
well it's actually b^2 but ye
so a is a multiple of 5
ye
in fact, not just a multiple of 5, but 5 times a perfect square
mhm
and for a/5 x 15^2 to be the square of an integer, a/5 needs to be a square of something
where do we go from here?
write everything in terms of that
15n^2 = b^2
15^2
but 15^2 x n^2 = 15n^2?
if both are squares you multiply the bases?
no
like when you multiply 3^2 and 5^2 it becomes 15^2
you multiplied the bases
so here you multiply 15 and n
15^2 times n^2 is (15n)^2, no?
15n^2
so then you can get b in terms of n
n^2 is a/5
just gets you back
heres what i would do
a/5 = n^2 so a = 5n^2
b = 15n
so, a + b = 5n^2 + 15n
now you want to make that as small as possible
aaah
n^2 = a/5 and b = 15n
multiply the a/5 side by 5
5n^2 = a
5n^2 + 15n = a + b
thats the thing it asks about
I kinda get it now, will need practice though
so the lowest value possible of 5n^2 +15n without bothering to find the a+b
mhm
there was a way of doing this, but I forgot
well, it's a parabola, so find the vertex and look for the nearest integer x value
since the vertex is a minimum but it may not have integer
and n must be integer
I'm sorry for asking so many questions but how does one do this 💀
I forgot so much about math
is graphing calc allowed lol
no calc allowed
so
factor it
you can find the 0s
x coord of vertex is the average of the 0s
alternatively there is -b/2a
We have 45a = b^2, so a = 45/b^2.
a needs to be an integer. So, factor 45 and try to see what values of b you can take so 45/b^2 is an integer.
ah, that formula!
15/5 = 3
what... is the result of this formula
it's 3/2,
this gives the x value of the axis of symmetry
or the x value of the vertex
-b/2a...
5n^2 - 15n
- (-15) / 10?
yes right
Wait, wait. There aren't any parabolas here.
so to make this as small as possible we would like n to be -3/2
however
that is not allowed
as it's not an integer
Hpw are you trying to solve this problem?
we are trying to minimize a + b
and a+b is 5n^2 + 15n
5n^2 + 15n
wait why is it a plus
Well, it's actually just easier to find the values of b that even produce integers, really.
because
we agreed on that
shush
ah, I misread our past convo
There aren't many.
No.
any multiple of 15 works
No. If 45/b^2 is an integer and b is also an integer, then there are only 4 values of b that work.
so anyway we choose the closest value and evaluate the function
45/b^2 does not have to be an integer though
that's 1/a
Ah, sorry! I slightly misread the problem. Let me think about it some more, then.
So, we have a + b = b^2/45 + b.
As 45 = 3^2*5, we must have b = 15n for b^2/45 to be an integer.
Thus, we are minimizing f(b) = (15n)^2/45 + 15n = 5n^2 + 15n.
Aha! Now I see your strategy.
oh rip
Yeah, take a break! We can discuss it later. Rest is important.
good idea
so we established that the minimum of 5n^2 + 15n is when n = -3/2 but this is not allowed
and we got that from -b/2a, which is the formula we use for parabolic equations to find the...
the...
the x of the vertex
or in this case the n value
hmm, so 5n^2 + 15n = 0?
no
Did I confuse it with another type of equation?
since the vertex isn't allowed choose the closest integer value of n
which will still be pretty close to a minimal point of the parabola
as it's close to the vertex
We should compare the closest integer values to the vertex. After all, the parabola has the smallest value at the vertex and inreases away from it.
What... is the next step?
e
this is general solution to minimize quadratic over the integers
Well, we got the result that if any n was allowed, then the minimum of f(n) = 5n^2 + 15n would be at n = -3/2.
But we need integer n. So, let's instead substitute the two integer values of n closest to -3/2.
What will they be?
is it (5n)^2?
-1
5 -15
-10 again
Yes. Why do you think that happened?
Yes.
So let me write the solution of this question step-by-step from memory with my own words
it's because they are the same distance from the vertex, and parabolas are symmetric around the axis of symmetry
they are the same distance from that axis
so y value has to be the same
By the wy, the reason for these two values being equal is that the vertex at n = -3/2 is equidistant from n = -2 and n = -1. And as the parabola is symmetric around an axis passing through the vertex, these values have to be the same.
45a = b^2
therefore 45^a is n^2
for it to be written as a square, I need to convert 45 into x^2
3^2 x 5 is 45, so it needs another 5, therefore a needs to be divisible by 5 to steal from it, and 1/5 needs to be a square as well.
15^2 x a/5 = b^2
a/5 is the square of something, so we integrate it as 15n^2 = b^2
b = 15n
Yes, because 45 = 3^2*5.
Yes.
and we use -b/2a to find the x of the vertex of a parabola
in which case it is -15/10
-3/2
but it needs to be an integer, so we have to try the closest integers to it
Yes.
first we tried -2 which gave us -10
-1 did the same
this proves that -10 is the lowest value of a+b
Correct.
and -10 is the answer of this question
🥳 hooray
equations in forms of ax^2 +- by +-c are paraboles
No.
y = ax^2 + bx + c
Yes.
in this case, it was an^2 + bn + 0
We can modify the problem a bit. Then you can solve it, just to make sure you got it.
so the things I learned from this question
things that are equal to the square of an integer have to be written in squares of integers so you can combine them to equal to the other side
-b/2a is the x of a vertex of a parabole, the point at which y is lowest
?
Well, it's the lowest if a > 0.
true
if a is < 0, then it is its highest point?
Yes.
That would be delightful, thanks.
@shell kraken has given 1 rep to @fervent imp
Now, suppose we have 12a = 5b^2 and we are trying to minimize a + 3b. a and b are integers, as before.
The ones in the first column can't be represented as y = f(x), as they have several values of y for some values of x. You can represent them as x = ay^2 + by + c, though.
2^2 x 3 x a = 5b^2
You could have just did, 5.3²a = b² ?
That's what we already discussed.
Yes. So, what is a?
I see
No, not a/3.
Better to do it like this:
a = 5b^2/12 = 5b^2/(2^2*3)
So, we have 2 and 3 in the denominator. What should we take b as to get rid of those?
I'm lost...
Well, we need to take b = kn, where k is divisible by both 2 and 3.
What is the smallest number divisible by 2 and 3?
6
Yes. Thus, k = 6 and we take b = 6n.
So, now we look at a = 5b^2/12 again. Substitute b = 6n here.
5n^2 = a
No, not 5n^2. Calculate it more carefully.
Yes.
So, we got that b = 6n, a = 15n^2.
Now, we return to the expression we want to minimize: a + 3b.
Yes.
-b/2a time
Yes.
-15/12
-5/4
if we want the end result to be an integer, we take the closest ones to it
-1 and -2
starting with -1
-3
for -2, it is
60 - 36
24?
help
The value is the smallest at n = -3/5, but we need an integer n. What's the integer closest to -3/5?
Yes. And that's the answer.
Don't worry, you just need some practice.
Yes... I'll get better at math and physics, and I'll get into medical school. Thank you very much.
You're welcome!
I am very thankful you bore with my slow-learner ass. I would be delighted to receive your assistance next time.
Well, don't worry! You'll certainly get better with some practice. Remember to take breaks, too.