Simultaneous Equations

MathisFun Easter Puzzle

MathisFun Easter Puzzle

An Easter puzzle from MathisFun – as an excuse for solving simultaneous equations. We could of course use algebra. Using the notation, h, q and t for the egg Horace wants, the egg with the small square pattern and the egg with the stripey pattern respectively.
We have:
h + 2q      =550 (1)
h + q   +t =600 (2)
—-2q  +t =500 (3)
Subtracting equation (3) from equation (2) gives
h−q=100 (4)

(1)−(4) gives 3q=450 so q=150 and h must be 250 ($2.50).

We could check our solution on WolframAlpha of course:

Select image for WolframAlpha query

Did you know that you can easily invert matrices and solve simultaneous equations using Excel?

Excel sim equations & matrices

Select image for Excel file

Select the image or this link for the Excel file. Excel simultaneous equations

To enter the MINVERSE function in the example above, select cells C7:E9, enter the MINVERSE function as shown then press CTRL + SHIFT + ENTER; similarly to enter the MMULT function in this example, select cells H7:H9, enter the MMULT function as shown and then press CTRL + SHIFT + ENTER. (Using formulae like these demonstrates a neat Excel technique, to learn more see MrExcel on Array Formulae).

Plymouth University notes

Plymouth University workbook

For notes / examples / tutorials on Simultaneous Equations try the mathcentre resources or this workbook from Plymouth University. For more on solving three equations in three unknowns for older students see Simultaneous Linear Equations from AJ Hobson’s ‘Just the Maths’

Since it’s Easter an updated version of the best Easter Eggs of all – from WolframAlpha.

If you want some more puzzles, MathisFun has plenty more, or try some of the puzzles here.

Linear Programming

For Linear Programming there are some excellent ways of using technology to help your learning. This post will look at online utilities from zweigmedia and the use of the Excel Solver.

This example from MEI (MEI Decision 1 Legacy Specimen Paper) will be used to illustrate the use of these tools.

A vet is treating a farm animal. He must provide minimum daily requirements of an antibiotic, a vitamin and a nutrient. He has two types of medicine available, tablets and liquid. The table summarises what the medicines contain and the requirements.
Vet Problem - table
The tablets cost £0.38 each and liquid medicine costs £1 per dose.
The vet wants to find the cheapest way to treat the animal.
We have x as the number of tablets which the vet prescribes per day, and y is the number of doses of liquid medicine, giving us the linear programming problem:
Minimise    0.38x + y
Subject to
3x +   2y   ≥ 18
2x +   4y   ≥ 16
10x + 50y ≥ 100

Firstly we will look at zweigmedia’s Linear Programming Grapher. This is intuitive to use. Note the option to see examples. Fraction mode is selected here.
Selecting Solve gives a clear solution illustrated graphically.

LP vet problem

Linear Programming Grapher – zweigmedia

We see that the optimal solution, if x and y can take any values, is a cost of £3.20,
with x = 20/3 and y = 2/3.

LP Vet Graphical Solution

We could also solve the problem using the Simplex Tool. As well as a solution it is possible to see the simplex tableaus. The Simplex Tool is needed for any problems with more than two variables.
Simplex Tool zweigmedia

If we wish to restrict x and y to integers, we can turn to Excel and use Solver. This allows a choice of making x and y integer or not.

Using the same example, we can set up the problem in Excel.
Vet Problem with Excel Solver is the Excel spreadsheet with annotation to explain the answer report and for full instructions on setting up the spreadsheet, use this file:
Solver Excel to solve LP problems – Colleen Young

Excel Solver

Set up the problem in Excel

and use Solver..

Excel Solver Answer Report

Excel Solver – Answer Report

We could choose to restrict x and y to integers with Solver.
Excel Solver specify integer solution
giving us the solution:
Excel Solver Answer Report Integer

For a further example, this time a maximisation problem from Edexcel have a look at this Excel file, Badges LP Edexcel. Each sheet in the workbook is fully annotated to explain the method.
Edexcel LP Problem Excel Solver
Edexcel LP Problem Excel Solver Graphical Solution

 

 

 

 

 

Casio FX991EX-ClassWiz

Are you getting used to a new ClassWiz calculator?
There are guides, manuals and videos available to help.

On the Casio website, you will find quick guides for Casio Calculators including the ClassWiz.

Classwiz guide

Casio ClassWiz quick guide

You can find an excellent calculator guide for the Casio FX991EX-ClassWiz on Dr Frost’s site.
Calculator Guide Dr Frost

For the complete manual from Casio see this page, note the calculator is listed under fx-570EX / fx-911EX on the Casio manuals page.

From The Calculator Guide on YouTube see this comprehensive playlist on the Casio Classwiz fx-99EX. For example see this introductory video on using Statistics mode to find the mean, variance and other statistical summary data.

Other examples include further statistical videos such as Normal Distribution calculations, integration and differential calculations and using Complex mode.

Matrix Calculations.

Correlation and Regression

Some useful resources to help you study Correlation and Regression.

This GeoGebra applet allows you to move points and watch the effect on the line of best fit.

