Can a Math Genius Help Solve This Puzzle?

  • Context: MHB 
  • Thread starter Thread starter dboxall123
  • Start date Start date
  • Tags Tags
    Puzzle
Click For Summary

Discussion Overview

The discussion revolves around a programming challenge that involves solving a mathematical puzzle with shapes represented by variables. Participants explore methods for solving a system of linear equations related to the puzzle, focusing on mathematical approaches rather than programming specifics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • Dan expresses difficulty in starting the puzzle and seeks mathematical advice, specifically about determining the value of each shape.
  • MarkFl suggests that the problem involves 10 linear equations with 5 unknowns and asks about Dan's experience with linear systems.
  • Dan acknowledges a lack of experience with linear systems and expresses intent to learn about them.
  • Another participant proposes assigning variables to each shape and using substitution and elimination to solve the equations.
  • Dan questions whether learning about systems of linear equations and matrices might lead to a more elegant solution, given the time constraint of 2 seconds for submission.
  • Some participants express skepticism about the feasibility of solving the puzzle in such a short time frame.
  • There is a discussion about the possibility of using programming functions to solve linear systems, which could simplify the process for Dan.
  • One participant provides a detailed breakdown of the equations derived from the puzzle, illustrating a method to solve the system.
  • Dan expresses frustration with learning resources and the challenge of understanding the mathematics involved.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical approach of using linear equations to solve the puzzle, but there is disagreement regarding the feasibility of solving it within the imposed time limit. The discussion remains unresolved regarding the best method to approach the problem.

Contextual Notes

Some participants note the complexity of the puzzle and the potential limitations of time constraints on solving it. There are also concerns about the adequacy of learning resources available to Dan.

dboxall123
Messages
7
Reaction score
0
Hello everyone. I am trying to complete a programming challenge, of which I have taken a screenshot of and posted on flikr.

I was wondering if there was some math genius on here who could help me solve the puzzle. Forget about the programming part, I can do that. All I need is some advice on the math part of it. I have absolutely no idea how to even begin working out the value of each shape. I sat down with a pen, a piece of paper and a calculator to try and work something out, but my mind is absolutely blank. Any advice would be greatly appreciated.

Thanks,
Dan

ps: I apologise if I've put this in the wrong topic, but I have no idea what sort of method would be used to work something like this out.
 
Mathematics news on Phys.org
It appears to me that you have 10 linear equations in 5 unknowns. Do you have any experience solving linear systems of equations?
 
Hi MarkFl, thanks for the reply. I do not have any experience in solving linear systems of equations. I'm going to try and learn about it now.
 
dboxall123 said:
Hi MarkFl, thanks for the reply. I do not have any experience in solving linear systems of equations. I'm going to try and learn about it now.

I would assign a different variable to each shape and then write down the sums represented by the rows and columns and then use substitution and elimination to obtain a solution.
 
MarkFL said:
I would assign a different variable to each shape and then write down the sums represented by the rows and columns and then use substitution and elimination to obtain a solution.
That makes sense, thanks mate. If I do decide to go and learn about systems of linear equations and matrices, do you think that I am likely to learn a slightly more elegant solution? The answer needs to be submitted within 2 seconds, and the puzzle changes every time the page is refreshed. It may take me a while to learn (as you can probably tell, my maths is very rusty) but the challenge is not going anywhere.
 
dboxall123 said:
That makes sense, thanks mate. If I do decide to go and learn about systems of linear equations and matrices, do you think that I am likely to learn a slightly more elegant solution? The answer needs to be submitted within 2 seconds, and the puzzle changes every time the page is refreshed. It may take me a while to learn (as you can probably tell, my maths is very rusty) but the challenge is not going anywhere.

Unless I am missing something, 2 seconds is an extremely and unreasonably small amount of time to solve such a puzzle. I don't think I could even enter 5 values into text fields in that amount of time even if I were able to "see" the solution immediately.
 
MarkFL said:
Unless I am missing something, 2 seconds is an extremely and unreasonably small amount of time to solve such a puzzle. I don't think I could even enter 5 values into text fields in that amount of time even if I were able to "see" the solution immediately.
You misunderstand the challenge mate, I have to write a computer program to grab the puzzle, solve it and then post back. Once my program is written, I will not have to type anything - it will grab the puzzle, solve it and then post it back automatically for me. All I was wondering is if learning about linear systems and matrices would enable me to write a more elegant solution to solve this problem. Once I've learned how to solve it on paper, I can then begin to write a program to do all of the above for me (Smile)
 
dboxall123 said:
...Once my program is written, I will not have to type anything - it will grab the puzzle, solve it and then post it back automatically for me...

Okay, that's what I was missing.
 
