#In need of help with basic algebra.

307 messages · Page 1 of 1 (latest)

shell kraken
#

Unable to find the smallest a+b, in need of step-by-step guide and subject name (So I can watch lessons)

silver steppe
shell kraken
#

45 times a

silver steppe
#

so 45 is 5*9

#

wait

#

none of the answers are right

shell kraken
#

how would you solve it?

silver steppe
#

well b^2 >= 0 and so a >= 0 and wowwowwow a = 0, b = 0 is a solution

#

OH

shell kraken
#

Need to go smaller than that, presumably

silver steppe
#

ok maybe the problem is right

#

yeah

silver steppe
#

or perhaps more usefully, a/5 is a perfect square

shell kraken
#

What does this mean, and where do we go from here?

silver steppe
#

then a must be 5*n^2 where n is an integer, right?

#

then 45a = 225n^2 = b^2
and b gotta be negative

shell kraken
#

ahhhh, 45a is 3^2 x 5a^2

silver steppe
#

yep

shell kraken
#

and from there...

#

uhm.

silver steppe
shell kraken
#

I'm stuck again...

silver steppe
#

a = 5n^2

#

a + b = 5n^2 - 15n

#

simple minimization

#

problem

shell kraken
silver steppe
#

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

shell kraken
#

ah, uh

#

i think i almost got it, just need to think more

shell kraken
#

why must it become a 5^2?

silver steppe
#

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

shell kraken
#

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?

silver steppe
#

sure

shell kraken
#

if a is a multiple of 5

silver steppe
#

in fact, a needs to have an odd number of 5's in its prime factorization

shell kraken
#

why

#

because there's already a 5, and a 5 would let us write it as a square by becoming even?

silver steppe
#

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

shell kraken
#

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

silver steppe
shell kraken
#

so a is a multiple of 5

silver steppe
#

in fact, not just a multiple of 5, but 5 times a perfect square

shell kraken
#

so if a has one 5, we can convert the 45 into:
3^2 x 5^2 x (a/5)

#

so 15^2 x a/5

silver steppe
#

mhm

shell kraken
#

and for a/5 x 15^2 to be the square of an integer, a/5 needs to be a square of something

silver steppe
#

correct

#

i chose it as n^2

shell kraken
#

where do we go from here?

silver steppe
shell kraken
#

15n^2 = b^2

silver steppe
#

225n^2

#

= b^2

shell kraken
#

whuh

#

where did the x15 come from?

silver steppe
shell kraken
#

but 15^2 x n^2 = 15n^2?

silver steppe
#

no

#

you need the parentheses

shell kraken
#

if both are squares you multiply the bases?

silver steppe
#

(15n)^2

#

is that what you meant

shell kraken
#

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

silver steppe
#

15^2 times n^2 is (15n)^2, no?

shell kraken
#

15n^2

silver steppe
#

yes but when you write that, it means (15)(n^2)

#

due to order of operations

shell kraken
#

ah

#

when you process 15n^2

#

you get (15x15) x (nxn)

#

225n^2 = b^2

silver steppe
#

so then you can get b in terms of n

shell kraken
#

by taking the square root of both, therefore b = 15n?

#

n is a/5 so b = 3a?

silver steppe
#

n^2 is a/5

shell kraken
#

a

#

225/5a = b^2

#

45a = b^2...

silver steppe
#

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

shell kraken
#

aaah

#

n^2 = a/5 and b = 15n

#

multiply the a/5 side by 5

#

5n^2 = a

#

5n^2 + 15n = a + b

silver steppe
#

thats the thing it asks about

shell kraken
#

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

silver steppe
#

mhm

shell kraken
#

there was a way of doing this, but I forgot

silver steppe
#

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

shell kraken
#

I forgot so much about math

silver steppe
#

is graphing calc allowed lol

shell kraken
#

no calc allowed

silver steppe
#

so
factor it
you can find the 0s
x coord of vertex is the average of the 0s

#

alternatively there is -b/2a

fervent imp
shell kraken
#

ah, that formula!

shell kraken
#

what... is the result of this formula

silver steppe
#

it's 3/2,

#

this gives the x value of the axis of symmetry

#

or the x value of the vertex

silver steppe
#

-15/(2*5)

shell kraken
#

-b/2a...
5n^2 - 15n

  • (-15) / 10?
silver steppe
#

yes right

fervent imp
#

Wait, wait. There aren't any parabolas here.

silver steppe
#

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

fervent imp
#

Hpw are you trying to solve this problem?

silver steppe
#

we are trying to minimize a + b

shell kraken
#

and a+b is 5n^2 + 15n

silver steppe
#

5n^2 + 15n

shell kraken
#

wait why is it a plus

fervent imp
#

Well, it's actually just easier to find the values of b that even produce integers, really.

silver steppe
#

we agreed on that

shell kraken
#

ah, I misread our past convo

fervent imp
#

There aren't many.

silver steppe
#

rrrrr

#

there are an infinite amount

fervent imp
#

No.

silver steppe
#

any multiple of 15 works

fervent imp
#

No. If 45/b^2 is an integer and b is also an integer, then there are only 4 values of b that work.

silver steppe
silver steppe
#

that's 1/a

fervent imp
silver steppe
#