geogebra-correlation

Why not try to plot the points, draw a lines of best fit and then compare your line with the computer. This works very well on a phone, use this link.

Correlation coefficients and lines of best fit can also be studies with this PhET simulation on Least Squares Regression.
correlation-line-of-best-fit PhET

Choose from a range of examples or choose Custom to add your own points and guess then check the correlation coefficient. You can also draw your own line of best fit and compare it to the theoretical line of best fit. Note the option to include residuals for both your own attempt and the line of best fit.


We can check Regression Calculations using this Linear Regression calculator from Social Science Statistics.
linear-regression

On the subject of correlation coefficients, we can play a game to see how well we can guess the correlation coefficient! Guess the Correlation Coefficient.
guess-the-correlation

From Cambridge PhD student, Omar Wagih ‘Guess the Correlation‘, a rather addictive game with a purpose – Omar Wagih is collecting the data on the guesses collected and using it to analyse how we perceive correlations in scatter plots. Select About to read the rules and further details.


For ranked data you must be able to calculate Spearman’s rank correlation coefficient from raw data or summary statistics. Again, Social Science Statistics, offers us a calculator which is useful for checking work.
spearmans-rank-calculator

Calculation details provide a useful check on work.
Note Social Science Statistics also has a calculator for calculating the Pearson correlation coefficient.

 

Integration

Firstly for some useful notes and examples on Integration:

Integration notes University of Plymouth

University of Plymouth Notes

(These sources of Notes can all be found on the Notes page.)

You can use Desmos and WolframAlpha to check your work and see some excellent visual representations.

As an example, we can find the total area bounded by f(x) = x4−3x3−4x2+12x, the x-axis, the line x=−1 and the line x=3.

We could use WolframAlpha for a quick check. The visual representation shows clearly that we are dealing with areas above and below the x-axis.
Definite Integral
Scrolling down the page we see that this query also returns the indefinite integral.
Indefinite Integral

For the total shaded area, we can change the limits of the query to evaluate each section.
See Calculus & Analysis for more examples of WolframAlpha queries.

Or we could turn to the excellent Desmos where we can very simply change the limits.
Definite Integration

Definite Integration 2

If you are unfamiliar with Integration with Desmos, turn to Learn Desmos: Integrals.
Note you can explore the graph shown in the video.

We could also look at this introduction to Integration on GeoGebra.
Integration

 

University Preparation

An updated version of an earlier post ….

STEP (Sixth Term Examination Paper) Mathematics is a well-established mathematics examination designed to test candidates on questions that are similar in style to undergraduate mathematics. For students studying for STEP papers try this excellent portal from stepmaths.co.uk which has (all free) access to STEP questions and solutions. Create an account, login and you have access to a complete library of resources.

The resources are very clearly presented. For each question you have access to a pdf with the question, Examiners’ Report and both an Official and thanks to Peter Mitchell a fully worked handwritten solution.

Note that you can also download a copy of  Stephen Siklos’ Advanced Problems in Mathematics and Core MathematicsAdvanced Problems in Mathematics is excellent preparation for ANY undergraduate Mathematics course.

Following each question, you will find a discussion and a full solution. The clear Contents page lists all 43 problems. Each problem has been given a title and a rough indication of the mathematical content which means you can pick out questions by topic.

Stephen Siklos Advanced Problems in Mathematics and Core Mathematics


Underground Mathematics has STEP questions within their Review Questions. Each question comes with a full worked solution.
Underground Maths STEP

Underground Maths STEP example


See also, from Cambridge University, their STEP Support Programme.
STEP CU


And from Nrich, Prepare for University.
Nrich University prep

See also, a related post 16+ Challenge Questions. Also, Multiple Choice Questions which includes Oxford Admissions test questions.
Oxford Admissions Test

Order of Operations

There are several resources to help demonstrate the correct order of operations in a calculation. cimt-order-of-operations

From CIMT, one of their interactive sections gives examples and exercises.


Of course, you can always check answers on WolframAlpha!
Check answers on WolframAlpha


On Transum there are self marking exercises on Order of Operations (note the three levels available).

Transum Order of Operations

Transum – Order of Operations


game from mathFROG allows you to practice against the clock.

Maths Frog

Graspable Math

Try Graspable Math which offers a highly innovative interface for mathematical notation. You can read the Graspable Math story here.

You can learn a great deal about Graspable Math simply by experimenting, selecting Explore Algebra takes you to the interface which is intuitive; you can also find plenty of help and tutorials on the Learn section of the site, note the Gesture Library as well as the video tutorial collection.  There is a YouTube channel here.

Graspable Math is very easy to use, I decided I would solve an equation and wanted to show all the steps. I have used the method of selecting and holding the = sign to start as you can see illustrated in the video above; I was then able to enter an operation to apply to both sides of the equation.

equation to solve

equation to solve 2

We can also illustrate the solution graphically by inserting a graph to open a GeoGebra window.
equation & graph

Each expression has a circle at the end – simply drag that to the GeoGebra window. You will sometimes see more than one circle at the end of an expression, select to separate expressions hence showing all steps clearly.