Investigation: Linear Systems Shortcuts

Imgur Imgur

Image courtesy Google Images, original painting by Leslie Stones.

Here is a typical problem from a generic math competition: Farmer Brown has pigs and hens in a pen. If he sees 1212 heads and 3838 legs, then how many pigs are in then pen?

We've all been taught how to do this in school. Let hh be the number of hens, and let pp be the number of pigs. We see that we have the following system: {h+p=122h+4p=38\left\{\begin{array}{l}h+p=12 \\ 2h+4p=38\end{array}\right.

Then we'd maybe divide the second equation in half to get h+2p=19h+2p=19, subtract the first from this new equation to get p=7p=7, and we'd be done. Same ol' same ol'.

However, if you have ever been to a math competition before, you have probably seen some people do these problems. Just after giving out the number of hens and pigs, they can immediately give out an answer, before you can even write out the system. How do they do it? Do they memorize? Is there some sort of formula?

If you have ever thought these thoughts before, then you're in luck; today, I will be talking about shortcuts in solving these linear systems.


Step 1: Assume there are only pigs, or only hens. Well, let's assume there are only hens. Since there are 1212 heads, there will be 2424 legs. However, we've fallen short! This is where the trick comes.

Step 2: Calculate how many more legs would be there if instead of a hen, there was a pig. This is simple; since before, there will be 22 legs, and after, there will be 44 legs, there is a 22-leg increase.

Step 3: Calculate how much of this increase we need. Since we want 3838 legs, and we only have 2424, we need 3824=1438-24=14 more legs.

Step 4: Solve. Since replacing one hen with one pig will give us 22 more legs, we need to replace 14÷2=714\div 2=7 hens with 77 pigs to increase the amount of legs by 1414. We are done now; there are 77 pigs, and 127=512-7=5 hens.

You may think that this is a lot more work than just setting up the system of equations and solving like that, but try it yourself. You'll be surprised by how fast you can do it with practice.

Before we dive into the details, here is a practice problem for you: A dark attic houses spiders and flies. If there are 1010 heads and 7676 legs in the attic, how many spiders are inside?


Let's look at the system of equations again: {h+p=122h+4p=38\left\{\begin{array}{l}h+p=12 \\ 2h+4p=38\end{array}\right. What did we do? Well, at first, we assumed that all the animals were hens. We can represent this by pretending that the pigs had two legs: {h+p=122h+2p=??\left\{\begin{array}{l}h+p=12 \\ 2h+2p=??\end{array}\right. We can see that 2424 should replace the ????. This corresponds to our first step.

Now obviously, 243824\ne38, so we have to continue solving. What did we in step 22? Well, we calculated how many more legs we needed. So why not do the calculation now: 2h+4p=382h+2p=242p=14\begin{array}{lr}& 2h+4p=38\\ - & 2h+2p=24\\ \hline & 2p=14\end{array}

Aha! We can see that the 22 corresponds to how many more legs per switch, and the 1414 corresponds to how many more legs we need. Now that we are done with step 22 and 33, we get get on with step 44, which should be obvious now.

We simply divide by 22 from both sides to get p=7p=7, and we are done rigor-fying our procedure.

This procedure, when shown mathematically, seems no simpler than the classic elimination procedure, but the real power comes when this trick is put into play. Before you know it, you'll have mastered this trick and people will be asking you why you're so good at math.


PROBLEMS

*1. * On the planet Boorg, there are three-armed inhabitants and five-armed inhabitants (one head per inhabitant as usual). If in a house there are 1111 heads and 4141 arms, then how many five-armed inhabitants are there? How about three-armed inhabitants?

*2. * I have some 33 cent stamps and some 55 cent stamps. If I have a total of 1818 stamps and 6868 cents, then how many 55 cent stamps do I have? How many 33 cent stamps?

*3. * There are some more spiders and flies in an attic. If there are 1212 heads and 7070 legs, how many flies are there? Did the trick work? Why or why not?

*4. * Why is it easier to calculate how much of the thing with the larger amount of whatever they have, let it be cents, arms, or legs, than the the thing with the smaller amount? In other words, why is it easier to calculate how many 55 cent stamps there are than 33 cent stamps?

*5. * Write your own problem of this type, and then solve it yourself using this tactic in two different ways.

#Algebra #SystemOfLinearEquations #CosinesGroup #EpsilonGroup

Note by Daniel Liu
7 years, 5 months ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Thanks for reading my 4th #CosinesGroup post. This time it's about a neat trick for solving certain types of linear equations. I feel that this came out very well, but of course feedback is still--and always will be--appreciated. If you have any questions, feel free to ask.