op come back :((((

#

maybe they solved it

shell kraken
#

sorry, I haven't solved it, but I'm just

#

not feeling great so I took some meds

fervent imp
#

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.

silver steppe
fervent imp
silver steppe
#

good idea

shell kraken
#

no, i'd rather finish this then rest

#

otherwise it will plague me the whole time

silver steppe
#

so we established that the minimum of 5n^2 + 15n is when n = -3/2 but this is not allowed

shell kraken
#

and we got that from -b/2a, which is the formula we use for parabolic equations to find the...

#

the...

silver steppe
#

the horizontal position of the vertex

#

the x value of the axis of symmetry

shell kraken
#

the x of the vertex

silver steppe
#

or in this case the n value

shell kraken
#

hmm, so 5n^2 + 15n = 0?

silver steppe
#

no

shell kraken
#

Did I confuse it with another type of equation?

silver steppe
#

since the vertex isn't allowed choose the closest integer value of n

silver steppe
#

as it's close to the vertex

fervent imp
#

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.

shell kraken
#

What... is the next step?

silver steppe
#

this is general solution to minimize quadratic over the integers

fervent imp
#

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?

shell kraken
#

-1?

#

wait, let's try -2

#

-20 + -30

#

-50

fervent imp
#

-20 isn't correct.

#

If n = -2, what is 5n^2?

shell kraken
#

is it (5n)^2?

fervent imp
#

No.

#

Just 5n^2, as we discissed above.

shell kraken
#

ah 4

#

-2 x -2

#

therefore 20

#

therefore -10

fervent imp
#

Yes.

#

Right.

#

And now try -1.

shell kraken
#

-1
5 -15
-10 again

fervent imp
#

Yes. Why do you think that happened?

shell kraken
#

...I don't know...

#

this is the absolute lowest possible, therefore is the answer?

fervent imp
#

Yes.

shell kraken
#

So let me write the solution of this question step-by-step from memory with my own words

silver steppe
# shell kraken ...I don't know...

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

fervent imp
#

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.

shell kraken
#

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

fervent imp
#

Wait, wait. What does 45^a have to do with anything?

#

If 45a = b^2, then a = b^2/45.

shell kraken
#

b = 15n

fervent imp
#

Yes, because 45 = 3^2*5.

shell kraken
#

a+b = 5n^2 + 15n

fervent imp
#

Yes.

shell kraken
#

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

fervent imp
#

Yes.

shell kraken
#

first we tried -2 which gave us -10

#

-1 did the same

#

this proves that -10 is the lowest value of a+b

fervent imp
#

Correct.

shell kraken
#

and -10 is the answer of this question

silver steppe
#

🥳 hooray

shell kraken
#

equations in forms of ax^2 +- by +-c are paraboles

fervent imp
#

No.

silver steppe
#

y = ax^2 + bx + c

fervent imp
#

Yes.

silver steppe
#

in this case, it was an^2 + bn + 0

shell kraken
#

i forgott he ^2 whoops

#

the c was 0

fervent imp
#

We can modify the problem a bit. Then you can solve it, just to make sure you got it.

shell kraken
#

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

#

?

fervent imp
#

Well, it's the lowest if a > 0.

silver steppe
#

true

shell kraken
#

if a is < 0, then it is its highest point?

fervent imp
#

Yes.

shell kraken
paper sapphireBOT
#

@shell kraken has given 1 rep to @fervent imp

shell kraken
#

by the way

#

how about paraboles of those shapes?

fervent imp
fervent imp
# shell kraken

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.

shell kraken
#

ah so they're x = f(y)

#

they're perpendicular to similar functions, in a way

lyric spruce
#

You could have just did, 5.3²a = b² ?

fervent imp
fervent imp
lyric spruce
#

I see

shell kraken
#

say a/3 is n

#

6n^2 = 5b^2

fervent imp
#

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?

shell kraken
#

I'm lost...

fervent imp
#

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?

shell kraken
#

6

fervent imp
#

Yes. Thus, k = 6 and we take b = 6n.

#

So, now we look at a = 5b^2/12 again. Substitute b = 6n here.

shell kraken
#

5n^2 = a

fervent imp
#

No, not 5n^2. Calculate it more carefully.

shell kraken
#

180n^2/12

#

15n^2

fervent imp
#

Yes.

shell kraken
#

15n^2 = a

#

and b is 6n

#

a + 3b is 15n^2 + 18n = y

fervent imp
#

So, we got that b = 6n, a = 15n^2.
Now, we return to the expression we want to minimize: a + 3b.

#

Yes.

shell kraken
#

-b/2a time

fervent imp
#

Yes.

shell kraken
#

-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

fervent imp
#

Our expression is 15n^2 + 18n.

shell kraken
#

ahhh

#

calculation error again...

#

-18/30

#

-3/5

#

where from here?

fervent imp
#

The value is the smallest at n = -3/5, but we need an integer n. What's the integer closest to -3/5?

shell kraken
#

-1

#

from -1 we get -3

fervent imp
#

Yes. And that's the answer.

shell kraken
#

ahhhh

#

how am I supposed to learn all this and become fluent in 3 months...

fervent imp
#

Don't worry, you just need some practice.

shell kraken
#

Yes... I'll get better at math and physics, and I'll get into medical school. Thank you very much.

fervent imp
#

You're welcome!

shell kraken
#

I am very thankful you bore with my slow-learner ass. I would be delighted to receive your assistance next time.

fervent imp
#

Well, don't worry! You'll certainly get better with some practice. Remember to take breaks, too.