So, if I learn about this stuff, will I (eventually) learn an equation that can I can use to solve this? I'm asking you to give me one, just wondering if it's going to be worth learning about. Is it even possible to solve this in any way other than substitution and elimination? Thanks for all your advice by the way mate, I'm closer to solving this than I was before, because I now have a particular subject to research (Smile)
 
  • #10
dboxall123 said:
So, if I learn about this stuff, will I (eventually) learn an equation that can I can use to solve this? I'm asking you to give me one, just wondering if it's going to be worth learning about. Is it even possible to solve this in any way other than substitution and elimination? Thanks for all your advice by the way mate, I'm closer to solving this than I was before, because I now have a particular subject to research (Smile)

There are many ways to solve a linear system, some of which use matrices. It is also possible that your programming language has a system solving function intrinsic to it.
 
  • #11
MarkFL said:
There are many ways to solve a linear system, some of which use matrices. It is also possible that your programming language has a system solving function intrinsic to it.
OK, thank you very much for your help mate. Now I know what I'm looking at I can start to work something out. Much appreciated (Smile)
 
  • #12
Hello, dboxall123!

Two seconds? .Not possible!

. . \begin{array}{|c|c|c|c|c||c|} \hline<br /> \bigstar &amp; \heartsuit &amp; \Delta &amp; \bullet &amp; &amp; 1434 \\ \hline<br /> \Delta &amp; \bigstar &amp;&amp; \Delta &amp; \bullet &amp; 1346\\ \hline<br /> \heartsuit &amp; \bigstar &amp; \bullet &amp; \bigstar &amp;&amp; 1630 \\ \hline<br /> \blacksquare &amp; \Delta &amp; \Delta &amp;&amp; \bigstar &amp; 1111 \\ \hline<br /> \Delta &amp; \bigstar &amp; \Delta &amp; \Delta &amp;&amp; 1168 \\ \hline<br /> 1142 &amp; 1891 &amp; 1150 &amp; 1346 &amp; 860 &amp; \\ \hline\end{array}
\text{Let: }\:a = \bigstar,\;b = \heartsuit,\;c = \Delta,\;d = \bullet,\;e = \blacksquare

Then we have:

. . \begin{array}{|c|c|c|c|c|c|} \hline<br /> a&amp;b&amp;c&amp;d&amp;&amp; 1434 \\ \hline<br /> c&amp;a&amp;&amp;c&amp;d&amp;1346 \\ \hline<br /> b&amp;a&amp;d&amp;a&amp;&amp;1630 \\ \hline<br /> e&amp;c&amp;c&amp;&amp;a&amp;1111 \\ \hline<br /> c&amp;a&amp;c&amp;c&amp;&amp; 1168 \\ \hline<br /> 1442 &amp; 1891 &amp; 1150 &amp; 1346 &amp; 860 &amp; \\ \hline<br /> \end{array}From the rows we have:
. . \begin{array}{cccc}a+b+c+d &amp;=&amp; 1434 &amp; [1] \\<br /> a+2c+d &amp;=&amp; 1346 &amp; [2] \\<br /> 2a + b+d &amp;=&amp; 1630 &amp; [3] \\<br /> a+2c+e &amp;=&amp; 1111 &amp; [4] \\<br /> a + 3c &amp;=&amp; 1168 &amp; [5] \end{array}

From the columns we have:
. . \begin{array}{cccc}a+b+2c+e &amp;=&amp; 1442 &amp; [6] \\<br /> 3a+b+c &amp;=&amp; 1891 &amp; [7] \\<br /> 3c + d &amp;=&amp; 1150 &amp; [8] \\<br /> a+2c+d &amp;=&amp; 1346 &amp; [9] \\<br /> a+d &amp;=&amp; 860 &amp; [10] \end{array}

Solve the system of equations: .\begin{Bmatrix}a &amp;=&amp; 439 \\ b&amp;=&amp; 331 \\ c&amp;=&amp; 243 \\ d&amp;=&amp; 421 \\ e&amp;=&amp; 186 \end{Bmatrix}
 
  • #13
soroban said:
Hello, dboxall123!

Two seconds? .Not possible!

Hi soroban. I think you have also misunderstood the challenge. When I (eventually) manage to understand this stuff, I will write a computer program to solve it for me. Of course, I'm not very good at maths, and every site I try to learn from just seems to be adding random numbers and claiming that they are the answer. (I realize this isn't true by the way) (Happy)(Happy)(Happy)
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 7 ·
Replies
7
Views
11K
  • · Replies 32 ·
2
Replies
32
Views
7K
  • · Replies 49 ·
2
Replies
49
Views
5K
  • · Replies 1 ·
Replies
1
Views
12K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 37 ·
2
Replies
37
Views
4K
Replies
22
Views
3K
Replies
20
Views
8K
  • · Replies 6 ·
Replies
6
Views
2K