Thanks,

Daniel

Daniel Liu - 7 years, 5 months ago

Log in to reply

I love it Daniel. Thinking about a standard problem with more problem solving techniques than rote mathematics. Always appreciated.

Bob Krueger - 7 years, 5 months ago

Log in to reply

Thanks.

I guess that is kind of my style: to expose the simple and elegant solutions to mathematics.

One time in math class, I was arguing with a fellow classmate on if math can be elegant. He strongly disapproved of that notion, saying things like "saying math is elegant is like saying an elephant is skinny". But I do believe in the elegance of mathematics; and I plan on showing this to the rest of the world.

Linear systems may be one of the most routine, monotonous and boring tasks for any Algebra student; however, there exists an elegance to many systems. For example, this system: {a+b=1b+c=2a+c=3\left\{\begin{array}{l}a+b=1\\ b+c=2\\a+c=3\end{array}\right.

I hope with posts like these, more people will understand that math isn't just about memorization and computation. There is more to math than that.

Daniel Liu - 7 years, 5 months ago

Log in to reply

@Daniel Liu Agree! Thank you for the interesting post! :) I did this method for my math tests in the past too ! :)

Happy Melodies - 7 years, 5 months ago

@Daniel Liu Cool!

I'd also like to have a word with your classmate. ;)

Mursalin Habib - 7 years, 5 months ago

Great. My teacher had taught this technique before, but Daniel's explanation is very clear. Easy to understand. Looking forward to your next post! :-)

A Former Brilliant Member - 7 years, 5 months ago

yeah,i have a question.What do sin(theta) and cos(theta) mean in trignometry?

Ravi Ranjan - 6 years, 10 months ago

Great post! Liked it. While trying to solve your "spider-fly" problem, I discovered the fact that I am not sure about how many legs does a fly have....HAHA

Aiman Rafeed - 7 years, 5 months ago

Log in to reply

I assure you, there are 6 legs on a fly. ;)

Oops, I typoed... The questions should be solvable now.

Daniel Liu - 7 years, 5 months ago

How does the attic problem work? At a minimum considering all creatures are flies you get total legs[min] 60=10660=10*6. But there are only 50 legs. How is this possible?

A Former Brilliant Member - 7 years, 5 months ago

Log in to reply

Spiders have 88 legs.

A Former Brilliant Member - 7 years, 5 months ago

Log in to reply

Sorry. fixed. Thanks for bringing this up to my attention.

Daniel Liu - 7 years, 5 months ago

  1. 5114153=7 \frac{5 \cdot 11-41}{5-3}=7 . Therefore, our answers are 4,7 4, 7
  2. 5186853=11 \frac{5 \cdot 18-68}{5-3}=11 . Our answers are then 7,11 7, 11
  3. 1287086=13 \frac{12 \cdot 8-70}{8-6}=13 . The trick showed us that there are no salutions.

minimario minimario - 7 years, 5 months ago

Log in to reply

Last word correction: *solutions.

Akshat Jain - 7 years, 5 months ago

are you Alex?

Queen Ang3l - 7 years, 5 months ago

Log in to reply

He's minimario. Never discloses his real name...

Daniel Liu - 7 years, 5 months ago

Daniel, it's a great one. But I think there'a typo in the' practice problem' possibly in the figures.

Bhargav Das - 7 years, 5 months ago

Log in to reply

Yep, fixed.

Daniel Liu - 7 years, 5 months ago

Daniel Liu, great! You, as to my observation, are one of the best post-writers on Brill. I am surely looking forward to your upcoming posts and your brilliant idea of "Elegance of Math".

Akshat Jain - 7 years, 5 months ago

Awesome trick :) I enjoyed it, although, like Aiman Rafeed, I didn't know how many legs were in a fly.... 6 legs...\boxed{6 \text{ legs...}}

Kevin Mo - 7 years, 5 months ago

When twice the no.of heads is subtracted from no.of legs we get twice the no.of pigs..Because., if x=no.of hens,y=no.of pigs Then no.of legs -twice the no.of heads = (2x+4y) - (2x+2y) =2y=twice the no.of pigs. So we can get no.of pigs,, by subtracting it from no.of heads we can get the no.of hens.

When heads are 12 and legs are 38 , no.of pigs=(38 - 24)/2=14/2=7, no.of hens=12-7=5

komma patali - 6 years, 11 months ago
×

Problem Loading...

Note Loading...

Set Loading...