this post was submitted on 15 May 2024
19 points (100.0% liked)

Daily Maths Challenges

194 readers
6 users here now

Share your cool maths problems.



Complete a challenge:


Post a challenge:


Feel free to contribute to a series by DMing the OP, or start your own challenge series.

founded 6 months ago
MODERATORS
 

(x/5)^log_b(5) - (x/6)^log_b(6) = 0

you are viewing a single comment's thread
view the rest of the comments
[–] zkfcfbzr 1 points 6 months ago* (last edited 6 months ago) (1 children)

Yes, though I prefer spoilered answers with work (especially since something like Wolfram|Alpha can just spit out the answer here)

I'm curious about your retracted edit, since I saw your original message had just the correct answer - why 30k?

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

I thought 0 also works so maybe it's multiples of 30 but then tried 60 and it didn't work

[–] zkfcfbzr 4 points 6 months ago* (last edited 6 months ago) (1 children)

spoilers0 does work as a trivial solution, since 0^a = 0^b always holds, but yea, 30's the only other one - the key comes down to the fact that a^log(b) = b^log(a) in general, and 30 is what achieves that here

[–] siriusmart 2 points 6 months ago (2 children)

i get why 0 would work, but i dont get how it doesnt show up as a solution when i try to solve for it

[–] zkfcfbzr 1 points 6 months ago

In your own work, you divided by x^ln(6) at one point, which would remove any x = 0 solution from your work - before that step x = 0 was still a valid solution to your equations, but after it it wasn't

[–] zkfcfbzr 1 points 6 months ago* (last edited 6 months ago)

Expanding on my reply, here's a different way to continue your own work that would have yielded both solutions, by avoiding any steps that divide by x:

solutionStarting from the third line of your work:

(x/5)^ln(5) = (x/6)^ln(6)

x^ln(5) / 5^ln(5) = x^ln(6) / 6^ln(6) → Distribute exponents

x^ln(5) * 6^ln(6) - x^ln(6) * 5^ln(5) = 0 → Cross multiply, move terms to one side

x^ln(5) * (6^ln(6) - x^ln(1.2) * 5^ln(5)) = 0 → Factor out x^ln(5)

Can set each factor to 0:

x^ln(5) = 0 yields x = 0

6^ln(6) - x^ln(1.2) * 5^ln(5) = 0

6^ln(6) / 5^ln(5) = x^ln(1.2) → Add right term to right side, divide by its coefficient

(5^(ln(6)/ln(5)))^ln(6) / 5^ln(5) = x^ln(1.2) → Convert numerator of left side to have same base as denominator, using change of base formula: log_5(6) = ln(6)/ln(5)

5^(ln(6)^2 / ln(5)) / 5^ln(5) = x^ln(1.2) → Simplify exponent of numerator slightly

5^((ln(6)^2 - ln(5)^2) / ln(5)) = x^ln(1.2) → Combine terms on left side, simplify numerator into a single fraction

5^((ln(6)+ln(5))(ln(6)-ln(5))/ln(5)) = x^ln(1.2) → Factor exponent numerator as difference of squares

5^(ln(30)ln(1.2)/ln(5)) = x^ln(1.2) → Simplify sum and difference of logs in left exponent numerator

30^ln(1.2) = x^ln(1.2) → By change of base formula again, ln(30)/ln(5) = log_5(30), so 5^(ln(30)/ln(5)) = 30

x = 30